:root {
  --bg-app: #f4f6f8;
  --surface-card: #ffffff;
  --border-light: #edf0f3;
  --border-subtle: #e5e7eb;
  --text-main: #111827;
  --text-muted: #6b7280;
  --text-subtle: #9ca3af;
  --primary-green: #0fa958;
  --primary-green-dark: #09793e;
  --primary-green-light: #e8f7ee;
  --primary-green-badge: #dcfce7;
  --primary-green-badge-text: #0fa958;
  --primary-green-glow: rgba(15, 169, 88, 0.28);
  --pill-bg: #f9fafb;
  --radius-card: 26px;
  --radius-pill: 9999px;
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.025);
  --shadow-float: 0 14px 34px rgba(0, 0, 0, 0.08);
  --transition-bounce: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-app);
  color: var(--text-main);
  min-height: 100vh;
  padding: 16px 28px;
  -webkit-font-smoothing: antialiased;
}

.app-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media screen {
  .app-container {
    display: flex !important;
    visibility: visible !important;
  }
  .top-nav {
    display: flex !important;
    visibility: visible !important;
  }
  .main-body {
    display: flex !important;
    visibility: visible !important;
  }
  .floating-dock {
    display: flex !important;
    visibility: visible !important;
  }
  .content-view {
    display: flex !important;
    visibility: visible !important;
  }
}

/* ==========================================================================
   Top Navigation
   ========================================================================== */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  animation: fadeInDown 0.4s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.brand:hover {
  transform: scale(1.02);
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.nav-pill-group {
  display: flex;
  align-items: center;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 4px 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.nav-pill {
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-pill:hover {
  color: var(--text-main);
  background: #f9fafb;
}

.nav-pill.active {
  background: var(--surface-card);
  color: var(--text-main);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: scale(1.02);
}

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

.icon-circle-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.icon-circle-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  color: var(--primary-green);
}

.notification-dot {
  position: absolute;
  top: 10px;
  right: 11px;
  width: 7px;
  height: 7px;
  background-color: var(--primary-green);
  border-radius: 50%;
}

.pulse {
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(15, 169, 88, 0.6); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(15, 169, 88, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(15, 169, 88, 0); }
}

/* User Profile & Custom Popover */
.user-profile-wrapper {
  position: relative;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding-left: 4px;
  transition: transform 0.2s;
}

.user-profile:hover {
  transform: scale(1.03);
}

.avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chevron-icon {
  color: var(--text-muted);
  transition: transform 0.2s;
}

.profile-dropdown {
  position: absolute;
  top: 52px;
  right: 0;
  width: 220px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-float);
  padding: 12px;
  z-index: 500;
  animation: popoverFade 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-dropdown-header {
  padding: 6px 8px 10px 8px;
}

.profile-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
}

.profile-role {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-green);
  margin-top: 2px;
}

.profile-email {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.profile-dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 6px 0;
}

.dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
}

.dropdown-item:hover {
  background: #f3f4f6;
}

.dropdown-item.text-danger {
  color: #ef4444;
}

.dropdown-item.text-danger:hover {
  background: #fef2f2;
}

/* ==========================================================================
   Main Body (Dock + Content)
   ========================================================================== */
.main-body {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* Left Floating Dock */
.floating-dock {
  width: 64px;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: 36px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 640px;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
  animation: fadeInLeft 0.4s ease;
}

.dock-top, .dock-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.dock-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: transparent;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  cursor: pointer;
  transition: var(--transition-bounce);
}

.dock-btn:hover {
  background: #f3f4f6;
  color: var(--text-main);
  transform: scale(1.08);
}

.dock-btn.active {
  background: var(--primary-green);
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 16px var(--primary-green-glow);
  transform: scale(1.05);
}

/* Content View */
.content-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Welcome Header */
.welcome-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fadeIn 0.4s ease;
}

.welcome-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.user-highlight {
  font-weight: 500;
  color: #4b5563;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Custom Date Range Component */
.custom-date-picker-wrapper {
  position: relative;
}

.date-range-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.date-range-pill:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  transform: translateY(-1px);
}

.calendar-popover {
  position: absolute;
  top: 48px;
  right: 0;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-float);
  display: flex;
  z-index: 500;
  padding: 16px;
  gap: 16px;
  animation: popoverFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 440px;
}

.calendar-presets {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--border-light);
  padding-right: 14px;
  min-width: 110px;
}

.preset-btn {
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}

.preset-btn:hover {
  background: #f3f4f6;
  color: var(--text-main);
}

.preset-btn.active {
  background: var(--primary-green-light);
  color: var(--primary-green-dark);
}

.calendar-main {
  flex: 1;
}

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

.cal-month-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.cal-nav-btn {
  background: #f3f4f6;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

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

.cal-day-names {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-subtle);
  margin-bottom: 6px;
}

.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-day {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.15s;
}

.cal-day:hover:not(.disabled) {
  background: var(--primary-green-light);
  color: var(--primary-green);
}

.cal-day.in-range {
  background: #e6f7ef;
  border-radius: 0;
}

.cal-day.range-start, .cal-day.range-end {
  background: var(--primary-green) !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  font-weight: 700;
}

.cal-day.disabled {
  color: #d1d5db;
  cursor: not-allowed;
}

/* Buttons & Animations */
.btn-primary-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: var(--transition-bounce);
}

.btn-primary-pill:hover {
  background: #ffffff;
  border-color: #d1d5db;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.btn-primary-pill:active {
  transform: scale(0.96);
}

.plus-icon {
  font-size: 16px;
  font-weight: 700;
}

/* ==========================================================================
   Dashboard Grid
   ========================================================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.45fr 1.15fr;
  grid-auto-rows: auto;
  gap: 20px;
}

/* Cards Base */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}

.animated-card {
  animation: cardEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.animated-card:nth-child(1) { animation-delay: 0.05s; }
.animated-card:nth-child(2) { animation-delay: 0.12s; }
.animated-card:nth-child(3) { animation-delay: 0.18s; }
.animated-card:nth-child(4) { animation-delay: 0.24s; }
.animated-card:nth-child(5) { animation-delay: 0.30s; }

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.card-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.arrow-square-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-bounce);
}

.arrow-square-btn:hover {
  background: var(--primary-green);
  color: #ffffff;
  transform: scale(1.08) rotate(5deg);
  border-color: var(--primary-green);
}

/* --------------------------------------------------------------------------
   Card 1: Payment Goal / Visa Hero Card
   -------------------------------------------------------------------------- */
.credit-card-widget {
  background: linear-gradient(135deg, #09793e 0%, #0d9652 50%, #0fa958 100%);
  border-radius: 20px;
  padding: 22px 24px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 24px var(--primary-green-glow);
  position: relative;
  overflow: hidden;
  transition: var(--transition-bounce);
}

.credit-card-widget:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 28px rgba(15, 169, 88, 0.38);
}

.credit-card-widget::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
}

.cc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cc-brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.cc-contactless {
  opacity: 0.9;
}

.cc-label {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

.cc-amount {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 2px 0 6px 0;
}

.cc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

.weekly-revenue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 6px;
}

.rev-label {
  font-size: 12px;
  color: var(--text-muted);
}

.rev-amount {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 4px;
}

.pill-badge-green {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   Card 2: Engagement Rate / Striped Bars
   -------------------------------------------------------------------------- */
.header-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
}

.header-right-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle-pill-group {
  display: flex;
  background: #f3f4f6;
  border-radius: var(--radius-pill);
  padding: 3px;
}

.toggle-pill-btn {
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.toggle-pill-btn.active {
  background: var(--primary-green);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 169, 88, 0.2);
}

.chart-container {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 220px;
  margin-top: 10px;
  padding-bottom: 8px;
}

.chart-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 180px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-subtle);
  padding-bottom: 24px;
}

.bars-container {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  padding-left: 8px;
}

.bar-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  justify-content: flex-end;
  position: relative;
  width: 44px;
}

.bar-wrapper {
  position: relative;
  width: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.bar-pill {
  width: 100%;
  border-radius: 20px;
  position: relative;
  transform-origin: bottom center;
  animation: barGrow 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.bar-column:nth-child(1) .bar-pill { animation-delay: 0.1s; }
.bar-column:nth-child(2) .bar-pill { animation-delay: 0.2s; }
.bar-column:nth-child(3) .bar-pill { animation-delay: 0.3s; }
.bar-column:nth-child(4) .bar-pill { animation-delay: 0.4s; }
.bar-column:nth-child(5) .bar-pill { animation-delay: 0.5s; }
.bar-column:nth-child(6) .bar-pill { animation-delay: 0.6s; }

@keyframes barGrow {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

/* Striped Hatching Texture */
.bar-pill.striped {
  background-color: #8ed4ad;
  background-image: repeating-linear-gradient(
    45deg,
    #73c697,
    #73c697 4px,
    #9be0b9 4px,
    #9be0b9 8px
  );
  opacity: 0.9;
}

/* Active Highlight bar */
.bar-pill.solid-active {
  background: var(--primary-green);
  box-shadow: 0 6px 16px rgba(15, 169, 88, 0.35);
}

.bar-growth-badge {
  position: absolute;
  top: -30px;
  background: #09793e;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  animation: bounceIn 0.5s 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.bar-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Card 3: Balance & Mint Wave
   -------------------------------------------------------------------------- */
.balance-center {
  margin-top: 4px;
}

.balance-label {
  font-size: 12px;
  color: var(--text-muted);
}

.balance-amount {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 4px;
}

.wave-chart-wrapper {
  width: 100%;
  height: 90px;
  margin: 16px 0 20px 0;
}

.wave-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.animated-wave-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 1.4s ease-out forwards;
}

.animated-wave-area {
  opacity: 0;
  animation: fadeIn 1s 0.6s ease-out forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.action-buttons-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.btn-action-green {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--primary-green);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--primary-green-glow);
  transition: var(--transition-bounce);
}

.btn-action-green:hover {
  background: #0d9652;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 169, 88, 0.4);
}

.btn-action-green:active {
  transform: scale(0.96);
}

.btn-action-outline {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.btn-action-outline:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  transform: translateY(-2px);
}

.btn-action-outline:active {
  transform: scale(0.96);
}

/* --------------------------------------------------------------------------
   Card 4: Payment History (Wide 2-col span)
   -------------------------------------------------------------------------- */
.card-payment-history {
  grid-column: span 2;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

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

.data-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-subtle);
  padding: 8px 12px 14px 12px;
}

.data-table th.text-right,
.data-table td.text-right {
  text-align: right;
}

.data-table td {
  padding: 14px 12px;
  font-size: 13px;
  color: var(--text-main);
  border-top: 1px solid #f3f4f6;
  vertical-align: middle;
}

.data-table tr {
  transition: background 0.15s;
}

.data-table tr:hover td {
  background: #fafbfc;
}

.table-brand-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-logo-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.table-brand-info {
  display: flex;
  flex-direction: column;
}

.table-brand-name {
  font-weight: 600;
  color: var(--text-main);
}

.table-brand-sub {
  font-size: 11px;
  color: var(--primary-green);
  font-weight: 600;
  margin-top: 2px;
}

.status-cell-flex {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 13px;
}

.status-dot {
  display: none !important;
}

.table-amount-cell {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.2px;
}

/* --------------------------------------------------------------------------
   Card 5 & 6 Stack Column (Right Column)
   -------------------------------------------------------------------------- */
.right-stack-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-credit-amount,
.card-mandatory {
  padding: 22px 24px;
}

.credit-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.credit-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
}

.card-title-sm {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.card-subtitle-sm {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.credit-stat-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.credit-amount-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.card-header-compact {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.arrow-square-btn-sm {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.arrow-square-btn-sm:hover {
  background: var(--primary-green);
  color: #ffffff;
}

.avatar-stack-row {
  display: flex;
  align-items: center;
}

.stack-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  object-fit: cover;
  margin-right: -10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}

.stack-avatar:hover {
  transform: translateY(-4px) scale(1.1);
  z-index: 15;
}

.avatar-plus {
  background: var(--primary-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  z-index: 10;
}

/* ==========================================================================
   Full Real Views: Rooms, Bookings, History, Contacts, Reports
   ========================================================================== */
.alt-view {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.3s ease;
}

.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-card);
  padding: 20px 24px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.section-heading {
  font-size: 20px;
  font-weight: 700;
}

.section-subheading {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.custom-filter-pills {
  display: flex;
  background: #f3f4f6;
  border-radius: var(--radius-pill);
  padding: 3px;
}

.filter-pill {
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill.active {
  background: var(--primary-green);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 169, 88, 0.2);
}

.custom-search-input {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  font-size: 13px;
  outline: none;
  background: #ffffff;
  min-width: 260px;
  transition: all 0.2s;
}

.custom-search-input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px var(--primary-green-light);
}

/* Rooms Grid */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.room-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-bounce);
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.room-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.room-number-badge {
  font-weight: 800;
  font-size: 18px;
  color: var(--text-main);
}

.room-status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: capitalize;
}

.room-status-available { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.room-status-occupied { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.room-status-cleaning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

.room-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.room-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-green-dark);
}

/* Guests Grid */
.guests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.guest-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-bounce);
}

.guest-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.guest-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.guest-card-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.guest-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.guest-card-email {
  font-size: 12px;
  color: var(--text-muted);
}

.guest-card-stats {
  display: flex;
  justify-content: space-between;
  background: #f9fafb;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
}

.guest-stat-val {
  font-weight: 700;
  color: var(--primary-green-dark);
}

/* Reports View */
.reports-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.report-kpi-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kpi-label {
  font-size: 12px;
  color: var(--text-muted);
}

.kpi-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main);
}

.kpi-badge {
  align-self: flex-start;
}

.reports-charts-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}

.report-chart-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.room-type-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.room-type-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rt-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}

.rt-progress-bg {
  height: 10px;
  background: #f3f4f6;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.rt-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0fa958 0%, #34d399 100%);
  border-radius: var(--radius-pill);
  transition: width 0.8s ease;
}

/* ==========================================================================
   Custom Dropdown Component Styles (Zero native <select>)
   ========================================================================== */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: #fafafa;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
}

.custom-select-trigger:hover,
.custom-select-trigger:focus {
  background: #ffffff;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px var(--primary-green-light);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-float);
  max-height: 220px;
  overflow-y: auto;
  z-index: 600;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: popoverFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.select-opt {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.select-opt:hover {
  background: #f3f4f6;
  color: var(--primary-green-dark);
}

.select-opt.selected {
  background: var(--primary-green-light);
  color: var(--primary-green-dark);
  font-weight: 600;
}

/* Custom Date Pickers in Modals */
.custom-datepicker-wrapper {
  position: relative;
  width: 100%;
}

.custom-date-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: #fafafa;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
}

.custom-date-trigger:hover,
.custom-date-trigger:focus {
  background: #ffffff;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px var(--primary-green-light);
}

.date-picker-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 280px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-float);
  padding: 12px;
  z-index: 600;
  animation: popoverFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Modals & Form Inputs
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.modal-card {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  padding: 28px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-animated {
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  0% { opacity: 0; transform: scale(0.92) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
}

.modal-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.modal-close-btn {
  background: #f3f4f6;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

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

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

.form-group.span-2 {
  grid-column: span 2;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

.custom-input {
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: #fafafa;
  transition: all 0.2s;
  width: 100%;
}

.custom-input:focus {
  background: #ffffff;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px var(--primary-green-light);
}

.price-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.price-currency-sign {
  position: absolute;
  left: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.price-input {
  padding-left: 28px !important;
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-green-dark);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

.btn-cancel {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cancel:hover {
  background: #f9fafb;
}

.btn-submit {
  background: var(--primary-green);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 11px 24px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--primary-green-glow);
  transition: var(--transition-bounce);
}

.btn-submit:hover {
  background: #0d9652;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 169, 88, 0.4);
}

.btn-submit:active {
  transform: scale(0.96);
}

/* Auth Modal Card */
.auth-modal-card {
  max-width: 400px;
  padding: 32px 28px;
  text-align: center;
}

.auth-header {
  margin-bottom: 20px;
}

.auth-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.auth-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.auth-submit-btn {
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  font-size: 14px;
}

.auth-error-msg {
  color: #ef4444;
  font-size: 12px;
  font-weight: 600;
  background: #fef2f2;
  padding: 8px;
  border-radius: 8px;
  margin-top: 10px;
}

.auth-quick-preset {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.btn-quick-login {
  background: #f3f4f6;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-quick-login:hover {
  background: var(--primary-green-light);
  color: var(--primary-green-dark);
  border-color: var(--primary-green);
}

/* Receipt Modal */
.receipt-card {
  max-width: 480px;
}

.receipt-body {
  background: #fafbfc;
  border: 1px dashed var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.receipt-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.receipt-line-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.receipt-line-item strong {
  color: var(--text-main);
}

.receipt-total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid var(--border-subtle);
  padding-top: 12px;
  margin-top: 4px;
}

.receipt-total-amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-green-dark);
}

/* Icon Picker Grid */
.icon-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.icon-option {
  background: #fafbfc;
  border: 2px solid var(--border-light);
  border-radius: 14px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-bounce);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.icon-option:hover {
  background: #ffffff;
  border-color: var(--primary-green);
  transform: translateY(-2px);
}

.icon-option.selected {
  background: var(--primary-green-light);
  border-color: var(--primary-green);
  color: var(--primary-green-dark);
}

/* Notification Popover */
.notification-wrapper {
  position: relative;
}

.notification-popover {
  position: absolute;
  top: 52px;
  right: 0;
  width: 310px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-float);
  padding: 14px;
  z-index: 500;
  animation: popoverFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.notif-badge {
  background: #e2e8f0;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.notif-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  max-height: 280px;
  overflow-y: auto;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  background: #f9fafb;
  transition: background 0.15s;
}

.notif-item:hover {
  background: #f3f4f6;
}

.notif-icon {
  font-size: 18px;
  line-height: 1;
}

.notif-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notif-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
}

.notif-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Spotlight Search Modal */
.spotlight-modal-card {
  max-width: 600px;
  padding: 18px 24px;
}

.spotlight-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
}

.spotlight-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
}

.spotlight-kbd {
  font-size: 11px;
  font-weight: 700;
  background: #f3f4f6;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--text-muted);
}

.spotlight-results {
  max-height: 340px;
  overflow-y: auto;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spotlight-empty-hint {
  text-align: center;
  padding: 28px 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.spotlight-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-subtle);
  padding: 6px 8px 2px 8px;
}

.spotlight-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.15s;
}

.spotlight-item:hover {
  background: var(--primary-green-light);
  transform: translateX(4px);
}

.spotlight-item-main {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-main);
}

.spotlight-item-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111827;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-icon {
  background: var(--primary-green);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* Keyframes Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes cardEntrance {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes popoverFade {
  0% { opacity: 0; transform: translateY(-6px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slideInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .card-payment-history {
    grid-column: span 2;
  }
  .right-stack-col {
    grid-column: span 2;
    flex-direction: row;
  }
  .reports-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reports-charts-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-body {
    flex-direction: column;
  }
  .floating-dock {
    width: 100%;
    min-height: auto;
    flex-direction: row;
    border-radius: 20px;
  }
  .dock-top, .dock-bottom {
    flex-direction: row;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .card-payment-history, .right-stack-col {
    grid-column: span 1;
    flex-direction: column;
  }
  .calendar-popover {
    width: 320px;
    flex-direction: column;
  }
  .calendar-presets {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 8px;
    flex-direction: row;
    overflow-x: auto;
  }
}

/* ==========================================================================
   Enhanced UI & Micro-interactions
   ========================================================================== */
.credit-card-widget {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  cursor: pointer;
}

.credit-card-widget:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 16px 36px rgba(15, 169, 88, 0.35);
}

.credit-card-widget:active {
  transform: translateY(-1px) scale(0.99);
}

/* Bar Chart Tooltip */
.bar-column {
  position: relative;
}

.chart-bar-tooltip {
  position: absolute;
  bottom: calc(100% - 10px);
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: #111827;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 20;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

.chart-bar-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #111827 transparent transparent transparent;
}

.bar-column:hover .chart-bar-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-8px);
}

/* Theme Accent Color Swatches */
.color-picker-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.color-swatch:hover {
  transform: scale(1.15);
}

.color-swatch.active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px var(--text-main), 0 4px 12px rgba(0,0,0,0.18);
  transform: scale(1.18);
}

/* Amenities Pills */
.amenities-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.amenity-tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-app);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Guest Stay Modal */
.guest-stay-modal-card {
  width: 520px;
  max-width: 94vw;
}

.guest-stay-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}

.guest-stay-profile-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.guest-stay-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.guest-stay-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #f9fafb;
  padding: 14px;
  border-radius: 14px;
}

.guest-stay-detail-item label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
  letter-spacing: 0.3px;
}

.guest-stay-detail-item span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

/* Front Desk Quick Action Lists */
.frontdesk-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
  margin-top: 14px;
}

.frontdesk-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #f9fafb;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  transition: background 0.18s;
}

.frontdesk-item:hover {
  background: #f3f4f6;
}

/* Booking Breakdown Box */
.booking-breakdown-box {
  background: var(--primary-green-light);
  border: 1px solid rgba(15, 169, 88, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--primary-green-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
}

/* ==========================================================================
   Housekeeping Turnaround Banner
   ========================================================================== */
.housekeeping-banner {
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border: 1px solid #fde047;
  border-radius: var(--radius-card);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.12);
  animation: fadeIn 0.3s ease;
}

.hk-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hk-banner-icon {
  font-size: 24px;
  background: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.hk-banner-title {
  font-size: 14px;
  font-weight: 700;
  color: #854d0e;
}

.hk-banner-sub {
  font-size: 12px;
  color: #a16207;
  margin-top: 2px;
}

/* ==========================================================================
   Folio & Invoice Modal
   ========================================================================== */
.folio-card {
  width: 640px;
  max-width: 95vw;
}

.folio-body {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.folio-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.folio-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.folio-meta-val {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.4;
}

.folio-table-wrap {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.folio-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.folio-table th {
  background: #f9fafb;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.folio-table td {
  padding: 12px;
  border-bottom: 1px solid #f3f4f6;
  color: var(--text-main);
}

.folio-table tr:last-child td {
  border-bottom: none;
}

.folio-summary-box {
  background: #f9fafb;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.folio-sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.folio-sum-total {
  border-top: 1px dashed var(--border-light);
  padding-top: 8px;
  font-weight: 800;
  font-size: 16px;
  color: var(--text-main);
}

.folio-balance-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}

/* ==========================================================================
   Keyboard Shortcuts Cheatsheet
   ========================================================================== */
.shortcuts-modal-card {
  width: 500px;
  max-width: 95vw;
}

.shortcuts-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0;
}

.shortcut-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.hotkey-kbd {
  display: inline-block;
  padding: 3px 8px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  font-family: inherit;
}

.shortcut-desc {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
}

/* ==========================================================================
   Slide-Over Right Drawer Component (Premium Streamlined UX)
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1050;
  display: flex;
  justify-content: flex-end;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.drawer-overlay.hidden {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.slide-drawer-panel {
  width: 540px;
  max-width: 96vw;
  height: 100vh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.12);
  border-left: 1px solid var(--border-light);
  animation: drawerSlideIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@keyframes drawerSlideIn {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}

.drawer-header {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  background: #ffffff;
  flex-shrink: 0;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-footer {
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  background: #fafbfc;
  flex-shrink: 0;
}

/* ==========================================================================
   Front Desk Operations Hub (Ultra-Luxury Redesign)
   ========================================================================== */
.frontdesk-kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.fd-kpi-card {
  background: #ffffff;
  border: 1px solid #e8eef5;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.fd-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  border-color: rgba(15, 169, 88, 0.35);
}

.fd-kpi-icon-badge {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.fd-kpi-icon-badge.arrivals {
  background: #f8fafc;
  color: #0fa958;
  border: 1px solid #e2e8f0;
}

.fd-kpi-icon-badge.inhouse {
  background: #f8fafc;
  color: #2563eb;
  border: 1px solid #e2e8f0;
}

.fd-kpi-icon-badge.cleaning {
  background: #f8fafc;
  color: #d97706;
  border: 1px solid #e2e8f0;
}

.fd-kpi-icon-badge.available {
  background: #f8fafc;
  color: #7c3aed;
  border: 1px solid #e2e8f0;
}

.fd-kpi-content {
  display: flex;
  flex-direction: column;
}

.fd-kpi-num {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  font-family: inherit;
}

.fd-kpi-label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-top: 3px;
  letter-spacing: -0.2px;
}

.fd-kpi-micro {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 2px;
}

/* Front Desk 2-Column Board */
.frontdesk-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.frontdesk-col {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 580px;
  box-shadow: var(--shadow-card);
}

.fd-col-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.fd-col-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fd-col-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fd-col-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.fd-count-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.fd-col-revenue-chip {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 3px 10px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.fd-col-desc {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.fd-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

/* Front Desk Individual Guest Card */
.fd-guest-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  position: relative;
}

.fd-guest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.fd-card-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fd-profile-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fd-guest-avatar {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.fd-guest-meta-block {
  display: flex;
  flex-direction: column;
}

.fd-name-text {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.fd-email-text {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.fd-country-text {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
  font-weight: 500;
}

.fd-status-price-block {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.fd-status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fd-status-pill.arrival {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.fd-status-pill.in-house {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.fd-price-text {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-green-dark);
  letter-spacing: -0.3px;
}

.fd-chips-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  font-size: 12px;
}

.fd-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #334155;
  font-weight: 500;
}

.fd-chip strong {
  font-weight: 700;
  color: #0f172a;
}

.fd-chip-divider {
  color: #cbd5e1;
}

.fd-ref-badge {
  margin-left: auto;
  font-family: monospace;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.fd-notes-row {
  font-size: 12px;
  color: #64748b;
  background: #fffdf5;
  border: 1px dashed #fcd34d;
  padding: 6px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fd-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.btn-checkin-main {
  flex: 1;
  background: var(--primary-green);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 169, 88, 0.25);
}

.btn-checkin-main:hover {
  background: var(--primary-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 169, 88, 0.35);
}

.btn-checkout-main {
  flex: 1;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-checkout-main:hover {
  background: #fde68a;
  border-color: #fcd34d;
  transform: translateY(-1px);
}

.btn-folio-action {
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-pill);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-folio-action:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* Front Desk Empty State */
.fd-empty-card {
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 18px;
  padding: 44px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fd-empty-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  margin-bottom: 4px;
}

.fd-empty-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.fd-empty-desc {
  font-size: 13px;
  color: #64748b;
  max-width: 300px;
  line-height: 1.4;
  margin: 0;
}

.btn-empty-action {
  margin-top: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   Customer Directory Autocomplete & Lookup (New Reservation Drawer)
   ========================================================================== */
.customer-lookup-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  margin-bottom: 6px;
}

.customer-lookup-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.customer-lookup-hint {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 12px;
}

.customer-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.customer-search-icon {
  position: absolute;
  left: 14px;
  color: #64748b;
  pointer-events: none;
}

.customer-search-field {
  padding-left: 38px !important;
  padding-right: 32px !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  width: 100% !important;
}

.customer-search-field:focus {
  border-color: var(--primary-green) !important;
  box-shadow: 0 0 0 3px var(--primary-green-light) !important;
}

.btn-clear-search-cust {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  font-size: 18px;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}

.btn-clear-search-cust:hover {
  color: #0f172a;
}

.customer-results-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  max-height: 280px;
  overflow-y: auto;
  z-index: 1000;
  padding: 6px;
}

.customer-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}

.customer-result-item:hover {
  background: #f1f5f9;
}

.cri-avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #e2e8f0;
}

.cri-info {
  flex: 1;
  min-width: 0;
}

.cri-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.cri-name-row strong {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cri-meta {
  font-size: 11px;
  color: #64748b;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cri-stats {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-green-dark);
  background: var(--primary-green-light);
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
}

.selected-customer-pill-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-top: 4px;
  animation: popoverFade 0.2s ease;
}

.sel-cust-avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.sel-cust-info {
  flex: 1;
  min-width: 0;
}

.sel-cust-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sel-cust-name-row strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.sel-cust-badge {
  font-size: 10px;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 1px 7px;
  border-radius: 6px;
}

.sel-cust-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.btn-unlink-customer {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-unlink-customer:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

.name-inline-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  padding: 4px;
}

/* ==========================================================================
   Full Dedicated Settings Page
   ========================================================================== */
.settings-page-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.settings-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.settings-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.settings-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.settings-card-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.color-palette-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.color-swatch-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}

.color-swatch-card:hover {
  border-color: var(--primary-green);
  background: #fafbfc;
}

.color-swatch-card.active {
  border-color: var(--primary-green);
  background: var(--primary-green-light);
}

.swatch-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.swatch-info strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
}

.swatch-info span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.db-status-box {
  background: #f9fafb;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.db-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ==========================================================================
   Full Dedicated Folio Page & Folio Slide Drawer
   ========================================================================== */
.folio-drawer-panel {
  max-width: 860px;
  width: 100%;
}

.folio-drawer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.folio-drawer-badge.balance-due {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.folio-drawer-body {
  background: #f8fafc;
  padding: 24px;
  overflow-y: auto;
}

.folio-drawer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.folio-footer-indicator {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

#folioSection .view-header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-bottom: 20px;
}

.btn-back-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f3f4f6;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-back-nav:hover {
  background: #e5e7eb;
}

.folio-document-paper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 36px 40px;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.folio-doc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 22px;
  gap: 20px;
}

.folio-brand-block {
  flex: 1;
}

.folio-invoice-tag {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 14px 20px;
  text-align: right;
  min-width: 220px;
}

.folio-guest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.folio-info-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.folio-info-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.folio-info-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

.folio-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.folio-table-wrap {
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.folio-table th {
  background: #f8fafc;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}

.folio-table td {
  padding: 14px 16px;
  font-size: 13px;
  border-bottom: 1px solid #f3f4f6;
  color: var(--text-main);
}

.folio-table tr:last-child td {
  border-bottom: none;
}

.folio-summary-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
  margin-left: auto;
  margin-bottom: 22px;
}

.folio-sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.folio-sum-total {
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

.folio-footer-note {
  background: #fcfdfd;
  border-top: 1px dashed var(--border-light);
  padding-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .frontdesk-kpi-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .frontdesk-board {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   Rebuilt Reservation Form & Install Wizard Styles
   ========================================================================== */
.reservation-drawer-panel {
  max-width: 580px !important;
  width: 100% !important;
}

.res-form-section {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.res-form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.res-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.customer-lookup-top-card {
  background: #f8faf9;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px;
  position: relative;
}

.stay-duration-chip {
  background: var(--primary-green-light);
  color: var(--primary-green-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.2px;
}

.currency-input-group {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: #fafafa;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.currency-input-group:focus-within {
  background: #ffffff;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px var(--primary-green-light);
}

.currency-prefix-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: #f1f5f3;
  border-right: 1px solid var(--border-subtle);
  font-weight: 800;
  font-size: 15px;
  color: var(--primary-green-dark);
  user-select: none;
  letter-spacing: 0.5px;
}

.price-input-field {
  flex: 1;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--primary-green-dark) !important;
  padding: 11px 16px !important;
  letter-spacing: -0.3px;
}

.price-input-field:focus {
  outline: none !important;
  box-shadow: none !important;
}

.price-calc-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 500;
}

/* Install Wizard Styles */
.install-wizard-card {
  max-width: 620px !important;
  width: 92% !important;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px !important;
  border-radius: 24px !important;
}

.install-wizard-header {
  text-align: center;
  margin-bottom: 24px;
}

.install-logo-wrap {
  margin: 0 auto 12px auto;
  display: flex;
  justify-content: center;
}

.install-wizard-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.install-wizard-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 480px;
  margin: 0 auto;
}

.install-section {
  background: #f9fafb;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.install-section-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--primary-green-dark);
  margin-bottom: 14px;
  display: inline-block;
}

.btn-install-currency-preset {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: #ffffff;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.2s;
}

.btn-install-currency-preset.active {
  background: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
}

.session-expired-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Roles & Access Control (RBAC) Design System
   ========================================================================== */
.roles-subnav-pills {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-pill);
  gap: 4px;
  border: 1px solid var(--border-light);
}

.roles-sub-tab {
  border: none;
  background: transparent;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.roles-sub-tab.active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.roles-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.role-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.role-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 169, 88, 0.3);
}

.role-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.role-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.role-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 18px;
  min-height: 38px;
}

.role-badge-system {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.role-badge-custom {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: var(--primary-green-light);
  color: var(--primary-green-dark);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.role-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 16px;
}

.role-meta-stat {
  display: flex;
  align-items: center;
  gap: 6px;
}

.role-card-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* Permission Matrix Modal & Accordion */
.matrix-module-group {
  border: 1px solid var(--border-light);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #ffffff;
}

.matrix-module-header {
  background: #f8fafc;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.matrix-module-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-toggle-module-perms {
  background: none;
  border: 1px solid var(--border-light);
  background: #ffffff;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-toggle-module-perms:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.matrix-permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  padding: 14px 18px;
  background: #ffffff;
}

.perm-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.15s;
  cursor: pointer;
}

.perm-checkbox-item:hover {
  background: #f8fafc;
}

.perm-checkbox-item input[type="checkbox"] {
  accent-color: var(--primary-green);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
}

.perm-item-label {
  display: flex;
  flex-direction: column;
}

.perm-item-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
}

.perm-item-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 1px;
}

/* Staff Table */
.staff-user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.staff-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.staff-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: #ecfdf5;
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

/* ==========================================================================
   Logo Upload Styles
   ========================================================================== */
.header-custom-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.logo-upload-container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #fafbfc;
  border: 1px dashed var(--border-light);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.logo-upload-container:hover {
  border-color: var(--primary-green);
  background: #f0fdf4;
}

.logo-preview-box {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-preview-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-preview-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-upload-meta {
  flex: 1;
}

/* ==========================================================================
   Modern Reservation Dialog
   ========================================================================== */
.modern-reservation-dialog {
  width: 92%;
  max-width: 640px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  padding: 0;
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modern-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.modern-dialog-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modern-dialog-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-green-light);
  color: var(--primary-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modern-dialog-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.modern-dialog-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin: 2px 0 0 0;
}

.modern-dialog-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.modern-res-section {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
}

.modern-res-section:last-of-type {
  margin-bottom: 0;
}

.modern-res-section-hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.modern-res-step-badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--primary-green);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modern-res-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.modern-res-section-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.modern-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 24px;
  background: #fafbfc;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Dedicated Profile Page Styles
   ========================================================================== */
.profile-page-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
}

@media (max-width: 960px) {
  .profile-page-layout {
    grid-template-columns: 1fr;
  }
}

.profile-hero-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.profile-avatar-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 14px;
}

.profile-main-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--surface-card);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-avatar-camera {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-green);
  color: #ffffff;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.btn-avatar-camera:hover {
  transform: scale(1.1);
  background: var(--primary-green-dark);
}

.profile-hero-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.profile-hero-username {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
  font-family: monospace;
}

.profile-hero-badge {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: #ecfdf5;
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.profile-quick-details {
  width: 100%;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.profile-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.profile-detail-label {
  color: var(--text-muted);
  font-weight: 600;
}

.profile-detail-val {
  color: var(--text-main);
  font-weight: 700;
}

.profile-perms-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 4px;
}

.profile-perm-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: #f3f4f6;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.profile-perm-chip.granted {
  background: #ecfdf5;
  color: #047857;
  border-color: rgba(5, 150, 105, 0.2);
}

/* ==========================================================================
   Print Stylesheet (@media print)
   ========================================================================== */
@media print {
  body {
    background: #ffffff !important;

    padding: 0 !important;
    margin: 0 !important;
  }

  .top-nav,
  .floating-dock,
  .content-view,
  .modal-actions,
  .modal-close-btn,
  .toast-notification {
    display: none !important;
  }

  .modal-overlay {
    background: transparent !important;
    position: static !important;
    display: block !important;
    padding: 0 !important;
  }

  .modal-overlay.hidden {
    display: none !important;
  }

  .modal-card {
    box-shadow: none !important;
    border: 1px solid #e5e7eb !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px !important;
  }

  .folio-table th {
    background: #f3f4f6 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

