:root {
  --primary:    #1a1a2e;
  --accent:     #f0a500;
  --success:    #28a745;
  --danger:     #dc3545;
  --info:       #3b82f6;
  --purple:     #8b5cf6;
  --bg:         #f9fafb;
  --card-bg:    #ffffff;
  --bank-bg:    #fef9e7;
  --border:     #e5e7eb;
  --text-dark:  #111827;
  --text-muted: #6b7280;
  --sidebar-width: 260px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
}

/* ── Buttons ── */
.btn-primary-gold {
  background: var(--accent);
  border: none;
  color: var(--primary);
  font-weight: 600;
}
.btn-primary-gold:hover { background: #d68f00; }

.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }

/* ── Sidebar ── */
.sidebar {
  background: var(--primary);
  color: #fff;
  width: var(--sidebar-width);
}

/* ── Bank Info Box ── */
.bank-info-box {
  background: var(--bank-bg);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 24px;
}

/* ── Status Badges ── */
.badge { font-weight: 500; padding: 5px 10px; border-radius: 20px; }

.status-pending          { background: #fff4d6; color: #8a6500; }
.status-approved         { background: #dbeafe; color: #1e40af; }
.status-awaiting_payment { background: #ede9fe; color: #5b21b6; }
.status-confirmed        { background: #1a1a2e; color: #fff; }
.status-completed        { background: #d1fae5; color: #065f46; }
.status-cancelled        { background: #fee2e2; color: #991b1b; }
.status-rejected         { background: #e5e7eb; color: #374151; }

/* ── Package expand/collapse toggle ──
   Shared by the student, instructor and admin booking lists. A fixed-size square so
   it never collapses against the text beside it. */
.pkg-toggle {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7dbe0;
  border-radius: 6px;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pkg-toggle:hover         { background: var(--bank-bg); border-color: var(--accent); color: #b47800; }
.pkg-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Expanded: filled gold so an open package is obvious at a glance */
.pkg-toggle:not(.collapsed) { background: var(--accent); border-color: var(--accent); color: var(--primary); }

.pkg-toggle .bi {
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  transition: transform .15s ease;
}
.pkg-toggle:not(.collapsed) .bi { transform: rotate(90deg); }

.pkg-session-row > td { background: #f8f9fa; }

.payment-status-awaiting_payment { background: #ede9fe; color: #5b21b6; }
.payment-status-reported_paid    { background: #fef3c7; color: #92400e; }
.payment-status-verified         { background: #d1fae5; color: #065f46; }
.payment-status-failed           { background: #fee2e2; color: #991b1b; }
.payment-status-refunded         { background: #e5e7eb; color: #374151; }
