/* ── Member Area Dashboard — Nairobi Gymkhana ─────────────────────────── */
:root {
  --primary:   #0693e3;
  --primary-dk:#057ab8;
  --accent:    #07d8c3;
  --dark:      #1a2e35;
  --sidebar-w: 260px;
  --header-h:  70px;
  --radius:    12px;
  --shadow:    0 4px 20px rgba(0,0,0,.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,.12);
  --bg:        #f0f4f8;
  --card-bg:   #ffffff;
  --text:      #2c3e50;
  --muted:     #6b7280;
  --border:    #e5e9ef;
}

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

body {
  font-family: 'Golos Text', 'Saira', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── SIDEBAR ─────────────────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  z-index: 200;
  transition: transform .3s ease;
  overflow-y: auto;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.sidebar-logo-text { line-height: 1.2; }
.sidebar-logo-text strong { color: #fff; font-size: 15px; font-family: 'Saira', sans-serif; }
.sidebar-logo-text span  { color: var(--accent); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

.sidebar-nav { flex: 1; padding: 18px 0; }

.nav-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 14px 24px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 24px;
  color: rgba(255,255,255,.65);
  font-size: 14px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all .2s;
  position: relative;
}

.nav-item i { width: 18px; text-align: center; font-size: 15px; flex-shrink: 0; }

.nav-item:hover,
.nav-item.active {
  color: #fff;
  background: rgba(255,255,255,.07);
  border-left-color: var(--accent);
}

.nav-item.active { background: rgba(7,216,195,.1); }

.nav-badge {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  min-width: 20px;
  text-align: center;
}

.nav-item.logout { color: #ff6b6b; margin-top: 8px; }
.nav-item.logout:hover { background: rgba(255,107,107,.1); border-left-color: #ff6b6b; }

.sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  color: rgba(255,255,255,.3);
  text-align: center;
}

/* ── MAIN WRAPPER ────────────────────────────────────────────────────── */
.main-wrapper {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left .3s ease;
}

/* ── TOP HEADER ──────────────────────────────────────────────────────── */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.header-toggle {
  display: none;
  font-size: 20px;
  color: var(--text);
  padding: 6px;
}

.header-search {
  flex: 1;
  max-width: 380px;
  position: relative;
}

.header-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 14px;
  pointer-events: none;
}

.header-search input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  transition: border-color .2s;
  font-family: inherit;
}

.header-search input:focus { outline: none; border-color: var(--primary); }

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.header-club-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.notif-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text);
  transition: background .2s;
}

.notif-btn:hover { background: var(--border); }

.notif-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 9px; height: 9px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid #fff;
}

.member-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 40px;
  background: var(--bg);
  cursor: pointer;
  transition: background .2s;
}

.member-profile:hover { background: var(--border); }

.member-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.member-info { line-height: 1.2; }
.member-info strong { font-size: 13px; font-weight: 600; display: block; }
.member-info span   { font-size: 11px; color: var(--muted); }

/* ── PAGE CONTENT ────────────────────────────────────────────────────── */
.page-content {
  flex: 1;
  padding: 28px 28px 40px;
  overflow-y: auto;
}

.page-title {
  font-family: 'Saira', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.page-subtitle { font-size: 13px; color: var(--muted); margin-bottom: 26px; }

/* ── STAT CARDS ──────────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform .2s, box-shadow .2s;
}

.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.stat-icon.blue   { background: rgba(6,147,227,.12); color: var(--primary); }
.stat-icon.green  { background: rgba(7,216,195,.12); color: #059669; }
.stat-icon.orange { background: rgba(251,146,60,.12); color: #ea580c; }
.stat-icon.purple { background: rgba(139,92,246,.12); color: #7c3aed; }

.stat-info strong { font-size: 22px; font-weight: 700; font-family: 'Saira', sans-serif; display: block; }
.stat-info span   { font-size: 12px; color: var(--muted); }

/* ── GRID LAYOUT ─────────────────────────────────────────────────────── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
}

/* ── SECTION HEADER ──────────────────────────────────────────────────── */
.section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-hd h2 {
  font-family: 'Saira', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

.section-hd a {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

.section-hd a:hover { text-decoration: underline; }

/* ── EVENTS CARDS ────────────────────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.event-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.event-img {
  position: relative;
  height: 140px;
  overflow: hidden;
}

.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.event-card:hover .event-img img { transform: scale(1.05); }

.event-status {
  position: absolute;
  top: 10px; right: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.event-status.available { background: #dcfce7; color: #15803d; }
.event-status.full      { background: #fee2e2; color: #b91c1c; }

.event-body { padding: 14px 16px; }

.event-body h3 {
  font-family: 'Saira', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }

.event-meta span {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-meta i { color: var(--primary); width: 12px; }

.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.event-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.event-price.free { color: #059669; }

.btn-sm {
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  transition: background .2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-sm:hover { background: var(--primary-dk); }

.btn-sm--disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 1;
}

.btn-sm--disabled:hover {
  background: #e5e7eb;
  cursor: not-allowed;
}

/* ── BOOKINGS TABLE ──────────────────────────────────────────────────── */
.bookings-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 26px;
}

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

.bookings-table th {
  background: var(--bg);
  padding: 11px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.bookings-table td {
  padding: 12px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.bookings-table tr:last-child td { border-bottom: none; }
.bookings-table tr:hover td { background: #fafbfc; }

.dash-bk-actions { display: flex; gap: 6px; align-items: center; }

/* Responsive table → card list */
@media (max-width: 640px) {
  .bookings-table thead { display: none; }

  .bookings-table tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
  }

  .bookings-table tr:last-child { border-bottom: none; }
  .bookings-table tr:hover td { background: none; }

  .bookings-table td {
    display: block;
    padding: 0;
    border: none;
    font-size: 12px;
  }

  /* Facility name — full width, bold */
  .bookings-table td:nth-child(1) { width: 100%; font-size: 13px; }

  /* Date — grows to fill */
  .bookings-table td:nth-child(2) { flex: 1; color: var(--muted); }

  /* Court — hide on very small screens */
  .bookings-table td:nth-child(3) { display: none; }

  /* Status badge */
  .bookings-table td:nth-child(4) { flex-shrink: 0; }

  /* Actions — full width */
  .bookings-table td:nth-child(5) { width: 100%; }

  .dash-bk-actions { flex-wrap: wrap; }
}

.booking-badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.booking-badge.confirmed { background: #dcfce7; color: #15803d; }
.booking-badge.pending   { background: #fef9c3; color: #a16207; }
.booking-badge.cancelled { background: #fee2e2; color: #b91c1c; }

/* ── RIGHT COLUMN ────────────────────────────────────────────────────── */
.right-col { display: flex; flex-direction: column; gap: 22px; }

/* Membership card */
.membership-card {
  background: linear-gradient(135deg, var(--dark) 0%, #2c4a5a 100%);
  border-radius: var(--radius);
  padding: 22px;
  color: #fff;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.membership-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(7,216,195,.12);
}

.membership-card::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(6,147,227,.1);
}

.mc-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.mc-type {
  font-family: 'Saira', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.mc-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
}

.mc-row strong { color: #fff; }

.mc-progress-wrap { margin: 14px 0 10px; }
.mc-progress-label { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.6); margin-bottom: 6px; }

.mc-progress-bar {
  height: 6px;
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  overflow: hidden;
}

.mc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 10px;
  width: 72%;
}

.mc-renew-btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  font-size: 13px;
  margin-top: 6px;
  transition: opacity .2s;
  position: relative;
  z-index: 1;
}

.mc-renew-btn:hover { opacity: .88; }

/* Notices panel */
.notices-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  flex: 1;
}

.notices-card .section-hd { padding: 16px 18px 0; }

.notice-item {
  display: flex;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.notice-item:last-child { border-bottom: none; }
.notice-item:hover { background: #fafbfc; }

.notice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.notice-dot.urgent  { background: #ef4444; }
.notice-dot.info    { background: var(--primary); }
.notice-dot.general { background: var(--accent); }

.notice-text h4 { font-size: 13px; font-weight: 600; margin-bottom: 3px; color: var(--dark); }
.notice-text p  { font-size: 12px; color: var(--muted); line-height: 1.4; }
.notice-date    { font-size: 10px; color: var(--muted); margin-top: 4px; display: block; }

/* ── QUICK ACTIONS ───────────────────────────────────────────────────── */
.quick-actions {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}

.qa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.qa-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  border-radius: 10px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  transition: all .2s;
  line-height: 1.3;
}

.qa-btn i {
  font-size: 20px;
  color: var(--primary);
  transition: transform .2s;
}

.qa-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6,147,227,.25);
}

.qa-btn:hover i { color: #fff; transform: scale(1.15); }

/* ── SIDEBAR OVERLAY (mobile) ────────────────────────────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 190;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .right-col { flex-direction: row; flex-wrap: wrap; }
  .membership-card, .notices-card { flex: 1 1 300px; }
}

@media (max-width: 900px) {
  .qa-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay.show { display: block; }

  .main-wrapper { margin-left: 0; }

  .header-toggle { display: flex; }

  .page-content { padding: 18px 16px 32px; }

  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .events-grid { grid-template-columns: 1fr; }

  .right-col { flex-direction: column; }

  .bookings-table th:nth-child(3),
  .bookings-table td:nth-child(3) { display: none; }

  .header-search { max-width: 200px; }

  .member-info { display: none; }

  /* Booking list items: stack info + actions on mobile */
  .booking-item {
    align-items: flex-start;
  }

  .booking-item .booking-badge {
    margin-left: auto;
  }

  .bk-actions {
    width: 100%;
    margin-left: 52px;
  }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .qa-grid { grid-template-columns: repeat(2, 1fr); }
  .header-search { display: none; }
}

/* ── PAGE PANELS ─────────────────────────────────────────────────────── */
.page-panel { display: none; }
.page-panel.active { display: block; }

.page-title-badge {
  font-size: 13px;
  font-weight: 600;
  background: rgba(6,147,227,.12);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: 10px;
  vertical-align: middle;
}

/* ── EVENTS PAGE ─────────────────────────────────────────────────────── */
.panel-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--card-bg);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.events-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.event-full-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.event-full-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.efc-img {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.efc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.event-full-card:hover .efc-img img { transform: scale(1.05); }

.efc-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.efc-badge.available   { background: #dcfce7; color: #15803d; }
.efc-badge.full        { background: #fee2e2; color: #b91c1c; }
.efc-badge.registered  { background: #dbeafe; color: #1d4ed8; }

.efc-price {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--dark);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.efc-price.free { background: #059669; }

.efc-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }

.efc-body h3 {
  font-family: 'Saira', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.efc-meta { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }

.efc-meta span {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.efc-meta i { color: var(--primary); width: 12px; }

.efc-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.efc-footer {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.efc-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  border: none;
  transition: background .2s;
}

.efc-btn:hover:not(:disabled) { background: var(--primary-dk); }

.efc-btn-outline {
  flex: 1;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  transition: all .2s;
}

.efc-btn-outline:hover { background: var(--primary); color: #fff; }

@media (max-width: 1100px) { .events-full-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .events-full-grid { grid-template-columns: 1fr; } }

/* ── BOOKINGS PAGE ───────────────────────────────────────────────────── */
.bookings-page-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 22px;
  align-items: start;
}

.booking-form-card,
.bookings-list-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.booking-form { display: flex; flex-direction: column; gap: 14px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-group { display: flex; flex-direction: column; gap: 5px; }

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.form-group select,
.form-group input,
.form-group textarea {
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }

.form-group textarea { resize: vertical; min-height: 60px; }

.booking-submit-btn {
  padding: 11px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.booking-submit-btn:hover { background: var(--primary-dk); }

.booking-filter-tabs { display: flex; gap: 6px; }

.bk-tab {
  padding: 4px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s;
}

.bk-tab.active,
.bk-tab:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.bookings-list { display: flex; flex-direction: column; gap: 0; margin-top: 14px; }

.booking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.booking-item:last-child { border-bottom: none; }

.bk-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(6,147,227,.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.bk-info { flex: 1; min-width: 0; }
.bk-info h4 { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-info span { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.bk-info i { color: var(--primary); }

.bk-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: wrap;
}


@media (max-width: 600px)  { .form-row { grid-template-columns: 1fr; } }

/* ── MEMBERSHIP PAGE ─────────────────────────────────────────────────── */
.membership-page-grid {
  display: grid;
  grid-template-columns: 300px 1fr 260px;
  gap: 22px;
  align-items: start;
}

/* Member ID Card */
.member-id-card {
  background: linear-gradient(135deg, var(--dark) 0%, #2c4a5a 100%);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-md);
  color: #fff;
}

.id-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.id-logo { height: 36px; width: auto; object-fit: contain; }

.id-club { font-family: 'Saira', sans-serif; font-size: 14px; font-weight: 700; }
.id-since { font-size: 10px; color: var(--accent); letter-spacing: .08em; }

.id-card-body { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }

.id-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.id-details h2 { font-family: 'Saira', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.id-type { font-size: 11px; color: var(--accent); margin-bottom: 8px; }

.id-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,.65);
  margin-bottom: 4px;
}

.id-row strong { color: #fff; }

.id-card-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: rgba(255,255,255,.6);
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.id-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}

/* Subscription & Payment */
.membership-details-col { display: flex; flex-direction: column; gap: 18px; }

.mem-section-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.mem-section-card h3 {
  font-family: 'Saira', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mem-section-card h3 i { color: var(--primary); }

.sub-progress-wrap { margin-bottom: 14px; }

.sub-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}

.sub-progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.sub-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 10px;
}

.sub-details { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }

.sub-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.sub-row:last-child { border-bottom: none; }
.sub-row.total { font-weight: 700; color: var(--dark); }
.sub-row strong { color: var(--dark); font-weight: 700; }

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

.pay-table th {
  background: var(--bg);
  padding: 9px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.pay-table td {
  padding: 10px 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.pay-table tr:last-child td { border-bottom: none; }
.pay-table tr:hover td { background: #fafbfc; }

.mem-action-btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.mem-action-btn:hover { background: var(--primary-dk); }

/* Benefits */
.mem-benefits-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.mem-benefits-card h3 {
  font-family: 'Saira', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mem-benefits-card h3 i { color: #f59e0b; }

.benefits-list-dash { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.benefits-list-dash li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}

.benefits-list-dash i { color: #059669; margin-top: 2px; flex-shrink: 0; }

@media (max-width: 1200px) {
  .membership-page-grid { grid-template-columns: 1fr 1fr; }
  .mem-benefits-card { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .membership-page-grid { grid-template-columns: 1fr; }
  .mem-benefits-card { grid-column: auto; }
}

/* ── BOOKING WIZARD ──────────────────────────────────────────────────── */
.booking-wizard { display: flex; flex-direction: column; gap: 22px; }

/* Type selector tabs */
.bw-type-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bw-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--card-bg);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
  cursor: pointer;
}

.bw-type-btn i { font-size: 22px; color: var(--muted); transition: color .2s; }

.bw-type-btn:hover,
.bw-type-btn.active {
  border-color: var(--primary);
  background: rgba(6,147,227,.06);
  color: var(--primary);
}

.bw-type-btn.active i,
.bw-type-btn:hover i { color: var(--primary); }

.bw-type-btn small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

/* Form panels */
.bw-panel { display: none; }
.bw-panel.active { display: block; }

.bw-form-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.bw-form-card h3 {
  font-family: 'Saira', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bw-form-card h3 i { color: var(--primary); }

/* Slot grid */
.slot-grid-wrap { margin-top: 6px; }

.slot-grid-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 10px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}

.slot-btn {
  padding: 8px 4px;
  border-radius: 7px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all .15s;
  text-align: center;
}

.slot-btn:hover:not(.taken):not(.disabled):not(.blocked) {
  border-color: var(--primary);
  background: rgba(6,147,227,.08);
  color: var(--primary);
}

.slot-btn.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.slot-btn.taken {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
  cursor: not-allowed;
  text-decoration: line-through;
}

.slot-btn.partial {
  background: #fef9c3;
  border-color: #fde047;
  color: #a16207;
}

.slot-btn.disabled {
  opacity: .4;
  cursor: not-allowed;
}

.slot-btn.blocked {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: .6;
}

/* Court selector */
.court-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.court-tab {
  padding: 5px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}

.court-tab.active,
.court-tab:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Date range picker for hire */
.date-range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Banda time range */
.time-range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Availability indicator */
.avail-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  flex-wrap: wrap;
}

.avail-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.avail-dot.free    { background: var(--bg); border: 1.5px solid var(--border); }
.avail-dot.booked  { background: #fca5a5; }
.avail-dot.partial { background: #fde047; }
.avail-dot.sel     { background: var(--primary); }

/* Participants row */
.participants-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Booking summary box */
.booking-summary {
  background: rgba(6,147,227,.06);
  border: 1.5px solid rgba(6,147,227,.2);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  display: none;
  flex-direction: column;
  gap: 6px;
}

.booking-summary.visible { display: flex; }

.bs-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.bs-row strong { color: var(--dark); }

.bs-row.total {
  border-top: 1px solid rgba(6,147,227,.2);
  padding-top: 8px;
  margin-top: 4px;
  font-weight: 700;
  color: var(--dark);
}

/* 48h warning */
.bw-warning {
  background: #fef9c3;
  border: 1px solid #fde047;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: #a16207;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.bw-warning i { margin-top: 1px; flex-shrink: 0; }

/* Bookings list layout */
.bookings-page-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 1100px) { .bookings-page-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px)  {
  .bw-type-tabs { grid-template-columns: 1fr; }
  .date-range-row, .time-range-row, .participants-row { grid-template-columns: 1fr; }
}

/* ── Bookings Pagination ────────────────────────────────────────────────── */
.bookings-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  border-radius: 0 0 12px 12px;
  gap: 10px;
}

.bookings-pagination button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 7px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}

.bookings-pagination button:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(6,147,227,.07);
}

.bookings-pagination button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

#bkPageInfo {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Hire catering radio rows ─────────────────────────────────────────── */
.hire-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.hire-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  transition: all .15s;
}

.hire-radio:has(input:checked) {
  border-color: var(--primary);
  background: rgba(6,147,227,.08);
  color: var(--primary);
}

.hire-radio input[type="radio"] {
  accent-color: var(--primary);
}

/* ── BOOKING MODAL ───────────────────────────────────────────────────── */
.bm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bm-overlay.open { display: flex; }

.bm-dialog {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: bmSlideIn .22s ease;
}

@keyframes bmSlideIn {
  from { opacity: 0; transform: translateY(-18px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.bm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.bm-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.bm-step {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.bm-step.active { color: var(--primary); }
.bm-step.done   { color: #059669; }

.bm-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.bm-step.active .bm-step-num {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.bm-step.done .bm-step-num {
  background: #059669;
  border-color: #059669;
  color: #fff;
}

.bm-step-label { font-size: 12px; }

.bm-step-line {
  width: 32px;
  height: 2px;
  background: var(--border);
  margin: 0 6px;
  flex-shrink: 0;
}

.bm-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  transition: background .15s, color .15s;
  flex-shrink: 0;
}

.bm-close:hover { background: #fee2e2; color: #b91c1c; }

.bm-body {
  padding: 22px;
  overflow-y: auto;
  flex: 1;
}

.bm-step-title {
  font-family: 'Saira', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
}

/* Step 1 — booking type cards */
.bm-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.bm-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 14px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
}

.bm-type-card i { font-size: 26px; color: var(--muted); transition: color .18s; }
.bm-type-card small { font-size: 11px; font-weight: 400; color: var(--muted); text-align: center; line-height: 1.3; }

.bm-type-card:hover,
.bm-type-card.selected {
  border-color: var(--primary);
  background: rgba(6,147,227,.07);
  color: var(--primary);
}

.bm-type-card:hover i,
.bm-type-card.selected i { color: var(--primary); }

/* Step 2 — facility picture cards */
.bm-facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.bm-facility-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--card-bg);
  overflow: hidden;
  cursor: pointer;
  transition: all .18s;
  text-align: left;
  position: relative;
}

.bm-facility-card:hover,
.bm-facility-card.selected {
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(6,147,227,.18);
}

.bm-fc-img {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: var(--bg);
}

.bm-fc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.bm-facility-card:hover .bm-fc-img img { transform: scale(1.05); }

.bm-fc-body {
  padding: 12px 14px;
  flex: 1;
}

.bm-fc-body strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.bm-fc-body small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.bm-fc-check {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  color: var(--primary);
  opacity: 0;
  transition: opacity .15s;
  background: #fff;
  border-radius: 50%;
  line-height: 1;
}

.bm-facility-card.selected .bm-fc-check { opacity: 1; }

/* Modal footer nav */
.bm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  gap: 10px;
}

.bm-btn-primary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .15s;
}

.bm-btn-primary:hover:not(:disabled) { background: var(--primary-dk); }
.bm-btn-primary:disabled { opacity: .4; cursor: not-allowed; }

.bm-btn-outline {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all .15s;
}

.bm-btn-outline:hover { border-color: var(--primary); color: var(--primary); }

@media (max-width: 600px) {
  .bm-type-grid     { grid-template-columns: 1fr; }
  .bm-facility-grid { grid-template-columns: 1fr; }
  .bm-step-label    { display: none; }
  .bm-dialog        { max-height: 95vh; }
}

/* ── BOOKING DETAIL MODAL ────────────────────────────────────────────── */
.bd-header-strip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 0 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.bd-facility-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(6,147,227,.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.bd-facility-name {
  font-family: 'Saira', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
}

.bd-paid-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.bd-paid-badge.paid   { background: #dcfce7; color: #15803d; }
.bd-paid-badge.unpaid { background: #fef9c3; color: #a16207; }

.bd-section {
  margin-bottom: 18px;
}

.bd-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bd-section-title i { color: var(--primary); }

.bd-rows { display: flex; flex-direction: column; gap: 0; }

.bd-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  gap: 12px;
}

.bd-row:last-child { border-bottom: none; }
.bd-row span { color: var(--muted); flex-shrink: 0; }
.bd-row strong { color: var(--dark); text-align: right; }

.bd-payment-section {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 14px 16px;
}

.bd-payment-section .bd-section-title { color: #92400e; }
.bd-payment-section .bd-section-title i { color: #d97706; }

.bd-policy-section {
  background: var(--bg);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.bd-policy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bd-policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
}

.bd-policy-list i {
  margin-top: 2px;
  flex-shrink: 0;
  color: #059669;
  width: 14px;
}

.bd-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.bd-action-btn {
  flex: 1;
  min-width: 120px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}

.bd-action-btn:hover { opacity: .88; transform: translateY(-1px); }

.bd-pay-btn    { background: #059669; color: #fff; }
.bd-cancel-btn { background: #fee2e2; color: #b91c1c; }
.bd-close-btn  { background: var(--bg); color: var(--text); border: 1.5px solid var(--border); }

/* ── PAYMENT STEP ────────────────────────────────────────────────────── */
.bm-pay-summary {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
}

.bm-pay-summary-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

.bm-pay-summary-row i { color: var(--primary); font-size: 15px; flex-shrink: 0; }

.bm-fee-box {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 22px;
  text-align: center;
}

.bm-fee-box--free {
  background: #f0fdf4;
  border-color: #86efac;
}

.bm-fee-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 6px;
}

.bm-fee-amount {
  font-family: 'Saira', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.bm-fee-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.bm-pay-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 6px;
}

.bm-pay-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--card-bg);
  cursor: pointer;
  text-align: left;
  transition: all .18s;
  width: 100%;
}

.bm-pay-btn i {
  font-size: 22px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-pay-btn span { display: flex; flex-direction: column; gap: 3px; }
.bm-pay-btn strong { font-size: 14px; font-weight: 700; color: var(--dark); }
.bm-pay-btn small  { font-size: 11px; color: var(--muted); }

.bm-pay-btn--now {
  border-color: var(--primary);
  background: rgba(6,147,227,.05);
}

.bm-pay-btn--now i {
  background: rgba(6,147,227,.12);
  color: var(--primary);
}

.bm-pay-btn--now:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.bm-pay-btn--now:hover strong,
.bm-pay-btn--now:hover small { color: #fff; }
.bm-pay-btn--now:hover i { background: rgba(255,255,255,.2); color: #fff; }

.bm-pay-btn--later i {
  background: rgba(5,150,105,.1);
  color: #059669;
}

.bm-pay-btn--later:hover {
  border-color: #059669;
  background: rgba(5,150,105,.06);
}

.bm-pay-btn--later:hover strong { color: #059669; }
