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;
}
.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;
}
.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-child-fieldset {
  border:2px solid #2196f3; padding:22px 18px 18px 18px; margin:18px auto;
  background: linear-gradient(120deg, #e3f5fe 70%, #c7eafd 100%);
  border-radius: 22px; color: #191919;
  box-shadow: 0 8px 32px 0 rgba(33,150,243,0.10), 0 1.5px 6px 0 rgba(33,150,243,0.13);
  max-width: 570px; min-width: 250px;
}
.babygym-child-fieldset legend {
  color: #fff; background: linear-gradient(90deg, #2196f3, #64b5f6);
  border-radius: 7px; padding: 7px 17px; font-weight: bold; font-size: 1.2em;
  box-shadow: 0 3px 16px #b3d8fa44; border: 1.5px solid #2196f3; letter-spacing: 0.5px;
  margin-bottom: 4px; display: inline-block;
}
.babygym-fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.babygym-row-double { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.babygym-col {
  flex: 1 1 0; min-width: 190px; display: flex; flex-direction: column;
}
.babygym-col label { font-weight: bold; color: #1976d2; margin-bottom: 4px;}
.babygym-col input[type="text"],
.babygym-col input[type="date"] {
  border: 1.6px solid #b3d8fa; border-radius: 7px; padding: 7px 10px;
  font-size: 1em; transition: border-color 0.2s, box-shadow 0.18s;
  background: #fafdff; box-shadow: 0 1px 3px #b3d8fa22;
  min-width: 140px; max-width: 260px;
}
.babygym-col input[type="text"]:focus,
.babygym-col input[type="date"]:focus { border-color: #2196f3; box-shadow: 0 0 0 2px #2196f344; outline: none; }
.babygym-col input[type="date"]:invalid { border-color: #d60000; }
.babygym-fields label i, .babygym-horaires-title i { color: #2196f3; margin-right: 4px; }
.babygym-horaires { margin-top: 12px; padding-left: 2px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.babygym-radio {
  display: flex; align-items: center; gap: 5px; background: #fafdff;
  border-radius: 8px; padding: 2px 8px 2px 6px; border: 1px solid #b3d8fa;
  margin-left: 6px; font-weight: 600; color: #0a379d; transition: border-color 0.2s;
}
.babygym-radio input[type="radio"] { accent-color: #2196f3; margin-right: 3px; 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.03em; margin-right: 3px; }
#babygym_enfant_naissance_error { color: #d60000; font-size:0.98em; display:none; margin-bottom:5px;}
@media (max-width: 900px) {
  .babygym-row-double { flex-direction: column; gap: 10px; }
  .babygym-col { min-width: 0; flex: 1 1 100%; }
  .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: 15px 6px 8px 6px; }
}
.total-activites-row td {
  font-weight: bold;
  color: #2334d6;
  font-size: 1.22em;
  letter-spacing: 0.02em;
  background: #eaf4ff;
  border-bottom: none;
}
.total-amount-row td {
  font-weight: bold;
  color: #0d7c36;
  font-size: 1.35em;
  background: #eaf4ff;
  border-bottom: none;
  border-radius: 0 0 16px 16px;
}
button[type="submit"] {
  background: linear-gradient(90deg, #79c8ff 0%, #34c759 100%);
  color: #fff;
  font-weight: bold;
  padding: 18px 36px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.32em;
  box-shadow: 0 4px 20px #2196f344, 0 1px 2px #34c75933;
  transition: background 0.22s, box-shadow 0.22s, transform 0.16s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 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, #34c759 0%, #2334d6 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px #2334d655, 0 1.5px 6px #34c75955;
}
button[type="submit"]:active {
  background: linear-gradient(90deg, #2196f3 0%, #34c759 100%);
  box-shadow: 0 2px 8px #2196f344;
  transform: scale(0.98);
}
button[type="submit"] .fa-floppy-disk {
  margin-right: 12px;
  font-size: 1.25em;
  vertical-align: middle;
  color: #fff;
  filter: drop-shadow(0 1px 2px #2334d6bb);
  transition: color 0.22s;
}
button[type="submit"]:hover .fa-floppy-disk {
  color: #34c759;
}
button[type="submit"]:focus-visible {
  outline: 3px solid #2334d6;
  outline-offset: 2px;
}
.hidden { display: none }
/* ----------- PAIEMENT & OPTIONS EN ROUGE PASTEL ----------- */
/* Place bien cette règle APRÈS la règle th, td { ... } */
.paiement-section th {
 background: linear-gradient(90deg, #ffe5e5 0%, #ffd7d7 100%);
  color: #af2337 ;
  font-size: 1.13em;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 9px #ffe5e588;
  border-bottom: 4px solid #d7b3b3;
}