/* ============================================
   STYLES COMMUNS - Coup de Pouce AXA
   ============================================ */

/* ── RESET & BASE ── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #f0f2f5;
  color: #1a1f5e;
}

/* ── HEADER ── */
.site-header {
  background: #fff;
  border-bottom: 3px solid #1a1f5e;
  padding: 0 40px;
  display: flex;
  align-items: center;
  height: 64px;
  position: relative;
}

.site-header .logo {
  height: 36px;
  margin-right: 48px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 100%;
}

.site-header nav a {
  text-decoration: none;
  color: #1a1f5e;
  font-size: 14px;
  height: 100%;
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  padding-bottom: 0;
  position: relative;
  top: 1.5px;
}

.site-header nav a.active {
  font-weight: bold;
  border-bottom: 3px solid #e8001c;
  color: #1a1f5e;
}

/* ── PAGE WRAPPER ── */
.page-wrapper {
  min-height: calc(100vh - 64px - 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 60px;
}

/* ── TITRES ── */
.page-title-main {
  font-size: 46px;
  font-weight: 900;
  color: #00008f;
  text-align: center;
  line-height: 1.2;
}

.page-subtitle-main {
  font-size: 40px;
  font-weight: 400;
  color: #00008f;
  text-align: center;
  margin-bottom: 54px;
}

.page-section-title {
  font-size: 46px;
  font-weight: 900;
  color: #00008f;
  text-align: center;
  margin-bottom: 20px;
}

/* ── DESCRIPTION ── */
.description-block {
  text-align: center;
  max-width: 1050px;
  margin: 0 auto 32px;
  line-height: 1.6;
  color: #000;
  font-size: 20px;
}

/* ── FORMULAIRES ── */
.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 18px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 6px;
}

.form-group label span.required {
  color: #333333;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  font-size: 18px;
  color: #1a1f5e;
  background: #fff;
  border: 1.5px solid #5f5f5f;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input::placeholder {
  color: #5f5f5f;
}

.form-group input:focus {
  border-color: #1a1f5e;
}

/* ── CHAMPS OBLIGATOIRES ── */
.mandatory-note {
  text-align: center;
  font-size: 13px;
  color: #1a1f5e;
  margin-bottom: 28px;
}

/* ── BOUTONS ── */
.buttons-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.btn-retour {
  padding: 12px 48px;
  font-size: 14px;
  font-weight: bold;
  color: #00008f;
  background: #fff;
  border: 1px solid #00008f;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.btn-retour:hover {
  background: #1a1f5e;
  color: #fff;
}

.btn-valider {
  padding: 12px 48px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background: #00008f;
  border: 1px solid #00008f;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-valider:hover {
  background: #00008f;
}

/* ── MESSAGES D'ERREUR ── */
.univError {
  display: none;
  color: #e8001c;
  font-size: 12px;
  margin-top: 4px;
}

/* ── FOOTER ── */
.site-footer {
  background: #00008f;
  border-top: 1px solid #d8dae6;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
  color: white;
}

.site-footer a:hover {
  color: #e8001c;
}

.site-footer .separator {
  color: #aab0c8;
  font-size: 13px;
}

.site-footer .no-link {
  font-size: 13px;
  color: white;
}

/* ============================================
   PAGE SUIVI (suivi.php) - Préfixe .page-suivi
   ============================================ */

/* Formulaire spécifique suivi.php */
.page-suivi .suivi-form {
  width: 100%;
  max-width: 760px;
}

/* Lien "J'ai oublié..." spécifique suivi.php */
.page-suivi .forgot-link {
  display: block;
  text-align: center;
  color: #00008f;
  font-size: 20px;
  text-decoration: underline;
  margin-top: 20px;
  margin-bottom: 16px;
  cursor: pointer;
}

.page-suivi .forgot-link:hover {
  color: #e8001c;
}

/* ── TABLEAU DE RÉSULTATS ── */
.page-suivi .suivi-table-container {
  width: 100%;
  max-width: 900px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #d8dae6;
  overflow: hidden;
  margin-bottom: 32px;
}

.page-suivi .suivi-table {
  width: 100%;
  border-collapse: collapse;
}

.page-suivi .suivi-table thead {
  background: #f8f9fa;
}

.page-suivi .suivi-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #d8dae6;
}

.page-suivi .suivi-table td {
  padding: 18px 20px;
  text-align: left;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #e8e9ef;
  vertical-align: top;
}

.page-suivi .suivi-table tr:last-child td {
  border-bottom: none;
}

.page-suivi .col-numero {
  width: 20%;
}
.page-suivi .col-date {
  width: 20%;
}
.page-suivi .col-etat {
  width: 60%;
}

.page-suivi .etat-label {
  font-weight: normal;
  color: #333;
  display: block;
}

.page-suivi .etat-detail {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
  line-height: 1.4;
}

/* ============================================
   PAGE OUBLI (participation_introuvable.php) - Préfixe .page-oubli
   ============================================ */

/* Formulaire spécifique participation_introuvable.php */
.page-oubli .suivi-form {
  width: 100%;
  max-width: 330px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Message de confirmation */
.page-oubli .description-block_confirme {
  text-align: center;
  max-width: 1050px;
  margin: 0 auto 32px;
  line-height: 1.6;
  color: #000;
  font-size: 20px;
}
.page_modalites .description-block {
  text-align: start;
}

.page_modalites .description-block ul {
  list-style: none;
  /* enlève les points */
  padding-left: 50px;
  /* garde l'indentation */
  margin-left: 0;
}

.page_modalites .btn-retour {
    padding: 12px 48px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: #00008F;
    border: 1px solid #00008F;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}



/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
  /* Tableau suivi.php en mobile */
  .page-suivi .suivi-table-container {
    border: none;
    background: transparent;
    border-radius: 0;
  }

  .page-suivi .suivi-table thead {
    display: none;
  }

  .page-suivi .suivi-table tbody {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .page-suivi .suivi-table tr {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
  }

  .page-suivi .suivi-table td {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 12px 16px;
    font-size: 16px;
    border-bottom: 1px solid #f5f5f5;
  }

  .page-suivi .suivi-table td:last-child {
    border-bottom: none;
  }

  .page-suivi .suivi-table td::before {
    content: attr(data-label);
    font-weight: normal;
    color: #333;
    font-size: 16px;
    width: 30%;
    flex-shrink: 0;
    padding-right: 12px;
  }

  .page-suivi .suivi-table td span {
    width: 70%;
    word-wrap: break-word;
  }
}

@media (max-width: 600px) {
  /* Titres */
  .page-title-main {
    font-size: 32px;
  }

  .page-subtitle-main {
    font-size: 24px;
  }

  .page-section-title {
    font-size: 32px;
  }

  .description-block {
    font-size: 18px;
  }

  /* Formulaires */
  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .form-group label {
    font-size: 16px;
  }

  .form-group input {
    font-size: 16px;
  }

  /* Header & Page */
  .site-header {
    padding: 0 16px;
  }

  .page-wrapper {
    padding: 100px 16px 48px;
  }

  /* Boutons */
  .buttons-row {
    flex-direction: column-reverse;
    align-items: center;
  }

  /* Spécifique suivi.php */
  .page-suivi .forgot-link {
    font-size: 14px;
    text-align: start;
  }

  .page-suivi .mandatory-note {
    text-align: start;
  }

  .page-suivi .suivi-form {
    max-width: 100%;
  }

  /* Spécifique oubli.php */
  .page-oubli .suivi-form {
    max-width: 100%;
  }

  /* Footer */
  .site-footer {
    flex-direction: column;
  }

  .site-footer .separator {
    display: none;
  }
}
