
body {
  font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f5faff 0%, #eaf4ff 30%, #b3e5fc 100%);
  margin: 0;
  padding: 24px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #191919;
}
form {
  background: rgba(245, 248, 255, 0.93);
  padding: 36px 30px 30px 30px;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(39, 47, 114, 0.08), 0 2px 8px rgba(40,167,69,0.05);
  width: 90%;
  max-width: 950px;
  margin-bottom: 40px;
  border: 1.5px solid #b3d8fa;
}
h1 {
  background: linear-gradient(90deg, #79c8ff 10%, #2334d6 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #2334d6;
  text-align: center;
  margin-bottom: 0;
  font-size: 2.2em;
  font-weight: 700;
  letter-spacing: 1px;
}
.subtitle,
.season-text {
  text-align: center;
  background: linear-gradient(90deg, #79c8ff 0%, #2334d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #2334d6;
  font-size: 1.28em;
  font-weight: bold;
  margin: 5px 0 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px #b3d8fa;
}
.season-text {
  font-size: 1.18em;
  margin: 5px 0 30px;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 20px;
  background: #eaf4ff;
  border-radius: 10px;
  overflow: hidden;
  color: #191919;
  border: 2px solid #b3a2f7;
  box-shadow: 0 4px 16px rgba(39,47,114,0.07);
}
th, td {
  border-bottom: 2px solid #b3a2f7;
  border-right: 1px solid #eaf4ff;
  padding: 13px 15px;
  text-align: left;
  vertical-align: middle;
  background: #eaf4ff;
  color: #191919;
}
th {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.98em;
  vertical-align: middle;
  color: #191919;
  border-right: 1px solid #b3a2f7;
  border-bottom: 4px solid #7f53ac;
}
.fitness-section th {
  background: linear-gradient(90deg, #B3E5FC 0%, #E0C3FC 100%) !important;
  color: #2a345d !important;
  font-size: 1.13em;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 9px #e8f1fe;
  border-bottom: 4px solid #b3a2f7;
}
.type-activite {
  color: #2334d6 !important;
  font-weight: bold;
}
.danse-section th {
  background: linear-gradient(90deg, #FFF7AE 0%, #F8E1FF 100%) !important;
  color: #8C2F5A !important;
  font-size: 1.13em;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 9px #fbeff5;
  border-bottom: 4px solid #b3a2f7;
}
.zen-section th {
  background: linear-gradient(90deg, #C6F5E6 0%, #E3E6FC 100%) !important;
  color: #2D7368 !important;
  font-size: 1.13em;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 9px #e7f8f2;
  border-bottom: 4px solid #b3a2f7;
}
.enfants-section th {
  background: linear-gradient(90deg, #FFD2B7 0%, #FFF3BA 100%) !important;
  color: #A85C00 !important;
  font-size: 1.13em;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 9px #fff6e5;
}
.plein-air-section th {
  background: linear-gradient(90deg, #C9FFB5 0%, #B7EFFF 100%) !important;
  color: #1A6B26 !important;
  font-size: 1.13em;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 9px #e7fffa;
}

/* ----------- PAIEMENT & OPTIONS EN ROUGE PASTEL ----------- */
/* Cette règle doit être APRES th, td { ... } pour être appliquée */
.paiement-section th {
  background: linear-gradient(90deg, #ffe5e5 0%, #ffd7d7 100%) !important;
  color: #af2337 !important;
  font-size: 1.13em;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 9px #ffe5e588;
  border-bottom: 4px solid #d7b3b3;
}

/* ----------- REMISES/SUPPLEMENTS/TOTAUX EN TABLEAU ----------- */
.remise-25-row,
.remise-famille-row,
.frais-exterieur-row {
  background: #eaf4ff;
}
.remise-25-row td,
.remise-famille-row td,
.frais-exterieur-row td {
  background: #eaf4ff;
  font-weight: bold;
  font-size: 1.07em;
  color: #181818;
  border-bottom: 1.5px solid #b3a2f7;
  padding: 14px 12px 14px 20px;
  letter-spacing: 0.01em;
  text-align: left;
  vertical-align: middle;
  position: relative;
}
.remise-25-row td { border-top: 2.5px solid #b3a2f7; }
.frais-exterieur-row td { border-bottom: 2.5px solid #b3a2f7; }

.remise-25-row .valeur-montant,
.remise-famille-row .valeur-montant,
.frais-exterieur-row .valeur-montant {
  font-weight: bold;
  font-size: 1.07em;
  color: #181818;
  background: none;
  padding-left: 8px;
  float: right;
}

.total-activites-row td,
.total-amount-row td {
  background: #eaf4ff;
  font-weight: bold;
  font-size: 1.15em;
  color: #181818;
  padding: 18px 16px 18px 0;
  border-bottom: 1.5px solid #b3a2f7;
  text-align: right;
  letter-spacing: 0.01em;
}
.total-activites-row td { border-top: 2.5px solid #b3a2f7; }

.total-activites-row td span,
.total-amount-row td span {
  margin-left: 12px;
}

/* ----------- BOUTON STYLE BLEU/GRADIENT ----------- */
button[type="submit"] {
  background: linear-gradient(90deg, #60b4ff 0%, #c6ffdd 100%);
  color: #181818;
  font-weight: bold;
  padding: 16px 36px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-size: 1.18em;
  box-shadow: 0 4px 18px #60b4ff26;
  transition: background 0.18s, box-shadow 0.16s, transform 0.12s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px auto 0 auto;
  min-width: 260px;
  letter-spacing: 1px;
  gap: 12px;
  outline: none;
}
button[type="submit"]:hover, button[type="submit"]:focus {
  background: linear-gradient(90deg, #c6ffdd 0%, #60b4ff 100%);
  color: #191919;
  box-shadow: 0 8px 32px #60b4ff33;
  transform: translateY(-2px) scale(1.03);
}
button[type="submit"]:active {
  background: linear-gradient(90deg, #60b4ff 0%, #c6ffdd 100%);
  box-shadow: 0 2px 8px #60b4ff22;
  transform: scale(0.98);
}
button[type="submit"]:focus-visible {
  outline: 3px solid #1976d2;
  outline-offset: 2px;
}

/* ----------- AUTRES STYLES (inchangés) ----------- */
.activity-title {
  font-size: 1.07em;
  font-weight: bold;
  color: #191919 !important;
  letter-spacing: 0.5px;
}
.activity-amount {
  text-align: center !important;
  vertical-align: middle !important;
  color: #191919 !important;
  font-size: 1.15em;
  font-weight: bold;
}
.checkbox-cell {
  text-align: center;
}
.liste-pack-fitness {
  padding-left: 20px;
}
.liste-pack-fitness .jour {
  font-weight: bold;
  color: #191919;
}
.liste-pack-fitness .activite-bleue {
  color: #1976d2;
  font-weight: bold;
}
.liste-pack-fitness .coach {
  font-weight: bold;
  color: #191919;
}
.liste-pack-fitness li {
  margin-bottom: 5px;
}

/* --------- BABYGYM FIELDSET AMÉLIORÉ --------- */
.babygym-child-fieldset {
  border: 2.5px solid #2196f3;
  background: linear-gradient(120deg, #e3f5fe 70%, #c7eafd 100%);
  border-radius: 22px;
  color: #191919;
  box-shadow: 0 8px 32px 0 rgba(33,150,243,0.13), 0 2px 12px 0 rgba(33,150,243,0.14);
  max-width: 650px;
  min-width: 250px;
  margin: 18px auto 10px auto;
  padding: 30px 22px 24px 22px;
  position: relative;
  transition: box-shadow 0.25s;
}

.babygym-child-fieldset legend {
  color: #fff;
  background: linear-gradient(90deg, #2196f3 20%, #64b5f6 80%);
  border-radius: 9px;
  padding: 9px 22px;
  font-weight: bold;
  font-size: 1.22em;
  box-shadow: 0 3px 16px #b3d8fa44;
  border: 2px solid #2196f3;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: inline-block;
  position: relative;
  left: 12px;
}

.babygym-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}

.babygym-row-double {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.babygym-col {
  flex: 1 1 0;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.babygym-col label {
  font-weight: bold;
  color: #1976d2;
  margin-bottom: 3px;
  font-size: 1.04em;
}

.babygym-col input[type="text"],
.babygym-col input[type="date"] {
  border: 1.7px solid #b3d8fa;
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 1.01em;
  background: #fafdff;
  box-shadow: 0 1.5px 5px #b3d8fa25;
  min-width: 125px;
  max-width: 260px;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.babygym-col input[type="text"]:focus,
.babygym-col input[type="date"]:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 2.5px #2196f366;
  outline: none;
}

.babygym-col input[type="date"]:invalid {
  border-color: #d60000;
}

.babygym-fields label i,
.babygym-horaires-title i {
  color: #2196f3;
  margin-right: 4px;
  font-size: 1.15em;
}

.babygym-horaires {
  margin-top: 13px;
  padding-left: 2px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.babygym-radio {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fafdff;
  border-radius: 10px;
  padding: 4px 16px 4px 10px;
  border: 1.5px solid #b3d8fa;
  font-weight: 600;
  color: #0a379d;
  font-size: 1.09em;
  transition: border-color 0.2s, box-shadow 0.18s;
  margin-bottom: 5px;
  box-shadow: 0 1.5px 7px #b3d8fa22;
}

.babygym-radio input[type="radio"] {
  accent-color: #2196f3;
  margin-right: 5px;
  width: 20px;
  height: 20px;
}

.babygym-radio input[type="radio"]:focus + span,
.babygym-radio input[type="radio"]:checked + span {
  color: #1976d2;
  font-weight: bold;
}

.babygym-radio span {
  font-size: 1.09em;
  margin-right: 3px;
}

#babygym_enfant_naissance_error {
  color: #d60000;
  font-size: 0.98em;
  display: none;
  margin-bottom: 5px;
}

/* --------- FIN BABYGYM FIELDSET AMÉLIORÉ --------- */

@media (max-width: 900px) {
  .babygym-row-double {
    flex-direction: column;
    gap: 11px;
  }
  .babygym-col {
    min-width: 0;
    flex: 1 1 100%;
  }
  .babygym-horaires {
    flex-direction: column;
    gap: 10px;
  }
  .pilates-horaires {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 700px) {
  form { padding: 8px !important; }
  table { width: 100% !important; }
  .babygym-fields { gap: 8px 0; }
  .babygym-row-double { flex-direction: column; gap: 8px 0; }
  .babygym-col { min-width: 0; flex: 1 1 100%; }
  .babygym-child-fieldset { padding: 14px 3px 9px 3px; }
}
.hidden { display: none !important; }