/* ═══════════════════════════════════════════════════════
   THE LIVING CLUB — Client Portal Styles
   ═══════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: #080D15;
  color: #E8DDD0;
  min-height: 100dvh;
}

.hidden { display: none !important; }

/* ── Logo ───────────────────────────────────────────── */
.logo-the  {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem; letter-spacing: 0.38em;
  color: #C4963A; display: block;
}
.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 500;
  letter-spacing: 0.18em; display: block;
}
.logo-sub {
  font-size: 0.68rem; letter-spacing: 0.22em;
  color: #7A7060; display: block; margin-top: 3px;
  text-transform: uppercase;
}

/* ── Auth Screen ─────────────────────────────────────── */
.auth-screen {
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 65% 70% at 8% 55%, rgba(122,79,48,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 92% 20%, rgba(196,150,58,0.10) 0%, transparent 52%),
    linear-gradient(158deg, #080D15 0%, #111D32 45%, #0D0905 100%);
  padding: 24px;
}

.auth-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(196,150,58,0.16);
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%; max-width: 420px;
  backdrop-filter: blur(16px);
}

.auth-logo {
  display: block; text-align: center;
  text-decoration: none; color: inherit;
  margin-bottom: 36px;
}

.register-hint {
  font-size: 0.8rem; color: #7A7060; line-height: 1.6;
  background: rgba(196,150,58,0.06);
  border: 1px solid rgba(196,150,58,0.14);
  border-radius: 8px; padding: 12px 14px; margin-bottom: 22px;
}

.auth-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.73rem; letter-spacing: 0.12em;
  color: #9A8878; text-transform: uppercase;
}
.form-group input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(196,150,58,0.18);
  border-radius: 9px; padding: 13px 16px;
  color: #E8DDD0; font-family: 'Inter', sans-serif;
  font-size: 0.92rem; outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus { border-color: rgba(196,150,58,0.5); }
.form-group input::placeholder { color: #4A4440; }

.btn-gold-full {
  background: linear-gradient(135deg, #C4963A 0%, #A87830 100%);
  color: #080D15; border: none; border-radius: 9px;
  padding: 14px; font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem; font-weight: 600; letter-spacing: 0.12em;
  cursor: pointer; margin-top: 6px; transition: opacity 0.2s;
}
.btn-gold-full:hover { opacity: 0.87; }
.btn-gold-full:disabled { opacity: 0.5; cursor: not-allowed; }

.auth-error {
  font-size: 0.82rem; color: #e05252;
  background: rgba(224,82,82,0.09);
  border: 1px solid rgba(224,82,82,0.22);
  border-radius: 7px; padding: 10px 14px;
}

.auth-toggle {
  text-align: center; margin-top: 22px;
  font-size: 0.83rem; color: #6A6058;
}
.link-btn {
  background: none; border: none; color: #C4963A;
  cursor: pointer; font-size: 0.83rem;
  text-decoration: underline; font-family: inherit;
}

/* ── App Screen ──────────────────────────────────────── */
.app-screen { min-height: 100dvh; display: flex; flex-direction: column; }

/* Header */
.app-header {
  background: rgba(8,13,21,0.96);
  border-bottom: 1px solid rgba(196,150,58,0.12);
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
}
.header-logo { text-decoration: none; color: inherit; }
.header-logo .logo-main { font-size: 1.1rem; }
.header-logo .logo-the  { font-size: 0.65rem; }

.header-user {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.83rem; color: #9A8878;
}

.btn-logout {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  color: #9A8878; border-radius: 7px;
  padding: 7px 14px; font-size: 0.78rem;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.btn-logout:hover { border-color: rgba(196,150,58,0.35); color: #E8DDD0; }

/* Body */
.app-body {
  flex: 1; max-width: 1100px; margin: 0 auto;
  width: 100%; padding: 28px 20px 80px;
}

/* Stats row */
.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr));
  gap: 14px; margin-bottom: 32px;
}
.stat-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(196,150,58,0.12);
  border-radius: 14px; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.stat-label {
  font-size: 0.70rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: #6A6058;
}
.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem; font-weight: 500; color: #E8DDD0;
  line-height: 1;
}
.stat-badge { font-size: 1rem; font-family: 'Inter', sans-serif; padding-top: 4px; }

/* Membership badges */
.badge-active   { color: #5cbf8a; font-weight: 500; }
.badge-expiring { color: #e0a84a; font-weight: 500; }
.badge-expired  { color: #e05252; font-weight: 500; }
.badge-none     { color: #4A4440; }

/* Plan badge card */
.plan-badge-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid rgba(196,150,58,0.25);
  background: linear-gradient(135deg, rgba(196,150,58,0.08) 0%, rgba(42,36,32,0.6) 100%);
}
.plan-badge-card.plan-golden  { border-color: rgba(201,169,110,0.35); background: linear-gradient(135deg, rgba(201,169,110,0.12) 0%, rgba(42,36,32,0.6) 100%); }
.plan-badge-card.plan-black   { border-color: rgba(180,180,190,0.25); background: linear-gradient(135deg, rgba(120,120,130,0.10) 0%, rgba(20,20,22,0.7) 100%); }
.plan-badge-card.plan-platinum{ border-color: rgba(160,200,220,0.30); background: linear-gradient(135deg, rgba(140,190,210,0.10) 0%, rgba(30,35,40,0.7) 100%); }
.plan-badge-card.plan-elite   { border-color: rgba(200,170,100,0.40); background: linear-gradient(135deg, rgba(200,170,100,0.15) 0%, rgba(50,40,30,0.7) 100%); }
.plan-badge-card.plan-wellhub { border-color: rgba(255,100,50,0.30); background: linear-gradient(135deg, rgba(255,100,50,0.08) 0%, rgba(42,36,32,0.6) 100%); }
.plan-badge-card.plan-prueba  { border-color: rgba(150,150,140,0.20); background: linear-gradient(135deg, rgba(150,150,140,0.06) 0%, rgba(42,36,32,0.5) 100%); }

.plan-badge-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}
.plan-badge-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.plan-badge-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #E8DDD0;
  letter-spacing: 0.04em;
}
.plan-badge-detail {
  font-size: 0.72rem;
  color: #8A8078;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Main tabs */
.main-tabs {
  display: flex; border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
}
.main-tab {
  background: none; border: none; color: #6A6058;
  padding: 12px 24px; font-size: 0.85rem; letter-spacing: 0.05em;
  cursor: pointer; border-bottom: 2px solid transparent;
  transition: all 0.2s; font-family: inherit;
}
.main-tab.active { color: #C4963A; border-bottom-color: #C4963A; }
.main-tab:hover:not(.active) { color: #A89878; }

/* Disc tabs */
.disc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.disc-tab {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  color: #9A8878; border-radius: 20px;
  padding: 8px 18px; font-size: 0.80rem; cursor: pointer;
  transition: all 0.2s; font-family: inherit;
}
.disc-tab.active, .disc-tab:hover {
  background: rgba(196,150,58,0.12);
  border-color: rgba(196,150,58,0.36);
  color: #C4963A;
}

/* Week navigation */
.week-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-bottom: 12px;
}
.week-nav-btn {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  color: #C4963A; border-radius: 50%; width: 34px; height: 34px;
  font-size: 1.2rem; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
  font-family: inherit; line-height: 1;
}
.week-nav-btn:disabled { opacity: 0.3; cursor: default; }
.week-nav-btn:hover:not(:disabled) { background: rgba(196,150,58,0.15); border-color: rgba(196,150,58,0.3); }
.week-nav-label {
  font-size: 0.88rem; color: #E8DDD0; font-weight: 500;
  min-width: 140px; text-align: center;
}

/* Day tabs */
.day-tabs { margin-bottom: 22px; }
.day-tabs-row { display: flex; gap: 6px; flex-wrap: wrap; }
.day-tab {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  color: #6A6058; border-radius: 8px;
  padding: 8px 16px; font-size: 0.78rem; cursor: pointer;
  transition: all 0.2s; font-family: inherit;
}
.day-tab.active {
  background: rgba(26,39,64,0.9);
  border-color: rgba(196,150,58,0.32);
  color: #E8DDD0;
}
.day-tab:hover:not(.active) { color: #A89878; border-color: rgba(255,255,255,0.14); }
.day-tab-date { display: block; font-size: 11px; opacity: 0.7; margin-top: 2px; font-weight: 400; }

/* Slots grid */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 14px;
}
.no-slots { color: #4A4440; font-size: 0.88rem; padding: 28px 0; }

/* Slot card */
.slot-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 18px 16px;
  display: flex; flex-direction: column; gap: 7px;
  transition: border-color 0.2s, transform 0.15s;
}
.slot-card.slot-available:hover {
  border-color: rgba(196,150,58,0.28);
  transform: translateY(-1px);
}
.slot-card.slot-booked  { border-color: rgba(92,191,138,0.28); background: rgba(92,191,138,0.04); }
.slot-card.slot-full    { opacity: 0.52; }
.slot-card.slot-blocked { opacity: 0.35; }

.slot-time  {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; color: #C4963A; line-height: 1;
}
.slot-name  { font-size: 0.87rem; font-weight: 500; color: #E8DDD0; }
.slot-instr { font-size: 0.76rem; color: #6A6058; }
.slot-occ   { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.slot-bar   { flex: 1; height: 3px; background: rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden; }
.slot-bar-fill { height: 100%; border-radius: 2px; transition: width 0.3s; }
.slot-count { font-size: 0.70rem; color: #4A4440; white-space: nowrap; }

.btn-reserve {
  margin-top: 6px;
  background: linear-gradient(135deg, #C4963A 0%, #A87830 100%);
  color: #080D15; border: none; border-radius: 7px; padding: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.06em;
  cursor: pointer; transition: opacity 0.2s;
}
.btn-reserve:hover { opacity: 0.85; }
.slot-status-text { font-size: 0.75rem; color: #4A4440; margin-top: 6px; }
.slot-booked-label { color: #5cbf8a; }
.slot-booked-actions {
  display: flex; align-items: center; gap: 6px; justify-content: center;
}
.slot-quick-change, .slot-quick-cancel {
  background: none; border: none; cursor: pointer;
  font-size: 1rem; padding: 8px 12px; border-radius: 6px;
  transition: all 0.15s; line-height: 1;
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}
.slot-quick-change {
  color: #d4a853; border: 1px solid rgba(212,168,83,0.3);
}
.slot-quick-change:hover { background: rgba(212,168,83,0.15); }
.slot-quick-change:active { background: rgba(212,168,83,0.25); }
.slot-quick-cancel {
  color: #e05252; border: 1px solid rgba(224,82,82,0.3);
}
.slot-quick-cancel:hover { background: rgba(224,82,82,0.15); }
.slot-quick-cancel:active { background: rgba(224,82,82,0.25); }

/* My bookings */
.bookings-list { display: flex; flex-direction: column; gap: 11px; }
/* Bookings section titles */
.bookings-section-title {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: #6A6058; margin: 20px 0 10px; border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 6px;
}
.bookings-section-title:first-child { margin-top: 0; }

/* Booking type badges */
.booking-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 600;
  border-radius: 4px; padding: 2px 7px; letter-spacing: 0.05em;
  margin-bottom: 6px; align-self: flex-start;
}
.booking-badge-fixed {
  background: rgba(196,150,58,0.12); border: 1px solid rgba(196,150,58,0.22); color: #C4963A;
}
.booking-badge-once {
  background: rgba(52,152,219,0.10); border: 1px solid rgba(52,152,219,0.22); color: #5DADE2;
}

.booking-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 13px; padding: 16px 18px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  position: relative;
}
@media (max-width: 600px) {
  .booking-card {
    flex-direction: column; align-items: stretch;
  }
  .booking-card .booking-actions {
    margin-left: 0; justify-content: flex-end;
    margin-top: 4px; padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
}
.booking-disc {
  background: rgba(196,150,58,0.10);
  border: 1px solid rgba(196,150,58,0.18);
  color: #C4963A; border-radius: 6px;
  padding: 6px 11px; font-size: 0.68rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap; flex-shrink: 0;
}
.booking-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.booking-info strong { font-size: 0.88rem; color: #E8DDD0; }
.booking-info span   { font-size: 0.76rem; color: #6A6058; }
.btn-cancel-booking {
  background: none;
  border: 1px solid rgba(224,82,82,0.28);
  color: #e05252; border-radius: 8px;
  padding: 10px 16px; font-size: 0.85rem;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
  flex-shrink: 0; font-weight: 500;
  min-height: 44px; min-width: 44px;
}
.btn-cancel-booking:hover { background: rgba(224,82,82,0.12); }
.btn-cancel-booking:active { background: rgba(224,82,82,0.25); transform: scale(0.97); }
.btn-cancel-booking:disabled { opacity: 0.5; pointer-events: none; }

.btn-change-turno {
  min-height: 44px; min-width: 44px;
}
.btn-change-turno:disabled { opacity: 0.5; pointer-events: none; }

.booking-actions {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  margin-left: auto;
}

@media (max-width: 600px) {
  .booking-actions {
    width: 100%; justify-content: stretch; gap: 6px;
  }
  .booking-actions .btn-cancel-booking,
  .booking-actions .btn-change-turno {
    flex: 1; text-align: center;
  }
}
.btn-gcal-sm {
  font-size: 1.1rem; text-decoration: none;
  opacity: 0.6; transition: opacity 0.2s;
}
.btn-gcal-sm:hover { opacity: 1; }

.cancel-warning {
  display: block; width: 100%;
  font-size: 0.72rem; color: #e05252;
  margin-top: 6px; padding-top: 6px;
  border-top: 1px solid rgba(224,82,82,0.12);
}

/* Planes tab */
.plan-welcome-banner {
  background: linear-gradient(135deg, rgba(39,174,96,0.12), rgba(39,174,96,0.06));
  border: 1px solid rgba(39,174,96,0.28);
  border-radius: 10px; padding: 16px 20px;
  font-size: 0.88rem; color: #6FCF97; margin-bottom: 20px; line-height: 1.6;
}
.plan-welcome-banner strong { display: block; font-size: 0.95rem; margin-bottom: 4px; color: #A8E6BE; }

.plan-pending-banner {
  background: linear-gradient(135deg, rgba(196,150,58,0.14), rgba(196,150,58,0.07));
  border: 1px solid rgba(196,150,58,0.32);
  border-radius: 10px; padding: 16px 20px;
  font-size: 0.88rem; color: #C4963A; margin-bottom: 20px; line-height: 1.6;
}
.plan-pending-banner strong { display: block; font-size: 0.95rem; margin-bottom: 4px; color: #D9AF6E; }

.plan-redirect-banner {
  background: rgba(196,150,58,0.10);
  border: 1px solid rgba(196,150,58,0.28);
  border-radius: 10px; padding: 14px 18px;
  font-size: 0.88rem; color: #C4963A; margin-bottom: 24px;
}
.planes-intro {
  font-size: 0.85rem; color: #7A7060; line-height: 1.7;
  margin-bottom: 24px; max-width: 600px;
}

/* Trial class card */
.trial-card {
  position: relative;
  background: linear-gradient(135deg, rgba(196,150,58,0.10), rgba(196,150,58,0.04));
  border: 1px solid rgba(196,150,58,0.30);
  border-radius: 14px; padding: 24px 28px;
  margin-bottom: 28px; max-width: 520px;
}
.trial-badge {
  position: absolute; top: -10px; left: 20px;
  background: linear-gradient(135deg, #C4963A, #A07828);
  color: #fff; font-size: 0.7rem; font-weight: 600;
  padding: 3px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.trial-content {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.trial-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600; color: #E8DDD0;
  margin-bottom: 4px;
}
.trial-desc {
  font-size: 0.8rem; color: #8A8070; line-height: 1.5;
  margin-bottom: 8px; max-width: 300px;
}
.trial-price {
  font-size: 1.4rem; font-weight: 700; color: #C4963A;
}
.trial-price .pc { font-size: 0.8rem; vertical-align: super; margin-right: 1px; }
.btn-trial-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff; border: none;
  border-radius: 10px; padding: 12px 22px;
  font-size: 0.85rem; font-weight: 600; font-family: inherit;
  text-decoration: none; cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.btn-trial-wa:hover { background: #20bd5a; }

.planes-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 16px; margin-bottom: 28px;
}
.plan-card-app {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 24px 20px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.plan-card-app.plan-card-featured {
  border-color: rgba(196,150,58,0.32);
  background: rgba(196,150,58,0.04);
}
.plan-badge-sm {
  position: absolute; top: -11px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #C4963A 0%, #A87830 100%);
  color: #080D15; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.10em; padding: 4px 12px; border-radius: 20px;
  white-space: nowrap;
}
.plan-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 500; color: #E8DDD0;
}
.plan-name span { font-weight: 400; color: #7A7060; }
.plan-price-app {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem; font-weight: 500; color: #C4963A; line-height: 1;
}
.plan-price-app .pc { font-size: 1.1rem; }
.plan-price-app .pp { font-size: 1rem; color: #6A6058; }
.plan-price-consult { font-size: 1.2rem; color: #7A7060; }
.plan-credits-app { font-size: 0.78rem; color: #6A6058; letter-spacing: 0.06em; }
.btn-plan-pay {
  display: block; text-align: center; text-decoration: none;
  border-radius: 8px; padding: 11px 14px;
  font-size: 0.82rem; letter-spacing: 0.04em;
  cursor: pointer; transition: opacity 0.2s; margin-top: auto;
}
.btn-plan-outline {
  border: 1px solid rgba(196,150,58,0.35);
  color: #C4963A; background: transparent;
}
.btn-plan-outline:hover { background: rgba(196,150,58,0.08); }
.btn-plan-gold {
  background: linear-gradient(135deg, #C4963A 0%, #A87830 100%);
  color: #080D15; border: none; font-weight: 600;
  font-family: 'Cormorant Garamond', serif; font-size: 0.9rem;
}
.btn-plan-gold:hover { opacity: 0.87; }
.btn-plan-wa {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  text-align: center; text-decoration: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 9px 14px;
  font-size: 0.75rem; letter-spacing: 0.05em;
  color: rgba(232,221,208,0.42);
  cursor: pointer; transition: color 0.2s;
}
.btn-plan-wa:hover { color: rgba(232,221,208,0.8); }
.btn-plan-wa svg { flex-shrink: 0; opacity: 0.65; }
.btn-plan-wa:hover svg { opacity: 1; }

.planes-note {
  font-size: 0.78rem; color: #5A5248; line-height: 1.7;
  max-width: 540px; border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
}

/* Wellhub card */
.wellhub-card {
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(255,87,34,0.08), rgba(255,152,0,0.05));
  border: 1px solid rgba(255,120,50,0.25);
  border-radius: 14px; padding: 24px 28px;
  max-width: 520px;
}
.wellhub-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.wellhub-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem; font-weight: 700; color: #FF7832;
  letter-spacing: -0.3px;
}
.wellhub-badge {
  font-size: 0.65rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; color: #FF9850;
  background: rgba(255,120,50,0.12); border: 1px solid rgba(255,120,50,0.25);
  padding: 2px 10px; border-radius: 20px;
}
.wellhub-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600; color: #E8DDD0;
  margin-bottom: 6px;
}
.wellhub-desc {
  font-size: 0.82rem; color: #8A8070; line-height: 1.5;
  margin-bottom: 16px;
}
.btn-wellhub-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff; border: none;
  border-radius: 10px; padding: 12px 22px;
  font-size: 0.85rem; font-weight: 600; font-family: inherit;
  text-decoration: none; cursor: pointer; transition: all 0.2s;
}
.btn-wellhub-wa:hover { background: #20bd5a; }
/* Efectivo button */
.btn-plan-efectivo {
  display: block; width: 100%; margin-top: 6px;
  background: transparent; color: #8A8070;
  border: 1px solid rgba(138,128,112,0.3); border-radius: 10px;
  padding: 10px 18px; font-size: 0.82rem; font-weight: 500;
  font-family: inherit; cursor: pointer; transition: all 0.2s;
  text-align: center;
}
.btn-plan-efectivo:hover {
  background: rgba(138,128,112,0.1); border-color: rgba(138,128,112,0.5); color: #C4963A;
}

.wellhub-credits-badge {
  display: inline-block; font-size: 0.82rem; font-weight: 700; color: #FF9850;
  background: rgba(255,120,50,0.10); border: 1px solid rgba(255,120,50,0.25);
  padding: 4px 14px; border-radius: 20px; margin-bottom: 14px;
}
.btn-wellhub-request {
  display: block; width: 100%; background: linear-gradient(135deg, #FF7832, #FF9850);
  color: #fff; border: none; border-radius: 10px; padding: 13px 22px;
  font-size: 0.9rem; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all 0.2s; text-align: center;
}
.btn-wellhub-request:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-wellhub-request:disabled {
  opacity: 0.5; cursor: not-allowed; filter: none; transform: none;
}
.wellhub-note {
  font-size: 0.72rem; color: #8A8070; margin-top: 10px; text-align: center;
}

/* ── Modal ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 200; backdrop-filter: blur(4px);
}
.modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #111D32;
  border: 1px solid rgba(196,150,58,0.18);
  border-radius: 18px; padding: 32px;
  width: 90%; max-width: 420px; z-index: 201;
}
.modal-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 24px;
}
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 500;
}
.modal-close {
  background: none; border: none; color: #6A6058;
  font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.book-detail { display: flex; flex-direction: column; gap: 11px; margin-bottom: 20px; }
.book-info-row { display: flex; justify-content: space-between; font-size: 0.88rem; }
.book-info-label { color: #6A6058; }
/* ── Booking type selector ───────────────────────────── */
.book-type-selector {
  display: flex; gap: 10px; margin-bottom: 16px;
}
.book-type-option {
  flex: 1; cursor: pointer;
}
.book-type-option input[type="radio"] { display: none; }
.book-type-card {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid rgba(255,255,255,0.09);
  border-radius: 10px; padding: 12px 13px;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(255,255,255,0.03);
}
.book-type-option input:checked + .book-type-card {
  border-color: #C4963A;
  background: rgba(196,150,58,0.08);
}
.book-type-icon { font-size: 1.3rem; flex-shrink: 0; }
.book-type-text { display: flex; flex-direction: column; gap: 2px; }
.book-type-text strong { font-size: 0.84rem; color: #E8DDD0; }
.book-type-text span   { font-size: 0.73rem; color: #6A6058; }
.book-type-option input:checked + .book-type-card .book-type-text strong { color: #C4963A; }
.book-type-option input:checked + .book-type-card .book-type-text span   { color: #9A7A58; }

.book-credit-note { font-size: 0.78rem; color: #6A6058; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; }
.btn-outline-sm {
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  color: #9A8878; border-radius: 8px;
  padding: 10px 20px; font-size: 0.86rem;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.btn-outline-sm:hover { border-color: rgba(255,255,255,0.25); }
.btn-gold-sm {
  background: linear-gradient(135deg, #C4963A 0%, #A87830 100%);
  color: #080D15; border: none; border-radius: 8px;
  padding: 10px 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 600; letter-spacing: 0.06em;
  cursor: pointer; transition: opacity 0.2s;
}
.btn-gold-sm:hover { opacity: 0.87; }
.btn-gold-sm:disabled { opacity: 0.45; cursor: not-allowed; }

/* Google Calendar button */
.btn-gcal {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(66,133,244,0.15); border: 1px solid rgba(66,133,244,0.4);
  color: #8AB4F8; border-radius: 8px; padding: 10px 22px;
  font-size: 0.88rem; font-family: inherit; text-decoration: none;
  cursor: pointer; transition: all 0.2s;
}
.btn-gcal:hover { background: rgba(66,133,244,0.25); border-color: rgba(66,133,244,0.6); }

/* ── Loading overlay ─────────────────────────────────── */
.loading-overlay {
  position: fixed; inset: 0; background: #080D15;
  z-index: 500;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px;
}
.loading-logo { text-align: center; }
.loading-logo .logo-main { font-size: 1.8rem; }
.loading-logo .logo-the  { font-size: 0.8rem; margin-bottom: 2px; }
.loading-spinner {
  width: 32px; height: 32px;
  border: 2px solid rgba(196,150,58,0.18);
  border-top-color: #C4963A;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Toast ───────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: rgba(17,29,50,0.97);
  border: 1px solid rgba(196,150,58,0.28);
  color: #E8DDD0; border-radius: 9px;
  padding: 12px 24px; font-size: 0.86rem;
  z-index: 600; backdrop-filter: blur(10px);
  white-space: nowrap; pointer-events: none;
}

/* ── GIFT CARDS ──────────────────────────────────────── */
.gc-redeem-card {
  background: linear-gradient(135deg, #fdf6ec 0%, #fef9f0 100%);
  border: 2px dashed #d4a853;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 2rem;
}
.gc-redeem-icon { font-size: 2.4rem; margin-bottom: 6px; }
.gc-redeem-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #1a1a1a;
  margin-bottom: 14px;
}
.gc-redeem-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.gc-input {
  padding: 12px 16px;
  border: 1.5px solid #ccc;
  border-radius: 10px;
  font-size: 1.05rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  text-align: center;
  width: 220px;
  transition: border-color .2s;
}
.gc-input:focus { border-color: #d4a853; outline: none; }
.btn-gc-redeem {
  padding: 12px 24px;
  background: #d4a853;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background .2s;
}
.btn-gc-redeem:hover { background: #c0963e; }
.btn-gc-redeem:disabled { opacity: .5; cursor: not-allowed; }

.gc-msg {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.gc-msg-success { background: #e8f8ef; color: #1a7a3a; border: 1px solid #b8e6c8; }
.gc-msg-error   { background: #fdeaea; color: #a33; border: 1px solid #f5c6c6; }
.gc-code-highlight {
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: #fff8e7;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid #d4a853;
  margin: 4px 0;
}

.gc-section-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.gc-section-sub {
  color: #777;
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.gc-credits-avail {
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 16px;
  padding: 8px 14px;
  background: #f5f5f5;
  border-radius: 8px;
  display: inline-block;
}

.gc-packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 1rem;
}
.gc-pack-card {
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.gc-pack-card:hover { border-color: #d4a853; box-shadow: 0 4px 16px rgba(212,168,83,.12); }
.gc-pack-icon { font-size: 2rem; margin-bottom: 8px; }
.gc-pack-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.gc-pack-desc { font-size: 0.8rem; color: #888; margin-bottom: 8px; }
.gc-pack-credits {
  font-weight: 600;
  font-size: 0.92rem;
  color: #d4a853;
  margin-bottom: 14px;
}
.btn-gc-create {
  width: 100%;
  padding: 10px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, opacity .2s;
}
.btn-gc-create:hover { background: #333; }
.btn-gc-create:disabled { opacity: .35; cursor: not-allowed; }

/* My gift cards list */
.gc-my-cards { display: flex; flex-direction: column; gap: 12px; }
.gc-empty { color: #999; font-size: 0.9rem; text-align: center; padding: 20px; }
.gc-card {
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  padding: 16px 18px;
  transition: border-color .2s;
}
.gc-card:hover { border-color: #d4a853; }
.gc-card-used { opacity: .6; }
.gc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.gc-card-pack { font-weight: 600; font-size: 0.95rem; color: #1a1a1a; }
.gc-card-date { font-size: 0.8rem; color: #999; }
.gc-card-code {
  font-family: 'Courier New', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #d4a853;
  padding: 10px 0;
  text-align: center;
}
.gc-code-copyable { cursor: pointer; }
.gc-code-copyable:hover { color: #c0963e; }
.gc-card-status { font-size: 0.82rem; text-align: center; }
.gc-status-active { color: #27ae60; }
.gc-status-used { color: #999; }

.btn-gc-download {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #d4a853 0%, #c0963e 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}
.btn-gc-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212,168,83,.3);
}
.btn-gc-download-sm {
  display: block;
  margin: 10px auto 0;
  padding: 8px 18px;
  background: #f5f0e5;
  color: #8B6914;
  border: 1.5px solid #d4a853;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.btn-gc-download-sm:hover { background: #ede4cf; }

/* ── CHANGE TURNO MODAL ─────────────────────────────── */
.change-current {
  background: #f8f5f0;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: #555;
}
.change-current strong { color: #1a1a1a; }
.change-separator {
  font-weight: 600;
  font-size: 0.92rem;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.change-disc-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.change-disc-tab {
  padding: 6px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  background: #fff;
  transition: all .15s;
}
.change-disc-tab.active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}
.change-slots-grid {
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.change-slot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s;
  font-size: 0.85rem;
}
.change-slot-row:hover { border-color: #d4a853; background: #fdf8ef; }
.change-slot-row.change-slot-full {
  opacity: .45;
  cursor: not-allowed;
  background: #f9f9f9;
}
.change-slot-row.change-slot-current {
  border-color: #d4a853;
  background: #fdf8ef;
  opacity: .5;
  cursor: not-allowed;
}
.change-slot-info { display: flex; flex-direction: column; gap: 2px; }
.change-slot-day { font-weight: 600; color: #1a1a1a; }
.change-slot-class { font-size: 0.82rem; color: #666; }
.change-slot-occ { font-size: 0.78rem; color: #999; white-space: nowrap; }
.change-note {
  font-size: 0.8rem;
  color: #888;
  text-align: center;
  margin-top: 4px;
}
.btn-change-turno {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  background: transparent;
  color: #d4a853;
  border: 1.5px solid #d4a853;
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
  font-family: inherit;
}
.btn-change-turno:active { background: rgba(212,168,83,0.2); }
.btn-change-turno:hover { background: #d4a853; color: #fff; }

/* ── In-app browser warning ──────────────────────────── */
.inapp-warning {
  background: #3a1a1a;
  border: 1px solid #c0392b;
  color: #f5c6c6;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 20px;
}
.inapp-warning strong { color: #fff; }
.inapp-warning small  { display: block; margin-top: 6px; opacity: 0.75; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 540px) {
  .auth-card  { padding: 36px 22px; }
  .app-body   { padding: 20px 14px 70px; }
  .main-tab   { padding: 12px 10px; font-size: 0.7rem; }
  .slots-grid { grid-template-columns: 1fr 1fr; }
  .booking-card { flex-wrap: wrap; }
  .booking-disc { width: 100%; }
  .planes-grid  { grid-template-columns: 1fr; }
  .gc-packs-grid { grid-template-columns: 1fr 1fr; }
  .gc-redeem-card { padding: 20px 16px; }
  .gc-input { width: 170px; font-size: 0.95rem; }
}
