body {
  font-family: "Nunito", sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    background-color: #e6e7e8;
    /* position: sticky; */
    top: 0;
    position: relative;
    z-index: 1000;
    height: 50px;
}

/* --- HEADER TITLE MODERNE ET ÉLÉGANT --- */
.header-title {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 1.5rem; /* plus petit et plus subtil */
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding-left: 0.75rem;
  border-left: 3px solid #007BFF; /* ligne bleue Garaga */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #007BFF 0%, #004a99 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-title .highlight {
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(90deg, #007BFF 0%, #00bfff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-title .divider {
  color: #555;
  opacity: 0.6;
  font-weight: 400;
}

h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #c0392b;
  margin-top: 24px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  position: relative;
  text-transform: uppercase;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 32px;
  height: 2px;
  background-color: #f1c40f;
  border-radius: 2px;
  opacity: 0.9;
}


/* === INFO BANNER — STYLE MODERNE GARAGA === */
.info-banner {
  display: flex;
  align-items: flex-start;
  background: linear-gradient(135deg, #f9fbff 0%, #eef5ff 100%);
  border-left: 4px solid #007BFF; /* bleu Garaga */
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  font-family: "Nunito", sans-serif;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.5;
}

.info-banner .info-icon {
  font-size: 1.4rem;
  margin-right: 0.8rem;
  color: #007BFF;
  flex-shrink: 0;
  line-height: 1.2;
}

.info-banner .info-content strong {
  color: #004a99;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-banner ul {
  margin: 0.5rem 0 0.5rem 1.2rem;
  padding: 0;
  list-style: disc;
}

.info-banner li {
  margin-bottom: 0.3rem;
}

.info-banner .info-note {
  display: block;
  margin-top: 0.4rem;
  color: #0056b3;
  font-weight: 500;
  font-size: 0.85rem;
}

main {
    width: 95%;
    margin: 1rem auto;
    padding: 1rem;
    box-sizing: border-box;
}

/* Structure et espacement, couleurs inchangées */
nav.menu {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.4rem;          /* espace horizontal propre entre items */
}

.nav-links > li { list-style: none; }

nav a {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: .92rem;
  padding: 6px 8px;
  border-radius: 6px;
  text-decoration: none;
  color: #333;          /* conserve ta coloration */
  transition: background .2s ease, transform .1s ease;
}

nav a:hover {
  background: rgba(0,0,0,.06);  /* survol discret, sans changer la couleur du texte */
  transform: translateY(-1px);
}

/* État actif (soulignement discret, couleurs inchangées) */
.nav-links a.is-active {
  box-shadow: inset 0 -2px 0 currentColor;
}



.auth {
    background-color: #000;
    color: #fff;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.auth a {
    text-decoration: none;
    color: #fff;
    margin: 0 0.3rem;
}

.auth a:hover {
    color: #ccc;
}

.auth .sep {
    margin: 0 0.5rem;
    color: #666;
}

.burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.logo img {
    height: auto;
    max-height: 40px;
    max-width: 100%;
    object-fit: contain;
}
.menu {
    display: flex;
    align-items: center;
}


/* Login Box */
.login-container {
    max-width: 400px;
    margin: 80px auto;
    padding: 2rem;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 8px;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.login-container label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.login-container input[type="email"],
.login-container input[type="password"] {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.login-container .checkbox {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.login-container button {
    width: 100%;
    padding: 0.7rem;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.login-container button:hover {
    background-color: #555;
}

.login-container .error {
    background-color: #fff3cd;
    color: #856404;
    padding: 0.8rem;
    margin-bottom: 1.2rem;
    border-left: 6px solid #ffeeba;
    border-radius: 4px;
}

/* Général form/table */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}


.form-box {
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.input-field,
input[type="email"],
input[type="password"],
select {
    display: block;
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

.input-field:focus {
    border-color: #007BFF;
    outline: none;
    background-color: #fff;
}

.btn {
    padding: 8px 14px;
    background-color: #007BFF;
    border: none;
    color: white;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
}


.multiselect {
    height: 70px;
}

/* Message de confirmation/erreur */
.alert {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 10px;
    margin: 15px 0;
    border-radius: 5px;
    font-size: 14px;
}
.alert-error {
    background-color: #f44336; /* intense red */
    color: white; /* white text for strong contrast */
    border: 1px solid #f44336;
    padding: 12px 16px;
    margin: 15px 0;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
/* TABLE: Style unifié */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    table-layout: fixed; /* empêche l'étirement démesuré */
}

.styled-table th,
.styled-table td {
    padding: 8px 10px;
    font-size: 0.85rem;
    line-height: 1.2;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
    white-space: normal;
}

/* Colonne Coordinates */
.styled-table th:nth-child(3),
.styled-table td:nth-child(3) {
    max-width: 250px;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.styled-table th {
    background-color: #f7f7f7;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
}

/* Inputs/selects dans le tableau */
.styled-table input,
.styled-table select {
    font-size: 0.85rem;
    padding: 4px 6px;
    max-width: 120px;
    box-sizing: border-box;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
}

/* === MODERN FOOTER STYLE === */
.footer-modern {
  background: linear-gradient(180deg, #2b2b2b 0%, #1c1c1c 100%);
  color: #e0e0e0;
  padding: 2.5rem 1rem 1rem;
  font-size: 0.95rem;
  border-top: 4px solid #007BFF; /* bleu Garaga */
}

.footer-modern .footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 2rem;
  gap: 2rem;
}

.footer-modern .footer-column {
  flex: 1;
  min-width: 220px;
}

.footer-modern h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-left: 3px solid #007BFF;
  padding-left: 6px;
}

.footer-modern ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.footer-modern li {
  margin: 0.35rem 0;
}

.footer-modern a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-modern a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-modern a::before {
  content: "›";
  color: #007BFF;
  font-weight: bold;
  margin-right: 5px;
  opacity: 0.6;
}

.footer-modern a:hover::before {
  opacity: 1;
}

.footer-modern p {
  text-align: center;
  color: #999;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.footer-modern p a {
  color: #007BFF;
  text-decoration: none;
}

.footer-modern p a:hover {
  text-decoration: underline;
}

.footer-modern h3 i {
  color: #007BFF; /* Bleu Garaga */
  margin-right: 8px;
  font-size: 1.1rem;
  vertical-align: middle;
}


/* Mobile : conserve ton fond #e6e7e8 et rend les items cliquables confortables */
@media (max-width: 768px) {
    .logo img {
        max-height: 30px;
    }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 50px; /* ou la hauteur exacte de ton header */
    left: 0;
    background-color: #e6e7e8;
    z-index: 9999; /* 👈 force le menu au premier plan */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* optionnel : ombre pour détacher visuellement */
  }

  .nav-links.show {
    display: flex;
  }

  nav li {
        margin: 0;
        text-align: center;
    }
 .burger {
        display: block;
    }

  .footer-modern .footer-columns {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-modern .footer-column {
    width: 100%;
  }

  .footer-modern h3 {
    font-size: 1rem;
  }
}
