/* ===== STYLES POUR LES COMPOSANTS SPÉCIFIQUES ===== */

/* ===== NAVIGATION ENTRE ÉTAPES (JOUR1–JOUR5 + SPRINT) ===== */
.stage-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1.2rem;
  row-gap: 0.35rem;
  margin-bottom: 4rem;
}

.stage-header h1 {
  margin: 0;
  text-align: center;
  font-size: 2rem;
  grid-column: 2;
  grid-row: 1;
}

 .stage-header h3 {
  margin: 0;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  grid-column: 2;
  grid-row: 2;
 }

 .stage-nav-btn--prev {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
 }

 .stage-nav-btn--next {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
 }

.stage-nav-btn {
  font-size: 0.85rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #d97f21;
  /* Fond bicolore orange / blanc type balise d'orientation */
  background: linear-gradient(135deg, #F39A3C 0%, #F39A3C 50%, #ffffff 50%, #ffffff 100%);
  color: #2A378C; /* texte foncé lisible sur blanc comme sur orange/violet */
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 0 rgba(0,0,0,0.18);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.stage-nav-btn:hover {
  /* Au survol : bicolore violet / blanc (comme le logo Balise 25) */
  background: linear-gradient(135deg, #D4006C 0%, #D4006C 50%, #ffffff 50%, #ffffff 100%);
  border-color: #D4006C;
  color: #2A378C;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.25);
}

.stage-nav-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.25);
}

.stage-nav-btn--disabled {
  opacity: 0.4;
  pointer-events: none;
}

body.checkout-modal-open {
  overflow: hidden;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,0.55);
  z-index: 5000;
}

.checkout-modal.open {
  display: flex;
}

.checkout-modal-content {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  padding: 20px;
}

.checkout-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.order-row-cancelled {
  background: rgba(231, 76, 60, 0.08);
}

.order-row-cancelled .order-total {
  text-decoration: line-through;
  opacity: 0.75;
}

.order-row-cancelled td {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .checkout-modal-content {
    padding: 16px;
    border-radius: 14px;
  }
}

@media (max-width: 768px) {
  .stage-header {
    column-gap: 0.6rem;
    margin-bottom: 2rem;
  }

  .stage-nav-btn {
    font-size: 1rem;
    padding: 0.15rem 0.45rem;
  }
}

/* Ajout du texte sur grands écrans uniquement */
.stage-nav-btn--prev::after {
  content: " Étape précédente";
}

.stage-nav-btn--next::before {
  content: "Étape suivante ";
}

@media (max-width: 768px) {
  .stage-nav-btn--prev::after,
  .stage-nav-btn--next::before {
    content: ""; /* ne garder que la flèche dans le HTML */
  }
}

/* ===== BOUTIQUE ===== */
.boutique-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/header.jpg');
  background-position: center;
  background-size: cover;
}

.boutique-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.produit-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background-color: #fff;
}

.produit-card:hover {
  transform: translateY(-5px);
}

.produit-image {
  height: 200px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.produit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.produit-info {
  padding: 20px;
}

.produit-info h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

.produit-description {
  color: #555;
  margin-bottom: 15px;
}

.produit-prix {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--accent-orange);
  margin-bottom: 15px;
}

/* ===== GALERIE MÉDIA ===== */
.media-tabs {
  display: flex;
  border-bottom: 2px solid var(--forest-green);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

/* ===== LIVRETS ===== */
.livrets-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 1.5rem 0;
}

.livret-item {
  flex: 1;
  min-width: 250px;
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.livret-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--forest-green);
}

.livret-item h3 {
  color: var(--forest-green);
  margin-bottom: 0.5rem;
}

/* ===== PDF GRID ===== */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* ===== INSTRUCTIONS ADMIN ===== */
.admin-instructions {
  margin-top: 40px;
  padding: 20px;
  background-color: #f9f9f9;
  border-left: 4px solid var(--accent-orange);
  border-radius: 4px;
}

.instruction-box {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.admin-instructions h3 {
  color: var(--forest-green);
  margin-top: 0;
  font-weight: bold;
}

/* ===== HIGHLIGHTS ET CARDS ===== */
.event-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem 0;
}

.highlight-card {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  padding: 1.5rem;
  background-color: var(--sand-beige);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.highlight-card h3 {
  color: var(--forest-green);
  margin-bottom: 0.5rem;
}

/* ===== INFO BLOCKS ===== */
.info-block {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-left: 4px solid var(--accent-orange);
  background-color: #f9f9f9;
  max-width: 100%;
  overflow-x: auto;
}

.info-block h3 {
  color: var(--forest-green);
  margin-top: 0;
}

.info-box {
  background-color: #f5f5f5;
  padding: 25px;
  border-radius: 10px;
  margin-top: 50px;
}

/* ===== ONGLETS HORAIRES ET RÉSULTATS ===== */
.tabs-container {
  margin: 2rem 0;
}

.tabs {
  display: flex;
  border-bottom: 3px solid #e0e0e0;
  margin-bottom: 2rem;
}

.tab-button {
  background: #f8f9fa;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  color: #6c757d;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.tab-button.active {
  background: var(--forest-green);
  color: white;
  border-bottom: 3px solid var(--forest-green);
}

.tab-button:hover:not(.active) {
  background: #e9ecef;
  color: var(--forest-green);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ===== GRILLE ET CARTES PDF ===== */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important; /* grands écrans : 4 cartes par ligne */
  gap: 2rem;
  margin: 2rem 0;
}

.pdf-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.pdf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.pdf-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--accent-orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.pdf-icon svg {
  width: 32px;
  height: 32px;
}

.pdf-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: var(--text-dark);
}

.pdf-card p {
  color: #6c757d;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ===== INSTRUCTIONS ADMINISTRATEUR ===== */
.admin-instructions {
  margin-top: 3rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid var(--accent-orange);
}

.admin-instructions h3 {
  color: var(--forest-green);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.instruction-box {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.instruction-box h4 {
  color: var(--accent-orange);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.instruction-box ol {
  margin-left: 1rem;
}

.instruction-box li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.instruction-box code {
  background: #f1f3f4;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  color: var(--accent-orange);
  font-weight: 600;
}

/* ===== BLOCS DE CODE ===== */
.code-block {
  background: #f5f5f5;
  padding: 10px;
  overflow: auto;
  font-size: 0.9em;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

/* ===== PARCOURS LOISIR ===== */
.parcours-content {
  margin-top: 1.5rem;
}

.parcours-section {
  margin-bottom: 2.5rem;
}

.parcours-details {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}

.parcours-info {
  flex: 1;
  min-width: 300px;
}

.parcours-img-placeholder {
  flex: 1;
  min-width: 300px;
  min-height: 200px;
}

.placeholder-box {
  height: 100%;
  min-height: 200px;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #666;
  font-style: italic;
}

.tarifs-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 1rem 0;
}

.tarifs-table th, .tarifs-table td {
  border: 1px solid #ddd;
  padding: 0.55rem;
  font-size: 0.95rem;
  text-align: center;
  vertical-align: middle;
  word-break: break-word;
}

.tarifs-table th {
  background-color: var(--brand-pink);
  color: white;
}

.tarifs-table tr:nth-child(even) {
  background-color: #f5f5f5;
}

 @media (max-width: 768px) {
   .tarifs-table th, .tarifs-table td {
     font-size: 0.6rem;
     padding: 0.2rem;
   }
 }

.race-tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}

.race-tables-grid h3 {
  margin-top: 0;
  text-align: center;
}

 .race-tables-grid .th-short {
   display: none;
 }

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.table-scroll .tarifs-table {
  margin: 0;
  min-width: 520px;
}

 .race-tables-grid .table-scroll .tarifs-table {
   min-width: 400px;
   table-layout: auto;
 }

 @media (max-width: 768px) {
   .race-tables-grid .table-scroll .tarifs-table {
     min-width: 320px;
   }

   .race-tables-grid .th-full {
     display: none;
   }

   .race-tables-grid .th-short {
     display: inline;
   }
 }

/* ===== PAGE MÉDIA - CONTENEUR GÉNÉRIQUE ===== */
.media-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.media-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.media-placeholder {
  height: 200px;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-style: italic;
}

.media-caption {
  padding: 0.8rem;
  background-color: #f9f9f9;
  font-size: 0.9rem;
}

 body.image-lightbox-open {
  overflow: hidden;
 }

 .image-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 6000;
 }

 .image-lightbox.open {
  display: block;
 }

 .image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
 }

 .image-lightbox__content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
 }

 .image-lightbox__img {
  max-width: min(1200px, 100%);
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
 }

 .image-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
 }

 .image-lightbox__close:hover {
  background: rgba(0,0,0,0.55);
 }

/* ===== ALIGNEMENT DES LISTES DANS LES PAGES PROGRAMME ===== */
.programme-content p {
  text-align: justify;
}

.programme-content ul {
  padding-left: 0;
  list-style-position: outside;
  margin-left: 1.2em;
}

.programme-content li {
  margin-bottom: 0.5rem;
  text-align: justify;
}

/* ===== RESPONSIVE POUR COMPOSANTS ===== */
@media (max-width: 768px) {
  .boutique-grid {
    grid-template-columns: 1fr;
  }
  
  .event-highlights, .parcours-details {
    flex-direction: column;
  }
  
  .highlight-card {
    max-width: none;
  }
  
  .media-tabs {
    flex-direction: column;
    border-bottom: none;
  }
  
  .tab-button {
    border-radius: 0;
    margin-right: 0;
    margin-bottom: 2px;
    text-align: left;
  }
}

/* ≤ 768px : 2 cartes par ligne */
@media (max-width: 768px) {
  .pdf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ≤ 1000px : 2 cartes par ligne (écrase la règle à 3 colonnes en dessous de 1000px) */
@media (max-width: 1000px) {
  .pdf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ≤ 1200px : 3 cartes par ligne (entre 1001 et 1200px, cette règle s’applique seule) */
@media (min-width: 1001px) and (max-width: 1200px) {
  .pdf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Styles pour les partenaires */
.partners-container {
  margin: 1.5rem 0;
}

.partner-category {
  margin-bottom: 2rem;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}

.partner-logo {
  height: 200px;
  width: 200px;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.tab-button {
  background-color: #f0f0f0;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.8rem 1.5rem;
  margin-right: 0.2rem;
  border-radius: 8px 8px 0 0;
  font-weight: 500;
  transition: 0.3s;
}

.tab-button:hover {
  background-color: #e0e0e0;
}

.tab-button.active {
  background-color: var(--forest-green);
  color: white;
}

.tab-content {
  padding: 1rem 0;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.photo-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.photo-placeholder {
  height: 180px;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-style: italic;
}

.photo-caption {
  padding: 0.8rem;
  background-color: #f9f9f9;
  font-size: 0.9rem;
}

.gallery-info {
  margin-top: 1.5rem;
  font-style: italic;
  color: #555;
  border-top: 1px dashed #ccc;
  padding-top: 1rem;
}

.garderie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
 }

 .garderie-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(0,0,0,0.78);
 }

 .garderie-form input,
 .garderie-form select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15,61,62,0.18);
  background: #fff;
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
 }

 .garderie-form input:focus,
 .garderie-form select:focus {
  outline: none;
  border-color: rgba(233, 117, 58, 0.65);
  box-shadow: 0 0 0 4px rgba(233, 117, 58, 0.18);
 }

 .garderie-form select {
  -webkit-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(42,55,140,0.9) 50%),
    linear-gradient(135deg, rgba(42,55,140,0.9) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
 }

 .garderie-duration {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  font-weight: 600;
 }

 .garderie-duration__label {
  flex-basis: 100%;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(0,0,0,0.78);
 }

 .garderie-duration__option {
  display: inline-grid;
  grid-template-columns: 20px auto;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,61,62,0.18);
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  cursor: pointer;
  user-select: none;
 }

 .garderie-duration__option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  accent-color: var(--accent-orange);
  border-radius: 6px;
 }

 .garderie-duration__option:focus-within {
  border-color: rgba(233, 117, 58, 0.65);
  box-shadow: 0 0 0 4px rgba(233, 117, 58, 0.18);
 }

 .info-block.garderie-card {
  border-left: none;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15,61,62,0.10);
  box-shadow: 0 8px 22px rgba(15,61,62,0.06);
 }

 .info-block.garderie-card h3 {
  margin-bottom: 0.75rem;
 }

 .garderie-availability {
  display: grid;
  gap: 12px;
  font-size: 1.02rem;
 }

 .garderie-availability-day {
  max-width: 220px;
 }

 .garderie-availability-day select {
  font-size: 1rem;
 }

 .garderie-availability__message {
  font-weight: 700;
 }

 .garderie-schedule {
  display: grid;
  gap: 12px;
 }

 .garderie-schedule__timeline {
  display: grid;
  gap: 8px;
 }

 .garderie-schedule__hours,
 .garderie-schedule__grid {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
 }

 .garderie-schedule__hours-spacer,
 .garderie-schedule__grid-spacer {
  width: 28px;
 }

 .garderie-schedule__hours-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
 }

 .garderie-schedule__hour {
  font-weight: 800;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.62);
 }

 .garderie-schedule__grid-area {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: rgba(15,61,62,0.06);
  border: 1px solid rgba(15,61,62,0.10);
  overflow: hidden;
 }

 .garderie-schedule__vline {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0,0,0,0.10);
 }

 .garderie-schedule__grid-area .garderie-schedule__vline:nth-child(1) { left: 0%; }
 .garderie-schedule__grid-area .garderie-schedule__vline:nth-child(2) { left: 12.5%; }
 .garderie-schedule__grid-area .garderie-schedule__vline:nth-child(3) { left: 25%; }
 .garderie-schedule__grid-area .garderie-schedule__vline:nth-child(4) { left: 37.5%; }
 .garderie-schedule__grid-area .garderie-schedule__vline:nth-child(5) { left: 50%; }
 .garderie-schedule__grid-area .garderie-schedule__vline:nth-child(6) { left: 62.5%; }
 .garderie-schedule__grid-area .garderie-schedule__vline:nth-child(7) { left: 75%; }
 .garderie-schedule__grid-area .garderie-schedule__vline:nth-child(8) { left: 87.5%; }
 .garderie-schedule__grid-area .garderie-schedule__vline:nth-child(9) { left: 100%; }

 .garderie-schedule__band {
  position: absolute;
  top: -6px;
  bottom: -6px;
  background: rgba(255, 61, 127, 0.18);
  border: 1px solid rgba(255, 61, 127, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 61, 127, 0.12);
  border-radius: 10px;
  pointer-events: none;
 }

 .garderie-schedule__band--rows {
  top: 0;
  bottom: 0;
  border-radius: 12px;
 }

 .garderie-schedule__rows {
  max-height: 240px;
  overflow: auto;
  padding-right: 4px;
  position: relative;
 }

 .garderie-schedule__rows-inner {
  position: relative;
 }

 .garderie-schedule__bands {
  position: absolute;
  left: 38px;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
 }

 .garderie-schedule__empty {
  padding: 10px 0;
 }

 .garderie-schedule__row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  position: relative;
  z-index: 1;
 }

 .garderie-schedule__row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(42,55,140,0.9);
 }

 .garderie-schedule__icon {
  width: 18px;
  height: 18px;
 }

 .garderie-schedule__row-track {
  position: relative;
  height: 18px;
  border-radius: 999px;
  background: rgba(15,61,62,0.06);
  border: 1px solid rgba(15,61,62,0.10);
  overflow: hidden;
 }

 .garderie-schedule__bar {
  position: absolute;
  top: 2px;
  bottom: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15,61,62,0.55), rgba(15,61,62,0.35));
  border: 1px solid rgba(15, 61, 62, 0.35);
  box-shadow: 0 6px 16px rgba(15,61,62,0.08);
  min-width: 14px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
 }

 .garderie-schedule__bar-label {
  padding: 0 8px;
  font-weight: 800;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
 }

 .garderie-availability__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
 }

 .garderie-availability__kpi {
  display: grid;
  gap: 2px;
 }

 .garderie-availability__value {
  font-family: 'Anton', sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: 0.5px;
  color: var(--forest-green);
 }

 .garderie-availability__value.is-low {
  color: var(--accent-orange);
 }

 .garderie-availability__value.is-full {
  color: var(--brand-pink);
 }

 .garderie-availability__caption {
  font-weight: 700;
  color: rgba(0,0,0,0.62);
 }

 .garderie-availability__slot {
  text-align: right;
  display: grid;
  gap: 2px;
 }

 .garderie-availability__slot-day {
  font-weight: 800;
  color: rgba(0,0,0,0.78);
 }

 .garderie-availability__slot-time {
  font-weight: 700;
  color: rgba(0,0,0,0.62);
 }

 .garderie-availability__slot-dur {
  white-space: nowrap;
 }

 .garderie-availability__bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(15,61,62,0.08);
  overflow: hidden;
  border: 1px solid rgba(15,61,62,0.10);
 }

 .garderie-availability__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-orange), var(--brand-pink));
  border-radius: 999px;
  transition: width 0.25s ease-out;
 }

 .garderie-availability__legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-weight: 700;
  color: rgba(0,0,0,0.62);
 }

 .garderie-availability__legend strong {
  color: rgba(0,0,0,0.78);
 }

 @media (max-width: 768px) {
  .garderie-availability__slot {
    text-align: left;
  }
 }

 .garderie-submit-status {
  margin-top: 12px;
  font-weight: 700;
 }

 .garderie-details {
  border: 0;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
 }

 .garderie-details[disabled] {
  opacity: 0.6;
 }

 .garderie-admin-actions {
  margin: 12px 0;
 }

 .garderie-admin-table {
  width: 100%;
  border-collapse: collapse;
 }

 .garderie-admin-table th,
 .garderie-admin-table td {
  border: 1px solid #ddd;
  padding: 10px;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
 }

 .garderie-admin-table th {
  background: #f5f5f5;
 }

 .garderie-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 6500;
 }

 .garderie-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
 }

 .garderie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
 }

 .garderie-modal__content {
  position: relative;
  width: min(560px, calc(100% - 32px));
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  padding: 18px;
  max-height: calc(100vh - 32px);
  overflow: auto;
 }

 .garderie-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
 }

 .garderie-modal__body {
  font-weight: 700;
 }

 .garderie-confirm-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
 }

 @media (max-width: 768px) {
  .garderie-grid {
    grid-template-columns: 1fr;
  }
 }

 @media (min-width: 1100px) {
  .garderie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
 }

.partners-container {
  margin: 1.5rem 0;
}