/* ============================================================
   SKARPA BYTOM — System Design
   Styl: Surowy industrialny + zieleń wspinaczkowa
   Font: Barlow Condensed (nagłówki) + Barlow (tekst)
   Mobile-first
   ============================================================ */

/* --- RESET & VARIABLES --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:        #2d5a3d;
  --primary-dark:   #1a3a2a;
  --primary-light:  #4a8a5d;
  --primary-pale:   #f0f7f2;
  --accent:         #c8f04a;   /* limonkowy akcent wspinaczkowy */
  --accent-dark:    #a3c832;

  --bg:             #f5f5f0;
  --bg-card:        #ffffff;
  --bg-dark:        #111810;

  --text:           #1a1a18;
  --text-muted:     #6b7460;
  --text-light:     #a0a899;

  --border:         #e2e5d8;
  --border-strong:  #c8ccb8;

  --danger:         #d93025;
  --warning:        #e67e22;
  --success:        #2d7a4a;

  --radius:         10px;
  --radius-lg:      16px;
  --shadow:         0 2px 12px rgba(0,0,0,0.07);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.12);

  --nav-h:          64px;
  --eu-bar-h:       28px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary  { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn--outline  { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary-pale); }
.btn--white    { background: #fff; color: var(--primary); border-color: #fff; }
.btn--white:hover { background: #f0f7f2; }
.btn--danger   { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn--danger:hover { background: #b52820; }
.btn--warning  { background: var(--warning); color: #fff; border-color: var(--warning); }

.btn--lg  { padding: 14px 32px; font-size: 1.1rem; }
.btn--sm  { padding: 7px 16px; font-size: 0.9rem; }
.btn--xs  { padding: 4px 10px; font-size: 0.8rem; }
.btn--full { width: 100%; }

/* --- ALERTS --- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert--error   { background: #fef2f2; border: 1px solid #fca5a5; color: #7f1d1d; }
.alert--success { background: #f0fdf4; border: 1px solid #86efac; color: #14532d; }
.alert--info    { background: #eff6ff; border: 1px solid #93c5fd; color: #1e3a5f; }
.alert-icon { font-size: 1.2rem; flex-shrink: 0; }

/* --- NAVBAR --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.nav-brand-icon { font-size: 1.6rem; }
.nav-brand-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
}
.nav-brand-text span { color: var(--accent); }

.nav-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--primary-dark);
  padding: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-menu.active { display: flex; }

@media (min-width: 768px) {
  .nav-menu {
    display: flex !important;
    flex-direction: row;
    position: static;
    border: none;
    padding: 0;
    gap: 4px;
    align-items: center;
  }
}

.nav-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  border-radius: 6px;
  transition: all 0.15s;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); text-decoration: none; }
.nav-link--admin { color: var(--accent); }
.nav-link--btn { font-family: 'Barlow Condensed', sans-serif; }
.nav-cta {
  background: var(--accent);
  color: var(--primary-dark) !important;
  font-weight: 700;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (min-width: 768px) { .nav-toggle { display: none; } }

/* EU bar in navbar */
.eu-bar {
  background: #1a3a2a;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 4px 0;
}
.eu-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--primary-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(74,138,93,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 90%, rgba(29,74,46,0.2) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 240, 74, 0.15);
  border: 1px solid rgba(200, 240, 74, 0.3);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  color: #fff;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero-title--accent { color: var(--accent); }

.hero-subtitle {
  color: rgba(255,255,255,0.65);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-top: 4px;
}



/* --- SECTIONS --- */
.section { padding: 5rem 0; }
.section--light { background: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 720px; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature-card p { color: var(--text-muted); font-size: 0.93rem; }

/* Split section */
.section--split { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .section--split { grid-template-columns: 1fr 1fr; } }

.split-panel {
  padding: 4rem 2rem;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.split-panel--kids   { background: linear-gradient(135deg, #1a3a2a, #2d5a3d); }
.split-panel--adults { background: linear-gradient(135deg, #111810, #1a3a2a); }

.split-content { max-width: 420px; margin: 0 auto; }
.split-tag {
  display: inline-block;
  background: rgba(200,240,74,0.2);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.split-content h2 { color: #fff; margin-bottom: 1rem; }
.split-content p { color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; line-height: 1.7; }
.split-list { list-style: none; color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.split-list li { padding: 4px 0; font-size: 0.95rem; }

/* Classes grid */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.class-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.class-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.class-card.kids   { border-top: 3px solid #4ade80; }
.class-card.adults { border-top: 3px solid #60a5fa; }
.class-card.mixed  { border-top: 3px solid var(--primary-light); }

.class-card-header { display: flex; justify-content: space-between; align-items: center; }
.class-category-badge {
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}
.class-category-badge--lg { font-size: 0.9rem; padding: 5px 14px; }
.class-spots { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.class-spots--low { color: var(--warning); }
.class-card-name { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.class-card-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.83rem; color: var(--text-muted); }
.class-card-action { margin-top: auto; }
.class-locked { font-size: 0.83rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.class-full { font-size: 0.83rem; color: var(--danger); font-weight: 600; }

/* Map section */
.section--map { background: #fff; }
.map-wrapper { position: relative; }
.map-info-card {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  font-size: 0.9rem;
}
.map-info-card h4 { margin-bottom: 0.5rem; }
.map-info-card p { color: var(--text-muted); margin-bottom: 0.5rem; line-height: 1.5; }
@media (max-width: 600px) {
  .map-info-card { position: static; margin-top: 1rem; box-shadow: var(--shadow); }
}

/* CTA section */
.section--cta { background: var(--primary-dark); }
.cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 2rem 0;
}
@media (min-width: 768px) {
  .cta-box { flex-direction: row; justify-content: space-between; text-align: left; }
}
.cta-box h2 { color: #fff; }
.cta-box p { color: rgba(255,255,255,0.6); margin-top: 0.25rem; }

/* --- CALENDAR PAGE --- */
.page-content { padding: 2.5rem 0 5rem; }
.page-header { margin-bottom: 2rem; }
.page-header h1 { margin-bottom: 0.5rem; }
.page-header p { color: var(--text-muted); }

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.legend-dot--open   { background: #4ade80; }
.legend-dot--locked { background: #fbbf24; }
.legend-dot--full   { background: #f87171; }

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 6px 16px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  font-family: 'Barlow Condensed', sans-serif;
  transition: all 0.15s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.calendar-month-header {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1rem 0 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.calendar-row {
  display: grid;
  grid-template-columns: 52px 8px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
  transition: all 0.15s;
}
.calendar-row:hover { border-color: var(--primary); box-shadow: var(--shadow); }

.cal-date { text-align: center; }
.cal-day {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--primary);
}
.cal-weekday { font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; }

.cal-status-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.status-open   { background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,0.2); }
.status-locked { background: #fbbf24; }
.status-full   { background: #f87171; }

.cal-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.cal-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: var(--text-muted); }
.cal-category-tag {
  background: var(--primary-pale);
  color: var(--primary);
  padding: 1px 8px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.cal-spots { min-width: 90px; }
.spots-bar-wrap { display: flex; align-items: center; gap: 8px; flex-direction: column; }
.spots-bar {
  width: 100%;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.spots-bar-fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width 0.3s; }
.spots-label { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
.spots-label--low { color: var(--warning); font-weight: 700; }

.cal-locked-info { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-muted); }
.cal-lock-text { line-height: 1.3; }

.calendar-cta-hint {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--primary-pale);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 600px) {
  .calendar-row { grid-template-columns: 44px 1fr; grid-template-rows: auto auto auto; }
  .cal-status-bar { display: none; }
  .cal-spots { grid-column: 1 / -1; }
  .cal-action { grid-column: 1 / -1; }
}

/* --- BOOKING PAGE --- */
.back-link {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.back-link:hover { color: var(--primary); }

.class-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.class-info-header { margin-bottom: 0.75rem; }
.class-info-title { font-size: 1.8rem; margin-bottom: 1rem; }
.class-info-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1rem; }
.class-info-meta-item { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--text-muted); }
.meta-icon { width: 20px; text-align: center; }
.class-info-desc { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.5rem; }

.locked-state, .empty-state {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.locked-icon, .empty-state-icon { font-size: 3rem; margin-bottom: 1rem; }
.locked-state h2, .empty-state h3 { margin-bottom: 0.5rem; }
.locked-state p, .empty-state p { color: var(--text-muted); margin-bottom: 1.5rem; }

.booking-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.booking-form-card h2 { margin-bottom: 0.25rem; }
.booking-form-hint { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.participant-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.participant-block--main { background: var(--primary-pale); border-color: var(--primary-light); }
.participant-block-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.participant-number { font-weight: 700; font-size: 0.9rem; color: var(--primary); }
.participant-name-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-right: 8px;
}
.participant-email { font-size: 0.85rem; color: var(--text-muted); }

.remove-btn {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}
.checkbox-label { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 0.9rem; }

.booking-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
}
.booking-summary-inner { display: flex; justify-content: space-between; align-items: center; }
.spots-warning { color: var(--warning); font-weight: 600; font-size: 0.85rem; }

.booking-terms { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 0.75rem; }

/* --- DASHBOARD --- */
.dashboard { padding: 2.5rem 0 5rem; }
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.dashboard-email { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }
.dashboard-section { margin-bottom: 3rem; }
.dashboard-section-title { font-size: 1.5rem; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--border); }

.bookings-list { display: flex; flex-direction: column; gap: 0.75rem; }
.booking-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.booking-card--past { opacity: 0.6; }
.booking-date-block { text-align: center; }
.booking-day {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.booking-month { font-size: 0.75rem; text-transform: uppercase; color: var(--text-muted); }
.booking-class-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.booking-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.booking-participants { font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.booking-participants strong { margin-right: 4px; }
.participant-chip {
  background: var(--primary-pale);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

@media (max-width: 600px) {
  .booking-card { grid-template-columns: 1fr; }
  .booking-date-block { text-align: left; display: flex; align-items: baseline; gap: 6px; }
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.badge--past      { background: #f3f4f6; color: #9ca3af; }
.badge--soon      { background: #fef9c3; color: #ca8a04; }
.badge--active    { background: #dcfce7; color: #15803d; }
.badge--cancelled { background: #fee2e2; color: #dc2626; }
.badge--full      { background: #fee2e2; color: #dc2626; }

/* --- AUTH PAGES --- */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .auth-page { grid-template-columns: 1fr 1fr; } }

.auth-side--visual {
  background: linear-gradient(145deg, var(--primary-dark) 0%, #0d2018 100%);
  padding: 4rem 3rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-side--visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a8a5d' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
@media (min-width: 900px) { .auth-side--visual { display: flex; } }
.auth-side--admin { background: linear-gradient(145deg, #0d1b10, #1a3a2a); }

.auth-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff !important;
  text-decoration: none;
}
.auth-visual-tagline { z-index: 1; }
.auth-visual-tagline h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #fff;
  margin-bottom: 0.5rem;
}
.auth-visual-tagline p { color: rgba(255,255,255,0.5); font-size: 0.95rem; }
.auth-eu-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  z-index: 1;
}

.auth-side--form {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  min-height: 100vh;
}
.auth-form-wrapper { width: 100%; max-width: 400px; }
.auth-back { display: inline-block; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 2rem; }
.auth-title { font-size: 2rem; margin-bottom: 0.5rem; }
.auth-subtitle { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 2rem; line-height: 1.6; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; }
.auth-divider { text-align: center; color: var(--border-strong); font-size: 0.8rem; margin: 1.5rem 0 0.75rem; }
.auth-register-info { font-size: 0.83rem; color: var(--text-muted); text-align: center; }
.email-sent-hint { text-align: center; padding: 1.5rem; }
.email-sent-icon { font-size: 3rem; margin-bottom: 1rem; }

/* --- FORMS --- */
.form-group { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.form-group--wide { flex: 2; }
.form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.form-row .form-group { min-width: 160px; }

.form-label { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.form-input {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,90,61,0.12);
}
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 90px; }

.form-actions { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }

/* --- ADMIN LAYOUT --- */
.admin-layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}
@media (min-width: 900px) { .admin-layout { grid-template-columns: 220px 1fr; } }

.admin-sidebar {
  background: var(--primary-dark);
  color: #fff;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (max-width: 899px) { .admin-sidebar { display: none; } }

.admin-sidebar-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  padding: 0 0.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  line-height: 1.3;
}
.admin-sidebar-brand span { color: var(--accent); }

.admin-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-nav-link {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.15s;
}
.admin-nav-link:hover, .admin-nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

.admin-sidebar-footer { margin-top: auto; font-size: 0.8rem; }
.admin-user-info { color: rgba(255,255,255,0.4); margin-bottom: 0.75rem; word-break: break-all; }

.admin-main { padding: 1.5rem; overflow-x: auto; }
@media (min-width: 900px) { .admin-main { padding: 2rem 2.5rem; } }

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.admin-topbar h1 { margin: 0; }
.admin-topbar-sub { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }
.admin-topbar-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
}
.admin-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.admin-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

.admin-info-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}
.admin-info-icon { font-size: 1.5rem; flex-shrink: 0; }
.admin-info-box strong { display: block; margin-bottom: 4px; }
.admin-info-box p { margin: 0; color: var(--text-muted); }
.admin-email-link { color: var(--primary); font-weight: 700; }

.admin-section { margin-bottom: 2.5rem; }
.admin-section h2 { margin-bottom: 1.25rem; font-size: 1.4rem; }

.admin-table-wrapper { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.admin-table thead { background: var(--primary-dark); color: #fff; }
.admin-table th {
  padding: 12px 14px;
  text-align: left;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: var(--bg); }
.admin-table .row--cancelled { opacity: 0.5; }
.admin-table .row--past { background: #fafafa; }

.admin-actions { display: flex; gap: 4px; flex-wrap: wrap; }

.badge-cat {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-cat--kids   { background: #dcfce7; color: #15803d; }
.badge-cat--adults { background: #dbeafe; color: #1d4ed8; }
.badge-cat--mixed  { background: var(--primary-pale); color: var(--primary); }

.mini-bar-wrap { display: flex; align-items: center; gap: 6px; }
.mini-bar { width: 60px; height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.mini-bar-fill { height: 100%; background: var(--primary); border-radius: 3px; }

.admin-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 800px;
}
.admin-form { display: flex; flex-direction: column; gap: 1.25rem; }

/* Attendance */
.attendance-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.att-stat {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.att-stat-num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.attendance-checkbox {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-strong);
  border-radius: 3px;
}
.attendance-table .no-print {}

.booking-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
}
.booking-detail-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 4px;
}
.booking-detail-date { color: var(--text-muted); font-size: 0.8rem; }
.booking-detail-participants { display: flex; flex-wrap: wrap; gap: 6px; }

/* --- EU BANNER (footer) --- */
.eu-banner {
  background: #fff;
  border-top: 3px solid #003399;
  padding: 1.5rem 0;
}
.eu-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .eu-banner-inner { flex-direction: row; gap: 2rem; }
}
.eu-logos { display: flex; gap: 1.5rem; align-items: center; flex-shrink: 0; }
.eu-logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.eu-logo-text { font-size: 0.65rem; font-weight: 700; text-align: center; color: #555; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.3px; }
.eu-text { font-size: 0.78rem; color: #666; line-height: 1.6; }

/* --- FOOTER --- */
.footer-main { background: var(--primary-dark); padding: 3rem 0 1.5rem; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.footer-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.75rem;
}
.footer-desc { color: rgba(255,255,255,0.4); font-size: 0.85rem; line-height: 1.6; }
.footer-col h4 { color: rgba(255,255,255,0.6); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.75rem; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.45); font-size: 0.88rem; margin-bottom: 0.25rem; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* --- UTILITIES --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }

/* --- EMERGENCY CONTACT BAR --- */
.emergency-contact-bar {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  padding: 10px 0;
  font-size: 0.88rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.emergency-icon { font-size: 1rem; }
.emergency-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}
.emergency-link:hover { color: var(--primary-dark); }
