/* =====================================================================
   Venue Booking — app.css
   Consolidated stylesheet, replaces base.css + base-dashboard.css +
   base-settings.css (previously three separate files, loaded together
   on dashboard/settings pages, with some duplicated/conflicting rules).

   Sections:
     1. Design tokens (:root)
     2. Global reset & base
     3. Shared layout helpers (dock/wrap, DataTables overrides)
     4. Main application styles (nav/hero/buttons/forms/cards/tables/
        pagination/modals/booking-page/auth — everything from base.css)
     5. Dashboard shell (tabs)
     6. Settings sidebar
     7. Consistency fixes — classes used in templates that had no
        definition anywhere, plus a couple of styles moved out of inline
        <style> blocks in individual templates
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------------------- */
:root {
  --white: #ffffff;
  --zinc-50: #fafafa;
  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
  --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-700: #3f3f46;
  --zinc-800: #27272a;
  --zinc-900: #18181b;
  --slate-400: #7E9499;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-900: #001E26;
  --grass: #FD876D;
  --grass-dark: #AD1F00;
  --grass-light: #F7E7E4;
  --grass-rgb: 253, 135, 109;
  --hero-mid: #024556;
  --hero-end: #002E3A;
  --blue: #7BA4DD;
  --blue-light: #E7F0FA;
  --blue-dark: #2E5299;
  --blue-rgb: 123, 164, 221;
  --mb-sb-width: 230px;
  --mb-sb-bg: #0b2a2e;
  --mb-sb-bg-hover: #143f44;
  --mb-sb-text: #d7e6e4;
  --mb-sb-label: #7fa3a0;
  --green: #26ab28c3;
  --green-rgb: 59, 255, 48;
  --amber: #ff9f0a;
  --amber-light: #fef3c7;
  --amber-dark: #b9760a;
  --amber-rgb: 255, 159, 10;
  --danger: #ff3b30;
  --danger-light: #fee2e2;
  --danger-dark: #c81e1a;
  --danger-rgb: 255, 59, 48;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .16), 0 4px 14px rgba(0, 0, 0, .06);
  --shadow-glass: 0 20px 60px -10px rgba(15, 23, 42, .35), 0 8px 24px -8px rgba(15, 23, 42, .25)
}

/* ---------------------------------------------------------------------
   2. GLOBAL RESET & BASE
   --------------------------------------------------------------------- */
*,
::after,
::before {
  box-sizing: border-box
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--zinc-800);
  -webkit-font-smoothing: antialiased
}

@media (prefers-reduced-motion: reduce) {

  *,
  ::after,
  ::before {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important
  }
}

mark {
  background: rgba(var(--grass-rgb), .15);
  color: var(--grass-dark);
  border-radius: 3px;
  padding: 0 2px;
  font-weight: 700
}

/* ---------------------------------------------------------------------
   3. SHARED LAYOUT HELPERS
   --------------------------------------------------------------------- */
.mb-dock-wrap {
  margin-top: -56px;
  position: relative;
  z-index: 10;
  padding: 8px 0 0 0;
  background: transparent;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

ul.nav-tabs {
    background: var(--white);
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

/* Dashboard overview page nudges the dock down instead of pulling it up
   under the hero (it sits inside a plain page, not the hero banner). */
.mb-dock-wrap-x {
  margin-top: 30px;
}

/* DataTables search/pagination width overrides — previously duplicated
   verbatim in both base-dashboard.css and base-settings.css. */
.dt-search {
  width: 100% !important;
  margin: 0 !important;
}

.dt-search .form-control {
  width: 100% !important;
  margin: 0 !important;
}

.dt-layout-end {
  width: 100% !important;
}

/* ---------------------------------------------------------------------
   4. MAIN APPLICATION STYLES
   (navbar, hero, buttons, forms, select2, cards, tables, pagination,
   badges, modals, booking-page slots/calendar, auth split page)
   --------------------------------------------------------------------- */
.mb-hero-identity,
.mb-hero-row {
  z-index: 1;
  position: relative
}

.glass-btn,
.glass-btn:hover,
.glass-navbar .navbar-brand,
.mb-hero-eyebrow,
.mb-hero-title span,
.mb-result-count strong {
  color: var(--grass)
}

.glass,
.mb-hero,
.mb-hero-identity,
.mb-hero-row {
  position: relative
}

.glass::after,
.glass::before,
.mb-clear-btn,
.mb-hero::before {
  pointer-events: none
}

.mb-clear-btn,
.slot-event,
.slot-time {
  white-space: nowrap
}

.auth-pw-toggle,
.booker-tooltip,
.mb-search-wrap svg,
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
  top: 50%;
  transform: translateY(-50%)
}

.auth-submit::after,
.glass::after,
.mb-badge::before,
.modal-content::after {
  mix-blend-mode: overlay;
  content: ''
}

.glass {
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: var(--shadow-md), inset 0 1px 1px rgba(255, 255, 255, .7), inset 0 -1px 1px rgba(0, 0, 0, .03);
  overflow: hidden
}

.glass::after {
  position: absolute;
  top: -50%;
  left: -60%;
  width: 60%;
  height: 200%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, 0) 90%);
  transform: rotate(8deg);
  animation: 7s ease-in-out infinite glass-sweep
}

.glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  width: 84%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent)
}

@keyframes glass-sweep {
  0% {
    left: -60%
  }

  100%,
  50% {
    left: 110%
  }
}

.navbar {
  min-height: 70px
}

.glass-navbar {
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08)
}

.glass-navbar .navbar-brand {
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .3px
}

.glass-btn {
  background: rgba(255, 255, 255, .25);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: .85rem;
  font-weight: 900;
  display: inline-block;
  transition: .2s
}

.mb-dock label,
.mb-hero-eyebrow {
  font-size: 11px;
  text-transform: uppercase
}

.glass-btn:hover {
  background: rgba(255, 255, 255, .45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .1)
}

@media (max-width:991.98px) {
  .glass-navbar .navbar-collapse {
    padding: 10px 0
  }

  .glass-btn {
    width: 100%;
    text-align: center
  }
}

.mb-hero {
  background: linear-gradient(160deg, var(--slate-900) 0, var(--hero-mid) 55%, var(--hero-end) 100%);
  padding: 48px 0 76px;
  height: 260px;
  overflow: hidden !important
}

.mb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23004C5C' stroke-opacity='0.1'%3E%3Crect x='6' y='6' width='18' height='18'/%3E%3Crect x='36' y='6' width='18' height='18'/%3E%3Crect x='6' y='36' width='18' height='18'/%3E%3Crect x='36' y='36' width='18' height='18'/%3E%3C/g%3E%3C/svg%3E")
}

.mb-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap
}

.mb-avatar,
.mb-hero-identity {
  display: flex;
  align-items: center
}

.mb-avatar {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: #fff;
  justify-content: center;
  flex-shrink: 0
}

.mb-hero-identity {
  gap: 14px
}

.mb-hero-identity-text .mb-hero-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--grass)
}

.mb-hero-identity-text .mb-hero-emp {
  font-size: 12.5px;
  color: #7e9499
}

.mb-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(var(--grass-rgb), .15);
  border: 1px solid rgba(var(--grass-rgb), .3);
  font-weight: 600;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px
}

.mb-hero-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 8px
}

.mb-hero-sub,
.mb-slot-item:last-child {
  margin-bottom: 0
}

.mb-hero-sub {
  color: #7e9499;
  font-size: 14.5px;
  font-weight: 400
}

.mb-hero-sub strong {
  color: #e2e8f0;
  font-weight: 600
}

@media screen and (max-width:720px) {
  .mb-hero-sub {
    display: none !important
  }
}

.mb-dock {
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  background: #fff !important;
  box-shadow: none !important
}

.mb-dock label {
  font-weight: 700;
  letter-spacing: .07em;
  color: var(--grass);
  display: block;
  margin-bottom: 10px
}

.form-control,
.select2-container--bootstrap-5 .select2-selection,
.select2-search__field {
  border: 1.5px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .7);
  color: var(--zinc-800);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 12px;
  box-shadow: none;
  height: 44px;
  transition: border-color .15s, box-shadow .15s, background .15s
}

.btn-glass-grass,
.btn-grass {
  font-weight: 700;
  cursor: pointer
}

.form-control:focus,
.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection,
.select2-search__field {
  border-color: var(--grass);
  box-shadow: 0 0 0 4px rgba(var(--grass-rgb), .15);
  outline: 0;
  background: var(--white)
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered,
.select2-search__field {
  line-height: 24px;
  padding-left: 0;
  color: var(--zinc-800)
}

.select2-search__field {
  height: 35px !important;
  margin: 15px 0
}

.select2-dropdown {
  border-radius: 10px;
  margin-top: 10px !important;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
  padding: 15px;
  box-shadow: var(--shadow-sm)
}

.select2-results__option {
  border-bottom: 1px solid #e4e4e4;
  padding: 10px 0
}

.mb-detail-line:last-child,
.mb-table tbody tr:last-child td,
.select2-results__option:last-child {
  border-bottom: none
}

.btn-grass {
  background: var(--grass);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 13.5px;
  padding: 5px 22px;
  letter-spacing: .01em;
  transition: transform .12s, filter .15s;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 3px 8px rgba(var(--grass-rgb), .35)
}

.btn-glass-danger,
.btn-glass-grass {
  letter-spacing: .01em;
  transition: transform .15s, filter .15s;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate
}

.btn-glass-danger:hover,
.btn-glass-grass:hover,
.btn-grass:hover {
  filter: brightness(1.08);
  color: #fff;
  background-color: var(--grass-dark);
}

.btn-grass:active {
  transform: scale(.96)
}

.btn-glass-grass {
  background: linear-gradient(160deg, #ffb6a3 0, var(--grass) 55%, var(--grass-dark) 100%);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: var(--radius-sm);
  font-size: 14px;
  padding: 12px 20px;
  width: 100%;
  margin-top: 18px;
  box-shadow: 0 1px 1px rgba(255, 255, 255, .5) inset, 0 -6px 10px rgba(0, 0, 0, .18) inset, 0 6px 16px rgba(var(--grass-rgb), .35)
}

.btn-glass-danger::after,
.btn-glass-grass::after {
  content: '';
  position: absolute;
  top: -40%;
  left: -60%;
  width: 50%;
  height: 180%;
  background: linear-gradient(75deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .65), rgba(255, 255, 255, 0));
  transform: rotate(10deg);
  animation: 4.5s ease-in-out infinite mbRefractBtn;
  pointer-events: none;
  mix-blend-mode: overlay
}

.mb-cancel-btn:hover,
.mb-slot-item.booked .mb-badge.booked {
  background: var(--danger)
}

.auth-submit:active,
.btn-glass-danger:active,
.btn-glass-grass:active {
  transform: scale(.97)
}

.modal-footer .btn-glass-grass {
  width: auto;
  margin-top: 0
}

.btn-glass-danger {
  background: linear-gradient(160deg, #ff6b61 0, var(--danger) 55%, var(--danger-dark) 100%);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  cursor: pointer;
  box-shadow: 0 1px 1px rgba(255, 255, 255, .5) inset, 0 -6px 10px rgba(0, 0, 0, .18) inset, 0 6px 16px rgba(var(--danger-rgb), .35)
}

.mb-cancel-btn,
.mb-clear-btn {
  background: var(--white);
  font-weight: 700;
  cursor: pointer
}

.mb-card,
.mb-stat-card {
  box-shadow: var(--shadow-sm)
}

.btn-glass-danger:disabled {
  opacity: .6;
  cursor: not-allowed
}

@keyframes mbRefractBtn {
  0% {
    left: -60%
  }

  100%,
  40% {
    left: 140%
  }
}

.mb-cancel-btn {
  border: 1.5px solid var(--danger);
  color: var(--danger);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s
}

.mb-cancel-btn:hover {
  color: #fff
}

.mb-cancel-btn:disabled {
  opacity: .5;
  cursor: not-allowed
}

.mb-clear-btn {
  height: 30px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--zinc-200);
  font-size: 11px;
  color: var(--zinc-500);
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity .2s, border-color .15s, color .15s
}

.mb-clear-btn.visible {
  opacity: 1;
  pointer-events: auto
}

.mb-clear-btn:hover,
.mb-pill:hover {
  border-color: var(--zinc-400);
  color: var(--zinc-800)
}

.mb-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-block
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  opacity: .75
}

.mb-badge::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, .55) 0, rgba(255, 255, 255, 0) 40%)
}

.mb-badge.active,
.mb-badge.booked,
.mb-badge.free {
  background: var(--green);
  color: #fff
}

.mb-badge.cancelled {
  background: var(--danger-dark);
  color: #fff
}

.slot-instructions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid rgba(143, 137, 137, .248);
  margin-bottom: 15px
}

.slot-instructions .inst-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  opacity: .7;
  line-height: 1.4;
  color: #000;
  font-weight: 500
}

.slot-instructions .inst-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--grass-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0
}

@media (min-width:768px) {
  .slot-instructions {
    flex-direction: row;
    gap: 0;
    padding: 0
  }

  .slot-instructions .inst-row {
    flex: 1;
    padding: 12px 14px;
    border-right: 1px solid rgba(255, 255, 255, .08)
  }

  .slot-instructions .inst-row:last-child {
    border-right: none
  }
}

.mb-card {
  background: var(--white);
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 0 20px 30px !important
}

.mb-card-body,
.mb-card-header {
  padding: 14px 18px;
  position: relative;
  z-index: 2
}

.mb-card-header {
  border-bottom: 1px solid rgba(228, 228, 231, .7);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--zinc-700)
}

.mb-card-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 10px
}

.mb-card-header .dot.booked-dot {
  background: var(--danger);
  animation: 1.8s ease-in-out infinite pulse-danger
}

.mb-card-header .dot.free-dot {
  background: var(--grass);
  animation: 1.8s ease-in-out infinite pulse-grass
}

@keyframes pulse-danger {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--danger-rgb), .5)
  }

  70% {
    box-shadow: 0 0 0 6px rgba(var(--danger-rgb), 0)
  }
}

@keyframes pulse-grass {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--green-rgb), .5)
  }

  70% {
    box-shadow: 0 0 0 6px rgba(var(--green-rgb), 0)
  }
}

.mb-section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grass);
  margin-bottom: 12px
}

.mb-slot-item,
.slot-event {
  font-weight: 500;
  font-size: 13px
}

.mb-slot-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  color: var(--zinc-700);
  margin-bottom: 6px;
  border: 1px solid transparent
}

.slot-event {
  flex: 1;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis
}

.slot-time {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  min-width: 130px;
  color: #000
}

.mb-slot-item.free {
  background: rgba(52, 199, 89, .15) !important
}

.mb-slot-item.free:hover {
  background: rgba(52, 199, 89, .25) !important
}

.mb-slot-item.booked {
  background: rgba(255, 58, 48, .15) !important
}

.mb-slot-item.booked:hover {
  background: rgba(255, 59, 48, .25) !important
}

.mb-empty {
  font-size: 13px;
  color: var(--zinc-400);
  text-align: center;
  padding: 14px 0
}

.mb-empty svg {
  margin-bottom: 12px;
  opacity: .4;
  display: block;
  margin-inline: auto
}

.mb-empty strong {
  display: block;
  color: var(--zinc-600);
  font-size: 15px;
  margin-bottom: 4px
}

.mb-calendar-card .mb-card-body {
  padding: 16px
}

#calendarModal .modal-dialog {
  max-width: 720px
}

#calendarModal .modal-body {
  padding: 0
}

#selectedSlotLabel {
  font-size: 12px;
  padding: 8px 16px 0;
  opacity: .52;
  min-height: 26px
}

#calendarInModal .fc .fc-timegrid-slot-label {
  padding: 0 10px 0 6px !important;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap
}

#calendarInModal .fc .fc-timegrid-axis {
  width: 56px
}

#calendarInModal .fc .fc-timegrid-col-events {
  margin: 0 6px
}

#calendarInModal .fc .fc-highlight {
  margin: 0 6px;
  border-radius: 4px
}

.fc {
  font-family: Inter, -apple-system, sans-serif !important;
  font-size: 13px;
  position: relative;
  z-index: 2
}

.fc .fc-toolbar-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--zinc-800)
}

.fc .fc-button-primary {
  background: var(--zinc-800) !important;
  border-color: var(--zinc-800) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px
}

.fc .fc-button-primary:hover {
  background: var(--zinc-700) !important
}

.fc-event {
  border-radius: 6px !important;
  border: none !important;
  font-size: 12px;
  font-weight: 600
}

.fc .fc-timegrid-slot {
  height: 40px
}

.fc-highlight {
  background: rgba(46, 82, 153, .15) !important
}

.fc-scrollgrid,
.fc-theme-standard td,
.fc-theme-standard th {
  border-color: var(--zinc-200) !important
}

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

.mb-stat-card {
  background: var(--white);
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px
}

.mb-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.mb-stat-icon.total {
  background: var(--zinc-100);
  color: var(--slate-600)
}

.mb-stat-icon.active,
.mb-toast-icon.success {
  background: var(--grass-light);
  color: var(--grass-dark)
}

.mb-stat-icon.cancelled {
  background: var(--zinc-100);
  color: var(--zinc-500)
}

.mb-stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--zinc-900);
  letter-spacing: -.02em;
  line-height: 1.1
}

.mb-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--zinc-400)
}

.auth-row,
.auth-split {
  grid-template-columns: 1fr 1fr
}

.mb-body {
  padding: 32px 0 64px
}

.mb-page {
  padding: 28px 0 60px
}

.mb-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--zinc-100);
  background: var(--white);
  flex-wrap: wrap
}

.mb-search-input,
.mb-table tbody tr:hover,
.mb-table thead th {
  background: var(--zinc-50)
}

.mb-search-wrap {
  position: relative;
  flex: 1;
  min-width: 180px
}

.mb-search-wrap svg {
  position: absolute;
  left: 11px;
  color: var(--zinc-400);
  pointer-events: none
}

.mb-search-input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 34px;
  border: 1.5px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  font-family: Inter, sans-serif;
  color: var(--zinc-800);
  outline: 0;
  transition: border-color .15s, box-shadow .15s, background .15s
}

.mb-cell-campus,
.mb-pill {
  font-weight: 700;
  letter-spacing: .04em
}

.mb-pill,
.mb-result-count {
  color: var(--grass);
  font-size: 11px;
  white-space: nowrap
}

.mb-search-input::placeholder {
  color: var(--zinc-400);
  font-weight: 400
}

.mb-search-input:focus {
  border-color: var(--grass);
  box-shadow: 0 0 0 3px rgba(var(--grass-rgb), .14);
  background: var(--white)
}

.auth-field .form-control,
.modal-body .form-control {
  font-weight: 500;
  box-shadow: none;
  transition: border-color .15s, box-shadow .15s, background .15s
}

.mb-filter-pills {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap
}

.mb-pill {
  height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid var(--zinc-200);
  background: var(--white);
  text-transform: uppercase;
  cursor: pointer;
  transition: .15s
}

.mb-pill.active {
  background: var(--grass);
  border-color: var(--grass-light);
  color: #fff
}

.mb-pill.pill-active.active {
  background: var(--grass);
  border-color: var(--grass)
}

.mb-pill.pill-cancelled.active {
  background: var(--grass);
  border-color: var(--zinc-500)
}

.mb-result-count {
  font-weight: 600;
  margin-left: auto
}

.mb-table-wrap {
  overflow-x: auto
}

.mb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px
}

.mb-table thead th {
  border-bottom: 1px solid var(--zinc-200);
  color: var(--zinc-700);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 18px;
  white-space: nowrap
}

.mb-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--zinc-100);
  color: var(--zinc-500);
  font-weight: 300;
  vertical-align: middle
}

.mb-table tbody tr {
  transition: background .12s
}

.mb-table tbody tr.is-cancelled-row {
  opacity: .6
}

.mb-no-results-row,
.mb-table tbody tr.mb-row-hidden {
  display: none
}

.mb-cell-venue {
  font-weight: 600;
  color: var(--zinc-900)
}

.mb-cell-meta {
  color: var(--zinc-500);
  font-size: 12px
}

.mb-cell-campus {
  display: inline-block;
  font-size: 10px;
  color: var(--slate-600);
  background: var(--zinc-100);
  border: 1px solid var(--zinc-200);
  border-radius: 5px;
  padding: 2px 6px
}

.auth-brand-name,
.modal-title {
  letter-spacing: -.01em;
  font-weight: 700
}

.auth-pw-wrap,
.booker-cell {
  position: relative
}

.booker-tooltip {
  position: absolute;
  left: 100%;
  min-width: 250px;
  padding: 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  transition: .2s
}

.booker-tooltip ul {
  list-style: none;
  margin: 0;
  padding: 0
}

tr:hover .booker-tooltip {
  opacity: 1;
  visibility: visible
}

.mb-no-results-row.visible {
  display: table-row
}

.mb-noaction {
  color: var(--zinc-400);
  font-size: 12px
}

.mb-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid rgba(0, 0, 0, .06);
  flex-wrap: wrap;
  gap: 12px
}

.mb-pagination-info {
  font-size: 13px;
  color: var(--grass)
}

.mb-pagination-controls {
  display: flex;
  align-items: center;
  gap: 4px
}

.mb-page-btn, .page-link {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  margin: 0 3px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  color: #374151;
  transition: .15s
}

.dt-paging-button.page-item.active .page-link {
  background-color: var(--grass);
  color: #fff;
  border-color: var(--grass-light)
}

.mb-page-btn:hover:not(:disabled) {
  background: var(--grass-light);
  color: #000
}

.mb-page-btn.active {
  background: var(--grass);
  color: #fff;
  border-color: var(--grass-light)
}

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

.mb-page-ellipsis {
  padding: 0 4px;
  color: #9ca3af;
  font-size: 13px
}

@media (max-width:767px) {
  .mb-hero {
    padding: 36px 0 64px;
    height: auto
  }

  .acc-hero {
    padding: 36px 0 72px
  }

  .acc-dock-wrap {
    margin-top: -48px
  }

  .mb-dock {
    padding: 16px
  }

  .mb-stats-grid {
    grid-template-columns: 1fr
  }

  .mb-page {
    padding: 24px 0 48px
  }

  .mb-toolbar {
    gap: 8px
  }

  .mb-result-count {
    margin-left: 0;
    width: 100%
  }
}

.modal-backdrop.show {
  opacity: .3;
  backdrop-filter: blur(2px)
}

.modal-content {
  background: rgba(255, 255, 255, .68);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg), inset 0 1px 1px rgba(255, 255, 255, .8), inset 0 -1px 1px rgba(0, 0, 0, .03);
  overflow: hidden;
  position: relative;
  isolation: isolate
}

.modal-footer,
.modal-header {
  background: 0 0;
  position: relative;
  z-index: 4
}

.modal-content::after {
  position: absolute;
  top: -50%;
  left: -150%;
  width: 70%;
  height: 200%;
  background: linear-gradient(75deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .05) 35%, rgba(255, 255, 255, .55) 48%, rgba(255, 255, 255, .65) 50%, rgba(255, 255, 255, .05) 65%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(8deg);
  pointer-events: none;
  z-index: 2;
  animation: 7s ease-in-out .4s infinite mbRefract
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 6%;
  width: 88%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent);
  pointer-events: none;
  z-index: 1
}

@keyframes mbRefract {
  0% {
    left: -150%
  }

  100%,
  35% {
    left: 160%
  }
}

.modal-header {
  border-bottom: 1px solid rgba(228, 228, 231, .6);
  padding: 18px 24px
}

.modal-title {
  font-size: 16px;
  color: var(--zinc-900)
}

.modal-body {
  padding: 24px;
  position: relative;
  z-index: 4;
  font-size: 14px;
  color: var(--zinc-700);
  line-height: 1.5
}

.modal-footer {
  border-top: 1px solid rgba(228, 228, 231, .6);
  padding: 16px 24px
}

.modal-body label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--zinc-500);
  margin-bottom: 6px;
  display: block
}

.modal-body .form-control {
  border: 1.5px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .75);
  font-size: 14px;
  color: var(--zinc-800);
  padding: 9px 12px;
  width: 100%
}

.modal-body .form-control:focus {
  border-color: var(--grass);
  box-shadow: 0 0 0 4px rgba(var(--grass-rgb), .15);
  background: var(--white);
  outline: 0
}

.mb-detail-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  font-size: 13px
}

.mb-detail-line span:first-child {
  color: var(--zinc-500);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .04em
}

.mb-detail-line span:last-child {
  color: var(--zinc-900);
  font-weight: 600
}

.btn-close {
  opacity: .5;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, .6))
}

.btn-close:hover {
  opacity: 1
}

#errorBox {
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: rgba(255, 229, 227, .7);
  border: 1px solid rgba(255, 59, 48, .25);
  color: #b91c1c;
  padding: 10px 14px
}

.mb-toast-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px
}

.mb-toast-icon.error {
  background: var(--danger-light);
  color: var(--danger-dark)
}

.mb-glass-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .35s
}

.mb-glass-ambient.active {
  opacity: 1;
  z-index: 1045
}

.mb-glass-ambient span {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px)
}

.mb-glass-ambient span:first-child {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(var(--danger-rgb), .55), transparent 70%);
  top: 6%;
  left: 10%;
  animation: 16s ease-in-out infinite mbDrift1
}

.mb-glass-ambient span:nth-child(2) {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(123, 164, 221, .7), transparent 70%);
  bottom: 6%;
  right: 10%;
  animation: 18s ease-in-out infinite mbDrift2
}

.mb-glass-ambient span:nth-child(3) {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(13, 36, 77, .5), transparent 70%);
  top: 40%;
  right: 24%;
  animation: 20s ease-in-out infinite mbDrift3
}

@keyframes mbDrift1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(40px, 30px) scale(1.15)
  }
}

@keyframes mbDrift2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(-30px, -40px) scale(1.1)
  }
}

@keyframes mbDrift3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(20px, -25px) scale(1.2)
  }
}

.auth-split {
  min-height: 100vh;
  display: grid
}

.auth-split-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 40px;
  background: var(--white);
  position: relative;
  z-index: 2
}

.auth-split-form-inner {
  width: 100%;
  max-width: 400px
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px
}

.auth-brand-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(160deg, #ffb6a3 0, var(--grass, #fd876d) 60%, var(--grass-dark, #ad1f00) 100%)
}

.auth-brand-name {
  font-size: 15px;
  color: var(--zinc-900, #18181b)
}

.auth-form-header {
  margin-bottom: 32px
}

.auth-form-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(var(--grass-rgb), .08);
  border: 1px solid rgba(var(--grass-rgb), .18);
  color: var(--grass, #fd876d);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px
}

.auth-form-title {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--zinc-900, #18181b);
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: 0 0 6px
}

.auth-form-sub {
  font-size: 13.5px;
  color: var(--zinc-500, #71717a);
  margin: 0;
  line-height: 1.5
}

.auth-helper,
.auth-pw-toggle {
  color: var(--zinc-400, #a1a1aa)
}

.auth-error-box,
.auth-field {
  margin-bottom: 18px
}

.auth-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--zinc-500, #71717a);
  margin-bottom: 7px
}

.auth-field .form-control {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--zinc-200, #e4e4e7);
  border-radius: 10px;
  background: var(--zinc-50, #fafafa);
  font-size: 14.5px;
  color: var(--zinc-800, #27272a);
  font-family: Inter, -apple-system, sans-serif;
  outline: 0
}

.auth-field .form-control::placeholder {
  color: var(--zinc-400, #a1a1aa);
  font-weight: 400
}

.auth-field .form-control:focus {
  border-color: var(--grass, #fd876d);
  box-shadow: 0 0 0 4px rgba(var(--grass-rgb), .12);
  background: var(--white, #fff)
}

.auth-field .form-control[readonly] {
  background: var(--zinc-100, #f4f4f5);
  color: var(--zinc-500, #71717a);
  cursor: not-allowed
}

.auth-helper {
  margin-top: 6px;
  font-size: 12px
}

.auth-pw-wrap .form-control {
  padding-right: 44px
}

.auth-pw-toggle {
  position: absolute;
  right: 12px;
  background: 0 0;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s
}

.auth-split-image,
.auth-submit {
  position: relative;
  overflow: hidden
}

.auth-pw-toggle:hover {
  color: var(--zinc-600, #52525b)
}

.auth-row {
  display: grid;
  gap: 14px
}

.auth-error-box {
  background: rgba(255, 59, 48, .08);
  border: 1px solid rgba(255, 59, 48, .22);
  color: #b91c1c;
  border-radius: 10px;
  font-size: 13px;
  padding: 10px 14px;
  line-height: 1.5
}

.auth-submit {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  border: none;
  border-radius: 10px;
  background: var(--grass);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: filter .15s, transform .12s;
  box-shadow: 0 1px 1px rgba(255, 255, 255, .4) inset, 0 2px 1px rgba(var(--grass-rgb), .35)
}

.auth-submit::after {
  position: absolute;
  top: -40%;
  left: -60%;
  width: 50%;
  height: 180%;
  background: linear-gradient(75deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
  transform: rotate(10deg);
  animation: 4.5s ease-in-out infinite authBtnSheen;
  pointer-events: none
}

@keyframes authBtnSheen {
  0% {
    left: -60%
  }

  100%,
  40% {
    left: 140%
  }
}

.auth-submit:hover {
  filter: brightness(1.09)
}

.auth-form-divider {
  border: none;
  border-top: 1px solid var(--zinc-100, #f4f4f5);
  margin: 24px 0
}

.auth-split-image {
  background: linear-gradient(160deg, var(--slate-900, #001e26) 0, var(--hero-mid, #024556) 55%, var(--hero-end, #002e3a) 100%)
}

.auth-split-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23004C5C' stroke-opacity='0.12'%3E%3Crect x='6' y='6' width='18' height='18'/%3E%3Crect x='36' y='6' width='18' height='18'/%3E%3Crect x='6' y='36' width='18' height='18'/%3E%3Crect x='36' y='36' width='18' height='18'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1
}

.auth-split-image-orbs {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none
}

.auth-split-image-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px)
}

.auth-split-image-orbs span:first-child {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(46, 82, 153, .55), transparent 70%);
  top: 5%;
  left: -10%;
  animation: 16s ease-in-out infinite imgOrb1
}

.auth-split-image-orbs span:nth-child(2) {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(123, 164, 221, .4), transparent 70%);
  bottom: 10%;
  right: -5%;
  animation: 20s ease-in-out infinite imgOrb2
}

.auth-split-image-orbs span:nth-child(3) {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(13, 36, 77, .6), transparent 70%);
  top: 45%;
  left: 40%;
  animation: 14s ease-in-out infinite imgOrb3
}

@keyframes imgOrb1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(30px, 25px) scale(1.12)
  }
}

@keyframes imgOrb2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(-20px, -30px) scale(1.1)
  }
}

@keyframes imgOrb3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(15px, -20px) scale(1.15)
  }
}

.auth-split-image-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px
}

.auth-split-illustration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px
}

.auth-stat-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 4
}

.auth-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 12px 16px;
  width: fit-content
}

.auth-stat-pill-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(123, 164, 221, .2);
  border: 1px solid rgba(123, 164, 221, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7ba4dd;
  flex-shrink: 0
}

.auth-stat-pill-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2
}

.auth-stat-pill-text span {
  font-size: 11.5px;
  color: rgba(126, 148, 153, .9);
  font-weight: 500
}

.auth-image-tagline {
  margin-top: 28px
}

.auth-image-tagline h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin: 0 0 8px
}

.auth-image-tagline h3 em {
  font-style: normal;
  color: var(--grass)
}

.auth-image-tagline p {
  font-size: 13.5px;
  color: rgba(126, 148, 153, .85);
  margin: 0;
  line-height: 1.6;
  max-width: 320px
}

@media (max-width:900px) {
  .auth-split {
    grid-template-columns: 1fr
  }

  .auth-split-image {
    display: none
  }

  .auth-split-form {
    padding: 40px 24px;
    min-height: 100vh
  }
}

@media (max-width:480px) {
  .auth-row {
    grid-template-columns: 1fr
  }

  .auth-split-form {
    padding: 32px 20px
  }
}

.badge-upcoming {
  background-color: #e0f2fe;
  color: #0369a1
}

.badge-running {
  background-color: #dcfce7;
  color: #15803d
}

.badge-completed {
  background-color: #f1f5f9;
  color: #475569
}

.badge-cancelled {
  background-color: #fee2e2;
  color: #b91c1c
}

.badge-default {
  background-color: #f3f4f6;
  color: #374151
}

/* ---------------------------------------------------------------------
   5. DASHBOARD SHELL (tabs)
   --------------------------------------------------------------------- */
.nav-tabs {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0 16px;
  border-bottom: 1px solid #e5e7eb;
}

.nav-tabs li {
  position: relative;
}

.nav-tabs a {
  display: inline-block;
  padding: 12px 4px;
  text-decoration: none;
  font-weight: 500;
  color: #6b7280;
  position: relative;
  transition: color 0.2s ease;
}

.nav-tabs a:hover {
  color: #111827;
}

.nav-tabs a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0%;
  height: 3px;
  background: var(--grass);
  transition: width 0.25s ease;
}

.nav-tabs a:hover::after,
.nav-tabs a.active::after {
  width: 100%;
}

.nav-tabs a.active {
  color: var(--grass);
}

/* ---------------------------------------------------------------------
   6. SETTINGS SIDEBAR
   --------------------------------------------------------------------- */
.mb-sidebar-shell {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.mb-sidebar-content {
  flex: 1;
  min-width: 0;
}

/* ---------------- setting Sidebar ---------------- */
.mb-sidebar {
  width: var(--mb-sb-width);
  flex-shrink: 0;
  background: var(--mb-sb-bg);
  color: var(--mb-sb-text);
  padding: 22px 16px;
  border-radius: 10px;
  position: sticky;
  top: 16px;
  height: 545px;
}

.mb-sb-section {
  margin-bottom: 26px;
}

.mb-sb-section:last-child {
  margin-bottom: 0;
}

.mb-sb-label {
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mb-sb-label);
  font-weight: 700;
  margin: 0 0 10px 6px;
}

.mb-sb-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mb-sb-nav a {
  display: block;
  color: var(--mb-sb-text);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}

.mb-sb-nav a:hover {
  background: var(--mb-sb-bg-hover);
}

.mb-sb-nav a.mb-sb-active {
  background: var(--grass);
  color: #fff;
  font-weight: 700;
}

/* ---------------- Overlay (mobile/tablet drawer) ---------------- */
.mb-sb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 42, 46, .45);
  z-index: 1000;
}

.mb-sb-overlay.mb-sb-show {
  display: block;
}

/* ===================== TABLET ===================== */
@media (max-width: 1024px) {
  :root {
    --mb-sb-width: 200px;
  }
}

/* ===================== MOBILE / TABLET DRAWER ===================== */
@media (max-width: 900px) {
  .mb-sidebar-shell {
    display: block;
  }

  .mb-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 78vw;
    max-width: 280px;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform .25s ease;
    z-index: 1001;
    box-shadow: 4px 0 24px rgba(0, 0, 0, .25);
  }

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

  .mb-sb-hamburger {
    display: inline-flex !important;
  }
}

.setting-toolbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  border-radius: 10px;
  width: 100%;

}

.setting-toolbar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 50%;
}

.setting-toolbar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 50%;
}

.mb-sb-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  padding: 4px 8px;
  line-height: 1;
}

.stb-title {
  margin: 0;
}

@media (max-width: 576px) {
  .setting-toolbar {
    flex-direction: column;
  }

  .setting-toolbar__left {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .setting-toolbar__right {
    width: 100%;
    justify-content: flex-start;
  }

  .setting-toolbar__right .btn {
    width: 100%;
  }
}

/* ---------------------------------------------------------------------
   7. CONSISTENCY FIXES — previously undefined classes + styles migrated
   out of inline <style> blocks
   --------------------------------------------------------------------- */
/* These four classes are referenced in the templates but had no matching
   rule in any of the three original stylesheets, so they were rendering
   completely unstyled. Definitions below match the existing design system
   (glass / mb-card / mb-cell-* conventions) so they blend in automatically. */

/* user_profile.html wraps its content in .dash-body with no definition —
   giving it the same page padding as .mb-page for a consistent page frame. */
.dash-body {
  padding: 28px 0 60px;
}

/* user_profile.html uses .glass-card for the profile card and reuses it
   inside .modal-content (which already gets the glass treatment globally,
   so it's a no-op there, harmless). Styled as a card variant of .glass. */
.glass-card {
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 24px;
  overflow: hidden;
}

/* Table cells: .mb-cell-venue / .mb-cell-meta / .mb-cell-campus were styled,
   but the sibling .mb-cell-date and .mb-cell-event (used in the exact same
   rows, in my_bookings.html and dashboard.html) were missing. */
.mb-cell-date {
  color: var(--zinc-700);
  font-size: 13px;
  font-weight: 500;
}

.mb-cell-event {
  color: var(--zinc-800);
  font-weight: 500;
}

/* booking_page.html puts "custom-select" alongside Bootstrap's "form-select"
   on the Campus/Category/Venue dropdowns, but .form-select was never styled
   to match .form-control — so every text input has the app's rounded,
   zinc-bordered look while the selects kept plain Bootstrap styling. This
   unifies them and gives "custom-select" a real definition. */
.form-select,
.custom-select {
  border: 1.5px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .7);
  color: var(--zinc-800);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 12px;
  height: 44px;
  box-shadow: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.form-select:focus,
.custom-select:focus {
  border-color: var(--grass);
  box-shadow: 0 0 0 4px rgba(var(--grass-rgb), .15);
  outline: 0;
  background: var(--white);
}

/* Moved out of the <style> block inline in user_profile.html so every
   style rule lives in one file. */
.profile-label {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0.8;
}

.change-password-btn {
  width: 100%;
  height: 38px;
}


/* Each DataTables layout row (top row: search / bottom row: info+paging) */
.dt-layout-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 0px;
}

.dt-layout-row:last-of-type {
  margin-bottom: 0;
}

/* 'top': 'search' renders as a full-width cell — make sure it fills it */
.dt-layout-cell.dt-layout-full {
  width: 100%;
}

.dt-search .form-control {
  height: 40px;
}

/* Bottom row: info left, pagination right on large screens */
.dt-layout-row:has(.dt-paging) {
  justify-content: space-between;
}

.dt-layout-cell.dt-layout-start {
  margin-right: auto;
}

.dt-layout-cell.dt-layout-end {
  margin-left: auto;
}

.dt-info {
  font-size: 12.5px;
  color: var(--zinc-500);
}

.dataTables_wrapper .pagination {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--zinc-50);
  border: 1px solid var(--zinc-200);
  border-radius: 999px;
  padding: 4px;
  margin: 0;
}

.dataTables_wrapper .pagination .page-item .page-link {
  min-width: 30px;
  height: 30px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  background: transparent !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 600;
  color: var(--zinc-600) !important;
  box-shadow: none !important;
  transition: background .15s, color .15s, box-shadow .15s;
}

.dataTables_wrapper .pagination .page-item:not(.active):not(.disabled) .page-link:hover {
  background: #fff !important;
  color: var(--zinc-900) !important;
  box-shadow: var(--shadow-sm) !important;
}

.dataTables_wrapper .pagination .page-item.active .page-link {
  background: var(--grass) !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(var(--grass-rgb), .4) !important;
}

.dataTables_wrapper .pagination .page-item.disabled .page-link {
  opacity: .35;
  background: transparent !important;
}

@media (max-width: 767px) {
  .dt-layout-row {
    flex-direction: column;
    align-items: stretch;
  }

  .dt-layout-cell.dt-layout-start,
  .dt-layout-cell.dt-layout-end {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

/* Icon-only action buttons (Edit / Delete) in settings tables */
.mb-action-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mb-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 15px;
  padding: 0;
  transition: background .15s, color .15s, box-shadow .15s, transform .1s;
}

.mb-icon-btn:active {
  transform: scale(.92);
}

.mb-icon-btn--edit {
  background: var(--grass-light);
  color: var(--grass-dark);
}

.mb-icon-btn--edit:hover {
  background: var(--grass);
  color: #fff;
  box-shadow: 0 4px 10px rgba(var(--grass-rgb), .35);
}

.mb-icon-btn--delete {
  background: var(--danger-light);
  color: var(--danger-dark);
}

.mb-icon-btn--delete:hover {
  background: var(--danger);
  color: #fff;
  box-shadow: 0 4px 10px rgba(var(--danger-rgb), .3);
}

  .auth-submit.is-loading {
    opacity: 0.8;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .btn-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: btn-spin 0.6s linear infinite;
  }

  @keyframes btn-spin {
    to { transform: rotate(360deg); }
  }