/* ==========================================================================
   FALCON BADMINTON CLUB — USER AUTHENTICATION & ACCOUNT STYLES (css/user-auth.css)
   Red (#c71010), White (#FFF) & Dark (#111116) Design System
   ========================================================================== */

/* ── 1. HEADER AUTH CONTROLS ── */
.nav-auth-container {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  position: relative;
  z-index: 1001;
}

/* Sleek Circular User Icon Button (Icon Only - Matching User Screenshot) */
.nav-auth-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF !important;
  color: #111116 !important;
  border: none !important;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  flex-shrink: 0;
}

.nav-auth-login-btn svg {
  width: 18px;
  height: 18px;
  stroke: #111116;
  transition: stroke 0.2s ease;
}

.nav-auth-login-btn:hover {
  background: #c71010 !important;
  color: #FFFFFF !important;
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(199, 16, 16, 0.4);
}

.nav-auth-login-btn:hover svg {
  stroke: #FFFFFF !important;
}

#navbar.dark .nav-auth-login-btn:hover,
.nav-dark .nav-auth-login-btn:hover,
.hero-nav .nav-auth-login-btn:hover {
  color: #FFFFFF;
  background: rgba(199, 16, 16, 0.25);
  border-color: #c71010;
}

/* Sleek Pill Sign In Button */
.btn-nav-auth-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

#navbar:not(.dark):not(.hero-nav) .btn-nav-auth-login,
.nav-light .btn-nav-auth-login {
  color: #0F172A;
  border-color: #CBD5E1;
  background: #FFFFFF;
}

.btn-nav-auth-login:hover {
  background: #c71010 !important;
  border-color: #c71010 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(199, 16, 16, 0.35);
}

/* ── Authenticated Avatar Trigger ── */
.nav-auth-user-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-auth-avatar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 2px solid rgba(17, 17, 22, 0.12) !important;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: visible;
  outline: none;
}

.nav-auth-avatar-btn:hover,
.nav-auth-avatar-btn.active {
  border-color: #c71010 !important;
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(199, 16, 16, 0.28);
}

.nav-auth-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.nav-auth-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #c71010 0%, #990000 100%);
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-auth-status-dot {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
}

.nav-auth-status-dot.guest-red {
  background: #EF4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

.nav-auth-status-dot.member-gold {
  background: #F59E0B;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
}

/* ── 2. ULTRA MODERN 2026 LUXURY DROPDOWN MENU ── */
.nav-auth-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 290px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14), 0 4px 14px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 14px;
  display: none;
  flex-direction: column;
  z-index: 99999;
  animation: authDropSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: top right;
  backdrop-filter: blur(16px);
}

.nav-auth-dropdown.show {
  display: flex;
}

@keyframes authDropSlide {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* User Profile Header */
.nav-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 12px;
}

.nav-dropdown-avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #c71010 0%, #880000 100%);
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(199, 16, 16, 0.25);
  flex-shrink: 0;
}

.nav-dropdown-user-meta {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.nav-dropdown-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  margin-bottom: 2px;
}

.nav-dropdown-email {
  font-size: 0.76rem;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

/* Role Badge Row */
.nav-dropdown-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #F8FAFC;
  border-radius: 12px;
  margin: 4px 0 12px;
  border: 1px solid #EDF2F7;
}

.nav-dropdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 50px;
}

.nav-dropdown-pill.guest {
  background: #FFF1F2;
  color: #c71010;
  border: 1px solid #FFE4E6;
}

.nav-dropdown-pill.member {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.nav-dropdown-id {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.02em;
}

.nav-dropdown-divider {
  height: 1px;
  background: #F1F5F9;
  margin: 6px 0;
}

/* Nav Dropdown Items */
.nav-dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #1E293B;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  background: transparent;
  border: none;
}

.nav-dropdown-item:hover {
  background: #F8FAFC;
  transform: translateX(3px);
}

.item-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #F1F5F9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.nav-dropdown-item:hover .item-icon-box {
  background: #c71010;
  color: #FFFFFF;
  transform: scale(1.06);
  box-shadow: 0 4px 10px rgba(199, 16, 16, 0.25);
}

.item-text-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.item-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.2;
}

.item-sub {
  font-size: 0.69rem;
  color: #94A3B8;
  font-weight: 500;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-arrow {
  color: #CBD5E1;
  transition: all 0.2s ease;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-dropdown-item:hover .item-arrow {
  color: #c71010;
  transform: translateX(2px);
}

/* Logout Button */
.nav-dropdown-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  margin-top: 8px;
  border-radius: 12px;
  background: #FFF5F5;
  border: 1px solid #FFE4E6;
  color: #c71010;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-dropdown-logout-btn:hover {
  background: #c71010;
  color: #FFFFFF;
  border-color: #c71010;
  box-shadow: 0 4px 14px rgba(199, 16, 16, 0.3);
  transform: translateY(-1px);
}

.nav-auth-drop-divider {
  height: 1px;
  background: #F1F5F9;
  margin: 6px 0;
}

/* ── 3. GOOGLE SIGN-IN MODAL (FALCON BRANDED) ── */
.falcon-auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: authFade 0.24s ease forwards;
}

.falcon-auth-modal-overlay.show {
  display: flex;
}

@keyframes authFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.falcon-auth-modal-card {
  background: #FFFFFF;
  border-radius: 28px;
  width: 100%;
  max-width: 450px;
  padding: 36px 30px 28px 30px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.65);
  position: relative;
  text-align: center;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.falcon-auth-modal-card.legal-card {
  max-width: 560px;
  padding: 30px 28px 24px 28px;
  text-align: left;
}

.falcon-auth-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.falcon-auth-modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: rotate(90deg);
}

.falcon-auth-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF1F2;
  border: 1.5px solid #FFE4E6;
  color: #c71010;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.falcon-auth-modal-header {
  margin-bottom: 14px;
  text-align: center;
}

.falcon-auth-modal-header h2 {
  margin: 0;
  padding: 0;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 1.85rem;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.falcon-brand-sub {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 2.7rem;
  font-weight: 950;
  color: #c71010;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-top: 4px;
}

.falcon-auth-subtitle {
  font-size: 0.86rem;
  color: #64748B;
  line-height: 1.5;
  margin: 0 0 22px 0;
  padding: 0 4px;
  text-align: center;
}

/* Official Google Button */
.btn-google-auth {
  width: 100%;
  height: 52px;
  background: #FFFFFF;
  border: 1.5px solid #FDA4AF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.96rem;
  font-weight: 800;
  color: #0F172A;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.08);
  margin-bottom: 22px;
  box-sizing: border-box;
}

.btn-google-auth:hover {
  border-color: #F43F5E;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.16);
  transform: translateY(-1px);
}

.btn-google-auth:active {
  transform: translateY(0);
}

.btn-google-auth svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Divider */
.falcon-auth-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  gap: 14px;
}

.falcon-auth-divider::before,
.falcon-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}

.falcon-auth-divider span {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Benefits Container Grid */
.falcon-auth-benefits-grid {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 18px 18px;
  text-align: left;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.falcon-benefit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.falcon-benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFF1F2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.falcon-benefit-title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.falcon-benefit-desc {
  font-size: 0.78rem;
  color: #64748B;
  margin-top: 2px;
}

.falcon-terms-text {
  font-size: 0.76rem;
  color: #64748B;
  line-height: 1.45;
  text-align: left;
}

.terms-link {
  color: #c71010;
  font-weight: 800;
  text-decoration: underline;
}

.falcon-auth-terms-checkbox-wrap.terms-accepted {
  background: #F0FDF4 !important;
  border-color: #10B981 !important;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.12) !important;
}

.custom-terms-check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #CBD5E1;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.custom-terms-check-box .check-svg {
  width: 13px;
  height: 13px;
  stroke: #FFFFFF !important;
  stroke-width: 3.5 !important;
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.falcon-auth-terms-checkbox-wrap.terms-accepted .custom-terms-check-box {
  background: #10B981 !important;
  border-color: #10B981 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4) !important;
}

.falcon-auth-terms-checkbox-wrap.terms-accepted .custom-terms-check-box .check-svg {
  opacity: 1 !important;
  transform: scale(1) !important;
  stroke: #FFFFFF !important;
}

@keyframes termsShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.falcon-auth-terms-checkbox-wrap.terms-warning {
  border-color: #EF4444 !important;
  background: #FEF2F2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
  animation: termsShake 0.4s ease;
}

.auth-alert-notification-box {
  color: #DC2626;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 14px 0;
  animation: termsShake 0.35s ease;
  line-height: 1.4;
}

/* ── 4. ACCOUNT DASHBOARD & BOOKINGS (account.html) ── */
.account-page-wrap {
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: 100vh;
  background: #F8FAFC;
}

.account-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Profile Header Card */
.account-profile-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}

.account-user-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.account-big-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #c71010 0%, #880808 100%);
  color: #FFFFFF;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(199, 16, 16, 0.28);
  border: 3px solid #FFFFFF;
}

.account-user-details h1 {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 1.65rem;
  font-weight: 900;
  color: #0F172A;
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
}

.account-user-details p {
  font-size: 0.88rem;
  color: #64748B;
  margin: 0 0 10px 0;
}

.account-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.account-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 100px;
}

.account-status-pill.member {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.account-status-pill.active {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.account-actions-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-account-cta {
  background: #c71010;
  color: #FFFFFF;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(199, 16, 16, 0.3);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-account-cta:hover {
  background: #a50d0d;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(199, 16, 16, 0.4);
}

.btn-account-secondary {
  background: #FFFFFF;
  color: #334155;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #CBD5E1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-account-secondary:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
}

/* ── 5. BOOKINGS TAB NAVIGATION & CARDS ── */
.account-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #E2E8F0;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.account-tabs-group {
  display: flex;
  gap: 8px;
}

.account-tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  color: #64748B;
  padding: 12px 18px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.account-tab-btn span.count {
  background: #E2E8F0;
  color: #475569;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 800;
}

.account-tab-btn.active {
  color: #c71010;
}

.account-tab-btn.active span.count {
  background: rgba(199, 16, 16, 0.12);
  color: #c71010;
}

.account-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: #c71010;
  border-radius: 3px 3px 0 0;
}

/* Bookings Grid Layout */
.bookings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 22px;
}

.booking-item-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.22s ease;
  cursor: pointer;
}

.booking-item-card:hover {
  transform: translateY(-3px);
  border-color: #CBD5E1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.booking-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.booking-court-name {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 1.05rem;
  font-weight: 900;
  color: #0F172A;
  margin: 0 0 2px 0;
}

.booking-court-type {
  font-size: 0.76rem;
  color: #64748B;
  font-weight: 600;
}

.booking-card-id {
  font-family: monospace;
  font-size: 0.72rem;
  background: #F1F5F9;
  color: #475569;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.booking-card-datetime {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #F1F5F9;
}

.booking-date-block strong {
  display: block;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
}

.booking-date-block span {
  font-size: 0.74rem;
  color: #64748B;
}

.booking-time-block {
  text-align: right;
}

.booking-time-block strong {
  display: block;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.88rem;
  font-weight: 800;
  color: #c71010;
}

.booking-time-block span {
  font-size: 0.74rem;
  color: #64748B;
}

.booking-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed #E2E8F0;
}

.booking-pills-wrap {
  display: flex;
  gap: 6px;
}

.badge-confirmed {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
}

.badge-paid {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
}

.booking-card-price {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.98rem;
  font-weight: 900;
  color: #0F172A;
}

/* Empty State Styling */
.account-empty-state {
  grid-column: 1 / -1;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 60px 24px;
  text-align: center;
  border: 2px dashed #CBD5E1;
}

.account-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(199, 16, 16, 0.08);
  color: #c71010;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
}

.account-empty-title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 1.25rem;
  font-weight: 900;
  color: #0F172A;
  margin: 0 0 6px 0;
}

.account-empty-sub {
  font-size: 0.88rem;
  color: #64748B;
  margin: 0 0 22px 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ── 6. BOOKING DETAILS MODAL (FULL RECEIPT & QR PASS) ── */
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.booking-modal-overlay.show {
  display: flex;
}

.booking-modal-card {
  background: #FFFFFF;
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

/* ── 7. MULTI-TAB NAVIGATION & BENEFIT ENTITLEMENTS ── */
.account-nav-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 6px;
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}
.account-nav-bar::-webkit-scrollbar {
  display: none;
}

.account-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.84rem;
  font-weight: 800;
  color: #64748B;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
}

.account-nav-tab:hover {
  color: #0F172A;
  background: #F8FAFC;
}

.account-nav-tab.active {
  background: #c71010;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(199, 16, 16, 0.25);
}

.account-nav-tab .tab-badge-count {
  background: rgba(0, 0, 0, 0.1);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 900;
}
.account-nav-tab.active .tab-badge-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Benefit Cards & Quota Widgets */
.benefit-quota-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.benefit-quota-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 22px 24px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.benefit-quota-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.quota-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.quota-pill {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 6px;
}
.quota-pill.available {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}
.quota-pill.exhausted {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECDD3;
}

.quota-progress-track {
  width: 100%;
  height: 6px;
  background: #F1F5F9;
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0 8px 0;
}

.quota-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #c71010 0%, #E11D48 100%);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* Session Claim Cards (Private Sessions Tab) */
.claim-session-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.claim-session-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.claim-session-card.available {
  border-color: #A7F3D0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
}

.claim-session-card.claimed {
  border-color: #E2E8F0;
  background: #FFFFFF;
}

.btn-claim-action {
  width: 100%;
  padding: 12px 20px;
  border-radius: 12px;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 0.85rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-claim-action.available {
  background: #10B981;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}
.btn-claim-action.available:hover {
  background: #059669;
  transform: translateY(-1px);
}

.btn-claim-action.claimed {
  background: #F1F5F9;
  color: #94A3B8;
  cursor: not-allowed;
}

/* Event Tickets & Programs Grid */
.tickets-grid,
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.ticket-card,
.program-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.ticket-card:hover,
.program-card:hover {
  border-color: #c71010;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-auth-container {
    margin-left: 6px;
  }
  .nav-auth-name {
    display: none;
  }
  .nav-auth-avatar-btn {
    padding: 3px;
  }
  .account-profile-card {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .bookings-grid,
  .claim-session-grid,
  .tickets-grid,
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .account-page-wrap {
    padding-top: 85px;
  }
}
