@import url(https://fonts.googleapis.com/css?family=Montserrat);
input[type=number] {
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
          appearance: textfield;
  margin: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body {
  font-family: "Montserrat";
  margin: 0;
  height: 100vh;
  background-color: #0e1621;
}
body h1 {
  color: #e6edf7;
}
body header {
  padding: 5px;
  border-bottom: 1px solid #223044;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #16263a;
}
body header h1 {
  font-size: 2em;
  margin: 0;
}
body header a {
  margin: 5px;
}
body header a img {
  width: 40px;
}
body header a:nth-of-type(2) {
  margin-left: auto;
}

.accueil div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  font-size: 2em;
}
.accueil div a, .accueil div button {
  border-radius: 10px;
  text-align: center;
  width: 80%;
  background-color: #1b2f47;
  color: #F2F4F7;
  padding: 3vh 0;
  margin: 5px 0 0;
}
.accueil div a:link, .accueil div button:link {
  text-decoration: none;
}
.accueil div button {
  padding: 15vh 40vw;
  margin: 5vh 0 0 0;
  border: none;
  cursor: pointer;
  outline: inherit;
}
.accueil div form {
  display: flex;
  justify-content: center;
}

.login div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  padding: 0;
}
.login div form {
  margin: 10px;
  background-color: #1b2f47;
  display: flex;
  justify-content: center;
  border-radius: 10px;
}
.login div form button {
  padding: 7vh;
  border: none;
  cursor: pointer;
  outline: inherit;
  background: none;
  color: #F2F4F7;
}
.login div a {
  border-radius: 10px;
  color: #F2F4F7;
  text-decoration: none;
  margin: 10px;
  background-color: #1b2f47;
  display: flex;
  justify-content: center;
  padding: 7vh;
}

.liste .retour {
  margin-bottom: 1rem;
  width: 100%;
}
.liste .retour button {
  width: 95%;
  height: 100px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  color: #e6edf7;
  background-color: #1b2f47;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  padding: 1rem;
  margin: 10px;
}
.liste div {
  position: relative;
  max-height: 400px;
  overflow-y: auto;
  background: #0e1621;
  border-radius: 8px;
  margin: 5px;
}
.liste table {
  border-collapse: collapse;
  color: #e6edf7;
  font-size: 14px;
}
.liste table thead {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #16263a;
  z-index: 2;
}
.liste table thead tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.liste table thead th {
  padding: 16px 14px;
  text-align: left;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid #223044;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.liste table tbody {
  display: block;
  margin-top: 48px;
}
.liste table tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.liste table td {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid #223044;
  color: #9fb3c8;
}
.liste table td button {
  padding: 16px 7px;
  cursor: pointer;
}
.liste table tbody tr {
  background: #0e1621;
}
.liste table tbody tr:nth-child(even) {
  background: #121f2f;
}
.liste table tbody tr:hover {
  background: #1b2f47;
}
.liste table tbody tr td:last-child {
  padding: 0;
}

.new {
  color: #e6edf7;
  /* Boutons retour (<) */
  /* Bouton + : prend toute la largeur */
}
.new main > h1 {
  margin: 30px 0 0 0;
  font-size: 2em;
}
.new main {
  max-width: 420px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.new form {
  margin: 0;
  width: 100%;
}
.new button {
  height: 100px;
  border: none;
  border-radius: 10px;
  color: #e6edf7;
  background-color: #1b2f47;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  padding: 1rem;
  width: 100%;
}
.new button:hover {
  background: #1b2f47;
}
.new button:active {
  transform: scale(0.97);
}
.new button img {
  height: 64px;
  border-radius: 10px;
}
.new > form {
  margin-bottom: 1rem;
  width: 100%;
}
.new > form button {
  width: 100%;
  height: 40px;
  font-size: 1.4rem;
  border-radius: 10px;
  padding: 0;
}
.new ul {
  list-style: none;
  padding: 30px 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.new .qte {
  width: 100%;
}
.new li form {
  height: 100%;
  display: flex;
  justify-content: center;
}
.new .plus {
  grid-column: span 2;
  display: flex;
  text-align: center;
}
.new .plus a {
  text-decoration: none;
  font-size: 1.5rem;
  background: #121f2f;
  color: #e6edf7;
  width: 100%;
  border-radius: 10px;
  padding: 40px;
}
.new .plus a:hover {
  background: rgb(21.5957446809, 33.9361702128, 50.9042553191);
}
.new #lightbox {
  visibility: hidden;
  position: absolute;
  background: #0e1621;
  border: 2px solid #4d4d4d;
  color: white;
  z-index: 100;
  width: 200px;
  height: 100px;
  padding: 20px;
  border-radius: 10px;
}
.new #lightbox input[type=number]:invalid {
  border-color: #ff6b6b;
}
.new #lightbox input {
  width: 90%;
  padding: 10px;
  background-color: #121f2f;
  color: #e6edf7;
  border: 1px solid #223044;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}
.new #lightbox button {
  height: 50px;
  border: none;
  border-radius: 10px;
  color: #e6edf7;
  background-color: #1b2f47;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  padding: 1rem;
  width: 100%;
}
.new .dimmer {
  background: #000;
  position: absolute;
  opacity: 0.5;
  top: 0;
  z-index: 99;
}

.ajout .retour {
  margin-bottom: 1rem;
  width: 100%;
  padding: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-shadow: none;
}
.ajout .retour button {
  width: 95%;
  height: 100px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  color: #e6edf7;
  background-color: #1b2f47;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  padding: 1rem;
  margin: 10px;
}
.ajout form {
  background-color: #0e1621;
  border-radius: 8px;
  padding: 30px;
  max-width: 400px;
  margin: 20px auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.ajout form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #9fb3c8;
}
.ajout form input[type=number],
.ajout form input[type=date],
.ajout form input[type=time] {
  width: 95%;
  padding: 10px;
  background-color: #121f2f;
  color: #e6edf7;
  border: 1px solid #223044;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}
.ajout form input[type=number]:focus,
.ajout form input[type=date]:focus,
.ajout form input[type=time]:focus {
  border-color: #1b2f47;
  outline: none;
}
.ajout form input[type=number]:invalid,
.ajout form input[type=date]:invalid,
.ajout form input[type=time]:invalid {
  border-color: #ff6b6b;
}
.ajout form input[type=number]:focus,
.ajout form input[type=date]:focus,
.ajout form input[type=time]:focus {
  border-color: #1b2f47;
}
.ajout form input[type=number]::-webkit-outer-spin-button,
.ajout form input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.ajout form input[type=number]:hover,
.ajout form input[type=date]:hover,
.ajout form input[type=time]:hover {
  background-color: #121f2f;
}
.ajout form button {
  width: -moz-available;
  background-color: #1b2f47;
  color: #e6edf7;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
ali .ajout form button:hover {
  background-color: rgb(41.0510204082, 71.4591836735, 107.9489795918);
}
@media (max-width: 600px) {
  .ajout form {
    padding: 30px;
    max-width: 100%;
    margin: 70px 10px 0px;
  }
}

.register {
  min-height: 100vh;
  background-color: #0e1621;
  color: #e6edf7;
  display: flex;
  flex-direction: column;
}
.register header {
  background-color: #16263a;
  padding: 1.2rem 1rem;
  border-bottom: 1px solid #223044;
  text-align: center;
}
.register header h1 {
  color: #e6edf7;
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}
.register main {
  flex: 1;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.register main > p {
  background-color: #121f2f;
  border: 1px solid #223044;
  color: #e6edf7;
  padding: 0.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
}
.register form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.register label {
  font-size: 0.85rem;
  color: #9fb3c8;
}
.register input[type=text] {
  padding: 0.7rem 0.8rem;
  background-color: #121f2f;
  border: 1px solid #223044;
  border-radius: 6px;
  color: #e6edf7;
  font-size: 1rem;
}
.register input[type=text]:focus {
  outline: none;
  border-color: rgb(59.5, 84, 119);
  background-color: #1b2f47;
}
.register button {
  margin-top: 0.5rem;
  padding: 0.8rem;
  background-color: #16263a;
  border: 1px solid #223044;
  border-radius: 6px;
  color: #e6edf7;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
.register button:hover {
  background-color: #1b2f47;
}
.register button:active {
  transform: scale(0.98);
}
.register a {
  padding: 0.8rem;
  background-color: #16263a;
  border: 1px solid #223044;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 90px;
  text-align: center;
  font-size: 0.9rem;
  color: #9fb3c8;
  text-decoration: none;
}
.register a:hover {
  color: #e6edf7;
  text-decoration: underline;
}

.map form {
  margin-bottom: 1rem;
  width: 100%;
}
.map form button {
  width: 100%;
  height: 40px;
  font-size: 1.4rem;
  border-radius: 10px;
  margin-top: 0.5rem;
  padding: 0rem;
  background-color: #16263a;
  border: 1px solid #223044;
  border-radius: 6px;
  color: #e6edf7;
  font-weight: 600;
  cursor: pointer;
}
.map form button:hover {
  background-color: #1b2f47;
}
.map form button:active {
  transform: scale(0.98);
}
.map div {
  margin: 10px;
}/*# sourceMappingURL=style.css.map */