/* Modern SaaS & Luxury Hotel Design Tokens */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary-color: #0f172a;
  --accent-gold: #d97706;
  --accent-emerald: #059669;
  --accent-rose: #e11d48;
  --accent-purple: #7c3aed;
  --bg-gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --bg-gradient-glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-family);
  background-color: #f8fafc;
  color: #1e293b;
}

/* Glassmorphism Components */
.glass-card {
  background: var(--bg-gradient-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

.glass-navbar {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dashboard Sidebar */
.sidebar {
  min-height: 100vh;
  background: #0f172a;
  color: #f8fafc;
  transition: all 0.3s ease;
}

.sidebar .nav-link {
  color: #94a3b8;
  padding: 12px 20px;
  border-radius: 8px;
  margin: 4px 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.15);
  border-left: 4px solid var(--primary-color);
}

.sidebar .nav-link i {
  font-size: 1.25rem;
}

/* Metric Cards */
.metric-card {
  border: none;
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.metric-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Room Status Badges */
.status-available { background-color: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.status-occupied { background-color: #dbeafe; color: #1d4ed8; border: 1px solid #93c5fd; }
.status-reserved { background-color: #fef3c7; color: #b45309; border: 1px solid #fde047; }
.status-dirty { background-color: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.status-maintenance { background-color: #f3e8ff; color: #6b21a8; border: 1px solid #d8b4fe; }

/* Custom Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff;
}

/* Booking Search Widget */
.search-widget {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 30px -10px rgba(0,0,0,0.15);
}

/* Tables */
.table-custom th {
  background-color: #f1f5f9;
  color: #475569;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 14px 16px;
}

.table-custom td {
  padding: 16px;
  vertical-align: middle;
}

/* Responsive Screen-Fit Modals */
.modal-dialog {
  max-width: 95vw;
  margin: 1.25rem auto;
}

@media (min-width: 768px) {
  .modal-dialog {
    max-width: 580px;
  }
  .modal-lg {
    max-width: 850px !important;
  }
  .modal-xl {
    max-width: 1100px !important;
  }
}

.modal-content {
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-content > form {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
  min-height: 0 !important;
}

.modal-header {
  flex-shrink: 0 !important;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 1.25rem 1.5rem !important;
}

.modal-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  padding: 1.5rem !important;
  max-height: 100% !important;
}

.modal-footer {
  flex-shrink: 0 !important;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0 !important;
  padding: 1rem 1.5rem !important;
}

