/* =============================================================
   AeroSquash — Public Design System v2.0
   Stack: Tailwind CSS 3 + Alpine.js + AOS
   Autor: redesign 2026
   ============================================================= */

/* =============================================
   DESIGN TOKENS
============================================= */
:root {
  --bg-dark:        #0c1520;
  --bg-mid:         #111e2e;
  --bg-card:        rgba(255,255,255,0.04);
  --brand:          #e85a1e;
  --brand-light:    #ff7a40;
  --brand-dark:     #c44315;
  --emerald:        #10b981;
  --border-glass:   rgba(255,255,255,0.10);
  --text-muted:     #94a3b8;
}

/* =============================================
   BASE RESET
============================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: #f1f5f9;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   GLASSMORPHISM
============================================= */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
}

.glass-amber {
  background: rgba(232,90,30,0.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(232,90,30,0.30);
}

/* =============================================
   GRADIENT TEXT
============================================= */
.gradient-text {
  background: linear-gradient(135deg, #ff8050 0%, #e85a1e 60%, #c44315 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   BACKGROUND MESHES
============================================= */
.bg-mesh {
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(at 20% 30%, rgba(232,90,30,0.13) 0px, transparent 50%),
    radial-gradient(at 80% 70%, rgba(255,122,64,0.06) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(196,67,21,0.05) 0px, transparent 50%);
}

.bg-section-alt {
  background-color: var(--bg-mid);
  background-image:
    radial-gradient(at 10% 50%, rgba(196,67,21,0.06) 0px, transparent 50%),
    radial-gradient(at 90% 20%, rgba(232,90,30,0.08) 0px, transparent 50%);
}

/* =============================================
   HERO
============================================= */
#hero-bg {
  background:
    linear-gradient(160deg, rgba(12,21,32,0.90) 0%, rgba(12,21,32,0.58) 60%, rgba(12,21,32,0.94) 100%),
    url('../images/aerosquash-bkg.jpg') center/cover no-repeat fixed;
}

.hero-line {
  position: absolute;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(232,90,30,0.45), transparent);
  animation: lineAnim 4s ease-in-out infinite;
}

@keyframes lineAnim {
  0%,100% { opacity: 0.3; transform: scaleY(0.8); }
  50%     { opacity: 1;   transform: scaleY(1.2); }
}

/* =============================================
   NAVBAR
============================================= */
#navbar {
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
#navbar.scrolled {
  background: rgba(12,21,32,0.93) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 30px rgba(0,0,0,0.4);
}

/* =============================================
   SPORT CARD
============================================= */
.sport-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.4s ease;
  cursor: pointer;
}
.sport-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 40%, transparent 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
}
.sport-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 35px rgba(232,90,30,0.30);
}
.sport-card:hover .sport-card-overlay { opacity: 1; }
.sport-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,90,30,0.22) 0%, rgba(196,67,21,0.10) 100%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sport-card-content { position: relative; z-index: 3; }

/* =============================================
   FEATURE ICON
============================================= */
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-icon:hover {
  transform: scale(1.15) rotate(-5deg);
}

/* =============================================
   BUTTONS
============================================= */
.btn-amber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #c44315, #e85a1e, #ff7035);
  color: #ffffff;
  font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(232,90,30,0.55), 0 8px 20px rgba(0,0,0,0.3);
  color: #ffffff;
  text-decoration: none;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: #f1f5f9;
  font-weight: 600;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.20);
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(232,90,30,0.5);
  color: #ff8050;
  text-decoration: none;
}

/* =============================================
   NEWS CARD
============================================= */
.news-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(232,90,30,0.25);
}
.news-card:hover .news-card-title { color: #ff8050; }

/* =============================================
   STAT NUMBER
============================================= */
.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

/* =============================================
   SECTION LABEL
============================================= */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(232,90,30,0.10);
  border: 1px solid rgba(232,90,30,0.30);
  color: #ff8050;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #e85a1e;
  box-shadow: 0 0 6px #e85a1e;
}

/* =============================================
   PHOTO GRID
============================================= */
.photo-item {
  overflow: hidden;
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}
.photo-item img {
  transition: transform 0.5s ease;
}
.photo-item:hover img {
  transform: scale(1.07);
}
.photo-item:hover {
  box-shadow: 0 0 0 2px rgba(232,90,30,0.50);
}

/* =============================================
   FOOTER
============================================= */
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.9rem;
}
.footer-link:hover { color: #ff8050; }

/* =============================================
   DIVIDER GRADIENT
============================================= */
.divider-glow {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(232,90,30,0.6), rgba(255,122,64,0.3), transparent);
}

/* =============================================
   PRICING CARD FEATURED
============================================= */
.price-card-featured {
  background: linear-gradient(135deg, rgba(232,90,30,0.18), rgba(196,67,21,0.06));
  border: 1px solid rgba(232,90,30,0.40);
}

/* =============================================
   SCHEDULE TABLE
============================================= */
.schedule-row { border-bottom: 1px solid rgba(255,255,255,0.06); }
.schedule-row:last-child { border-bottom: none; }

/* =============================================
   KEYFRAME ANIMATIONS
============================================= */
@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 20px rgba(232,90,30,0.3); }
  50%     { box-shadow: 0 0 50px rgba(232,90,30,0.7); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}
@keyframes slideInLeft {
  0%   { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   TAILWIND COLOR OVERRIDES — amber/cyan → AeroSquash orange
============================================= */
.text-amber-400  { color: #ff7a40 !important; }
.text-amber-300  { color: #ffaa80 !important; }
.hover\:text-amber-300:hover { color: #ffaa80 !important; }
.hover\:text-amber-400:hover { color: #ff7a40 !important; }
.text-cyan-400   { color: #ffb896 !important; }
.bg-amber-500    { background-color: #e85a1e !important; }
.bg-amber-500\/20 { background-color: rgba(232,90,30,0.15) !important; }
.border-amber-500\/40 { border-color: rgba(232,90,30,0.40) !important; }
.border-amber-500\/30 { border-color: rgba(232,90,30,0.30) !important; }

/* =============================================
   MESSAGES — Smarty error/success
============================================= */
.msg-error {
  border-radius: 10px;
  background: rgba(239,68,68,0.18);
  border: 1px solid rgba(239,68,68,0.30);
  color: #fca5a5;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.msg-success {
  border-radius: 10px;
  background: rgba(16,185,129,0.18);
  border: 1px solid rgba(16,185,129,0.30);
  color: #6ee7b7;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.msg-info {
  border-radius: 10px;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.25);
  color: #93c5fd;
  padding: 16px 20px;
  margin-bottom: 16px;
}

/* =============================================
   FORM ELEMENTS
============================================= */
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 12px 16px;
  color: #f1f5f9;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: rgba(232,90,30,0.50);
  background: rgba(255,255,255,0.07);
}
.form-input::placeholder { color: #64748b; }
select.form-input option,
select.form-input optgroup {
  background-color: #111e2e;
  color: #f1f5f9;
}

.form-label {
  display: block;
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 8px;
  font-weight: 500;
}

/* =============================================
   PAGINATION
============================================= */
.pagination-v2 {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.pagination-v2 a,
.pagination-v2 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}
.pagination-v2 a {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #94a3b8;
}
.pagination-v2 a:hover {
  background: rgba(232,90,30,0.15);
  border-color: rgba(232,90,30,0.35);
  color: #ff7a40;
}
.pagination-v2 span.active {
  background: linear-gradient(135deg, #c44315, #e85a1e);
  color: #ffffff;
  border: none;
}

/* =============================================
   BREADCRUMB
============================================= */
.breadcrumb-v2 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.875rem;
}
.breadcrumb-v2 a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-v2 a:hover { color: #ff7a40; }
.breadcrumb-v2 .sep { color: #334155; }
.breadcrumb-v2 .current { color: #94a3b8; }

/* =============================================
   TABLE STYLES
============================================= */
.table-v2 {
  width: 100%;
  border-collapse: collapse;
}
.table-v2 thead th {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.table-v2 tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}
.table-v2 tbody tr:last-child { border-bottom: none; }
.table-v2 tbody tr:hover { background: rgba(255,255,255,0.02); }
.table-v2 tbody td {
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* =============================================
   BADGE STATUS
============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-active   { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.30); color: #34d399; }
.badge-pending  { background: rgba(234,179,8,0.15);  border: 1px solid rgba(234,179,8,0.30);  color: #fbbf24; }
.badge-expired  { background: rgba(239,68,68,0.12);  border: 1px solid rgba(239,68,68,0.25);  color: #f87171; }
.badge-info     { background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.25); color: #60a5fa; }
.badge-brand    { background: rgba(232,90,30,0.15);  border: 1px solid rgba(232,90,30,0.30);  color: #ff7a40; }
.badge-success  { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.30); color: #34d399; }
.badge-danger   { background: rgba(239,68,68,0.12);  border: 1px solid rgba(239,68,68,0.25);  color: #f87171; }
.badge-primary  { background: rgba(232,90,30,0.15);  border: 1px solid rgba(232,90,30,0.30);  color: #ff7a40; }

/* =============================================
   CARD HOVER GENERIC
============================================= */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(232,90,30,0.20);
}

/* =============================================
   GLIGHTBOX — dark caption override
============================================= */
.glightbox-container .gslide-description {
  background: #0c1520 !important;
}
.glightbox-container .gdesc-inner {
  background: #0c1520 !important;
}
.glightbox-container .gslide-title {
  color: #f1f5f9 !important;
  font-family: 'Inter', sans-serif;
}
.glightbox-container .gslide-desc {
  color: #94a3b8 !important;
  font-family: 'Inter', sans-serif;
}

/* =============================================
   STATICPAGE PROSE — typography for static content pages
============================================= */
.staticpage-prose {
  color: #cbd5e1;
  line-height: 1.75;
}
.staticpage-prose h2 {
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #f1f5f9;
  border-left: 4px solid #f59e0b;
  padding-left: 14px;
  margin-bottom: 1rem;
  margin-top: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.staticpage-prose h2:first-child { margin-top: 0; }
.staticpage-prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 6px;
}
.staticpage-prose h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #f59e0b;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.staticpage-prose p {
  margin-bottom: 1rem;
  color: #cbd5e1;
}
.staticpage-prose ul, .staticpage-prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #cbd5e1;
}
.staticpage-prose ul { list-style: none; padding-left: 0; }
.staticpage-prose ul li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.4rem;
}
.staticpage-prose ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #f59e0b;
  font-weight: 700;
}
.staticpage-prose ol li { margin-bottom: 0.6rem; }
.staticpage-prose strong, .staticpage-prose b { color: #f1f5f9; font-weight: 600; }
.staticpage-prose .text-accent { color: #06b6d4; }
.staticpage-prose .text-accent-amber { color: #f59e0b; }
.staticpage-prose a {
  color: #f59e0b;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(245,158,11,0.4);
  transition: color 0.2s;
}
.staticpage-prose a:hover { color: #fbbf24; }
.staticpage-prose img {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
}
.staticpage-prose img.pull-right {
  float: right;
  margin: 0 0 1rem 1.5rem;
  max-width: 200px;
}
.staticpage-prose img.pull-left {
  float: left;
  margin: 0 1.5rem 1rem 0;
  max-width: 160px;
}
.staticpage-prose blockquote {
  border-left: 3px solid #f59e0b;
  padding: 0.75rem 1.25rem;
  background: rgba(245,158,11,0.05);
  border-radius: 0 8px 8px 0;
  margin: 1.25rem 0;
  color: #e2e8f0;
  font-style: italic;
}
.staticpage-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  overflow-x: auto;
  display: block;
}
.staticpage-prose table thead th, .staticpage-prose table th {
  background: rgba(255,255,255,0.06);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: #94a3b8;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.staticpage-prose table tbody td, .staticpage-prose table td {
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #cbd5e1;
  vertical-align: top;
}
.staticpage-prose table tbody tr:hover { background: rgba(255,255,255,0.02); }
.staticpage-prose iframe {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
}
.clearfix::after { content:''; display:table; clear:both; }

/* Static page sidebar layout */
.staticpage-layout { display: flex; flex-direction: column; gap: 2rem; padding: 2rem 0; }
@media (min-width: 1024px) {
  .staticpage-layout { flex-direction: row; }
  .staticpage-layout .staticpage-main { flex: 1; min-width: 0; }
  .staticpage-layout .staticpage-aside { width: 280px; flex-shrink: 0; }
}

/* =============================================
   PRICING CARDS — staticpage preturi
============================================= */
.price-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
}
.price-card-header {
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(6,182,212,0.1));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 20px;
}
.price-card-header h3 {
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 1rem;
}
.price-row:last-child { border-bottom: none; }
.price-row-label { color: #94a3b8; font-size: 0.88rem; flex: 1; }
.price-row-label ul { margin: 4px 0 0; padding-left: 0; list-style: none; }
.price-row-label ul li { font-size: 0.8rem; color: #64748b; padding-left: 1rem; position: relative; }
.price-row-label ul li::before { content:'·'; position:absolute; left:0; color:#f59e0b; }
.price-row-value { font-size: 1.1rem; font-weight: 700; color: #f1f5f9; white-space: nowrap; }
.price-row-value small { font-size: 0.75rem; font-weight: 400; color: #94a3b8; }
.price-row.ab .price-row-label { color: #cbd5e1; }
.price-row.ab .price-row-value { color: #10b981; }

/* =============================================
   COACH CARDS — antrenori
============================================= */
.coach-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: default;
}
.coach-card img.coach-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.coach-card:hover img.coach-bg { transform: scale(1.05); }
.coach-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,13,26,0.95) 0%, rgba(6,13,26,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  gap: 6px;
  opacity: 1;
  transition: opacity 0.3s;
}
.coach-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(245,158,11,0.5);
  object-fit: cover;
  margin-bottom: 6px;
}
.coach-name { font-size: 1.1rem; font-weight: 700; color: #f1f5f9; }
.coach-role { font-size: 0.8rem; color: #f59e0b; text-transform: uppercase; letter-spacing: 0.08em; }
.coach-socials { display: flex; gap: 8px; margin-top: 6px; }
.coach-socials a {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #f1f5f9;
  text-decoration: none;
  transition: background 0.2s;
  font-size: 0.8rem;
}
.coach-socials a:hover { background: rgba(245,158,11,0.3); }

/* =============================================
   RESPONSIVE HELPERS
============================================= */
@media (max-width: 640px) {
  .btn-amber, .btn-ghost { padding: 11px 22px; font-size: 1rem; }
  .staticpage-prose img.pull-right,
  .staticpage-prose img.pull-left {
    float: none;
    display: block;
    margin: 0 auto 1rem;
    max-width: 100%;
  }
}

/* Alpine.js x-cloak */
[x-cloak] { display: none !important; }

/* ── noUiSlider dark theme ── */
#time-range-slider.noUi-target {
  background: rgba(255,255,255,0.10);
  border: none;
  box-shadow: none;
  height: 10px;
  border-radius: 5px;
}
#time-range-slider .noUi-connect {
  background: linear-gradient(90deg, #f59e0b, #e85a1e);
  box-shadow: 0 0 12px rgba(245,158,11,0.6);
}
#time-range-slider .noUi-handle {
  width: 24px;
  height: 24px;
  top: -7px;
  right: -12px;
  border-radius: 50%;
  background: #f59e0b;
  border: 3px solid #fff;
  box-shadow: 0 0 10px rgba(245,158,11,0.7), 0 2px 8px rgba(0,0,0,0.4);
  cursor: pointer;
}
#time-range-slider .noUi-handle::before,
#time-range-slider .noUi-handle::after { display: none; }

/* ── GDPR Cookie Preferences Modal ── */
#gdpr { display: none; position: fixed; inset: 0; z-index: 9999; align-items: flex-end; justify-content: center; padding: 0 1rem 1.5rem; }
#gdpr.active { display: flex; }
.gdpr-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.gdpr-panel { position: relative; z-index: 1; width: 100%; max-width: 560px; border-radius: 1.25rem; border: 1px solid rgba(255,255,255,0.12); overflow: hidden; }
.gdpr-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.gdpr-panel-header h3 { margin: 0; font-size: 1.05rem; font-weight: 700; color: #f1f5f9; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.03em; text-transform: uppercase; }
.gdpr-close-btn { background: none; border: none; color: #94a3b8; cursor: pointer; padding: 4px; border-radius: 6px; display: flex; transition: color 0.2s; }
.gdpr-close-btn:hover { color: #f1f5f9; }
.gdpr-panel-body { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.gdpr-intro { color: #94a3b8; font-size: 0.85rem; margin: 0; }
.gdpr-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 0.75rem; }
.gdpr-row-info { display: flex; flex-direction: column; gap: 0.2rem; }
.gdpr-row-title { font-size: 0.875rem; font-weight: 600; color: #f1f5f9; }
.gdpr-row-desc { font-size: 0.775rem; color: #64748b; }
.gdpr-toggle--locked { color: #10b981; background: rgba(16,185,129,0.15); border-radius: 50px; padding: 6px 12px; font-size: 0.75rem; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
/* Toggle switch */
.gdpr-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.gdpr-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.gdpr-slider { position: absolute; inset: 0; background: rgba(255,255,255,0.12); border-radius: 50px; cursor: pointer; transition: background 0.25s; }
.gdpr-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform 0.25s; box-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.gdpr-switch input:checked ~ .gdpr-slider { background: #f59e0b; }
.gdpr-switch input:checked ~ .gdpr-slider::before { transform: translateX(20px); }
.gdpr-panel-footer { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); justify-content: flex-end; }
.gdpr-btn-primary { background: #f59e0b; color: #060d1a; font-weight: 700; font-size: 0.825rem; padding: 0.5rem 1.1rem; border-radius: 0.6rem; border: none; cursor: pointer; transition: background 0.2s, transform 0.1s; }
.gdpr-btn-primary:hover { background: #e28a00; }
.gdpr-btn-secondary { background: rgba(255,255,255,0.07); color: #94a3b8; font-size: 0.825rem; padding: 0.5rem 1rem; border-radius: 0.6rem; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: background 0.2s, color 0.2s; }
.gdpr-btn-secondary:hover { background: rgba(255,255,255,0.12); color: #f1f5f9; }
