/* ==========================================================================
   HOTEL BOOKING & PROPERTY MANAGEMENT SYSTEM (PMS)
   Ultra-Modern Clean Light / White Luxury Theme & Responsive Mobile Layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Clean White / Light Dashboard Theme Colors */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-input: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #cbd5e1;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --primary-gold: #b4831e;
  --primary-gold-hover: #966b14;
  --primary-gold-dark: #78530a;
  --primary-gold-rgb: 180, 131, 30;

  --accent-blue: #0284c7;
  --accent-blue-bg: rgba(2, 132, 199, 0.1);

  /* Status Colors */
  --status-available: #10b981;
  --status-available-bg: rgba(16, 185, 129, 0.12);
  --status-occupied: #ef4444;
  --status-occupied-bg: rgba(239, 68, 68, 0.12);
  --status-reserved: #d97706;
  --status-reserved-bg: rgba(217, 119, 6, 0.12);
  --status-dirty: #0891b2;
  --status-dirty-bg: rgba(8, 145, 178, 0.12);
  --status-maintenance: #7c3aed;
  --status-maintenance-bg: rgba(124, 58, 237, 0.12);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --sidebar-width: 260px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* App Shell Structure */
.app-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Sidebar (Clean White with Slate Accents) */
.app-sidebar {
  width: var(--sidebar-width);
  background: var(--bg-surface);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.sidebar-header {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.brand-text h2 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.2;
}

.brand-text span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-gold);
}

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 14px 12px 6px 12px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 13.5px;
  transition: var(--transition);
}

.nav-item i, .nav-item .icon {
  font-size: 17px;
  width: 22px;
  text-align: center;
  color: #64748b;
  transition: var(--transition);
}

.nav-item:hover {
  background: #f1f5f9;
  color: #0f172a;
  transform: translateX(2px);
}

.nav-item:hover i {
  color: var(--primary-gold);
}

.nav-item.active {
  background: linear-gradient(90deg, #fef3c7, #fffbeb);
  color: #92400e;
  font-weight: 700;
  border-left: 3.5px solid var(--primary-gold);
}

.nav-item.active i {
  color: var(--primary-gold);
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-color);
  background: #f8fafc;
}

.user-profile-widget {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fbbf24;
}

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

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

.user-role {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: capitalize;
}

/* Main Content Area */
.app-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-main);
}

/* Top Navigation Bar */
.top-navbar {
  min-height: 64px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  gap: 12px;
  flex-wrap: wrap;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.menu-toggle-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  padding: 6px 10px;
  flex-shrink: 0;
}

.page-headline {
  min-width: 0;
}

.page-headline h1 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-headline p {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Quick Search / Command Palette Bar */
.command-palette-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.command-palette-trigger:hover {
  border-color: var(--primary-gold);
  background: #ffffff;
  color: var(--text-primary);
}

.kbd-shortcut {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--primary-gold);
  font-weight: 700;
}

/* Content Viewport */
.content-wrapper {
  padding: 24px;
  flex: 1;
}

/* Cards & Panels (Crisp White) */
.pms-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin-bottom: 20px;
}

.pms-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.pms-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  border: 1px solid #0f172a;
}

.btn-primary:hover {
  background: #1e293b;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.btn-success {
  background: #059669;
  color: #ffffff;
}

.btn-success:hover {
  background: #047857;
}

.btn-danger {
  background: #dc2626;
  color: #ffffff;
}

.btn-danger:hover {
  background: #b91c1c;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* Metric / Stat Tiles */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.stat-icon.gold { background: rgba(180, 131, 30, 0.12); color: #b4831e; }
.stat-icon.green { background: var(--status-available-bg); color: var(--status-available); }
.stat-icon.red { background: var(--status-occupied-bg); color: var(--status-occupied); }
.stat-icon.amber { background: var(--status-reserved-bg); color: var(--status-reserved); }
.stat-icon.blue { background: var(--status-dirty-bg); color: var(--status-dirty); }

.stat-info .stat-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.stat-info .stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Interactive Room Matrix (Front Desk POS) */
.room-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--bg-surface);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.filter-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-pill:hover, .filter-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.filter-pill.active .count {
  background: #ffffff;
  color: #0f172a;
}

.filter-pill .count {
  background: #e2e8f0;
  color: #334155;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  font-size: 11px;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.room-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.room-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
}

.room-card.status-available::before { background: var(--status-available); }
.room-card.status-occupied::before { background: var(--status-occupied); }
.room-card.status-reserved::before { background: var(--status-reserved); }
.room-card.status-dirty::before { background: var(--status-dirty); }
.room-card.status-maintenance::before { background: var(--status-maintenance); }

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

.room-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.room-number-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.room-num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.room-floor-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.badge-available { background: var(--status-available-bg); color: #047857; }
.badge-available .dot { background: #059669; }

.badge-occupied { background: var(--status-occupied-bg); color: #b91c1c; }
.badge-occupied .dot { background: #dc2626; }

.badge-reserved { background: var(--status-reserved-bg); color: #b45309; }
.badge-reserved .dot { background: #d97706; }

.badge-dirty { background: var(--status-dirty-bg); color: #0e7490; }
.badge-dirty .dot { background: #0891b2; }

.badge-maintenance { background: var(--status-maintenance-bg); color: #6d28d9; }
.badge-maintenance .dot { background: #7c3aed; }

.room-type-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 6px;
}

.room-guest-details {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin: 10px 0;
  font-size: 12px;
}

.guest-name-row {
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.guest-dates-row {
  color: var(--text-secondary);
  font-size: 11px;
  margin-top: 4px;
}

.room-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
}

.room-rate-highlight {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.room-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.room-actions .btn {
  width: 100%;
}

/* Forms & Inputs */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 13.5px;
  transition: var(--transition);
  width: 100%;
}

.form-control:focus {
  border-color: #0f172a;
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

/* Tables (Clean Light) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.pms-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.pms-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
}

.pms-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border-color);
  color: #1e293b;
  vertical-align: middle;
}

.pms-table tbody tr:hover {
  background: #f8fafc;
}

/* Alerts / Flash Banners */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.alert-info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #075985;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info { background: #e0f2fe; color: #0369a1; }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-secondary { background: #f1f5f9; color: #475569; }
.badge-danger { background: #fee2e2; color: #b91c1c; }

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

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

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

.modal-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 20px;
  flex: 1;
}

.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #f8fafc;
}

/* Folio Summary Widget */
.folio-summary-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.folio-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.folio-row.total-row {
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
  padding-top: 10px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.folio-row.balance-row {
  font-size: 14px;
  font-weight: 700;
  color: #b91c1c;
}

/* Public Website Frontend Styles (Sleek Dark Option) */
.public-hero {
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.85), rgba(11, 17, 32, 0.98)), url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  padding: 70px 24px 50px 24px;
  text-align: center;
  border-bottom: 1px solid #243456;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 15px;
  color: #fbbf24;
  max-width: 600px;
  margin: 0 auto 28px auto;
}

.search-box-container {
  max-width: 900px;
  margin: 0 auto;
  background: #131d33;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid #243456;
  box-shadow: 0 16px 36px rgba(0,0,0,0.4);
}

/* Landing Portal Dual Choice Cards */
.portal-gateway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 780px;
  margin: 0 auto 30px auto;
}

.portal-gateway-card {
  background: rgba(19, 29, 51, 0.95);
  border: 2px solid #243456;
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.portal-gateway-card:hover {
  border-color: #fbbf24;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.portal-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.portal-icon-wrap.admin {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.portal-icon-wrap.guest {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Responsive Two-Column and One-Column Layout Helpers */
.layout-grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

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

/* Mobile Responsive Drawer & Navigation */
@media (max-width: 992px) {
  :root {
    --sidebar-width: 280px;
  }

  .app-sidebar {
    transform: translateX(-100%);
    box-shadow: var(--shadow-lg);
  }

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

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

  .menu-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .layout-grid-2-1, .layout-grid-1-1 {
    grid-template-columns: 1fr;
  }

  .portal-gateway-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-headline p {
    display: none !important;
  }

  .top-navbar {
    padding: 8px 12px;
  }

  .navbar-right .btn-sm {
    padding: 6px 8px;
    font-size: 11px;
  }

  .command-palette-trigger {
    padding: 5px 8px;
  }

  .command-palette-trigger .kbd-shortcut {
    display: none;
  }

  .room-filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .page-headline h1 {
    font-size: 15px;
  }

  .navbar-right .btn-text-hide {
    display: none;
  }

  .content-wrapper {
    padding: 12px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stat-tile {
    padding: 12px 14px;
    gap: 12px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .stat-info .stat-value {
    font-size: 18px;
  }

  .hero-title {
    font-size: 24px;
  }

  .room-actions {
    grid-template-columns: 1fr;
  }

  .pms-card {
    padding: 14px;
    margin-bottom: 14px;
  }

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

  .modal-dialog {
    padding: 0;
    max-height: 95vh;
  }

  .modal-body {
    padding: 14px;
  }
}
