/* ===========================
   PADELIN — Global Styles
   Minimal • Premium • Sporty
   Colors:
   Navy: #0f172a
   Sport Blue: #3F6696
   Light BG: #f8fafc
   =========================== */

/* iOS Safari: stop auto text zoom that makes UI look huge */
html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root {
  --navy: #0f172a;
  --accent: #3F6696;
  --light: #f8fafc;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --text-dark: #0b1220;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 10px 25px rgba(15, 23, 42, 0.14);
  --radius: 14px;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--light);
  color: var(--text-dark);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ===========================
   Header (Sticky + Clean)
   Desktop: Logo + Home/Reserve/Login
   Mobile: Logo + Hamburger
   Side menu: Membership/Training/Tournaments
   =========================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}

.brand span { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 10px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.nav a:hover {
  color: var(--white);
  background: rgba(63, 102, 150, 0.18);
  transform: translateY(-1px);
}

.nav a.active {
  color: var(--white);
  background: rgba(63, 102, 150, 0.28);
}

.hamburger {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, background 160ms ease;
}

.hamburger:hover {
  background: rgba(63, 102, 150, 0.18);
  transform: translateY(-1px);
}

.hamburger-lines {
  width: 18px;
  height: 12px;
  position: relative;
}

.hamburger-lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
}
.hamburger-lines span:nth-child(1) { top: 0; }
.hamburger-lines span:nth-child(2) { top: 5px; }
.hamburger-lines span:nth-child(3) { bottom: 0; }

/* Side menu overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 60;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;                      /* 👈 changed from right to left */
  height: 100vh;                /* better than 100% */
  width: min(320px, 86vw);
  background: var(--navy);
  border-right: 1px solid rgba(255, 255, 255, 0.08); /* 👈 border moved */
  
  transform: translateX(-100%); /* 👈 slide from LEFT */
  transition: transform 240ms ease;
  
  z-index: 70;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-menu.open { 
  transform: translateX(0); 
}
.side-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.side-menu-title {
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.4px;
}

.side-menu-close {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
}

.side-links {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.side-links a {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 14px 14px;
  border-radius: 16px;
  font-weight: 650;
  transition: transform 160ms ease, background 160ms ease;
}

.side-links a:hover {
  background: rgba(63, 102, 150, 0.18);
  transform: translateY(-1px);
}

/* Bottom Sign in button inside side menu */
.side-signin{
  margin-top: auto;                 /* pushes it to the bottom */
  display: block;
  text-align: center;

  background: rgba(63, 102, 150, 0.25);
  border: 1px solid rgba(63, 102, 150, 0.55);
  color: #fff;

  padding: 14px 12px;
  border-radius: 14px;
  font-weight: 800;
}
.side-signin:hover{
  background: rgba(63, 102, 150, 0.35);
  transform: translateY(-1px);
}

/* ===========================
   Buttons / UI
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 750;
  letter-spacing: 0.2px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, opacity 160ms ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(63, 102, 150, 0.22);
}

.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0px); }

.btn-ghost {
  background: rgba(15, 23, 42, 0.05);
  border-color: var(--border);
  color: var(--text-dark);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background: rgba(63, 102, 150, 0.08);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ===========================
   Home — Competitive Brand
   (Hero • Community • Leaderboard • Why • Final CTA)
   =========================== */

/* Community: convert text wall into 2 blocks */
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 14px;
}

.community-block {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.community-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.community-title {
  font-weight: 900;
  margin-bottom: 6px;
}

.community-text {
  color: rgba(15, 23, 42, 0.70);
  font-size: 14px;
  margin: 0;
}

/* Leaderboard: punch lines instead of paragraph */
.ranking-lines {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  font-size: 18px;
  color: rgba(15, 23, 42, 0.70);
  text-align: center;      /* ✅ center it */
}

.ranking-strong {
  font-weight: 900;
  color: #0f172a;
}

/* Make Why PADELIN cards feel premium + less flat */

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

/* Final CTA: stronger text */
.final-punch {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.90);
  letter-spacing: 0.3px;
}

/* Responsive for the new grids */
@media (max-width: 760px) {
  .header-gd .nav { display: none !important; }
  .hamburger { display: inline-flex; }
  .brand { min-width: auto; }

  .header-inner { height: 60px; }
}

/* Community CTA row */
.cta-row {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* Leaderboard header row */
.split-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 18px;
}

.split-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Ranking badge */
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(63, 102, 150, 0.18);
  border: 1px solid rgba(63, 102, 150, 0.35);
  font-weight: 900;
}

.rank-badge.silver {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.14);
}

.rank-badge.bronze {
  background: rgba(63, 102, 150, 0.10);
  border-color: rgba(63, 102, 150, 0.22);
}

.micro-note {
  margin-top: 10px;
  color: rgba(11, 18, 32, 0.68);
  font-size: 13px;
}

/* Why PADELIN pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.pillar {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.pillar-title {
  font-weight: 900;
  margin-bottom: 6px;
}

.pillar-text {
  color: rgba(11, 18, 32, 0.72);
  font-size: 13px;
  margin: 0;
}

/* Final CTA */
.final-cta {
  background: rgba(15, 23, 42, 0.98);
  color: #fff;
  padding: 54px 0;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.final-cta h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.final-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 550;
}

.final-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .split-head { flex-direction: column; align-items: stretch; }
  .pillars { grid-template-columns: 1fr; }
  .final-cta-inner { flex-direction: column; align-items: flex-start; }
}


/* Center button containers */
.cta-row,
.split-actions,
.final-actions {
  justify-content: center;
}

/* Center single buttons */
.cta-row a,
.split-actions a,
.final-actions a {
  margin-left: auto;
  margin-right: auto;
}

.section-intro {
  text-align: center;
  margin-bottom: 24px;
}

/* BIGGER section marker */
/* Big Section Marker */
.section-tag {
  display: inline-block;
  font-size: 28px;      /* bigger now */
  letter-spacing: 3px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 6px;
}

/* Smaller supporting headline */
.section-headline {
  font-size: 18px;      /* smaller now */
  font-weight: 700;
  margin: 0;
  opacity: 0.85;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 34px 0 6px;
}

.section-divider::before,
.section-divider::after {
  content: "";
  height: 1px;
  width: 90px;
  background: rgba(15, 23, 42, 0.12);
}

.section-divider span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(15, 23, 42, 0.55);
}

.community-flow {
  margin-top: 10px;
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.flow-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flow-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.flow-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #0f172a;
  border: 1px solid rgba(63, 102, 150, 0.28);
  background: rgba(63, 102, 150, 0.10);
}

.flow-title {
  font-weight: 900;
  margin-bottom: 2px;
}

.flow-text {
  color: rgba(15, 23, 42, 0.70);
  font-size: 14px;
}

/* ===========================
   Home Hero — Exact Mockup Style
   =========================== */

.hero-main{
  padding: 18px 0 14px;
  background:
    radial-gradient(900px 420px at 80% 10%, rgba(63,102,150,0.22), transparent 60%),
    linear-gradient(180deg, #08101d 0%, #0b1630 100%);
}

.event-live{
  padding: 18px 0 26px;
  background:
    radial-gradient(900px 420px at 80% 10%, rgba(63,102,150,0.22), transparent 60%),
    linear-gradient(180deg, #08101d 0%, #0b1630 100%);
}

.hero-card{
  position: relative;
  min-height: 460px;
  border-radius: 28px;
  overflow: hidden;

  display: flex;
  align-items: center;

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 55px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.03);

  background:
    linear-gradient(rgba(7,14,30,0.52), rgba(7,14,30,0.74)),
    url("../assets/img/hero-bg.jpg") center center / cover no-repeat;
}

.hero-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(600px 300px at 75% 30%, rgba(92,140,255,0.18), transparent 60%),
    linear-gradient(90deg, rgba(0,0,0,0.18), rgba(0,0,0,0.00) 45%);
  pointer-events:none;
}

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 430px;
  min-height: 290px;
  padding-left: 46px;

  display: flex;
  flex-direction: column;
}

.hero-kicker{
  color: #5f95ff;
  font-weight: 900;
  letter-spacing: 4px;
  font-size: 16px;
  margin-bottom: 12px;
}

.hero-title{
  margin: 0 0 18px;
  font-size: 64px;
  line-height: 0.92;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -2px;
}

.hero-sub{
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 850;
  color: #ffffff;
}

.hero-sub span{
  color: #5f95ff;
}

.hero-divider{
  width: 74px;
  height: 3px;
  border-radius: 999px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, #5f95ff, rgba(95,149,255,0.22));
}

.hero-text{
  margin: auto 0 18px;
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  line-height: 1.45;
}

.hero-btn{
  width: auto;
  height: 48px;
  padding: 0 16px;
  border-radius: 15px;

  margin-top: 56px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-size: 15px;
  font-weight: 800;

  box-shadow: 0 10px 22px rgba(15,23,42,0.25);
}

.hero-btn-arrow{
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}

@media (max-width: 760px){

.hero-content{
  max-width: 320px;
  min-height: 160px;
  padding: 0 20px 0 22px;

  display: flex;
  flex-direction: column;
}

.hero-kicker{
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.hero-title{
  font-size: 46px;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.hero-sub{
  font-size: 20px;
  margin-bottom: 10px;
}

.hero-divider{
  width: 56px;
  margin-bottom: 12px;
}

.hero-text{
  font-size: 14px;
  margin: auto 0 8px;
}

.hero-btn{
  width: auto;
  height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 16px;
  gap: 8px;
}

.hero-btn-arrow{
  font-size: 15px;
}

.hero-card{
  min-height: 300px;
}

}   

/* ===========================
   Sections
   =========================== */

.section {
  padding: 54px 0;
}

.section.alt {
  background: rgba(15, 23, 42, 0.02);
}

.section-title {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: 0.2px;
}

.section-sub {
  margin: 0 0 18px;
  color: rgba(11, 18, 32, 0.72);
  max-width: 70ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.card h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: rgba(11, 18, 32, 0.72);
  font-size: 14px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.pricing-card.highlight {
  background: rgba(63, 102, 150, 0.08);
  border-color: rgba(63, 102, 150, 0.28);
}

.pricing-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.pricing-head h3 {
  margin: 0;
  font-size: 16px;
}

.pricing-head span {
  font-size: 12px;
  color: rgba(11, 18, 32, 0.65);
  font-weight: 650;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: grid;
  gap: 8px;
}

.pricing-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(15, 23, 42, 0.03);
}

.pricing-points {
  font-size: 13px;
  color: rgba(11, 18, 32, 0.75);
}

.pricing-note {
  margin: 0 0 10px;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.78);
}

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

/* ===========================
   Reservation Table
   =========================== */

.booking-wrap {
  padding: 34px 0 54px;
}

.booking-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.booking-head h2 {
  margin: 0;
  font-size: 22px;
}

.booking-head p {
  margin: 6px 0 0;
  color: rgba(11, 18, 32, 0.72);
  font-size: 14px;
}

.table-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.table thead th {
  background: rgba(15, 23, 42, 0.04);
  padding: 12px;
  font-size: 13px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.table tbody td {
  padding: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 14px;
}

.slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(63, 102, 150, 0.26);
  background: rgba(63, 102, 150, 0.08);
  color: var(--text-dark);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease, opacity 160ms ease;
  user-select: none;
}

.slot:hover {
  transform: translateY(-1px);
  background: rgba(63, 102, 150, 0.12);
  border-color: rgba(63, 102, 150, 0.38);
}

.slot.taken {
  opacity: 0.45;
  cursor: not-allowed;
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.10);
  transform: none;
}

.slot.selected {
  background: rgba(63, 102, 150, 0.24);
  border-color: rgba(63, 102, 150, 0.75);
  box-shadow: 0 10px 25px rgba(63, 102, 150, 0.18);
}

.booking-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

/* Selected summary (below table) */
.selected-summary {
  margin: 14px auto 0;
  max-width: 520px;
  text-align: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  font-weight: 700;
}

.selected-summary .sub {
  margin-top: 6px;
  font-weight: 600;
  color: rgba(11, 18, 32, 0.72);
}

/* Center confirm button */
.booking-actions-centered {
  justify-content: center;
}

.booking-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.day-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
}

.day-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.03);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
  font-weight: 900;
}

.day-btn:hover {
  background: rgba(63, 102, 150, 0.12);
  transform: translateY(-1px);
}

.day-label {
  min-width: 170px;
  text-align: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.03);
  font-weight: 800;
  font-size: 13px;
}

@media (max-width: 920px) {
  .booking-top { flex-direction: column; align-items: stretch; }
  .day-label { min-width: auto; }
}

/* ===========================
   Footer
   =========================== */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.80);
  text-align: center;
  padding: 24px 0;
  font-size: 13px;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}

.reservation-punch {
  text-align: center;
  font-size: 16px;          /* smaller */
  font-weight: 700;         /* not too heavy */
  margin-top: 8px;
  margin-bottom: 22px;
  color: var(--text-dark);
}

.reservation-punch span {
  opacity: 0.35;
  margin: 0 8px;
}
/* ===== Header (GoDaddy-style layout) ===== */
.header-gd { display:flex; align-items:center; justify-content:space-between; }
.header-left { display:flex; align-items:center; gap:12px; }
.header-right { display:flex; align-items:center; gap:10px; }

/* Make logo bigger WITHOUT increasing header height */
.brand img {
  height: 38px;   /* strong but not touching edges */
  width: auto;
  display: block;
}
/* Right side icon buttons */
.icon-btn{
  width:38px; height:38px;
  display:grid; place-items:center;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:#fff;
}
.icon-btn:active{ transform: scale(.98); }

/* ===========================
   Contact Page — Premium Layout
   =========================== */

.contact-page{
  padding: 34px 0 54px;
  background:
    radial-gradient(1200px 500px at 18% -10%, rgba(63,102,150,0.18), transparent 60%),
    radial-gradient(900px 480px at 92% 14%, rgba(15,23,42,0.10), transparent 60%),
    var(--light);
}

.contact-hero{
  margin: 10px 0 18px;
}

.contact-eyebrow{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: rgba(11,18,32,0.55);
  margin-bottom: 10px;
  position: relative;
  padding-left: 12px;
}
.contact-eyebrow::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(63,102,150,0.75);
}

.contact-hero h1{
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: .2px;
}

.contact-hero p{
  margin: 0;
  color: rgba(11,18,32,0.70);
  max-width: 68ch;
}

/* Grid */
.contact-grid{
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.contact-stack{
  display: grid;
  gap: 14px;
}

/* Card */
.contact-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-card-head{
  padding: 16px 16px 10px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
  background: rgba(15,23,42,0.02);
}

.contact-card-title{
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .2px;
}

.contact-card-sub{
  margin-top: 4px;
  color: rgba(11,18,32,0.65);
  font-size: 13px;
  font-weight: 650;
}

.contact-card-body{
  padding: 16px;
}

/* Contact list */
.contact-list{
  display: grid;
  gap: 12px;
}

.contact-item{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(15,23,42,0.02);
  border-radius: 16px;
  padding: 12px;
}

.contact-ico{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(63,102,150,0.26);
  background: rgba(63,102,150,0.10);
  color: var(--navy);
}

.contact-label{
  font-weight: 900;
  font-size: 13px;
  color: rgba(11,18,32,0.78);
  margin-bottom: 2px;
}

.contact-link{
  font-weight: 850;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.contact-text{
  font-weight: 750;
  color: rgba(11,18,32,0.85);
}

.contact-mini{
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 850;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Social */
.social-grid{
  display: grid;
  gap: 10px;
}

.social-btn{
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;

  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(15,23,42,0.02);
  padding: 12px;

  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

.social-btn:hover{
  transform: translateY(-1px);
  background: rgba(63,102,150,0.08);
  border-color: rgba(63,102,150,0.22);
}

.social-ico{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(63,102,150,0.26);
  background: rgba(63,102,150,0.10);
  color: var(--navy);
}

.social-label{
  font-weight: 900;
  color: var(--navy);
}

.social-hint{
  font-size: 13px;
  font-weight: 850;
  color: rgba(11,18,32,0.62);
}

.social-note{
  margin-top: 10px;
  color: rgba(11,18,32,0.68);
  font-size: 13px;
}

/* Hours */
.hours-table{
  display: grid;
  gap: 8px;
}

.hours-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(15,23,42,0.02);
  border-radius: 14px;
  padding: 12px 12px;
}

.hours-day{
  font-weight: 900;
  color: rgba(11,18,32,0.82);
  font-size: 13px;
}

.hours-time{
  font-weight: 900;
  color: var(--navy);
  font-size: 13px;
}

.hours-mini{
  margin-top: 10px;
  color: rgba(11,18,32,0.68);
  font-size: 13px;
}

/* Form */
.contact-form{
  display: grid;
  gap: 12px;
}

.form-row label{
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: rgba(11,18,32,0.82);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease;
  background: #fff;
  color: var(--text-dark);
}

.contact-form input{
  height: 50px;
  padding: 0 14px;
}

.contact-form textarea{
  min-height: 140px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(63, 102, 150, 0.65);
  box-shadow: 0 0 0 3px rgba(63, 102, 150, 0.14);
}

.contact-submit{
  height: 52px;
  border-radius: 14px;
  font-size: 16px;
  justify-content: center;
}

.contact-submit .btn-ico{
  width: 18px;
  height: 18px;
  opacity: .92;
}

.form-note{
  margin-top: 2px;
  font-size: 13px;
  color: rgba(11,18,32,0.65);
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(15,23,42,0.02);
}

.form-note.is-error{
  border-color: rgba(15,23,42,0.16);
  background: rgba(15,23,42,0.04);
  color: rgba(11,18,32,0.78);
}

/* Map */
.map-wrap{
  margin-top: 14px;
}

.map-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-head{
  padding: 16px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
  background: rgba(15,23,42,0.02);
}

.map-title{
  font-weight: 900;
  font-size: 18px;
}

.map-sub{
  margin-top: 4px;
  color: rgba(11,18,32,0.65);
  font-size: 13px;
  font-weight: 650;
}

.map-frame{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(15,23,42,0.03);
}

.map-frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-actions{
  padding: 14px 16px 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Desktop layout */
@media (min-width: 980px){
  .contact-grid{
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .contact-form-card{
    position: sticky;
    top: 88px; /* below sticky header */
  }
}
/* Admin inbox additions */

.inbox-toolbar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}

.inbox-search{
  flex:1;
  min-width: 220px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 0 14px;
  outline: none;
  background:#fff;
}

.inbox-search:focus{
  border-color: rgba(63, 102, 150, 0.65);
  box-shadow: 0 0 0 3px rgba(63, 102, 150, 0.14);
}

.inbox-list{
  display:grid;
  gap:10px;
}

.inbox-item{
  width:100%;
  text-align:left;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(15,23,42,0.02);
  padding: 12px;
  box-shadow: none;
  cursor:pointer;
  transition: transform 160ms ease, border 160ms ease, background 160ms ease;
}

.inbox-item:hover{
  transform: translateY(-1px);
  background: rgba(63,102,150,0.08);
  border-color: rgba(63,102,150,0.22);
}

.inbox-item.is-active{
  background: rgba(63,102,150,0.10);
  border-color: rgba(63,102,150,0.30);
}

.inbox-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.inbox-name{
  font-weight: 900;
  color: var(--navy);
}

.inbox-date{
  font-size: 12px;
  font-weight: 800;
  color: rgba(11,18,32,0.55);
  white-space: nowrap;
}

.inbox-meta{
  margin-top: 6px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-size: 13px;
  font-weight: 800;
  color: rgba(11,18,32,0.70);
}

.inbox-preview{
  margin-top: 8px;
  font-size: 13px;
  color: rgba(11,18,32,0.70);
}

.msg-card{
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(15,23,42,0.02);
  padding: 14px;
}

.msg-row{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:12px;
  padding: 8px 0;
}

.msg-k{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(11,18,32,0.55);
}

.msg-v{
  font-weight: 850;
  color: rgba(11,18,32,0.85);
}

.msg-divider{
  height:1px;
  background: rgba(15,23,42,0.10);
  margin: 10px 0 12px;
}

.msg-message{
  font-size: 14px;
  line-height: 1.6;
  color: rgba(11,18,32,0.80);
}

.msg-actions{
  margin-top: 14px;
  display:flex;
  justify-content:flex-end;
}

.muted{
  color: rgba(11,18,32,0.55);
  font-weight: 800;
}
/* Contact form status message */

.form-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-weight: 600;
  text-align: center;
  transition: all 200ms ease;
}

/* Success state */
.form-note.is-success {
  background: rgba(16, 185, 129, 0.10);
  border-color: rgba(16, 185, 129, 0.35);
  color: #059669;
}

/* Error state */
.form-note.is-error {
  background: rgba(239, 68, 68, 0.10);
  border-color: rgba(239, 68, 68, 0.35);
  color: #dc2626;
}
.res-status{
  margin: 14px auto 0;
  max-width: 640px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 10px 26px rgba(11,18,32,0.10);
  text-align: center;
  font-weight: 700;
  color: rgba(11,18,32,0.72);
}

.res-status.is-success{
  color: #0b7a3b;
  border-color: rgba(11,122,59,0.25);
  background: rgba(11,122,59,0.08);
}

.res-status.is-error{
  color: #b42318;
  border-color: rgba(180,35,24,0.25);
  background: rgba(180,35,24,0.08);
}

/* ===========================
   Auth Pages (login/signup)
   Card margins match reservation table (container width)
   =========================== */

.auth-page{
  padding: 34px 0 54px;
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(63,102,150,0.18), transparent 60%),
    radial-gradient(800px 400px at 90% 10%, rgba(15,23,42,0.10), transparent 60%),
    var(--light);
}

.auth-hero{
  margin: 10px 0 14px;
}
.auth-eyebrow{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: rgba(11,18,32,0.55);
  margin-bottom: 10px;
  position: relative;
  padding-left: 12px;
}
.auth-eyebrow::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(63,102,150,0.75);
}
.auth-hero h1{
  margin: 0 0 6px;
  font-size: 26px;
  letter-spacing: .2px;
}
.auth-hero p{
  margin: 0 0 18px;
  color: rgba(11,18,32,0.70);
  max-width: 60ch;
}

.auth-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.auth-card-head{
  padding: 16px 16px 10px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
  background: rgba(15,23,42,0.02);
}
.auth-card-title{
  font-weight: 900;
  font-size: 18px;
}
.auth-card-sub{
  margin-top: 4px;
  color: rgba(11,18,32,0.65);
  font-size: 13px;
  font-weight: 650;
}

.auth-form-grid{
  padding: 16px;
  display: grid;
  gap: 12px;
}

.auth-row label{
  display:block;
  font-size: 13px;
  font-weight: 800;
  color: rgba(11,18,32,0.82);
  margin-bottom: 8px;
}

.auth-row input{
  width: 100%;
  height: 50px;
  border-radius: 14px;
}

.auth-help{
  margin-top: 8px;
  font-size: 13px;
  color: rgba(11,18,32,0.62);
}

.auth-actions-row{
  margin-top: 10px;
  display:flex;
  justify-content: flex-end;
}

.auth-submit{
  height: 52px;
  border-radius: 14px;
  font-size: 16px;
}

.auth-footer{
  text-align: center;
  font-size: 14px;
  color: rgba(11,18,32,0.70);
  padding-top: 6px;
}

.auth-link{
  font-weight: 900;
  color: var(--accent);
  text-decoration: underline;
}

/* icons only inside buttons */
.account-btn .btn-ico{
  width: 18px;
  height: 18px;
  opacity: .92;
}

/* make buttons more premium */
.account-btn{
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.10);
}
.account-btn.primary{
  background: rgba(63,102,150,0.22);
  border-color: rgba(63,102,150,0.38);
}

/* replace the “tip card” with a micro line */
.account-micro{
  margin-top: 6px;
  color: rgba(255,255,255,0.58);
  font-size: 12px;
  letter-spacing: .2px;
}

/* ============================
   Account Drawer (Premium + Solid) — UPDATED SMALLER + DOT FIX
   Replace your entire current acc-* block with this
============================ */
:root{
  --acc-bg: #0b1220;            /* solid drawer background */
  --acc-bg-2: #0f1a33;
  --acc-stroke: rgba(120,170,255,0.22);
  --acc-stroke-2: rgba(255,255,255,0.10);
  --acc-text: rgba(255,255,255,0.92);
  --acc-muted: rgba(255,255,255,0.62);
  --acc-soft: rgba(255,255,255,0.06);
  --acc-soft-2: rgba(255,255,255,0.04);
}

/* Overlay */
.acc-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 1200;
}
.acc-overlay.open{ opacity: 1; pointer-events: auto; }

/* Drawer panel (SOLID, not transparent) */
.acc-drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(380px, 92vw); /* slightly smaller */
  background: linear-gradient(180deg, var(--acc-bg), var(--acc-bg-2));
  border-left: 1px solid var(--acc-stroke);
  box-shadow: -18px 0 60px rgba(0,0,0,0.55);
  transform: translateX(110%);
  transition: transform 260ms cubic-bezier(.2,.9,.2,1);
  z-index: 1201;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}
.acc-drawer.open{ transform: translateX(0); }

/* Header (match Menu drawer feel) */
.acc-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px 12px; /* smaller */
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.acc-title{
  font-weight: 900;
  font-size: 22px; /* smaller like Menu */
  color: var(--acc-text);
  letter-spacing: .2px;
}
.acc-close{
  width: 40px;          /* smaller like Menu close */
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(120,170,255,0.26);
  background: rgba(255,255,255,0.06);
  color: var(--acc-text);
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}
.acc-close:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(120,170,255,0.36);
}
.acc-close:active{ transform: scale(0.98); }

/* Body: tighter spacing */
.acc-body{
  padding: 12px 14px 14px; /* smaller */
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px; /* smaller */
}

/* ============================
   Premium user card (more important)
============================ */
.acc-card{
  position: relative;
  border-radius: 18px;   /* slightly smaller */
  padding: 14px 14px;    /* smaller */
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;

  /* Premium look */
  border: 1px solid rgba(120,170,255,0.30);
  background:
    radial-gradient(220px 120px at 25% 25%, rgba(120,170,255,0.22), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.acc-card::after{
  content:"";
  position:absolute;
  inset: -1px;
  border-radius: 19px;
  pointer-events:none;
  background: linear-gradient(90deg, rgba(120,170,255,0.22), transparent 45%, rgba(120,170,255,0.12));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 1px;
  border: 0;
  opacity: .8;
}

.acc-name{
  font-weight: 950;
  font-size: 18px; /* smaller */
  color: var(--acc-text);
}
.acc-tier{
  font-size: 12px;
  color: var(--acc-muted);
  margin-top: 3px;
}

/* Points badge */
.acc-badge{
  display:inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 10px; /* smaller */
  border-radius: 999px;
  border: 1px solid rgba(120,170,255,0.30);
  background: rgba(80,130,255,0.12);
  white-space: nowrap;
}
.acc-badge .num{ font-weight: 950; font-size: 14px; color: var(--acc-text); }
.acc-badge .lbl{ font-weight: 850; font-size: 11px; color: rgba(255,255,255,0.72); }

/* ============================
   Links list (with REAL “icons”, not empty)
============================ */
.acc-links{ display:grid; gap: 8px; } /* smaller gap */
/* The ROW itself (THIS IS REQUIRED) */
.acc-link{
  position: relative;
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid var(--acc-stroke-2);
  background: rgba(255,255,255,0.035);
  color: var(--acc-text);
  text-decoration:none;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

/* Icon bubble */
/* ============================
   Drawer icons (CLEAN + PRO)
   IMPORTANT: remove ALL ".acc-link > div::before" blocks first
============================ */

.acc-link::before{
  content:"";
  width:34px;
  height:34px;
  border-radius:12px;
  flex:0 0 auto;
  border:1px solid rgba(255,255,255,.12);

  background:
    var(--acc-icn) center/20px 20px no-repeat,
    rgba(255,255,255,.06);
}

/* Map icons to your order:
   1) My Career
   2) My Sessions
   3) My Replays
   4) My Profile
*/

.acc-links .acc-link:nth-child(1){
  --acc-icn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.85)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M7 4h10'/%3E%3Cpath d='M17 4v3a5 5 0 0 1-10 0V4'/%3E%3Cpath d='M5 7a3 3 0 0 0 3 3'/%3E%3Cpath d='M19 7a3 3 0 0 1-3 3'/%3E%3C/svg%3E");
}

.acc-links .acc-link:nth-child(2){
  --acc-icn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.85)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 14h3'/%3E%3Cpath d='M8 18h5'/%3E%3C/svg%3E");
}

.acc-links .acc-link:nth-child(3){
  --acc-icn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.85)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='4'/%3E%3Cpath d='M11 9l5 3-5 3V9z'/%3E%3C/svg%3E");
}

.acc-links .acc-link:nth-child(4){
  --acc-icn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.85)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3C/svg%3E");
}

/* Chevron */
.acc-link::after{
  content:"›";
  margin-left: auto;
  font-size: 20px; /* smaller */
  line-height: 1;
  opacity: 0.55;
  transform: translateX(0);
  transition: transform 140ms ease, opacity 140ms ease;
}

.acc-link:hover{
  background: rgba(255,255,255,0.055);
  border-color: rgba(120,170,255,0.18);
}
.acc-link:hover::after{
  transform: translateX(3px);
  opacity: 0.9;
}
.acc-link:active{ transform: scale(0.99); }

.acc-link .k{
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .2px;
}

.acc-link .s{
  display:block;
  font-size: 12px;
  color: var(--acc-muted);
  margin-top: 3px;
  line-height: 1.35;
}

/* ============================
   Actions (stick to bottom)
============================ */
.acc-actions{
  display:grid;
  gap: 10px;
  margin-top: auto; /* pushes to bottom */
  padding-top: 10px; /* smaller */
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Buttons */
.acc-cta{
  position: relative;
  height: 46px;       /* smaller */
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--acc-text);
  font-weight: 950;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}
.acc-cta:hover{
  background: rgba(255,255,255,0.07);
  border-color: rgba(120,170,255,0.18);
}
.acc-cta:active{ transform: scale(0.99); }

/* Premium primary */
.acc-cta.primary{
  background: linear-gradient(180deg, rgba(80,130,255,0.98), rgba(80,130,255,0.68));
  border-color: rgba(80,130,255,0.30);
  color: #fff;
  box-shadow: 0 16px 46px rgba(0,0,0,0.35);
}
.acc-cta.primary:hover{ filter: brightness(1.03); }

.acc-cta::after{
  content:"›";
  position:absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px; /* smaller */
  opacity: 0.55;
}
.acc-cta.primary::after{ opacity: 0.85; }

/* Micro text */
.acc-micro{
  text-align:center;
  font-size: 12px;
  color: rgba(255,255,255,0.58);
  line-height: 1.4;
  margin-top: 4px;
}

/* Small phones */
@media (max-width: 380px){
  .acc-drawer{ width: min(350px, 92vw); }
  .acc-title{ font-size: 21px; }
  .acc-body{ padding: 12px 12px 14px; gap: 10px; }
  .acc-link{ padding: 14px 14px; }
}

/* ============================
   Green dot on header icon (logged-in)
   on OUTLINE corner of the icon
============================ */
.icon-btn.has-auth-dot{
  position: relative;
}
.icon-btn.has-auth-dot::after{
  content:"";
  position:absolute;
  top: -2px;   /* sits on the outline corner */
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 2px #0b1220, 0 0 14px rgba(34,197,94,0.55);
}

/* ==========================================================
   SIGNED-OUT ACCOUNT DRAWER (FINAL — clean + minimal)
========================================================== */

.acc-signedout{
  display: grid;
  gap: 12px;
}

/* Intro text */
.acc-so-sub{
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: rgba(255,255,255,1);
}

.acc-so-bullets{
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.acc-so-bullets .b{
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.70);
}

/* thin divider */
.acc-so-divider{
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 6px 0;
}

/* sections */
.acc-so-section{
  display: grid;
  gap: 8px;
}

/* title with icon (left aligned) */
.acc-so-sec-title{
  display:flex;
  align-items:center;
  gap:8px;

  font-weight:900;
  font-size:20px;
  color: rgba(255,255,255,0.92);
}

/* small explanation (LEFT aligned, NOT centered) */
.acc-so-sec-sub{
  font-size:13px;
  color: rgba(255,255,255,0.62);
  text-align: left;
}

/* section icons */
.sec-icon{
  width:18px;
  height:18px;
  display:inline-block;
  background-size:contain;
  background-repeat:no-repeat;
}

.sec-icon.login{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='rgba(255,255,255,0.85)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpolyline points='10 17 15 12 10 7'/%3E%3Cline x1='15' y1='12' x2='3' y2='12'/%3E%3C/svg%3E");
}

.sec-icon.signup{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='rgba(255,255,255,0.85)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M19 8v6'/%3E%3Cpath d='M16 11h6'/%3E%3C/svg%3E");
}

/* CLEAN centered buttons (NO icon, NO arrow) */
.acc-so-btn{
  margin-top: 6px;
  padding: 12px 22px;
  border-radius: 12px;

  border: 1px solid rgba(80,130,255,0.35);
  background: rgba(80,130,255,0.16); /* same for both buttons */
  color: #fff;

  font-weight: 750;
  font-size: 14px;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  min-width: 160px;

  transition: background .15s ease, transform .15s ease;
}

.acc-so-btn:hover{
  background: rgba(80,130,255,0.22);
  transform: translateY(-1px);
}
.acc-so-btn:active{
  transform: translateY(0);
}

/* Footer line */
.acc-so-foot{
  margin-top: 14px;
  text-align:center;
  font-size:12px;
  color: rgba(255,255,255,0.55);
}
.staff-login .auth-card-title{
  color:#e53935;
}
/* ===========================
   Admin / Staff pages — mobile polish
   =========================== */
@media (max-width: 520px){

  .contact-page{
    padding: 22px 0 36px;
  }

  .contact-hero{
    margin: 8px 0 14px;
  }

  .contact-hero h1{
    font-size: 24px;
    line-height: 1.12;
    margin-bottom: 8px;
  }

  .contact-hero p{
    font-size: 14px;
    line-height: 1.45;
  }

  .contact-card-head{
    padding: 14px 14px 10px;
  }

  .contact-card-body{
    padding: 14px;
  }

  .contact-card-title{
    font-size: 16px;
  }

  .contact-card-sub{
    font-size: 12px;
  }

  .inbox-search{
    height: 44px;
    border-radius: 12px;
  }

  .btn{
    padding: 11px 14px;
    border-radius: 12px;
    font-weight: 800;
  }

  .msg-row{
    grid-template-columns: 92px 1fr;
    gap: 10px;
  }
}
/* ===== ADMIN-MESSAGES ONLY (scoped) ===== */

/* Center "Create Employer Account" button only inside Staff Accounts box */
#staffBox #createStaffBtn{
  display:block;
  margin:12px auto 0;
  padding:10px 18px;
  font-size:14px;
  border-radius:10px;
}

/* Put employer action buttons on one line + make them smaller (only in Staff Accounts box) */
#staffBox .staff-actions{
  display:flex;
  gap:8px;
  flex-wrap:nowrap;
  align-items:center;
  margin-top:10px;
}

#staffBox .staff-actions button{
  padding:7px 10px;
  font-size:13px;
  border-radius:10px;
  white-space:nowrap;
}
.slot.pending {
  background: #fff3cd;
  border: 2px solid #ffc107;
  color: #856404;
  cursor: not-allowed;
}

.slot.reserved {
  background: #f8d7da;
  border: 2px solid #dc3545;
  color: #721c24;
  cursor: not-allowed;
}
/* ===========================
   Dashboard accordion
   =========================== */

.dashboard-accordion{
  display:grid;
  gap:14px;
}

.dash-acc-item{
  overflow:hidden;
}

.dash-acc-toggle{
  width:100%;
  border:0;
  background:#fff;
  color:var(--text-dark);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:18px 18px;
  font-size:18px;
  font-weight:900;
  cursor:pointer;
  text-align:left;
}

.dash-acc-toggle:hover{
  background: rgba(15,23,42,0.02);
}

.dash-acc-icon{
  font-size:22px;
  line-height:1;
  transition: transform 180ms ease;
}

.dash-acc-toggle.is-open .dash-acc-icon{
  transform: rotate(180deg);
}

.dash-acc-panel{
  display:none;
  border-top:1px solid rgba(15,23,42,0.08);
  background:#fff;
}

.dash-acc-panel.is-open{
  display:block;
}

.dashboard-actions{
  display:flex;
  justify-content:center;
}

.dashboard-stack{
  display:grid;
  gap:14px;
}
/* ===========================
   Table editor drawer
   =========================== */

.dash-editor-overlay{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 1000;
}

.dash-editor-overlay.open{
  opacity: 1;
  pointer-events: auto;
}

.dash-editor-drawer{
  position: fixed;
  top: 0;
  right: 0;
  width: min(760px, 96vw);
  height: 100dvh;
  background: #fff;
  box-shadow: -16px 0 40px rgba(15,23,42,0.20);
  transform: translateX(100%);
  transition: transform 220ms ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.dash-editor-drawer.open{
  transform: translateX(0);
}

.dash-editor-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px;
  border-bottom:1px solid rgba(15,23,42,0.08);
  background: rgba(15,23,42,0.02);
}

.dash-editor-body{
  padding:16px;
  overflow:auto;
}
/* ===========================
   Admin dashboard only
   Scoped styles for admin-messages.html only
   =========================== */

body:has(.dashboard-accordion) .contact-hero h1 {
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 8px;
}

body:has(.dashboard-accordion) .contact-hero p {
  font-size: 14px;
  line-height: 1.5;
  max-width: 34ch;
}

body:has(.dashboard-accordion) .contact-eyebrow {
  font-size: 11px;
  letter-spacing: 2.2px;
}

body:has(.dashboard-accordion) .dash-acc-toggle {
  font-size: 16px;
  padding: 16px 18px;
}

body:has(.dashboard-accordion) .contact-card-title {
  font-size: 16px;
}

body:has(.dashboard-accordion) .contact-card-sub {
  font-size: 12px;
}

body:has(.dashboard-accordion) .form-note.dash-note {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  text-align: left;
  color: rgba(11,18,32,0.72);
}

/* Better logout button only on dashboard */
body:has(.dashboard-accordion) #logoutBtn {
  background: #fff;
  color: var(--navy);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 800;
  min-width: 88px;
  box-shadow: 0 6px 16px rgba(15,23,42,0.06);
}

body:has(.dashboard-accordion) #logoutBtn:hover {
  background: rgba(15,23,42,0.04);
  border-color: rgba(15,23,42,0.16);
  transform: translateY(-1px);
}

/* Smaller dashboard action button */
body:has(.dashboard-accordion) .dashboard-actions .btn {
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 12px;
}

/* Mobile polish */
@media (max-width: 520px) {
  body:has(.dashboard-accordion) .contact-hero h1 {
    font-size: 22px;
  }

  body:has(.dashboard-accordion) .dash-acc-toggle {
    font-size: 15px;
    padding: 15px 16px;
  }

  body:has(.dashboard-accordion) #logoutBtn {
    font-size: 13px;
    padding: 9px 12px;
    min-width: 78px;
  }

  body:has(.dashboard-accordion) .dashboard-actions .btn {
    font-size: 14px;
    padding: 11px 16px;
  }
}
/* ===========================
   Admin dashboard polish only
   Scoped to dashboard page
   =========================== */

body:has(.dashboard-accordion) #logoutBtn {
  padding: 8px 12px;
  min-width: 74px;
  height: 40px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}

/* Create Employer form fields */
body:has(.dashboard-accordion) #staffBox .auth-row {
  margin-bottom: 12px;
}

body:has(.dashboard-accordion) #staffBox .auth-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(11,18,32,0.82);
}

body:has(.dashboard-accordion) #staffBox .auth-row input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.14);
  background: #fff;
  color: var(--text-dark);
  font-size: 16px;
  outline: none;
  box-shadow: none;
  transition: border 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body:has(.dashboard-accordion) #staffBox .auth-row input::placeholder {
  color: rgba(11,18,32,0.35);
}

body:has(.dashboard-accordion) #staffBox .auth-row input:focus {
  border-color: rgba(63,102,150,0.55);
  box-shadow: 0 0 0 3px rgba(63,102,150,0.12);
  background: #fff;
}

/* Create Employer button slightly tighter */
body:has(.dashboard-accordion) #createStaffBtn {
  margin-top: 6px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 15px;
}

/* Table editor date picker to match public reservation page feel */
body:has(.dashboard-accordion) #editorDate {
  width: 100%;
  max-width: 220px;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.03);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 13px;
  outline: none;
  box-shadow: none;
}

body:has(.dashboard-accordion) #editorDate:focus {
  border-color: rgba(63,102,150,0.45);
  box-shadow: 0 0 0 3px rgba(63,102,150,0.10);
}

/* Keep date field aligned nicely inside editor */
body:has(.dashboard-accordion) .dash-editor-body .auth-row {
  display: grid;
  gap: 8px;
}

/* Mobile refinement */
@media (max-width: 520px) {
  body:has(.dashboard-accordion) #logoutBtn {
    padding: 7px 11px;
    min-width: 68px;
    height: 38px;
    font-size: 12px;
  }

  body:has(.dashboard-accordion) #staffBox .auth-row input {
    height: 50px;
    border-radius: 15px;
    font-size: 15px;
  }

  body:has(.dashboard-accordion) #editorDate {
    max-width: 100%;
    height: 42px;
    font-size: 13px;
  }
}
/* ===========================
   Reservations dashboard
   Admin only
   =========================== */

body:has(.dashboard-accordion) .resdash-section h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

body:has(.dashboard-accordion) .resdash-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(11,18,32,0.60);
}

body:has(.dashboard-accordion) .resdash-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

body:has(.dashboard-accordion) .resdash-item {
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
}

body:has(.dashboard-accordion) .resdash-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

body:has(.dashboard-accordion) .resdash-item-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--text-dark);
}

body:has(.dashboard-accordion) .resdash-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-size: 13px;
  color: rgba(11,18,32,0.82);
}

body:has(.dashboard-accordion) .resdash-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

body:has(.dashboard-accordion) .resdash-badge.is-pending {
  background: #fff3cd;
  color: #856404;
}

body:has(.dashboard-accordion) .resdash-badge.is-reserved {
  background: #f8d7da;
  color: #721c24;
}

body:has(.dashboard-accordion) .resdash-badge.is-cancelled {
  background: #eceff3;
  color: #556070;
}

body:has(.dashboard-accordion) .resdash-badge.is-neutral {
  background: #eef2f7;
  color: #334155;
}

body:has(.dashboard-accordion) .resdash-history-line {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(11,18,32,0.82);
  margin-bottom: 10px;
}

body:has(.dashboard-accordion) .resdash-time {
  font-size: 12px;
  color: rgba(11,18,32,0.52);
  font-weight: 700;
}

@media (max-width: 520px) {
  body:has(.dashboard-accordion) .resdash-grid {
    grid-template-columns: 1fr;
  }
}
/* ===========================
   Reservations dashboard upgrade
   Admin page only
   =========================== */

body:has(.dashboard-accordion) .resdash-subtoggle,
body:has(.dashboard-accordion) .resdash-daytoggle {
  width: 100%;
  border: 0;
  background: rgba(15,23,42,0.02);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
}

body:has(.dashboard-accordion) .resdash-subtoggle:hover,
body:has(.dashboard-accordion) .resdash-daytoggle:hover {
  background: rgba(15,23,42,0.04);
}

body:has(.dashboard-accordion) .resdash-subicon {
  font-size: 18px;
  line-height: 1;
  transition: transform 180ms ease;
}

body:has(.dashboard-accordion) .resdash-subtoggle.is-open .resdash-subicon,
body:has(.dashboard-accordion) .resdash-daytoggle.is-open .resdash-subicon {
  transform: rotate(180deg);
}

body:has(.dashboard-accordion) .resdash-subpanel,
body:has(.dashboard-accordion) .resdash-daypanel {
  display: none;
}

body:has(.dashboard-accordion) .resdash-subpanel.is-open,
body:has(.dashboard-accordion) .resdash-daypanel.is-open {
  display: block;
}

body:has(.dashboard-accordion) .resdash-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

body:has(.dashboard-accordion) .resdash-sort {
  display: grid;
  gap: 6px;
  min-width: 170px;
}

body:has(.dashboard-accordion) .resdash-sort label {
  font-size: 12px;
  font-weight: 800;
  color: rgba(11,18,32,0.70);
}

body:has(.dashboard-accordion) .resdash-sort select {
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.12);
  background: #fff;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  outline: none;
}

body:has(.dashboard-accordion) .resdash-daygroup {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

body:has(.dashboard-accordion) .resdash-history-item {
  margin-top: 10px;
}

@media (max-width: 520px) {
  body:has(.dashboard-accordion) .resdash-toolbar {
    align-items: stretch;
  }

  body:has(.dashboard-accordion) .resdash-sort {
    min-width: 100%;
  }
}
/* ===========================
   Reservations hierarchy
   Admin page only
   =========================== */

/* LEVEL 2: Active / History */
body:has(.dashboard-accordion) .resdash-subtoggle {
  background: rgba(63,102,150,0.08);
  border: 1px solid rgba(63,102,150,0.14);
  border-radius: 16px;
  padding: 15px 16px;
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(15,23,42,0.04);
}

body:has(.dashboard-accordion) .resdash-subtoggle:hover {
  background: rgba(63,102,150,0.12);
  border-color: rgba(63,102,150,0.22);
}

body:has(.dashboard-accordion) .resdash-subpanel {
  margin-top: 10px;
  padding-left: 8px;
}

/* LEVEL 3: Today / Yesterday / date groups */
body:has(.dashboard-accordion) .resdash-daytoggle {
  background: rgba(15,23,42,0.03);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(11,18,32,0.82);
  box-shadow: none;
}

body:has(.dashboard-accordion) .resdash-daytoggle:hover {
  background: rgba(15,23,42,0.05);
  border-color: rgba(15,23,42,0.12);
}

/* Nested date content */
body:has(.dashboard-accordion) .resdash-daypanel {
  margin-top: 8px;
  padding-left: 12px;
  border-left: 2px solid rgba(15,23,42,0.06);
}

/* Cards inside history groups */
body:has(.dashboard-accordion) .resdash-history-item {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 14px;
}

/* Active cards slightly stronger than history cards */
body:has(.dashboard-accordion) #activeReservations .resdash-item {
  background: #fff;
  border: 1px solid rgba(63,102,150,0.12);
  box-shadow: 0 6px 18px rgba(15,23,42,0.05);
}

/* History cards a little quieter */
body:has(.dashboard-accordion) #historyReservations .resdash-item {
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: none;
}

/* Better spacing between day groups */
body:has(.dashboard-accordion) .resdash-daygroup {
  margin-top: 14px;
}

/* Head text under Active / History */
body:has(.dashboard-accordion) .resdash-head p {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(11,18,32,0.55);
  line-height: 1.45;
}

/* Make sub-icons feel smaller on nested levels */
body:has(.dashboard-accordion) .resdash-subtoggle .resdash-subicon {
  font-size: 17px;
}

body:has(.dashboard-accordion) .resdash-daytoggle .resdash-subicon {
  font-size: 15px;
  opacity: 0.75;
}

/* Mobile */
@media (max-width: 520px) {
  body:has(.dashboard-accordion) .resdash-subtoggle {
    padding: 14px 14px;
    font-size: 14px;
  }

  body:has(.dashboard-accordion) .resdash-daytoggle {
    padding: 11px 12px;
    font-size: 12.5px;
  }

  body:has(.dashboard-accordion) .resdash-daypanel {
    padding-left: 10px;
  }
}
/* ===========================
   Full dashboard hierarchy
   Admin page only
   =========================== */

/* LEVEL 1: Main dashboard accordion */
body:has(.dashboard-accordion) .dash-acc-item {
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15,23,42,0.05);
  overflow: hidden;
}

body:has(.dashboard-accordion) .dash-acc-toggle {
  background: #fff;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 900;
  padding: 18px 20px;
  border-bottom: 0;
}

body:has(.dashboard-accordion) .dash-acc-toggle:hover {
  background: rgba(15,23,42,0.02);
}

body:has(.dashboard-accordion) .dash-acc-panel {
  background: rgba(248,250,252,0.55);
  border-top: 1px solid rgba(15,23,42,0.06);
}

/* LEVEL 2: Active / History */
body:has(.dashboard-accordion) .resdash-subtoggle {
  background: linear-gradient(180deg, rgba(63,102,150,0.10), rgba(63,102,150,0.06));
  border: 1px solid rgba(63,102,150,0.16);
  border-radius: 18px;
  padding: 15px 16px;
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(15,23,42,0.04);
}

body:has(.dashboard-accordion) .resdash-subtoggle:hover {
  background: linear-gradient(180deg, rgba(63,102,150,0.13), rgba(63,102,150,0.08));
  border-color: rgba(63,102,150,0.22);
}

body:has(.dashboard-accordion) .resdash-subpanel {
  margin-top: 10px;
  padding: 10px 0 0 10px;
}

/* LEVEL 3: Today / Yesterday / other date groups */
body:has(.dashboard-accordion) .resdash-daytoggle {
  background: rgba(15,23,42,0.035);
  border: 1px solid rgba(15,23,42,0.09);
  border-radius: 13px;
  padding: 11px 13px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(11,18,32,0.80);
}

body:has(.dashboard-accordion) .resdash-daytoggle:hover {
  background: rgba(15,23,42,0.055);
  border-color: rgba(15,23,42,0.13);
}

body:has(.dashboard-accordion) .resdash-daypanel {
  margin-top: 8px;
  padding-left: 14px;
  border-left: 2px solid rgba(63,102,150,0.10);
}

/* LEVEL 4: Cards */
body:has(.dashboard-accordion) .resdash-item {
  border-radius: 16px;
  padding: 14px;
}

body:has(.dashboard-accordion) #activeReservations .resdash-item {
  background: #fff;
  border: 1px solid rgba(63,102,150,0.14);
  box-shadow: 0 8px 20px rgba(15,23,42,0.05);
}

body:has(.dashboard-accordion) #historyReservations .resdash-item {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 3px 10px rgba(15,23,42,0.03);
}

/* Better typography inside reservations */
body:has(.dashboard-accordion) .resdash-item-title {
  font-size: 14px;
  font-weight: 900;
  color: var(--navy);
}

body:has(.dashboard-accordion) .resdash-time {
  font-size: 12px;
  font-weight: 700;
  color: rgba(63,102,150,0.78);
}

body:has(.dashboard-accordion) .resdash-history-line {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(11,18,32,0.82);
  margin-bottom: 10px;
}

body:has(.dashboard-accordion) .resdash-grid {
  gap: 8px 18px;
  font-size: 13px;
  line-height: 1.45;
}

/* Softer helper copy */
body:has(.dashboard-accordion) .resdash-head p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(11,18,32,0.52);
}

/* Spacing between date groups */
body:has(.dashboard-accordion) .resdash-daygroup {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

/* Icon hierarchy */
body:has(.dashboard-accordion) .dash-acc-toggle .dash-acc-icon {
  font-size: 22px;
}

body:has(.dashboard-accordion) .resdash-subtoggle .resdash-subicon {
  font-size: 17px;
}

body:has(.dashboard-accordion) .resdash-daytoggle .resdash-subicon {
  font-size: 14px;
  opacity: 0.72;
}

/* Mobile */
@media (max-width: 520px) {
  body:has(.dashboard-accordion) .dash-acc-toggle {
    font-size: 16px;
    padding: 16px 16px;
  }

  body:has(.dashboard-accordion) .resdash-subtoggle {
    font-size: 14px;
    padding: 13px 14px;
  }

  body:has(.dashboard-accordion) .resdash-daytoggle {
    font-size: 12.5px;
    padding: 10px 11px;
  }

  body:has(.dashboard-accordion) .resdash-daypanel {
    padding-left: 10px;
  }
}

/* Desktop header fix only */
@media (min-width: 900px){

  .header{
    overflow: hidden;
  }

  .header-inner,
  .header-gd{
    height: 68px;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-left,
  .header-right{
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
  }

  .brand{
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    max-width: 180px;
    flex: 0 1 auto;
    overflow: hidden;
  }

  .brand img{
    display: block;
    width: auto;
    height: 34px;
    max-height: 34px;
    max-width: 180px;
    object-fit: contain;
  }

  .icon-btn,
  .hamburger{
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .icon-btn svg{
    width: 20px;
    height: 20px;
  }
}
/* Smaller Edit Points button */
.edit-points-btn {
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 8px;
  width: auto;
  min-width: 120px;
}
/* Centered history date pickers */
.resdash-toolbar-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.resdash-sort-centered {
  width: 100%;
  display: flex;
  justify-content: center;
}

.resdash-date-input {
  min-width: 220px;
  height: 52px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.03);
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  outline: none;
  box-shadow: none;
}

.resdash-date-input:focus {
  border-color: rgba(63, 102, 150, 0.45);
  box-shadow: 0 0 0 3px rgba(63, 102, 150, 0.10);
}

@media (max-width: 520px) {
  .resdash-date-input {
    min-width: 240px;
    height: 50px;
    font-size: 14px;
    border-radius: 16px;
  }
}
/* Center dashboard subtitles */
.resdash-head p {
  text-align: center;
  width: 100%;
}

/* Center dashboard search bars */
.inbox-search,
#membersSearchInput {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 320px;
}

/* Center date pickers */
.resdash-date-input {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
/* Better vertical centering for history date pickers */
.resdash-date-input {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: normal;
  padding-top: 0;
  padding-bottom: 0;
}

.resdash-date-input::-webkit-date-and-time-value {
  text-align: center;
}

.resdash-date-input::-webkit-datetime-edit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  line-height: normal;
}

.resdash-date-input::-webkit-calendar-picker-indicator {
  margin-left: 8px;
}
/* Club section cards */

/* ===== CLUB DASHBOARD CARDS ===== */

.club-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.club-item {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #f9fafc;
  text-decoration: none;
  transition: all .2s ease;
}

.club-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.club-item h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
}

.club-item p {
  margin: 0;
  font-size: 14px;
  color: rgba(0,0,0,0.6);
}

.club-item.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.club-item:nth-child(1) {
  border-left: 4px solid #3b82f6;
}

.club-item:nth-child(2) {
  border-left: 4px solid #10b981;
}

.club-item:nth-child(3) {
  border-left: 4px solid #f59e0b;
}
/* ===============================
   MEMBERS PAGE
================================ */

.members-search {
  margin-bottom: 16px;
}

.inbox-search {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  font-size: 15px;
}

.inbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resdash-item {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(63,102,150,0.18);
  box-shadow: 0 6px 18px rgba(15,23,42,0.05);
}

.resdash-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.resdash-item-title {
  font-weight: 600;
  font-size: 16px;
}

.resdash-time {
  font-size: 14px;
  font-weight: 600;
  color: #3f6696;
}

.resdash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
  font-size: 14px;
}

.staff-actions button {
  padding: 6px 12px;
  font-size: 13px;
}
/* Members page header buttons */
body:has(#memberSearchInput) #logoutBtn {
  padding: 8px 12px;
  min-width: 74px;
  height: 40px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  background: #fff;
  color: var(--navy);
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 6px 16px rgba(15,23,42,0.06);
}

body:has(#memberSearchInput) #logoutBtn:hover {
  background: rgba(15,23,42,0.04);
  border-color: rgba(15,23,42,0.16);
  transform: translateY(-1px);
}
body:has(#memberSearchInput) .members-back-btn {
  padding: 9px 12px;
  min-width: auto;
  height: 40px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body:has(#memberSearchInput) .members-searchbar {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 10px;
  align-items: center;
}

body:has(#memberSearchInput) .members-search-btn {
  height: 48px;
  width: 48px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.12);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(15,23,42,0.06);
}

body:has(#memberSearchInput) .members-search-btn:hover {
  background: rgba(15,23,42,0.04);
}
body:has(#memberSearchInput) .member-result-item {
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

body:has(#memberSearchInput) .member-result-item:hover {
  transform: translateY(-1px);
  background: rgba(63,102,150,0.05);
  border-color: rgba(63,102,150,0.22);
}

body:has(#memberSearchInput) .member-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body:has(#memberSearchInput) .member-result-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
}

body:has(#memberSearchInput) .member-result-phone {
  font-size: 12px;
  font-weight: 700;
  color: rgba(11,18,32,0.62);
}

body:has(#memberSearchInput) .member-detail-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

body:has(#memberSearchInput) .member-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(11,18,32,0.68);
}

body:has(#memberSearchInput) .member-field input {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.12);
  padding: 0 12px;
  background: #fff;
  color: var(--text-dark);
  outline: none;
}

body:has(#memberSearchInput) .member-field input[readonly] {
  background: rgba(15,23,42,0.04);
  color: rgba(11,18,32,0.72);
}

body:has(#memberSearchInput) .member-field input:focus {
  border-color: rgba(63,102,150,0.45);
  box-shadow: 0 0 0 3px rgba(63,102,150,0.10);
}

body:has(#memberSearchInput) .member-detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

@media (max-width: 520px) {
  body:has(#memberSearchInput) .member-detail-grid {
    grid-template-columns: 1fr;
  }
}
body:has(#memberSearchInput) .member-detail-actions .btn {
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
}

body:has(#memberSearchInput) .member-detail-actions .btn-primary {
  box-shadow: 0 10px 25px rgba(63, 102, 150, 0.22);
}
/* Member profile card smaller */
body:has(#memberSearchInput) .resdash-item{
  padding:18px;
  border-radius:14px;
}

body:has(#memberSearchInput) .member-detail-grid{
  gap:10px;
  margin-top:12px;
}
body:has(#memberSearchInput) .member-field{
  display:flex;
  flex-direction:column;
  gap:4px;
}

body:has(#memberSearchInput) .member-field label{
  font-size:12px;
  font-weight:700;
  color:rgba(11,18,32,0.65);
}

body:has(#memberSearchInput) .member-field input{
  height:38px;
  padding:8px 12px;
  font-size:14px;
}
   /* Smaller buttons for member profile */
.member-detail-actions{
  display:flex;
  gap:10px;
  margin-top:14px;
}

.member-detail-actions .btn{
  height:38px;
  padding:0 16px;
  font-size:14px;
  border-radius:10px;
}
/* Members page profile card */
body:has(#memberSearchInput) .member-profile-card{
  padding: 16px;
  border-radius: 14px;
}

body:has(#memberSearchInput) .member-profile-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(63,102,150,0.06);
  border: 1px solid rgba(63,102,150,0.12);
}

body:has(#memberSearchInput) .member-profile-name{
  font-size: 16px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
}

body:has(#memberSearchInput) .member-profile-sub{
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(11,18,32,0.62);
}

body:has(#memberSearchInput) .member-profile-points{
  font-size: 14px;
  font-weight: 900;
  color: var(--accent);
  white-space: nowrap;
}

/* Make all fields spacing identical */
body:has(#memberSearchInput) .member-detail-grid{
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-top: 10px;
}

body:has(#memberSearchInput) .member-field{
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

body:has(#memberSearchInput) .member-field label{
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  color: rgba(11,18,32,0.68);
}

body:has(#memberSearchInput) .member-field input{
  width: 100%;
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.12);
  background: #fff;
  color: var(--text-dark);
  font-size: 14px;
  line-height: 40px;
  outline: none;
  box-sizing: border-box;
}

body:has(#memberSearchInput) .member-field input[readonly]{
  background: rgba(15,23,42,0.04);
  color: rgba(11,18,32,0.72);
}

body:has(#memberSearchInput) .member-field input:focus{
  border-color: rgba(63,102,150,0.45);
  box-shadow: 0 0 0 3px rgba(63,102,150,0.10);
}

/* New smaller buttons */
body:has(#memberSearchInput) .member-detail-actions{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

body:has(#memberSearchInput) .member-mini-btn{
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

body:has(#memberSearchInput) .member-mini-btn-ghost{
  background: rgba(15,23,42,0.05);
  border-color: rgba(15,23,42,0.12);
  color: var(--text-dark);
}

body:has(#memberSearchInput) .member-mini-btn-ghost:hover{
  background: rgba(15,23,42,0.08);
  transform: translateY(-1px);
}

body:has(#memberSearchInput) .member-mini-btn-primary{
  background: var(--accent);
  border-color: rgba(63,102,150,0.40);
  color: #fff;
  box-shadow: 0 8px 18px rgba(63,102,150,0.18);
}

body:has(#memberSearchInput) .member-mini-btn-primary:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}
/* ===========================
   Event Editor page
   admin-event-editor.html
   =========================== */

.event-editor-layout{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:start;
}

.event-form-grid{
  display:grid;
  gap:12px;
}

.event-form-grid textarea{
  width:100%;
  min-height:140px;
  padding:12px 14px;
  resize:vertical;
  border-radius:16px;
  border:1px solid rgba(15,23,42,0.14);
  background:#fff;
  color:var(--text-dark);
  font-size:15px;
  outline:none;
  transition:border 160ms ease, box-shadow 160ms ease;
}

.event-form-grid textarea:focus{
  border-color: rgba(63,102,150,0.55);
  box-shadow: 0 0 0 3px rgba(63,102,150,0.12);
}

.event-toggle-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,0.08);
  background:rgba(15,23,42,0.02);
}

.event-toggle-title{
  font-weight:900;
  color:var(--navy);
}

.event-toggle-sub{
  margin-top:2px;
  font-size:13px;
  color:rgba(11,18,32,0.62);
}

.event-switch{
  position:relative;
  width:52px;
  height:30px;
  flex:0 0 auto;
}

.event-switch input{
  opacity:0;
  width:0;
  height:0;
}

.event-switch-slider{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:rgba(15,23,42,0.18);
  transition:background 180ms ease;
}

.event-switch-slider::before{
  content:"";
  position:absolute;
  width:24px;
  height:24px;
  left:3px;
  top:3px;
  border-radius:999px;
  background:#fff;
  box-shadow:0 4px 10px rgba(15,23,42,0.14);
  transition:transform 180ms ease;
}

.event-switch input:checked + .event-switch-slider{
  background:rgba(63,102,150,0.65);
}

.event-switch input:checked + .event-switch-slider::before{
  transform:translateX(22px);
}

.event-preview-card{
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(15,23,42,0.08);
  background:#fff;
  box-shadow:0 12px 28px rgba(15,23,42,0.06);
}

.event-preview-media{
  min-height:240px;
  background:
    linear-gradient(180deg, rgba(15,23,42,0.08), rgba(15,23,42,0.14)),
    rgba(63,102,150,0.08);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.event-preview-media img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
}

.event-preview-placeholder{
  font-size:18px;
  font-weight:900;
  color:rgba(255,255,255,0.92);
  letter-spacing:.3px;
}

.event-preview-content{
  padding:18px;
}

.event-preview-badge{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(63,102,150,0.12);
  border:1px solid rgba(63,102,150,0.22);
  color:var(--navy);
  font-size:12px;
  font-weight:900;
  letter-spacing:.4px;
  text-transform:uppercase;
}

.event-preview-title{
  margin:14px 0 8px;
  font-size:28px;
  line-height:1.08;
  color:var(--navy);
}

.event-preview-subtitle{
  margin:0 0 14px;
  font-size:15px;
  color:rgba(11,18,32,0.70);
}

.event-preview-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.event-price-box,
.event-date-box{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:8px 14px;
  border-radius:14px;
  background:rgba(15,23,42,0.04);
  border:1px solid rgba(15,23,42,0.10);
  font-weight:800;
  color:var(--text-dark);
}

.event-preview-shell{
  overflow: hidden;
  border-radius: 22px;
  background: #08101d;
  box-shadow: 0 12px 28px rgba(15,23,42,0.10);
}

.event-preview-strip{
  position: relative;
  overflow: hidden;
  height: 40px;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

.event-preview-strip-track{
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  white-space: nowrap;
  min-width: 200%;
  height: 100%;
  animation: liveStripMove 18s linear infinite;
}

.event-preview-strip-track span{
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
}

.event-preview-strip-track span::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 10px;
  background: #ff4343;
}

.event-preview-stage{
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 210px 0 16px;
}

.event-preview-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.event-preview-info-wrap{
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.event-preview-card{
  width: min(100%, 560px);
  padding: 34px 18px 16px;
  border-radius: 20px;
  background: rgba(7,14,30,0.84);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 18px 42px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  text-align: center;
}

.event-preview-badge-float{
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.event-preview-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .45px;
  text-transform: uppercase;
  color: #ffffff;
  background: #2d3955;
  border: 1px solid rgba(255,255,255,0.18);
}

.event-preview-title{
  margin: 0;
  font-size: 30px;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.event-preview-hidden-copy{
  display: none;
}

.event-preview-meta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 16px 0 14px;
}

.event-price-box,
.event-date-box{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
}

.event-preview-cta{
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  min-width: 220px;
}

.event-preview-placeholder{
  font-size: 18px;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

@media (max-width: 560px){
  .event-preview-stage{
    min-height: 400px;
    padding: 190px 0 14px;
  }

  .event-preview-card{
    width: min(100%, 88%);
    padding: 30px 14px 14px;
    border-radius: 18px;
  }

  .event-preview-title{
    font-size: 22px;
  }

  .event-preview-meta{
    gap: 8px;
    margin: 14px 0 12px;
  }

  .event-price-box,
  .event-date-box{
    font-size: 11px;
    min-height: 32px;
    padding: 6px 10px;
  }

  .event-preview-cta{
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 920px){
  .event-editor-layout{
    grid-template-columns:1fr;
  }
}

/* ===============================
   EVENT STYLE I
   Full photo background from strip to strip
================================ */

.event-live{
  padding: 0;
  background: transparent;
}

.event-live-shell{
  position: relative;
  overflow: hidden;
}

.event-live-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.event-live-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,14,30,0.14), rgba(7,14,30,0.34)),
    radial-gradient(380px 220px at 78% 18%, rgba(92,140,255,0.18), transparent 60%);
  pointer-events: none;
}

.event-live-inner{
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: 0;
}

.event-live-strip{
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 42px;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(4px);
}

.event-live-strip-top{
  margin-top: 0;
  margin-bottom: 0;
}

.event-live-strip-bottom{
  margin-top: 0;
  margin-bottom: 0;
}

.event-live-strip-track{
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  white-space: nowrap;
  min-width: 200%;
  height: 100%;
  animation: liveStripMove 18s linear infinite;
}

.event-live-strip-track span{
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
}

.event-live-strip-track span::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 10px;
  background: #ff4343;
}

@keyframes liveStripMove{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-50%);
  }
}

.event-live-stage{
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 260px 0 26px;
}

.event-live-info-wrap{
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.event-live-card{
  width: min(100%, 560px);
  padding: 34px 18px 16px;
  border-radius: 20px;
  background: rgba(7,14,30,0.84);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 18px 42px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  text-align: center;
}

.event-live-badge-float{
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.event-live-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .45px;
  text-transform: uppercase;
  color: #ffffff;
  background: #2d3955;
  border: 1px solid rgba(255,255,255,0.18);
}

.event-live-title{
  margin: 0;
  font-size: 30px;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.event-live-hidden-copy{
  display: none;
}

.event-live-meta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 16px 0 14px;
}

.event-live-price,
.event-live-date{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
}

.event-live-cta{
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  min-width: 220px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.24);
}

@media (max-width: 900px){
  .event-live-stage{
    min-height: 470px;
    padding: 235px 0 18px;
  }

  .event-live-card{
    width: min(100%, 500px);
    padding: 32px 16px 16px;
    border-radius: 18px;
  }

  .event-live-title{
    font-size: 26px;
  }

  .event-live-cta{
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}

@media (max-width: 560px){
  .event-live-strip{
    height: 40px;
  }

  .event-live-strip-track span{
    font-size: 12px;
  }

  .event-live-stage{
    min-height: 430px;
    padding: 215px 0 14px;
  }

  .event-live-card{
    width: min(100%, 88%);
    padding: 30px 14px 14px;
    border-radius: 18px;
  }

  .event-live-title{
    font-size: 22px;
  }

  .event-live-meta{
    gap: 8px;
    margin: 14px 0 12px;
  }

  .event-live-price,
  .event-live-date{
    font-size: 11px;
    min-height: 32px;
    padding: 6px 10px;
  }

  .event-live-cta{
    min-width: 0;
    width: 100%;
  }
}
/* ===========================
   MY CAREER PAGE
   =========================== */

.career-page{
  padding: 26px 0 54px;
  background:
    radial-gradient(1200px 500px at 18% -10%, rgba(63,102,150,0.14), transparent 60%),
    radial-gradient(900px 480px at 92% 14%, rgba(15,23,42,0.06), transparent 60%),
    var(--light);
}

/* Page intro */
.career-page-head{
  margin: 8px 0 12px;
}

.career-page-kicker{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: rgba(11,18,32,0.55);
  margin-bottom: 8px;
  position: relative;
  padding-left: 14px;
}

.career-page-kicker::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(63,102,150,0.75);
}

.career-page-title{
  margin: 0 0 6px;
  font-size: 30px;
  line-height: 1.04;
  letter-spacing: -0.6px;
  color: var(--navy);
}

.career-page-subtitle{
  margin: 0;
  font-size: 15px;
  color: rgba(11,18,32,0.68);
}

/* Back button */
.career-home-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border-radius:14px;
  font-size:14px;
  font-weight:800;
  white-space:nowrap;
  text-decoration:none;
}

.career-home-link-outside{
  margin: 0 0 14px;
  background: rgba(15,23,42,0.06);
  border:1px solid rgba(15,23,42,0.12);
  color: var(--navy);
}

.career-home-link-outside:hover{
  background: rgba(63,102,150,0.08);
}

/* Overview card */
.career-overview-card{
  margin: 0 0 20px;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(460px 220px at 85% 16%, rgba(63,102,150,0.18), transparent 58%),
    linear-gradient(180deg, rgba(15,23,42,0.98), rgba(11,18,32,0.96));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 38px rgba(15,23,42,0.18);
  color: #fff;
}

.career-overview-top{
  display:block;
  margin-bottom:12px;
}

.career-overview-heading{
  text-align:center;
  margin-bottom:16px;
}

/* REAL SECTION TITLE */
.career-overview-kicker{
  font-size:28px;
  line-height:1.05;
  font-weight:900;
  letter-spacing:-0.8px;
  color:#ffffff;
  margin-bottom:6px;
  text-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

/* SUBTITLE */
.career-overview-title{
  font-size:15px;
  line-height:1.5;
  font-weight:500;
  color: rgba(255,255,255,0.80);
  max-width: 280px;
  margin: 0 auto;
}

.career-overview-heading::after{
  content:"";
  display:block;
  width:40px;
  height:3px;
  margin:10px auto 0;
  border-radius:999px;
  background: rgba(255,255,255,0.35);
}   

/* Summary boxes */
.career-summary-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
}

.career-summary-box-membership{
  grid-column: 1 / -1;
}

.career-summary-box-points{
  grid-column: 1 / -1;
}

.career-summary-box{
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:82px;
}

.career-summary-box-membership,
.career-summary-box-points{
  min-height:72px;
}

.career-summary-label{
  font-size:11px;
  font-weight:800;
  color: rgba(255,255,255,0.60);
  margin-bottom:3px;
  text-transform:uppercase;
  letter-spacing:1px;
  text-align:center;
}

.career-summary-value{
  font-size:17px;
  font-weight:900;
  color:#fff;
  text-align:center;
}

.career-status-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:6px 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:900;
  background:#eef2f7;
  color:#334155;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.08);
}

.career-status-badge.is-active{
  background: rgba(16,185,129,0.16);
  color: #10b981;
}

.career-status-badge.is-expired{
  background: rgba(239,68,68,0.16);
  color: #ef4444;
}

.career-status-badge.is-pending{
  background: rgba(245,158,11,0.18);
  color: #f59e0b;
}

.career-status-badge.is-neutral{
  background:#eef2f7;
  color:#334155;
}

/* Sections */
.career-section{
  margin-top:24px;
}

.career-section-head{
  margin-bottom:14px;
  padding-bottom:10px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}

.career-section-title-row,
.career-section-title-row.no-tag{
  display:block;
}

.career-section-tag{
  display:none;
}

.career-section-head h2{
  margin:0 0 4px;
  font-size:24px;
  line-height:1.04;
  color: var(--navy);
  letter-spacing:-0.4px;
}

.career-section-head p{
  margin:0;
  color: rgba(11,18,32,0.60);
  font-size:14px;
  line-height:1.4;
}

/* Reservations */
.career-history-shell{
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow: 0 12px 28px rgba(15,23,42,0.06);
  padding:16px;
}

.career-history-top{
  margin-bottom:12px;
  display:flex;
  justify-content:center;
}

.career-history-filter-wrap{
  width:100%;
  max-width:300px;
  display:grid;
  gap:8px;
  justify-items:center;
}

.career-history-filter-label{
  font-size:12px;
  font-weight:900;
  letter-spacing:1.4px;
  text-transform:uppercase;
  color: rgba(11,18,32,0.52);
}

.career-history-date-input{
  width:100%;
  height:46px;
  border-radius:16px;
  border:1px solid rgba(63,102,150,0.18);
  background:
    linear-gradient(180deg, rgba(63,102,150,0.05), rgba(255,255,255,1));
  padding:0 14px;
  font-size:15px;
  font-weight:800;
  outline:none;
  color: var(--text-dark);
  box-sizing:border-box;
  text-align:center;
  box-shadow: 0 8px 18px rgba(15,23,42,0.05);
}

.career-history-date-input:focus{
  border-color: rgba(63,102,150,0.50);
  box-shadow: 0 0 0 3px rgba(63,102,150,0.10);
}

.career-history-date-input::-webkit-date-and-time-value{
  text-align:center;
}

.career-history-date-input::-webkit-calendar-picker-indicator{
  cursor:pointer;
  opacity:0.9;
}

.career-history-list{
  display:grid;
  gap:10px;
}

.career-history-item{
  border:1px solid rgba(15,23,42,0.08);
  background: rgba(15,23,42,0.02);
  border-radius:16px;
  padding:14px;
}

.career-history-item-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.career-history-title{
  font-size:16px;
  font-weight:900;
  color: var(--text-dark);
}

.career-history-date{
  margin-top:4px;
  font-size:13px;
  color: rgba(11,18,32,0.60);
  font-weight:700;
}

.career-history-points{
  white-space:nowrap;
  font-size:14px;
  font-weight:900;
  color: var(--accent);
}

.career-history-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.career-history-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:4px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(15,23,42,0.08);
  font-size:12px;
  font-weight:800;
  color: rgba(11,18,32,0.70);
}

/* Stats */
.career-stats-placeholder{
  padding:24px 18px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow: 0 10px 28px rgba(15,23,42,0.06);
  text-align:center;
}

.career-stats-icon{
  font-size:32px;
  margin-bottom:8px;
}

.career-stats-title{
  font-size:19px;
  font-weight:900;
  color: var(--navy);
  margin-bottom:6px;
}

.career-stats-text{
  max-width:56ch;
  margin:0 auto;
  color: rgba(11,18,32,0.66);
}

.career-empty{
  text-align:center;
  padding:18px;
  border-radius:16px;
  background: rgba(15,23,42,0.03);
  color: rgba(11,18,32,0.60);
  font-weight:700;
}

/* Mobile */
@media (max-width: 520px){
  .career-page{
    padding: 22px 0 40px;
  }

  .career-page-title{
    font-size:26px;
  }

  .career-page-subtitle{
    font-size:14px;
  }

  .career-home-link{
    min-height:44px;
    padding:0 16px;
    border-radius:14px;
    font-size:14px;
  }

  .career-overview-card{
    padding:14px;
    border-radius:20px;
  }

  .career-overview-top{
    margin-bottom:10px;
  }

  .career-overview-kicker{
    font-size:26px;
  }

  .career-overview-title{
    font-size:13px;
  }

  .career-summary-grid{
    grid-template-columns: 1fr 1fr;
    gap:8px;
  }

  .career-summary-box{
    padding:10px;
    border-radius:16px;
    min-height:65px;
  }

  .career-summary-box-membership,
  .career-summary-box-points{
    min-height:72px;
  }

  .career-summary-value{
    font-size:15px;
  }

  .career-section-head h2{
    font-size:22px;
  }

  .career-section-head p{
    font-size:13px;
  }

  .career-history-item-top{
    flex-direction:column;
    align-items:flex-start;
  }
}


.res-status {
  text-align: center;
  line-height: 1.6;
}

.res-status.is-success,
.res-status.is-error {
  white-space: normal;
}
.res-popup {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  width: min(92vw, 420px);
  padding: 14px 18px;
  border-radius: 16px;
  text-align: center;
  line-height: 1.5;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(11, 18, 32, 0.16);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: normal;
}

.res-popup.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.res-popup.success {
  background: #eaf7ef;
  color: #0a7a3d;
  border: 1px solid #a9d8b8;
}

.res-popup.error {
  background: #fff1f1;
  color: #c62828;
  border: 1px solid #efb3b3;
}
/* ===========================
   Profile Page (FIXED + TIGHTER)
=========================== */

.profile-page{
  padding: 28px 0 42px;
  background:
    radial-gradient(1200px 500px at 18% -10%, rgba(63,102,150,0.16), transparent 60%),
    radial-gradient(900px 480px at 92% 14%, rgba(15,23,42,0.08), transparent 60%),
    var(--light);
}

/* HERO */
.profile-hero{
  margin: 8px 0 14px;
}

.profile-eyebrow{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: rgba(11,18,32,0.55);
  margin-bottom: 8px;
  position: relative;
  padding-left: 12px;
}

.profile-eyebrow::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(63,102,150,0.75);
}

.profile-hero h1{
  margin: 0 0 4px;
  font-size: 26px;
  line-height: 1.08;
}

.profile-hero p{
  margin: 0 0 14px;
  color: rgba(11,18,32,0.70);
  line-height: 1.45;
}

/* BACK BUTTON */
.profile-back-btn{
  min-height: 40px;
  padding: 0 14px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
}

/* CARDS */
.profile-shell{
  display: grid;
  gap: 12px;
}

.profile-main-card,
.profile-security-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px;
}

/* TITLES */
.profile-main-title{
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.profile-main-sub{
  font-size: 13px;
  line-height: 1.45;
  color: rgba(11,18,32,0.62);
  margin-bottom: 14px;
}

/* INFO LIST */
.profile-info-list{
  display: grid;
  gap: 8px;
}

/* DEFAULT ROW */
.profile-info-row{
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.profile-info-row:last-child{
  border-bottom: none;
  padding-bottom: 0;
}

.profile-info-label{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: rgba(11, 18, 32, 0.5);
  text-transform: uppercase;
}

.profile-info-value{
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
  color: var(--text-dark);
  word-break: break-word;
}

/* ID ROW — ALWAYS HORIZONTAL */
.profile-id-row{
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
}

.profile-id-left{
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* COPY BUTTON */
.profile-copy-btn{
  flex: 0 0 auto;
  min-height: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

/* HELP BOX */
.profile-help-box{
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(15,23,42,0.03);
  color: rgba(11,18,32,0.68);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

/* SECURITY */
.profile-security-form{
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.profile-security-row label{
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: rgba(11,18,32,0.82);
  margin-bottom: 6px;
}

.profile-security-row input{
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.profile-security-row input:focus{
  border-color: rgba(63,102,150,0.65);
  box-shadow: 0 0 0 3px rgba(63,102,150,0.14);
}

.profile-security-row input::placeholder{
  color: rgba(11,18,32,0.35);
}

.profile-reset-btn{
  min-height: 46px;
  border-radius: 14px;
  font-size: 15px;
  margin-top: 2px;
}

.profile-reset-note{
  margin-top: 2px;
}

/* MOBILE FIX */
@media (max-width: 520px){

  .profile-page{
    padding: 22px 0 36px;
  }

  .profile-hero{
    margin: 6px 0 12px;
  }

  .profile-hero h1{
    font-size: 24px;
  }

  .profile-hero p{
    font-size: 14px;
    margin-bottom: 12px;
  }

  .profile-main-card,
  .profile-security-card{
    padding: 14px;
    border-radius: 16px;
  }

  .profile-info-row{
    padding: 8px 0;
  }

  /* KEEP ID ROW HORIZONTAL */
  .profile-id-row{
    flex-direction: row !important;
    align-items: center !important;
  }

  .profile-copy-btn{
    margin-top: 0 !important;
  }
}
.profile-section-title{
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 14px;
  margin-top: 0;
}
/* ===========================
   Live Coaches page refined
   =========================== */

.training-page{
  padding: 24px 0 40px;
  background: var(--light);
}

.training-shell{
  display: grid;
  gap: 14px;
}

/* Intro */
.training-intro{
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.training-eyebrow{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(63,79,119,0.78);
  position: relative;
  padding-left: 14px;
  margin: 0;
}

.training-eyebrow::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(76,114,170,0.8);
}

.training-title{
  margin: 0;
  font-size: 31px;
  line-height: 1.02;
  letter-spacing: -0.9px;
  color: var(--navy);
}

.training-sub{
  margin: 0;
  max-width: 28ch;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(11,18,32,0.66);
}

.training-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.training-tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 4px 10px rgba(15,23,42,0.04);
  color: rgba(11,18,32,0.7);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Swipe heading */
.training-swipe-head{
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.training-label{
  font-size: 13px;
  font-weight: 800;
  color: rgba(11,18,32,0.38);
}

.training-swipe-title{
  margin: 0;
  font-size: 33px;
  line-height: 0.98;
  letter-spacing: -1px;
  color: var(--navy);
}

.training-swipe-hint{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 15px;
  font-weight: 500;
  color: rgba(11,18,32,0.45);
}

.hint-arrow{
  display: inline-block;
  font-size: 24px;
  line-height: 1;
  animation: trainingHintArrow 1.8s ease-in-out infinite;
}

@keyframes trainingHintArrow{
  0%, 100%{ transform: translateX(0); opacity: 0.72; }
  50%{ transform: translateX(4px); opacity: 1; }
}

/* Carousel */
.training-carousel-section{
  display: grid;
  gap: 12px;
  margin-top: 4px;
  background: transparent;
}

.coach-carousel{
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: transparent;
}

.coach-carousel::-webkit-scrollbar{
  display: none;
}

.coach-track{
  display: flex;
  gap: 0;
  background: transparent;
}

.coach-slide{
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 0;
  background: var(--light);
}

/* Card */
.coach-card{
  position: relative;
  background: linear-gradient(180deg, #16233f 0%, #1b2d52 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  box-shadow:
    0 18px 34px rgba(11,18,32,0.18),
    0 6px 18px rgba(11,18,32,0.10);
  padding: 14px;
  overflow: hidden;
}

.coach-card::after{
  display: none;
}

.coach-media{
  position: relative;
  margin-bottom: 16px;
}

.coach-photo{
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 22px;
  background: transparent;
  display: block;
}

.coach-badge{
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 18px rgba(11,18,32,0.12);
  color: #c26031;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.coach-body{
  display: grid;
  gap: 12px;
}

.coach-copy{
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.coach-kicker{
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(214,225,245,0.65);
}
   
.coach-name{
  margin: 4px 0 6px;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -1px;
  color: #ffffff;
}

.coach-cert{
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(226,234,247,0.82);
  font-weight: 500;
}

.coach-points{
  margin: 0;
  padding-left: 24px;
  display: grid;
  gap: 4px;
  color: rgba(245,248,255,0.94);
  font-size: 15px;
  line-height: 1.45;
}

.coach-points li::marker{
  color: rgba(197,214,242,0.70);
}

.coach-price-row{
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.coach-price{
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -1px;
  color: #ffffff;
}

.coach-price-sub{
  font-size: 15px;
  color: rgba(226,234,247,0.88);
}

.coach-actions{
  display: grid;
  gap: 10px;
}

.training-book-btn{
  width: 100%;
  min-height: 52px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 850;
  background: linear-gradient(180deg, #4c79b5, var(--accent));
  box-shadow: 0 10px 22px rgba(63,102,150,0.2);
}

.coach-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(226,234,247,0.76);
  transition: color 160ms ease;
}

.coach-link:hover{
  color: #ffffff;
}

/* Dots */
.coach-dots{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top: 2px;
}

.coach-dot{
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15,23,42,0.12);
  cursor: pointer;
  transition: width 160ms ease, background 160ms ease;
}

.coach-dot.is-active{
  width: 24px;
  background: rgba(76,114,170,0.95);
}

/* Tablet+ */
@media (min-width: 761px){
  .training-page{
    padding: 30px 0 48px;
  }

  .training-shell{
    gap: 16px;
  }

  .training-title{
    font-size: 34px;
  }

  .training-sub{
    max-width: 38ch;
  }

  .training-swipe-title{
    font-size: 40px;
  }

  .coach-card{
    max-width: 760px;
    margin: 0 auto;
    padding: 18px;
    border-radius: 28px;
  }

  .coach-photo{
  width: 100%;
  height: 300px;

  .coach-badge{
    top: 14px;
    left: 14px;
  }

  .coach-name{
    font-size: 36px;
  }

  .coach-price{
    font-size: 42px;
  }
}
.training-intro--hero{
  gap: 10px;
}

.training-swipe-hint--dynamic{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 2px;
  padding: 6px 0 0;
  color: rgba(11,18,32,0.52);
  font-size: 14px;
  font-weight: 600;
}

.training-swipe-hint-text{
  letter-spacing: -0.1px;
}

.training-swipe-gesture{
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 72px;
  height: 20px;
}

.training-swipe-line{
  position: absolute;
  left: 0;
  right: 16px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(76,114,170,0.08) 0%,
    rgba(76,114,170,0.24) 30%,
    rgba(76,114,170,0.08) 100%
  );
}

.training-swipe-dot{
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: rgba(76,114,170,0.95);
  box-shadow: 0 0 0 6px rgba(76,114,170,0.10);
  animation: trainingSwipeDot 1.8s ease-in-out infinite;
}

.training-swipe-arrow{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: rgba(76,114,170,0.92);
  animation: trainingSwipeArrow 1.8s ease-in-out infinite;
}

@keyframes trainingSwipeDot{
  0%{
    left: 0;
    opacity: 0.85;
  }
  55%{
    left: 42px;
    opacity: 1;
  }
  100%{
    left: 0;
    opacity: 0.85;
  }
}

@keyframes trainingSwipeArrow{
  0%, 100%{
    transform: translateY(-50%) translateX(0);
    opacity: 0.7;
  }
  50%{
    transform: translateY(-50%) translateX(4px);
    opacity: 1;
  }
}
/* Karim coach popup */

.coach-profile-trigger{
  border: 0;
  cursor: pointer;
}

.coach-modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(11,18,32,0.46);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9997;
}

.coach-modal{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9998;
}

.coach-modal.is-open,
.coach-modal-overlay.is-open{
  opacity: 1;
  pointer-events: auto;
}

.coach-modal-dialog{
  width: min(920px, 100%);
  max-height: 88vh;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(15,23,42,0.22);
  position: relative;
  overflow: hidden;
}

.coach-modal-close{
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(15,23,42,0.74);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.coach-modal-scroll{
  overflow: auto;
  max-height: 88vh;
  display: grid;
}

.coach-modal-media{
  position: relative;
  background: #eef3f9;
}

.coach-modal-media img{
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.coach-modal-badge{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.coach-modal-content{
  padding: 20px;
}

.coach-modal-kicker{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(11,18,32,0.52);
  margin-bottom: 10px;
}

.coach-modal-name{
  margin: 0;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -0.8px;
  color: var(--navy);
}

.coach-modal-role{
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: rgba(11,18,32,0.68);
}

.coach-modal-stats{
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.coach-modal-stat{
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(15,23,42,0.035);
  display: grid;
  gap: 4px;
}

.coach-modal-stat span{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(11,18,32,0.48);
}

.coach-modal-stat strong{
  font-size: 15px;
  color: var(--navy);
}

.coach-modal-section{
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(15,23,42,0.025);
}

.coach-modal-section h3{
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 850;
  color: var(--navy);
}

.coach-modal-section p{
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(11,18,32,0.75);
}

.coach-modal-focus{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.coach-modal-focus li{
  position: relative;
  padding: 11px 12px 11px 38px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.08);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: rgba(11,18,32,0.82);
}

.coach-modal-focus li::before{
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(63,102,150,0.14);
  border: 1px solid rgba(63,102,150,0.30);
  box-shadow: inset 0 0 0 3px rgba(63,102,150,0.56);
}

.coach-modal-actions{
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.coach-modal-book,
.coach-modal-back-btn{
  min-height: 50px;
  border-radius: 15px;
  width: 100%;
}

body.modal-open{
  overflow: hidden;
}

@media (min-width: 760px){
  .coach-modal-stats{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .coach-modal-actions{
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px){
  .coach-modal-scroll{
    grid-template-columns: 0.92fr 1.08fr;
  }

  .coach-modal-media img{
    height: 100%;
    min-height: 100%;
  }

  .coach-modal-content{
    padding: 24px;
  }
}

@media (max-width: 520px){
  .coach-modal{
    padding: 12px;
  }

  .coach-modal-dialog{
    border-radius: 22px;
    max-height: 90vh;
  }

  .coach-modal-media img{
    height: 280px;
  }

  .coach-modal-content{
    padding: 16px;
  }

  .coach-modal-name{
    font-size: 28px;
  }
}
