/* ==========================================================================
   Bookings Application - Global Modern Theme System
   Theme Color: #e2a53a (Golden Amber) & White with Dark Slate Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #e2a53a;
  --primary-hover: #c98e2d;
  --primary-active: #b37920;
  --primary-light: #fef8ec;
  --primary-border: #f6d89a;
  --primary-glow: rgba(226, 165, 58, 0.25);

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --success: #10b981;
  --success-light: #ecfdf5;
  --warning: #f59e0b;
  --warning-light: #fffbeb;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --info: #0ea5e9;
  --info-light: #f0f9ff;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 32px -6px rgba(0, 0, 0, 0.15), 0 8px 16px -4px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  letter-spacing: -0.011em;
  background-color: #f8fafc;
  color: var(--slate-800);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.nav-open-locked {
  overflow: hidden;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--slate-400);
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
a {
  color: inherit;
  text-decoration: none;
}

.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

.bg-primary-light {
  background-color: var(--primary-light) !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

.bg-primary-soft {
  background-color: #fef8ec;
}

.bg-info-soft {
  background-color: #f0f9ff;
}

.bg-slate-soft {
  background-color: #f1f5f9;
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Public Navbar & Interactive Mobile Dropdown
   ========================================================================== */
header,
.site-header,
.admin-topbar,
.admin-sidebar-header,
.navbar,
nav {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.site-header {
  background: #ffffff;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: none !important;
}

.nav-content {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand-wrapper {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  border: none;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  padding: 4px 0;
  transition: transform 0.15s ease;
}

.brand-badge {
  background: linear-gradient(135deg, #f5c26b 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: var(--radius-md);
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 3px 8px var(--primary-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pulse-badge {
  position: relative;
}

.pulse-badge::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-md) + 2px);
  border: 2px solid var(--primary);
  opacity: 0;
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50%,
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.menu-indicator-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--slate-100);
  color: var(--slate-600);
  border-radius: 50%;
  transition: transform 0.25s ease, background-color 0.2s ease;
  margin-left: 2px;
}

.brand-logo.open .menu-indicator-badge {
  transform: rotate(180deg);
  background: var(--primary-light);
  color: var(--primary);
}

.brand-logo.open .brand-badge {
  transform: scale(1.08);
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-600);
  transition: all 0.2s;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

/* Mobile Toggle Buttons */
.mobile-only-btn {
  display: none;
}

.mobile-only-inline {
  display: none;
}

.mobile-b-logo-btn {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5c26b 0%, var(--primary) 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--primary-glow);
  touch-action: manipulation;
  user-select: none;
  flex-shrink: 0;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease;
}

.mobile-b-logo-btn:active {
  transform: scale(0.92);
}

.mobile-kebab-btn {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(226, 165, 58, 0.12);
  border: 1.5px solid rgba(226, 165, 58, 0.35);
  color: var(--primary-hover);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.mobile-kebab-btn:hover,
.mobile-kebab-btn:active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.mobile-burger-btn {
  display: none;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 7px 9px;
  color: var(--slate-700);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  user-select: none;
  z-index: 105;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.mobile-burger-btn svg {
  pointer-events: none;
  display: block;
}

.mobile-burger-btn:hover,
.mobile-burger-btn:active,
.mobile-burger-btn.open {
  background: var(--primary-light);
  border-color: var(--primary-border);
  color: var(--primary-hover);
}

.mobile-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0.75rem;
  right: 0.75rem;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 30px -5px rgba(15, 23, 42, 0.18), 0 6px 12px -4px rgba(15, 23, 42, 0.06);
  padding: 0.75rem;
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px) scale(0.97);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.2s ease;
}

.mobile-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mobile-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--slate-100);
}

.mobile-close-btn {
  background: var(--slate-100);
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 1.1rem;
  color: var(--slate-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.mobile-dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--slate-800);
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
  background: var(--slate-50);
}

.mobile-dropdown-item:active {
  transform: scale(0.98);
  background: var(--primary-light);
}

.dropdown-item-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.dropdown-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
}

.dropdown-item-desc {
  font-size: 0.7rem;
  color: var(--slate-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-item-arrow {
  font-size: 1.2rem;
  color: var(--slate-400);
  line-height: 1;
}

.mobile-dropdown-divider {
  height: 1px;
  background: var(--slate-200);
  margin: 0.2rem 0;
}

.mobile-admin-link {
  background: #f8fafc;
  border: 1px solid var(--slate-200);
}

.dropdown-item-badge {
  background: var(--slate-200);
  color: var(--slate-700);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  line-height: 1.25;
}

.btn-primary {
  background: linear-gradient(135deg, #f5c26b 0%, var(--primary) 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e2a53a 0%, var(--primary-hover) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

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

.btn-secondary {
  background: #ffffff;
  color: var(--slate-700);
  border-color: var(--slate-300);
}

.btn-secondary:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
}

.btn-dark {
  background: var(--slate-900);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--slate-800);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.725rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 11px 22px;
  font-size: 0.925rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.booking-submit-wrapper {
  margin-top: 1.85rem;
  padding-top: 0.5rem;
}

#submitBookingBtn {
  min-height: 56px !important;
  height: 56px !important;
  padding: 16px 28px !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 18px var(--primary-glow) !important;
}

/* ==========================================================================
   Hero Section & Booking Form Layout
   ========================================================================== */
.hero-wrapper {
  background: radial-gradient(circle at 50% 0%, #fffbf2 0%, #f8fafc 70%);
  padding: 1.25rem 0 2rem;
  border-bottom: 1px solid var(--slate-200);
}

/* Booking Layout Grid */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  align-items: start;
}

/* Glass & Card Elements */
.card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: visible;
  transition: box-shadow 0.2s;
}

.card-body,
.card.glassy-card,
.form-grid,
.form-group {
  overflow: visible;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-header {
  padding: 1.3rem 1.6rem;
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-body {
  padding: 1.5rem 1.6rem 2rem;
}

/* Form Groups & Inputs */
.form-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-hover);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: start;
}

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

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-700);
  display: flex;
  justify-content: space-between;
}

/* Date Pickers, Inputs & Select Dropdowns (Refined, Compact Values & Modern Font Sizing) */
input[type="date"],
input[type="text"],
input[type="password"],
input[type="email"],
textarea.form-control,
.form-control,
.form-select {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 12px;
  font-size: 0.80rem;
  font-family: inherit;
  color: var(--slate-900);
  background-color: #ffffff;
  border: 1.5px solid rgba(226, 165, 58, 0.45) !important;
  border-radius: 11px !important;
  outline: none;
  min-height: 40px;
  line-height: normal;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23e2a53a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 13px;
  padding-right: 32px !important;
  cursor: pointer;
}

.form-select option {
  padding: 6px 10px;
  background-color: #ffffff;
  color: var(--slate-900);
  font-size: 0.78rem;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(0.4) sepia(1) saturate(5) hue-rotate(5deg);
  padding: 3px;
  border-radius: 6px;
  transition: background-color 0.15s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  background-color: rgba(226, 165, 58, 0.15);
}

input[type="date"]::-webkit-datetime-edit {
  padding: 0;
}

.form-control:focus,
.form-select:focus,
input[type="date"]:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px var(--primary-glow) !important;
  background-color: #fffefb;
}

.form-control:disabled,
.form-select:disabled,
input[type="date"]:disabled {
  background-color: var(--slate-100);
  color: var(--slate-400);
  cursor: not-allowed;
}

/* Custom Datepicker Trigger & Theme Modal */
.custom-datepicker-trigger {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  width: 100%;
}

.datepicker-input {
  cursor: pointer !important;
  padding-right: 38px !important;
  background-color: #ffffff !important;
}

.datepicker-icon {
  position: absolute;
  right: 12px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* Custom Attached Datepicker Popover Dropdown (Ultra-Compact, Reduced Height & Width, Fully Responsive) */
.calendar-popover-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 238px !important;
  min-width: 224px !important;
  max-width: min(242px, calc(100vw - 28px)) !important;
  background: #ffffff;
  border-radius: 10px;
  border: 1.5px solid rgba(226, 165, 58, 0.45);
  box-shadow: 0 10px 26px -4px rgba(15, 23, 42, 0.16), 0 3px 8px -2px rgba(226, 165, 58, 0.12);
  padding: 0.42rem 0.52rem 0.35rem;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transform-origin: top left;
  box-sizing: border-box;
  overflow: visible;
  transition: opacity 0.16s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.16s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.16s ease;
}

.calendar-popover-dropdown.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.calendar-popover-dropdown.position-top {
  top: auto;
  bottom: calc(100% + 5px);
  transform-origin: bottom left;
}

.calendar-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.22rem;
  padding-bottom: 0.18rem;
  border-bottom: 1px solid var(--slate-100);
}

.calendar-month-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cal-month-title {
  font-weight: 800;
  font-size: 0.74rem;
  color: var(--slate-900);
  min-width: 88px;
  text-align: center;
  line-height: 1.1;
}

.cal-nav-btn {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--slate-700);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
  padding: 0;
}

.cal-nav-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-border);
  color: var(--primary-hover);
}

.cal-close-btn {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: none;
  background: var(--slate-100);
  color: var(--slate-500);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
  padding: 0;
}

.cal-close-btn:hover {
  background: var(--slate-200);
  color: var(--slate-800);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--slate-400);
  margin-bottom: 0.15rem;
  line-height: 1;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.5px;
  margin-bottom: 0.25rem;
}

.cal-day-cell {
  height: 22px;
  min-height: 22px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.67rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--slate-800);
  transition: all 0.12s ease;
  background: transparent;
  user-select: none;
  box-sizing: border-box;
}

.cal-day-cell:hover:not(.disabled):not(.selected) {
  background: var(--primary-light);
  color: var(--primary-hover);
  border-color: var(--primary-border);
  transform: scale(1.04);
}

.cal-day-cell.today:not(.selected) {
  border-color: var(--primary);
  font-weight: 700;
  color: var(--primary-hover);
  background: #fef8ec;
}

.cal-day-cell.selected {
  background: linear-gradient(135deg, #f5c26b 0%, var(--primary) 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 1px 6px var(--primary-glow) !important;
}

.cal-day-cell.disabled {
  color: var(--slate-300) !important;
  cursor: not-allowed;
  pointer-events: none;
}

.cal-day-cell.empty {
  cursor: default;
  pointer-events: none;
}

.calendar-quick-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.22rem;
  border-top: 1px solid var(--slate-100);
}

/* ==========================================================================
   Custom Theme Select Dropdowns (Attached Popover Menu with Theme Border & 12px Radius)
   ========================================================================== */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-native-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}

.custom-select-trigger {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  font-size: 0.78rem !important;
  font-family: inherit !important;
  color: var(--slate-900) !important;
  background-color: #ffffff !important;
  border: 1.5px solid rgba(226, 165, 58, 0.45) !important;
  border-radius: 11px !important;
  cursor: pointer !important;
  min-height: 40px !important;
  user-select: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.custom-select-trigger:hover {
  border-color: var(--primary) !important;
  background-color: #fffdf9 !important;
}

.custom-select-wrapper.open .custom-select-trigger,
.custom-select-trigger:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px var(--primary-glow) !important;
  background-color: #fffefb !important;
  outline: none;
}

.custom-select-trigger.disabled {
  background-color: var(--slate-100) !important;
  color: var(--slate-400) !important;
  cursor: not-allowed !important;
  border-color: var(--slate-200) !important;
  pointer-events: none !important;
}

.custom-select-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem !important;
  font-weight: 500;
  text-align: left;
  color: var(--slate-800);
}

.custom-select-label.placeholder {
  color: var(--slate-400);
  font-weight: 400;
}

.custom-select-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--primary);
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-menu {
  position: relative;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #ffffff;
  border-radius: 11px;
  border: 1.5px solid transparent;
  box-shadow: none;
  padding: 0 0.3rem;
  margin-top: 0;
  box-sizing: border-box;
  transition: max-height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.2s ease,
    padding 0.2s ease,
    margin 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.custom-select-wrapper.open .custom-select-menu {
  max-height: 140px !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth !important;
  border-color: rgba(226, 165, 58, 0.45);
  box-shadow: 0 4px 16px rgba(226, 165, 58, 0.14), 0 2px 6px rgba(15, 23, 42, 0.05);
  padding: 2px 4px;
  margin-top: 5px;
}

/* Time Slot Dropdown - Exactly 4 items visible with smooth scrolling */
.custom-select-wrapper[data-select-id="timeSlotSelect"].open .custom-select-menu,
#slotDropdownContainer .custom-select-wrapper.open .custom-select-menu {
  max-height: 140px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth !important;
}

.custom-select-menu::-webkit-scrollbar,
.custom-select-wrapper[data-select-id="timeSlotSelect"] .custom-select-menu::-webkit-scrollbar {
  width: 4px;
}

.custom-select-menu::-webkit-scrollbar-track,
.custom-select-wrapper[data-select-id="timeSlotSelect"] .custom-select-menu::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.6);
  border-radius: 4px;
}

.custom-select-menu::-webkit-scrollbar-thumb,
.custom-select-wrapper[data-select-id="timeSlotSelect"] .custom-select-menu::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.custom-select-item {
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  padding: 0 10px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--slate-800);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.15s ease;
  user-select: none;
  margin-bottom: 2px;
  box-sizing: border-box;
}

.custom-select-item:hover:not(.disabled):not(.selected) {
  background: var(--primary-light);
  color: var(--primary-hover);
}

.custom-select-item.selected {
  background: linear-gradient(135deg, #f5c26b 0%, var(--primary) 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px var(--primary-glow) !important;
}

.custom-select-item.disabled {
  color: #94a3b8 !important;
  background: rgba(241, 245, 249, 0.5) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  user-select: none !important;
  opacity: 0.38 !important;
  filter: grayscale(0.6) !important;
}

.custom-select-item:last-child {
  margin-bottom: 0;
}

.form-scroll-spacer {
  height: 90px;
  width: 100%;
  pointer-events: none;
}

/* Radio / Card selection */
.slot-type-card {
  border: 1.5px solid rgba(226, 165, 58, 0.45);
  border-radius: 12px;
  padding: 0.75rem 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  background: #ffffff;
}

.slot-type-card:hover {
  border-color: var(--primary-border);
  background-color: var(--primary-light);
}

.slot-type-card.selected {
  border-color: var(--primary);
  background-color: var(--primary-light);
  box-shadow: 0 0 0 1px var(--primary);
}

/* ==========================================================================
   Order Summary Box (Side Widget)
   ========================================================================== */
.summary-box {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 80px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.825rem;
}

.summary-total {
  border-top: 2px dashed var(--slate-200);
  border-bottom: none;
  padding-top: 0.7rem;
  margin-top: 0.4rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--slate-900);
}

/* ==========================================================================
   Tables
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.825rem;
}

table th,
table td {
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  text-align: left;
  vertical-align: middle;
}

table th {
  background-color: #f8fafc;
  color: var(--slate-700);
  font-weight: 700;
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

table tbody tr:hover {
  background-color: #fcf8f0;
}

/* ==========================================================================
   Badges & Status Tags
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  border-radius: 9999px;
  font-size: 0.725rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.badge-success {
  background: var(--success-light);
  color: var(--success);
}

.badge-warning {
  background: var(--warning-light);
  color: var(--warning);
}

.badge-danger {
  background: var(--danger-light);
  color: var(--danger);
}

.badge-info {
  background: var(--info-light);
  color: var(--info);
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary-hover);
  border: 1px solid var(--primary-border);
}

/* ==========================================================================
   Admin Portal Layout & Styles
   ========================================================================== */
.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 250px;
  background: var(--slate-900);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* User sidebar: offcanvas drawer */
#userSidebar {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: -270px !important;
  width: 250px !important;
  z-index: 99999 !important;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.5) !important;
  transition: left 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#userSidebar.open {
  left: 0 !important;
}

.active-nav-btn {
  background: rgba(226, 165, 58, 0.15) !important;
  color: var(--primary) !important;
  border-color: var(--primary-border) !important;
}


/* Header B Logo Button (Mobile Only) */
.mobile-b-logo-btn {
  display: none !important;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5c26b 0%, var(--primary) 100%);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(226, 165, 58, 0.4);
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  user-select: none;
}

.mobile-b-logo-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 10px rgba(226, 165, 58, 0.5);
}

.mobile-b-logo-btn:active {
  transform: scale(0.95);
}

.mobile-only-btn,
.mobile-only-inline,
.mobile-kebab-btn {
  display: none !important;
}

.admin-sidebar-header {
  height: 74px;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: none;
  background: #111827;
}

.admin-nav {
  padding: 1rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: var(--slate-400);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  color: #ffffff;
  background: rgba(226, 165, 58, 0.15);
  color: var(--primary);
}

.admin-nav-item.active {
  border-left: 3px solid var(--primary);
  font-weight: 700;
}

.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #f8fafc;
  padding-bottom: 3.5rem;
}

.admin-topbar {
  height: 74px;
  background: #f8fafc !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  outline: none !important;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-content {
  padding: 1.5rem 1.5rem 4.5rem 1.5rem;
  flex: 1;
}

.admin-content>*:last-child {
  margin-bottom: 3rem !important;
}

/* Metric KPI Cards */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s, box-shadow 0.2s;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.metric-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
}

.metric-lbl {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Charts Grid */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.charts-grid-alt {
  grid-template-columns: 1fr 2fr;
}

.charts-grid-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.chart-card {
  background: #ffffff;
  border: 1px solid rgba(226, 165, 58, 0.16);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(226, 165, 58, 0.06);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.glassy-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 165, 58, 0.18);
  box-shadow: 0 8px 32px rgba(226, 165, 58, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.chart-card .card-header,
.glassy-card .card-header {
  background: linear-gradient(180deg, rgba(254, 252, 246, 0.85) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-bottom: 1px solid rgba(226, 165, 58, 0.12);
}

.chart-body {
  height: 220px;
  position: relative;
  padding: 1rem;
}

.chart-body-lg {
  height: 250px;
}

/* Staggered Dashboard Page Landing Float & Fade Entrance Animations */
@keyframes dashboardLandingFadeIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

  60% {
    transform: translateY(-2px) scale(1.002);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.metrics-grid .metric-card {
  animation: dashboardLandingFadeIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.metrics-grid .metric-card:nth-child(1) { animation-delay: 0.04s; }
.metrics-grid .metric-card:nth-child(2) { animation-delay: 0.08s; }
.metrics-grid .metric-card:nth-child(3) { animation-delay: 0.12s; }
.metrics-grid .metric-card:nth-child(4) { animation-delay: 0.16s; }

.chart-card-float {
  animation: dashboardLandingFadeIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.charts-grid-duo .chart-card-float:nth-child(1) {
  animation-delay: 0.18s;
}

.charts-grid-duo .chart-card-float:nth-child(2) {
  animation-delay: 0.25s;
}

.donut-gauge-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.donut-gauge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.65rem;
  height: 30px;
}

.donut-chart-body {
  height: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem 0.25rem;
  position: relative;
}

.donut-relative-container {
  position: relative;
  width: 100%;
  flex: 1;
  height: 105px;
  min-height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-relative-container canvas {
  max-height: 100% !important;
  max-width: 100% !important;
}

.donut-center-metric {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
  line-height: 1.05;
}

.donut-metric-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  font-family: 'Outfit', 'Inter', sans-serif;
}

.donut-metric-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--slate-500);
  margin-top: 2px;
  white-space: nowrap;
}

.donut-sub-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-700);
  text-align: center;
  margin-top: 0.4rem;
  letter-spacing: -0.01em;
}

/* Dotted Legend for Modern Charts */
.chart-legend-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem 0.6rem;
  padding: 0.15rem 0.35rem 0.05rem;
  width: 100%;
  margin-top: auto;
}

.legend-dot-item {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  font-size: 0.46rem;
  font-weight: 600;
  color: var(--slate-600);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.legend-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.15);
}

.legend-dot-val {
  font-size: 0.46rem;
  font-weight: 700;
  color: var(--slate-800);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid var(--slate-200);
  padding: 1.25rem 0;
  color: var(--slate-500);
  font-size: 0.775rem;
  text-align: center;
}

.mobile-only,
.mobile-only-inline,
.mobile-only-btn,
.mobile-b-logo-btn,
.mobile-kebab-btn,
.mobile-close-btn,
.kebab-toast-popover {
  display: none !important;
}

/* ==========================================================================
   Comprehensive Mobile Responsiveness
   ========================================================================== */
@media (max-width: 991px) {

  .desktop-nav,
  .desktop-only,
  .mobile-hide {
    display: none !important;
  }

  .mobile-only-btn {
    display: inline-flex !important;
  }

  .mobile-only-inline {
    display: inline-flex !important;
    align-items: center;
  }

  .mobile-only {
    display: block !important;
  }

  .mobile-b-logo-btn {
    display: inline-flex !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 1.25rem !important;
    border-radius: 11px !important;
  }

  .mobile-kebab-btn {
    display: inline-flex !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 11px !important;
    align-items: center;
    justify-content: center;
    background: var(--slate-100);
    border: none !important;
    color: var(--slate-700);
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-kebab-btn:hover,
  .mobile-kebab-btn:active {
    background: var(--primary-light);
    color: var(--primary-hover);
    border-color: var(--primary-border);
    transform: scale(1.04);
  }

  .mobile-kebab-btn svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Kebab Toast Popover */
  .kebab-toast-popover {
    display: none !important;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 190px;
    background: #ffffff !important;
    border-radius: 12px;
    border: 1px solid var(--slate-200);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(0, 0, 0, 0.06);
    padding: 6px;
    z-index: 10000;
  }

  .kebab-toast-popover.active {
    display: block !important;
    animation: kebabPopIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

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

  .kebab-toast-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    background: #ffffff;
    color: var(--slate-800);
    transition: background 0.15s ease;
  }

  .kebab-toast-item:hover,
  .kebab-toast-item:active {
    background: var(--slate-50);
  }

  .kebab-toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .kebab-toast-content {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .kebab-toast-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.2;
  }

  .kebab-toast-subtitle {
    font-size: 0.65rem;
    color: var(--slate-500);
    font-weight: 500;
    margin-top: 1px;
  }

  .mobile-close-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 9px !important;
    font-size: 1.4rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }

  .nav-content {
    height: 70px;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .summary-box {
    position: static;
    top: auto;
  }

  /* Admin mobile sidebar drawer */
  .admin-sidebar,
  #adminSidebar {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: -270px !important;
    width: 250px !important;
    z-index: 99999 !important;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.5) !important;
    transition: left 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .admin-sidebar.open,
  #adminSidebar.open {
    left: 0 !important;
  }

  .mobile-menu-backdrop {
    z-index: 99990 !important;
  }

  .admin-main {
    padding-bottom: 4.5rem !important;
  }

  .admin-topbar {
    height: 70px !important;
    background: #f8fafc !important;
    padding: 0 1rem !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    outline: none !important;
  }

  .admin-sidebar-header {
    height: 70px !important;
    padding: 0 1.15rem !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  .admin-content {
    padding: 1.25rem 0.85rem 5.5rem 0.85rem !important;
  }

  .admin-content>*:last-child {
    margin-bottom: 3.5rem !important;
  }

  .card.glassy-card {
    border-radius: 24px !important;
    margin-top: 0.85rem !important;
    margin-bottom: 3.5rem !important;
  }

  .card-header {
    padding: 1.25rem 1.25rem !important;
    border-top: none !important;
  }

  .card-title {
    font-size: 1.05rem !important;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
    margin-bottom: 0.6rem !important;
  }

  .charts-grid {
    grid-template-columns: 1fr !important;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
  }

  /* Mobile Chart Proportions (Reduced Heights & Proportional Elements) */
  .chart-body-revenue {
    height: 140px !important;
    min-height: 135px !important;
    padding: 0.4rem 0.6rem 0.2rem !important;
  }

  /* Two charts side-by-side in one single row on mobile */
  .charts-grid-duo {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
    margin-bottom: 0.6rem !important;
  }

  .charts-grid-duo .chart-card {
    border-radius: var(--radius-sm);
  }

  .charts-grid-duo .card-header,
  .charts-grid-duo .donut-gauge-header {
    padding: 0.3rem 0.45rem !important;
    height: 28px !important;
  }

  .charts-grid-duo .card-title {
    font-size: 0.68rem !important;
  }

  .charts-grid-duo .badge {
    font-size: 0.48rem !important;
    padding: 1px 3px !important;
  }

  .charts-grid-duo .chart-body,
  .charts-grid-duo .donut-chart-body {
    height: 125px !important;
    padding: 0.25rem 0.2rem !important;
  }

  .charts-grid-duo .donut-relative-container {
    height: 75px !important;
    min-height: 75px !important;
  }

  .charts-grid-duo .donut-metric-val {
    font-size: 0.85rem !important;
  }

  .charts-grid-duo .donut-metric-lbl {
    font-size: 0.45rem !important;
  }

  .charts-grid-duo .donut-sub-title {
    font-size: 0.54rem !important;
    margin-top: 1px !important;
  }

  .admin-page-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    margin-bottom: 0.75rem !important;
  }

  .admin-search-form {
    width: 100% !important;
  }

  .admin-search-input {
    width: 100% !important;
    flex: 1 !important;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15.5px;
  }

  .container {
    padding: 0 0.5rem;
  }

  .hero-wrapper {
    padding: 0.4rem 0 0.65rem;
  }

  .mobile-hide {
    display: none !important;
  }

  .card {
    border-radius: var(--radius-sm);
  }

  .card-header {
    padding: 0.4rem 0.55rem !important;
  }

  .card-title {
    font-size: 0.78rem !important;
  }

  .card-body {
    padding: 0.5rem 0.65rem !important;
  }

  /* Compact User Booking Form on Mobile */
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.35rem !important;
    margin-bottom: 0.35rem !important;
  }

  .form-grid-2col {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
    margin-bottom: 0.45rem !important;
    align-items: start !important;
  }

  .form-section-title {
    font-size: 0.68rem !important;
    margin-bottom: 0.3rem !important;
    letter-spacing: 0.03em;
  }

  .form-group {
    gap: 2px !important;
    margin-bottom: 0.35rem !important;
  }

  .form-label {
    font-size: 0.68rem !important;
    font-weight: 600;
    margin-bottom: 1px;
  }

  input[type="date"],
  input[type="text"],
  input[type="password"],
  input[type="email"],
  textarea.form-control,
  .form-control,
  .form-select {
    padding: 7px 11px !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
    border: 1.5px solid rgba(226, 165, 58, 0.45) !important;
    min-height: 38px !important;
    line-height: normal;
    background-color: #ffffff;
  }

  .form-select {
    background-size: 11px;
    background-position: right 9px center;
    padding-right: 26px !important;
  }

  .form-select option {
    font-size: 0.76rem !important;
    padding: 5px 8px !important;
  }

  /* Ultra-Compact Responsive Calendar Dropdown Popover on Mobile */
  .calendar-popover-dropdown {
    width: 236px !important;
    min-width: 220px !important;
    max-width: min(240px, calc(100vw - 28px)) !important;
    padding: 0.40rem 0.48rem 0.32rem !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    left: 0 !important;
  }

  .cal-month-title {
    font-size: 0.72rem !important;
    min-width: 82px !important;
  }

  .cal-nav-btn {
    width: 19px !important;
    height: 19px !important;
    font-size: 0.78rem !important;
  }

  .cal-close-btn {
    width: 18px !important;
    height: 18px !important;
    font-size: 0.85rem !important;
  }

  .cal-day-cell {
    height: 21px !important;
    min-height: 21px !important;
    font-size: 0.65rem !important;
    border-radius: 4px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .calendar-weekdays {
    font-size: 0.62rem !important;
    margin-bottom: 0.25rem !important;
  }

  .calendar-days-grid {
    gap: 2.5px !important;
    margin-bottom: 0.45rem !important;
  }

  /* Custom Theme Select Dropdown Popover on Mobile */
  .custom-select-trigger {
    padding: 7px 11px !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
    min-height: 38px !important;
  }

  .custom-select-menu {
    border-radius: 10px !important;
  }

  .custom-select-wrapper.open .custom-select-menu,
  .custom-select-wrapper[data-select-id="timeSlotSelect"].open .custom-select-menu,
  #slotDropdownContainer .custom-select-wrapper.open .custom-select-menu {
    max-height: 140px !important;
    padding: 2px 4px !important;
    margin-top: 4px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth !important;
  }

  .custom-select-item {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 8.5px !important;
    font-size: 0.75rem !important;
    border-radius: 6px !important;
  }

  .form-scroll-spacer {
    height: 80px !important;
  }

  input[type="date"]::-webkit-calendar-picker-indicator {
    padding: 2px 4px;
    margin-right: -2px;
  }

  .slot-type-card {
    padding: 0.5rem 0.65rem;
    border-radius: 12px !important;
    border: 1.5px solid rgba(226, 165, 58, 0.45);
  }

  .summary-box {
    padding: 0.55rem 0.65rem;
    border-radius: 12px !important;
  }

  .summary-row {
    padding: 0.3rem 0;
    font-size: 0.72rem;
  }

  .summary-total {
    padding-top: 0.4rem;
    font-size: 0.82rem;
  }

  .btn-lg {
    padding: 8px 14px !important;
    font-size: 0.82rem !important;
    border-radius: 12px !important;
    min-height: 38px !important;
  }

  .btn {
    padding: 6px 11px;
    font-size: 0.75rem;
    border-radius: 12px !important;
  }

  /* Admin Metrics on Mobile */
  .metric-card {
    padding: 0.45rem 0.55rem !important;
    gap: 0.4rem !important;
    border-radius: 12px !important;
  }

  .metric-icon-box {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
  }

  .metric-icon-box svg {
    width: 14px !important;
    height: 14px !important;
  }

  .metric-val {
    font-size: 0.95rem !important;
  }

  .metric-lbl {
    font-size: 0.58rem !important;
  }

  .chart-body {
    height: 135px !important;
    padding: 0.35rem !important;
  }

  .chart-body-lg {
    height: 165px !important;
    padding: 0.45rem !important;
  }

  /* Compact Free-flowing Tables on Mobile */
  table {
    font-size: 0.7rem !important;
  }

  table th {
    padding: 4px 6px !important;
    font-size: 0.62rem !important;
  }

  table td {
    padding: 4px 6px !important;
    font-size: 0.68rem !important;
  }

  .badge {
    font-size: 0.6rem !important;
    padding: 1.5px 5px !important;
  }

  .site-footer {
    padding: 0.65rem 0;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .brand-title {
    font-size: 0.92rem;
  }

  .brand-badge {
    padding: 3px 6px;
    font-size: 0.75rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.35rem !important;
  }

  input[type="date"],
  input[type="text"],
  input[type="password"],
  input[type="email"],
  textarea.form-control,
  .form-control,
  .form-select {
    padding: 7px 10px !important;
    font-size: 13.5px !important;
    border-radius: 12px !important;
    min-height: 38px !important;
  }

  .btn-lg {
    min-height: 36px !important;
    border-radius: 12px !important;
  }
}

/* ==========================================================================
   Multi-Gateway Payment Suite (UPI, Card, QR Scan & Pay, NetBanking)
   ========================================================================== */
.payment-tabs-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--slate-200);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.payment-tabs-nav::-webkit-scrollbar {
  display: none;
}

.pay-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  color: var(--slate-600);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

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

.pay-tab-btn.active {
  background: linear-gradient(135deg, #f5c26b 0%, var(--primary) 100%);
  color: #ffffff;
  border-color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.pay-tab-btn.active svg {
  stroke: #ffffff;
}

.payment-tab-content-wrapper {
  position: relative;
  min-height: 260px;
}

.pay-tab-panel {
  display: none;
  animation: tabFadeIn 0.25s ease forwards;
}

.pay-tab-panel.active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 1. Scan & Pay QR Styles */
.qr-payment-box {
  background: #ffffff;
  border: 1px solid rgba(226, 165, 58, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.qr-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--slate-100);
  flex-wrap: wrap;
  gap: 8px;
}

.qr-timer-badge {
  background: #fef8ec;
  border: 1px solid var(--primary-border);
  color: var(--primary-hover);
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.qr-visual-center {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.qr-code-frame {
  position: relative;
  padding: 10px;
  background: #ffffff;
  border: 2px solid var(--slate-900);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qr-canvas-holder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-canvas-holder img,
.qr-canvas-holder canvas {
  border-radius: 6px;
  display: block;
}

.qr-scan-line {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e2a53a, transparent);
  box-shadow: 0 0 8px #e2a53a;
  animation: qrScanMove 2.2s infinite ease-in-out;
  pointer-events: none;
}

@keyframes qrScanMove {
  0% {
    top: 12px;
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  75% {
    opacity: 1;
  }

  100% {
    top: calc(100% - 12px);
    opacity: 0;
  }
}

.qr-details-aside {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.qr-amount-tag {
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
}

.qr-vpa-copy-box {
  background: #fffcf5;
  border: 1px dashed var(--primary-border);
  padding: 8px 10px;
  border-radius: 8px;
}

.btn-copy-vpa {
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary-hover);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy-vpa:hover {
  background: var(--primary);
  color: #ffffff;
}

/* 2. UPI App Chips */
.upi-apps-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Clean Theme-Styled Payment Flow (Summary on Top, Payment on Bottom)
   ========================================================================== */

.payment-checkout-wrapper {
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.summary-top-box {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(226, 165, 58, 0.06);
}

.summary-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem 0.75rem;
}

@media (max-width: 576px) {
  .summary-details-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
  }
}

.summary-pill-item {
  background: #fafaf9;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  transition: border-color 0.15s ease;
}

.summary-pill-item:hover {
  border-color: var(--primary-border);
}

.summary-pill-lbl {
  font-size: 0.62rem;
  color: var(--slate-500);
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.summary-pill-val {
  font-size: 0.76rem;
  color: var(--slate-800);
  display: block;
  font-weight: 600;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.payment-method-box {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(226, 165, 58, 0.06);
}

.payment-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--slate-100);
}

.payment-shield-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #f5c26b 0%, var(--primary) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 2px 6px rgba(226, 165, 58, 0.35);
}

.payment-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}

.payment-radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 0.85rem;
  background: #ffffff;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  margin-bottom: 0;
}

.payment-radio-row:hover {
  border-color: var(--primary-border);
  background: #fafaf9;
  transform: translateY(-1px);
}

.payment-radio-row.active {
  border-color: var(--primary);
  background: #fffdf9;
  box-shadow: 0 3px 12px rgba(226, 165, 58, 0.15), 0 0 0 1px var(--primary);
}

.hidden-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--slate-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
  background: #ffffff;
}

.payment-radio-row.active .custom-radio-circle {
  border-color: var(--primary);
}

.custom-radio-inner-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.18s ease;
}

.payment-radio-row.active .custom-radio-inner-dot {
  background: var(--primary);
}

.payment-option-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--slate-100);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.payment-radio-row.active .payment-option-icon-box {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(226, 165, 58, 0.35);
}

.payment-option-text-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-option-main-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-800);
  display: flex;
  align-items: center;
  gap: 6px;
}

.payment-option-desc-label {
  font-size: 0.68rem;
  color: var(--slate-500);
  white-space: nowrap;
}

.payment-radio-row.active .payment-option-desc-label {
  color: var(--slate-600);
}

/* Dedicated Active Details Display Box */
.payment-detail-display-container {
  background: #fdfcfa;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
  box-shadow: inset 0 1px 3px rgba(226, 165, 58, 0.04);
  margin-bottom: 0.95rem;
  position: relative;
}

.payment-detail-panel {
  animation: fadeInDetail 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInDetail {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 1. Credit / Debit Card Grid */
.card-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0;
}

/* 2. UPI Apps Row */
.upi-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.upi-chip-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 8px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.upi-chip-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-hover);
}

.upi-color-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.btn-verify-upi {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  padding: 3px 8px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-verify-upi:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* 3. Venue Payment Info Box */
.venue-payment-info {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  margin-bottom: 0;
}

.btn-verify-upi:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* 3. Scanner Box */
.scanner-frame-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.scanner-qr-wrapper {
  position: relative;
  width: 125px;
  height: 125px;
  background: #ffffff;
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--slate-200);
  flex-shrink: 0;
  margin: 0 auto;
}

.scanner-canvas-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scanner-canvas-box img,
.scanner-canvas-box canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.scanner-laser-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e2a53a, transparent);
  box-shadow: 0 0 8px #e2a53a;
  animation: laserScan 2.2s infinite ease-in-out;
  pointer-events: none;
}

@keyframes laserScan {
  0% {
    top: 4px;
    opacity: 0.3;
  }

  50% {
    top: calc(100% - 6px);
    opacity: 1;
  }

  100% {
    top: 4px;
    opacity: 0.3;
  }
}

.scanner-info-side {
  flex: 1;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.scanner-timer-tag {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  font-family: monospace;
}

.scanner-vpa-row {
  background: #fafaf9;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.55rem;
}

.btn-copy-merchant-vpa {
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--slate-700);
  transition: all 0.15s ease;
}

.btn-copy-merchant-vpa:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* 4. Info Box */
.venue-payment-info {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  margin-bottom: 0;
}

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

  .card-fields-grid {
    grid-template-columns: 1fr;
  }

  .payment-option-header-row {
    padding: 0.8rem 0.9rem;
  }

  .payment-option-main-label {
    font-size: 0.85rem;
  }

  .payment-option-icon-box {
    width: 32px;
    height: 32px;
  }

  .payment-option-expand-area {
    padding: 0.9rem;
  }
}

/* ==========================================================================
   Global Plain Modern Loader with B Logo
   ========================================================================== */
.app-global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.app-global-loader.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.loader-b-container {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-spinner-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(226, 165, 58, 0.18);
  border-top-color: var(--primary);
  border-right-color: var(--primary);
  animation: loaderSpin 0.9s infinite cubic-bezier(0.55, 0.15, 0.45, 0.85);
}

.loader-b-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #f5c26b 0%, var(--primary) 100%);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--primary-glow);
  letter-spacing: -0.02em;
  animation: loaderPulse 1.8s infinite ease-in-out;
}

.loader-caption-text {
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-600);
  letter-spacing: 0.02em;
  font-family: var(--font-sans);
}

@keyframes loaderSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes loaderPulse {

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

  50% {
    transform: scale(0.93);
    opacity: 0.88;
  }
}