:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --secondary: #64748b;
  --accent: #f59e0b;
  --background: #f1f5f9;
  /* Soft light blue/grey background */
  --card-bg: #ffffff;
  --text-main: #0f172a;
  /* Near black for maximum visibility */
  --text-muted: #475569;
  /* Darker muted text */
  --border: #cbd5e1;
  /* Stronger borders */
  --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Glassmorphism Classes */
.glass {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

/* Navbar */
.navbar {
  background: white;
  border-bottom: 2px solid var(--primary-light);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary) !important;
}

/* Form Styling */
.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.input-group-text {
  background-color: #f8fafc;
  border: 1px solid var(--border);
  border-right: none;
  color: var(--primary);
}

.form-control,
.form-select {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

/* Radio Groups & Cards */
.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-item {
  flex: 1;
  position: relative;
}

.radio-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 2px solid var(--border);
  border-radius: 1rem;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-muted);
}

.radio-card i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.radio-item input[type="radio"]:checked+.radio-card {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.radio-item input[type="radio"]:hover:not(:checked)+.radio-card {
  border-color: var(--primary);
  background: #f8fafc;
}

/* Tables */
.table thead th {
  background: #f8fafc;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0.75rem;
}

.table tbody td {
  padding: 1rem 0.75rem;
  vertical-align: middle;
}

/* Dashboard Stat Cards */
.stat-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.stat-card.active {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.stat-card.active .h4 {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Mobile Reservation Cards */
.mobile-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.mobile-card:active {
  transform: scale(0.98);
}

.mobile-card .card-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.025em;
  margin-bottom: 0.25rem;
}

.mobile-card .card-value {
  font-weight: 600;
  color: var(--text-main);
}

.x-small {
  font-size: 0.7rem;
}

/* Animate */
.animate-up {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Admin Dashboard Extra */
.dashboard-chart-container {
  min-height: 300px;
}