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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

/* Chickasaw Federal Color Scheme */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #3b82f6;
  --accent-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --dark-color: #1f2937;
  --light-color: #f8fafc;
  --border-color: #e5e7eb;
  --text-primary: #182849;
  --text-secondary: #6b7280;
}

/* Auth Pages Layout */
.container {
  max-width: 450px;
  width: 90%;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Auth Forms */
.auth-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  width: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
  flex-shrink: 0;
}

.form-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-header p {
  color: var(--text-secondary);
  font-size: 16px;
}

.input-group {
  position: relative;
  margin: 20px 0;
}

.input-group input {
  width: 100%;
  padding: 15px 50px 15px 15px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
  background: white;
}

.input-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-secondary);
}

.btn-primary {
  width: 100%;
  padding: 15px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 20px 0;
  flex-shrink: 0;
}

.btn-primary:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(30, 58, 138, 0.4);
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  flex-shrink: 0;
}

.form-footer p {
  color: var(--text-secondary);
}

.form-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

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

.password-requirements {
  margin-top: -10px;
  margin-bottom: 15px;
}

.password-requirements small {
  color: var(--text-secondary);
  font-size: 12px;
}

/* Flash Messages */
.flash-messages {
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  min-height: 60px;
  z-index: 10;
}

.alert {
  padding: 15px 20px;
  margin-bottom: 15px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 12px;
  border-left: 4px solid var(--danger-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease-out;
}

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

/* Dashboard Layout */
.dashboard-layout {
  display: grid;
  grid-template-areas:
    "header header"
    "sidebar main";
  grid-template-columns: 250px 1fr;
  grid-template-rows: 70px 1fr;
  min-height: 100vh;
}

/* Header */
.header {
  grid-area: header;
  background: white;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-left .logo {
  height: 40px;
  width: auto;
}

.header-left h1 {
  font-size: 20px;
  color: var(--text-primary);
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
}

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

.user-name {
  color: var(--text-primary);
  font-weight: 500;
}

.user-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.logout-btn {
  color: var(--text-secondary);
  font-size: 18px;
  text-decoration: none;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: var(--light-color);
  color: var(--danger-color);
}

/* Sidebar */
.sidebar {
  grid-area: sidebar;
  background: #1e3a8a;
  border-right: 1px solid var(--border-color);
  padding: 20px 0;
}

.nav-menu {
  display: flex;
  flex-direction: column;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.nav-item.active {
  background: rgba(30, 58, 138, 0.1);
  color: var(--primary-color);
  border-left-color: var(--primary-color);
}

.nav-item i {
  width: 20px;
  text-align: center;
}

/* Main Content */
.main-content {
  grid-area: main;
  padding: 30px;
  overflow-y: auto;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.metric-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

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

.metric-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(30, 58, 138, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 24px;
}

.metric-info h3 {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 5px;
  font-weight: 500;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.metric-change {
  font-size: 12px;
  font-weight: 500;
}

.metric-change.positive {
  color: var(--accent-color);
}

.metric-change.negative {
  color: var(--danger-color);
}

.metric-change.neutral {
  color: var(--text-secondary);
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

/* Chart Card */
.chart-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.card-header {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h3 {
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 600;
}

.time-filter {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: white;
  color: var(--text-primary);
}

.chart-container {
  padding: 25px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  color: var(--text-secondary);
}

/* Notifications Card */
.notifications-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.notification-count {
  background: var(--danger-color);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.notifications-list {
  padding: 20px;
}

.notification-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 4px solid transparent;
}

.notification-item:last-child {
  margin-bottom: 0;
}

.notification-item.priority-high {
  background: rgba(239, 68, 68, 0.05);
  border-left-color: var(--danger-color);
}

.notification-item.priority-medium {
  background: rgba(245, 158, 11, 0.05);
  border-left-color: var(--warning-color);
}

.notification-item.priority-low {
  background: rgba(59, 130, 246, 0.05);
  border-left-color: var(--secondary-color);
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.priority-high .notification-icon {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}

.priority-medium .notification-icon {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-color);
}

.priority-low .notification-icon {
  background: rgba(59, 130, 246, 0.1);
  color: var(--secondary-color);
}

.notification-content h4 {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.notification-content p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.notification-content small {
  font-size: 11px;
  color: var(--text-secondary);
  font-style: italic;
}

/* Activity Section */
.activity-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  padding: 25px;
}

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

.section-header h3 {
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 600;
}

.view-all {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.view-all:hover {
  text-decoration: underline;
}

.activity-timeline {
  position: relative;
}

.activity-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--border-color);
  flex-shrink: 0;
  margin-top: 5px;
}

.timeline-content h4 {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.timeline-content p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.timeline-content small {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Table Card */
.table-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.table-container {
  overflow-x: auto;
}

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

.data-table th {
  background: var(--light-color);
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.data-table td {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.data-table tr:hover {
  background: var(--light-color);
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 12px;
}

.badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.badge.admin {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-color);
}

.badge.user {
  background: rgba(107, 114, 128, 0.1);
  color: var(--text-secondary);
}

.badge.active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-color);
}

.action-buttons {
  display: flex;
  gap: 8px;
}

.btn-icon {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: rgba(107, 114, 128, 0.1);
  color: var(--text-secondary);
}

.btn-icon:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--secondary-color);
}

.btn-icon.danger:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .dashboard-layout {
    grid-template-areas:
      "header"
      "main";
    grid-template-columns: 1fr;
    grid-template-rows: 70px 1fr;
  }

  .sidebar {
    display: none;
  }

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

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

@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  .auth-form {
    padding: 30px 20px;
  }

  .header {
    padding: 0 15px;
  }

  .header-left h1 {
    display: none;
  }

  .main-content {
    padding: 20px 15px;
  }

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

  .metric-card {
    padding: 20px;
  }
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  color: #1e3a8a;
  margin-bottom: 12px;
}

.metric-value {
  font-size: 24px;
  font-weight: bold;
  color: #1e3a8a;
}

.metric-split {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.text-center {
  text-align: center;
}

/* base.html start */

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-left .logo {
  width: 60px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.header-left .logo:hover {
  transform: scale(1.05);
}

.header-left h1 {
  font-size: 22px;
  font-weight: bold;
  color: #1e3a8a;
  margin: 0;
  white-space: nowrap;
}

/* base.html css end */

/* home.html start */
.maestro-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  padding: 24px;
  border-left: 4px solid #1e3a8a;
  padding: 16px;
}

.card-header h2 {
  color: #1e3a8a;
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: bold;
}

.card-header p {
  color: #64748b;
  margin: 0 0 20px 0;
  font-size: 16px;
}

.data-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.data-table th {
  background: #f1f5f9;
  color: #1e3a8a;
  padding: 12px;
  text-align: left;
  font-weight: bold;
  border-bottom: 2px solid #e2e8f0;
}

.data-table td {
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.data-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.data-table tbody tr:hover {
  background: #e2e8f0;
}

.planned-row {
  background: #dbeafe !important;
}

.actual-row {
  background: #fef3c7 !important;
}

.selector-section {
  display: flex;
  gap: 40px;
  align-items: center;
}

.division-selector label {
  display: block;
  color: #374151;
  font-weight: bold;
  margin-bottom: 8px;
}

.button-group {
  display: flex;
  gap: 8px;
}

.selector-btn {
  background: #f1f5f9;
  border: 1px solid #d1d5db;
  color: #374151;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.selector-btn:hover {
  background: #e2e8f0;
  border-color: #9ca3af;
}

.selector-btn.active {
  background: #1e3a8a;
  color: white;
  border-color: #1e3a8a;
}

.division-dropdown {
  background: #f1f5f9;
  border: 1px solid #d1d5db;
  color: #374151;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  min-width: 150px;
}

.division-dropdown:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.1);
}

.on-schedule {
  color: #059669;
  font-weight: bold;
}

.ahead-schedule {
  color: #059669;
  font-weight: bold;
}

.behind-schedule {
  color: #dc2626;
  font-weight: bold;
}

.not-started {
  color: #6b7280;
  font-style: italic;
}

.aircraft-status td {
  width: 50px;
  height: 40px;
  border: 1px solid #e2e8f0;
}

.status-green {
  background: #22c55e !important;
  border-radius: 8px;
}

.status-cyan {
  background: #06b6d4;
  border-radius: 8px;
}

.status-amber {
  background: #f59e0b !important;
  border-radius: 8px;
}

.status-red {
  background: #ef4444 !important;
  border-radius: 8px;
}

.status-gray {
  background: #9ca3af !important;
  border-radius: 8px;
}

.status-white {
  background: #fff !important;
  border-radius: 8px;
}

/* new theme */
/* .status-blue-dark {
  background-color: #1d4e89 !important; 
}

.status-blue {
  background-color: #2563eb !important; 
}

.status-blue-light {
  background-color: #3b82f6 !important; 
}

.status-amber {
  background-color: #eed186 !important;
} */

.text-green {
  color: #22c55e;
  font-weight: bold;
}

.text-amber {
  color: #f59e0b;
  font-weight: bold;
}

.text-white {
  color: #fff;
  font-weight: bold;
}

.text-red {
  color: #ef4444;
  font-weight: bold;
}

.text-gray {
  color: #9ca3af;
  font-weight: bold;
}

.legend {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.legend span {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  color: white;
}

.legend .status-green {
  color: #fff;
}
.legend .status-cyan {
  color: #fff;
}
.legend .status-amber {
  color: #fff;
}
.legend .status-red {
  color: #fff;
}
.legend .status-gray {
  color: #fff;
}

.timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0;
  position: relative;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
}

.timeline-step .circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #d1d5db;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 8px;
  position: relative;
  transition: all 0.4s ease;
}

.timeline-step.completed .circle {
  border-color: #22c55e;
  background: radial-gradient(circle at center, #34d399, #059669);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.7);
}

.timeline-step.completed .circle::after {
  content: "✔";
  color: white;
  font-size: 18px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.timeline-step.in-progress .circle {
  border-color: #f59e0b;
  background: radial-gradient(circle at center, #fcd34d, #d97706);
  animation: pulse 1.5s infinite;
}

.timeline-step.delayed .circle {
  border-color: #ef4444;
  background: radial-gradient(circle at center, #f87171, #dc2626);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.7);
}

.timeline-step.delayed .circle::after {
  content: "!";
  color: white;
  font-size: 18px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.timeline-step.pending .circle {
  border-color: #9ca3af;
  background: #f9fafb;
  box-shadow: inset 0 0 6px rgba(156, 163, 175, 0.5);
}

.timeline-step .label {
  font-weight: bold;
  color: #1f2937;
}
.timeline-step .sub {
  font-size: 13px;
  color: #6b7280;
}

.line {
  flex: 1;
  height: 8px;
  background: #e5e7eb;
  margin: 0 10px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

.timeline-step.completed + .line::before {
  width: 100%;
  background: linear-gradient(90deg, #34d399, #059669);
}

.timeline-step.in-progress + .line::before {
  width: 50%;
  background: linear-gradient(90deg, #fcd34d, #d97706);
}

.timeline-step.delayed + .line::before {
  width: 100%;
  background: linear-gradient(90deg, #f87171, #dc2626);
}

.timeline-step.pending + .line::before {
  width: 0;
}

.timeline-step:hover .circle {
  transform: scale(1.15);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.9;
  }
}

.metric-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-value {
  font-size: 24px;
  font-weight: bold;
  color: #1e3a8a;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.buttons button {
  background: #1e3a8a;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}

.buttons button:hover {
  background: #162a63;
}

.filter-row {
  display: flex;
  justify-content: flex-end; /* Push buttons to the right */
  gap: 12px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.btn-filter {
  background: #1e3a8a;
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-filter:hover {
  background: #374eb3;
  transform: translateY(-2px);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.notification-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 500px;
}

.notification-list li {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  transition: transform 0.2s;
}

.notification-list li:hover {
  transform: translateX(5px);
}

/* Status Colors */
.warning {
  background-color: #fff4e5;
  color: #856404;
}

.danger {
  background-color: #f8d7da;
  color: #721c24;
}

.info {
  background-color: #d1ecf1;
  color: #0c5460;
}

.success {
  background-color: #d4edda;
  color: #155724;
}

.notification-list .icon {
  margin-right: 10px;
  font-size: 18px;
}

/* home.html end  */

.navbar {
  margin-left: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #1e3a8a;
  font-weight: bold;
}

.nav-links a:hover {
  color: #2563eb; /* Lighter blue on hover */
}

.filter-row {
  margin: 20px 0;
  display: flex;
  align-items: center;
}

.filter-dropdown {
  padding: 8px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #f8f9fa;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 220px;
  background-color: white;
}

.filter-dropdown:hover {
  border-color: #1e3a8a; /* matches your card accent color */
}

.filter-dropdown:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 5px rgba(30, 58, 138, 0.3);
  background-color: #fff;
}

/* Optional: consistent spacing with label if you add one */
.filter-row label {
  margin-right: 10px;
  font-weight: 500;
  color: #1f2937; /* dark gray text to match theme */
}

.top-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.metric-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
}

.metric-row > div {
  text-align: center;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: bold;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2a3f5f;
}
