/* public/style.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
}

body {
  background-color: #0f1117;
  color: #f0f0f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 20px;
}

/* Titre principal */
h1,
h2,
h3 {
  text-align: center;
  color: #ffffff;
}

/* Formulaires */
form,
.dashboard {
  background: #1c1e26;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
.dashboard input,
.dashboard select {
  background-color: #2b2f3a;
  border: none;
  padding: 12px;
  color: #f0f0f0;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  transition: 0.3s;
}

form input:focus,
.dashboard input:focus {
  outline: none;
  background-color: #3b3f4a;
}

form input:disabled,
.dashboard input:disabled {
  outline: none;
  background-color: #4a3b3b;
}

form button,
.dashboard button {
  background: #00bcd4;
  border: none;
  padding: 12px;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

form button:hover,
.dashboard button:hover {
  background: #0097a7;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

/* Journal */
ul#log {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  width: 100%;
  max-width: 600px;
}

ul#log li {
  background-color: #1e222d;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
}

/* Total */
#total,
#totalNet,
#totalHours {
  font-weight: bold;
  font-size: 1.2rem;
  display: block;
  margin-top: 0px;
}

p {
  font-weight: 600;
}

.total {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: space-around;
}

.boxmessage {
  background-color: #fd5e5e;
  text-align: center;
  margin: 5px;
  padding: 10px;
  border-radius: 10px;
}

/* Responsive Layout */
/* @media (max-width: 600px) {
    body {
      padding: 20px 10px;
    }
  
    .dashboard {
      padding: 20px;
    }
  } */

version {
  display: block;
  color: gray;
  font-size: 12px;
  margin-top: -9px;
  filter: drop-shadow(0 0 1px #5780e7);
}