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

:root {
  --background: #f8fafc;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --primary: #2563eb;
  --primary-foreground: #ffffff;
  --secondary: #f1f5f9;
  --secondary-foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #2563eb;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --success: #22c55e;
  --success-foreground: #ffffff;
  --warning: #f59e0b;
  --warning-foreground: #ffffff;
  --info: #0ea5e9;
  --info-foreground: #ffffff;
  --sidebar-background: #0f172a;
  --sidebar-foreground: #f8fafc;
  --sidebar-primary: #3b82f6;
  --sidebar-accent: #1e293b;
  --sidebar-border: #334155;
  --sidebar-muted: #94a3b8;
  --radius: 0.5rem;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-destructive { color: var(--destructive); }
.uppercase { text-transform: uppercase; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ===== FORM ELEMENTS ===== */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--input);
  background-color: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: inherit;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
  color: var(--muted-foreground);
}

.form-input.error {
  border-color: var(--destructive);
}

.form-input:disabled,
.form-input:read-only {
  background-color: var(--secondary);
  /*cursor: not-allowed;*/
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.input-icon:hover {
  color: var(--foreground);
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
}

.error-text {
  color: var(--destructive);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover:not(:disabled) {
  opacity: 0.9;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover:not(:disabled) {
  background-color: #e2e8f0;
}

.btn-success {
  background-color: var(--success);
  color: var(--success-foreground);
}

.btn-success:hover:not(:disabled) {
  opacity: 0.9;
}

/* ===== CARDS ===== */
.card {
  background-color: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.card-body {
  padding: 1.5rem;
}

.stat-card {
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.2s;
}

.stat-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stat-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.stat-card-icon.primary { background-color: var(--primary); }
.stat-card-icon.success { background-color: var(--success); }
.stat-card-icon.info { background-color: var(--info); }
.stat-card-icon.warning { background-color: var(--warning); }

/* ===== BADGES ===== */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-success {
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--success);
}

.badge-info {
  background-color: rgba(14, 165, 233, 0.1);
  color: var(--info);
}

.badge-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

/* ===== ALERTS ===== */
.alert {
  padding: 1rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--success);
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--destructive);
}

/* ===== TABLES ===== */
.table-container {
  background-color: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  overflow: hidden;
}

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

.table th {
  background-color: var(--secondary);
  padding: 0.75rem 1.5rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.table td {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
}

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

.table tbody tr:hover {
  background-color: rgba(241, 245, 249, 0.5);
}

.table tfoot td {
  background-color: rgba(241, 245, 249, 0.5);
  font-weight: 600;
}

/* ===== LOGIN PAGE ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;

  background-image: url('../../images/login-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
}
.login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75); /* dark blue overlay */
  z-index: 0;
}


.login-container {
  position: relative;
  z-index: 1;
}


.login-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.login-logo-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.login-logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.login-logo p {
  color: white;
  margin-top: 0.25rem;
}

.login-card {
  background: rgba(255, 255, 255, 0.85); 
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}



.login-header {
  margin-bottom: 1.5rem;
}

.login-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}


.login-footer {
  text-align: center;
  margin-top: 1.5rem;
  color:white;
}

.login-footer a {
  color: var(--primary);
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}

.remember-forgot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 256px;
  background-color: var(--sidebar-background);
  display: flex;
  flex-direction: column;
  z-index: 50;
  transition: transform 0.3s ease;
}

.sidebar-logo {
  padding: 1.5rem;
  border-bottom: 1px solid var(--sidebar-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.sidebar-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--sidebar-primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-logo-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.sidebar-logo-text h1 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sidebar-foreground);
}

.sidebar-logo-text p {
  font-size: 0.75rem;
  color: var(--sidebar-muted);
}

.sidebar-nav {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: rgba(248, 250, 252, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
  margin-bottom: 0.25rem;
}

.sidebar-link:hover {
  background-color: var(--sidebar-accent);
  color: var(--sidebar-foreground);
}

.sidebar-link.active {
  background-color: var(--sidebar-accent);
  color: var(--sidebar-foreground);
  font-weight: 500;
}

.sidebar-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--sidebar-border);
}

.sidebar-link.logout {
  color: var(--destructive);
}

.sidebar-link.logout:hover {
  background-color: rgba(239, 68, 68, 0.1);
}

/* Main Content */
.main-wrapper {
  margin-left: 256px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  height: 64px;
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 40;
}

.navbar-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-btn {
  position: relative;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-foreground);
  transition: all 0.2s;
}

.navbar-btn:hover {
  background-color: var(--secondary);
}

.navbar-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.notification-dot {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--destructive);
  border-radius: 50%;
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.profile-btn:hover {
  background-color: var(--secondary);
}

.profile-avatar {
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar svg {
  width: 1rem;
  height: 1rem;
  color: white;
}

.profile-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  width: 12rem;
  background-color: var(--card);
  border-radius: 0.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: fadeIn 0.2s ease;
}

.profile-dropdown-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.profile-dropdown-header p:first-child {
  font-weight: 500;
  color: var(--foreground);
}

.profile-dropdown-header p:last-child {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.profile-dropdown button {
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--destructive);
  font-family: inherit;
}

.profile-dropdown button:hover {
  background-color: var(--secondary);
}

/* Main Content Area */
.main-content {
  flex: 1;
  padding: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
  margin-bottom: 2rem;
}

.page-header-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-header-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.page-header-icon.primary { background-color: var(--primary); }
.page-header-icon.success { background-color: var(--success); }
.page-header-icon.info { background-color: var(--info); }
.page-header-icon.warning { background-color: var(--warning); }

.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.page-subtitle {
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* ===== DASHBOARD STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.stat-trend {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* ===== VEHICLE TYPE SELECTOR ===== */
.vehicle-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.vehicle-type-btn {
  padding: 1rem;
  border-radius: 0.5rem;
  border: 2px solid var(--border);
  background: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.vehicle-type-btn:hover {
  border-color: rgba(37, 99, 235, 0.5);
}

.vehicle-type-btn.active {
  border-color: var(--primary);
  background-color: rgba(37, 99, 235, 0.05);
}

.vehicle-type-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 auto 0.5rem;
  color: var(--muted-foreground);
}

.vehicle-type-btn.active svg {
  color: var(--primary);
}

.vehicle-type-btn span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.vehicle-type-btn.active span {
  color: var(--primary);
}

/* ===== VEHICLE DETAILS CARD ===== */
.vehicle-details-header {
  padding: 1.5rem;
  background-color: rgba(37, 99, 235, 0.05);
  border-bottom: 1px solid var(--border);
}

.vehicle-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.detail-box {
  padding: 1rem;
  background-color: var(--secondary);
  border-radius: 0.5rem;
}

.detail-box.highlight {
  background-color: rgba(37, 99, 235, 0.1);
}

.detail-box-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.detail-box-label svg {
  width: 1rem;
  height: 1rem;
}

.detail-box-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.detail-box.highlight .detail-box-label {
  color: var(--primary);
}

.detail-box.highlight .detail-box-value {
  font-size: 1.5rem;
  color: var(--primary);
}

/* ===== FILTERS ===== */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search-input-wrapper svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
}

.search-input-wrapper input {
  padding-left: 2.5rem;
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
}

.filter-btn.secondary {
  background-color: var(--secondary);
  color: var(--foreground);
}

.filter-btn.secondary:hover {
  background-color: #e2e8f0;
}

.filter-btn.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* ===== SUMMARY BOXES ===== */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.summary-box {
  background-color: var(--card);
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  padding: 1rem;
  text-align: center;
}

.summary-box-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.summary-box-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.summary-box-value.success { color: var(--success); }
.summary-box-value.info { color: var(--info); }
.summary-box-value.primary { color: var(--primary); }

/* ===== PROGRESS BAR ===== */
.progress-bar {
  width: 100%;
  height: 0.75rem;
  background-color: var(--secondary);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--primary);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

/* ===== PARKING STATUS GRID ===== */
.parking-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1rem;
}

.parking-status-item {
  text-align: center;
  padding: 1rem;
  background-color: var(--secondary);
  border-radius: 0.5rem;
}

.parking-status-item svg {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 auto 0.5rem;
}

.parking-status-item.primary svg { color: var(--primary); }
.parking-status-item.success svg { color: var(--success); }
.parking-status-item.warning svg { color: var(--warning); }

.parking-status-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.parking-status-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ===== SECURITY TIPS ===== */
.security-tips {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: var(--secondary);
  border-radius: 0.5rem;
}

.security-tips h4 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.security-tips ul {
  list-style: none;
}

.security-tips li {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

/* ===== MAX WIDTH CONTAINERS ===== */
.max-w-2xl {
  max-width: 42rem;
}

.max-w-xl {
  max-width: 36rem;
}

/* ===== CHART PLACEHOLDER ===== */
.chart-placeholder {
  height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(241, 245, 249, 0.5);
  border-radius: 0.5rem;
  color: var(--muted-foreground);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }

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

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

  .menu-toggle {
    display: block;
  }

  .navbar-title {
    display: none;
  }

  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 45;
  }

  .sidebar-overlay.open {
    display: block;
  }
}

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

  .vehicle-type-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .vehicle-details-grid {
    grid-template-columns: 1fr;
  }

  .filters-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-buttons {
    justify-content: center;
  }

  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .profile-name {
    display: none;
  }

  .page-header-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .parking-status-grid {
    grid-template-columns: 1fr;
  }
}
