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

/* ==========================================================================
   HEDEF SERVİS - ULTRA MODERN ENTERPRISE SAAS DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Renk Paleti */
  --bg-dark: #070a13;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.3);
  
  /* Aksan Renkler */
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-purple: #8b5cf6;
  
  /* Gradyanlar */
  --grad-brand: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #6366f1 100%);
  --grad-emerald: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --grad-amber: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  --grad-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
  
  /* Tipografi */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  /* Yuvarlatmalar ve Gölgeler */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
  color: #f1f5f9;
  font-family: var(--font-main);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Header & Navigation */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 2rem;
  background: rgba(7, 10, 19, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 400;
}

.brand-badge {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Nav Tabs */
.nav-tabs {
  display: flex;
  gap: 6px;
  background: rgba(15, 23, 42, 0.8);
  padding: 5px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.nav-tab {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
  background: var(--grad-brand);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35);
}

/* Layout Container */
.dashboard-container {
  padding: 1.8rem 2rem;
  max-width: 1750px;
  margin: 0 auto;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Grid Layout */
.routing-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-card);
  background-image: var(--grad-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.9rem;
}

.panel-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Route Cards Selector */
.route-selector-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.route-option-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.route-option-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.route-option-card.active-fastest {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.route-option-card.active-shortest {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--accent-emerald);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.route-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.badge-fastest {
  background: rgba(56, 189, 248, 0.18);
  color: var(--accent-cyan);
}

.badge-shortest {
  background: rgba(16, 185, 129, 0.18);
  color: var(--accent-emerald);
}

.route-stat-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff;
  line-height: 1.2;
}

.route-stat-lbl {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* Map Wrapper */
.map-wrapper {
  position: relative;
  height: calc(100vh - 140px);
  min-height: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

#yandex-map {
  width: 100%;
  height: 100%;
}

.map-floating-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(7, 10, 19, 0.85);
  backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  font-weight: 600;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Student Pickup List Timeline */
.student-pickup-list {
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
}

.student-pickup-list::-webkit-scrollbar {
  width: 5px;
}

.student-pickup-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.pickup-item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: background 0.2s ease;
}

.pickup-item:hover {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(56, 189, 248, 0.3);
}

.pickup-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.pickup-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pickup-address {
  font-size: 0.72rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pickup-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Tables */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.custom-table th {
  background: rgba(15, 23, 42, 0.9);
  color: #cbd5e1;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.custom-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: #e2e8f0;
}

.custom-table tbody tr {
  transition: background 0.15s ease;
}

.custom-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Buttons & Inputs */
.btn-primary {
  background: var(--grad-brand);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-emerald {
  background: var(--grad-emerald);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.btn-emerald:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

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

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-control {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.88rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* Modals & Dropzone */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

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

.modal-content {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.excel-dropzone {
  border: 2px dashed rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.03);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.excel-dropzone:hover, .excel-dropzone.drag-over {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
}

.dropzone-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: #ffffff;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.3s ease;
}

.toast-success { border-left: 4px solid var(--accent-emerald); }
.toast-error { border-left: 4px solid var(--accent-rose); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Vehicle Tab Buttons */
.vehicle-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vehicle-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.vehicle-tab.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--accent-cyan);
}

/* WhatsApp Veli Button */
.wa-veli-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.wa-veli-btn:hover {
  background: rgba(37, 211, 102, 0.25);
  transform: scale(1.1);
}

/* =====================================================
   RESPONSIVE - TABLET (768px ve altı)
   ===================================================== */
@media (max-width: 1024px) {
  .app-header {
    flex-direction: column;
    gap: 10px;
    padding: 0.7rem 1rem;
  }

  .brand {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .brand-badge { display: none; }

  .nav-tabs {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .nav-tabs::-webkit-scrollbar { display: none; }

  .nav-tab {
    white-space: nowrap;
    padding: 7px 12px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

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

  .map-wrapper {
    height: 400px;
    min-height: 350px;
    order: -1;
  }

  .dashboard-container {
    padding: 1rem;
  }
}

/* =====================================================
   RESPONSIVE - MOBİL (480px ve altı)
   ===================================================== */
@media (max-width: 600px) {
  .app-header {
    padding: 0.5rem 0.75rem;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .brand-title {
    font-size: 1.1rem;
  }

  .brand-subtitle {
    font-size: 0.68rem;
  }

  .nav-tab {
    padding: 6px 10px;
    font-size: 0.72rem;
    gap: 4px;
  }

  .nav-tab span {
    font-size: 0.85rem;
  }

  .dashboard-container {
    padding: 0.6rem;
  }

  .glass-panel {
    padding: 1rem;
    gap: 0.8rem;
    border-radius: var(--radius-md);
  }

  .panel-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .route-selector-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .route-option-card {
    padding: 0.75rem;
  }

  .route-stat-val {
    font-size: 1.1rem;
  }

  .map-wrapper {
    height: 320px;
    min-height: 280px;
    border-radius: var(--radius-md);
  }

  .map-floating-overlay {
    top: 8px;
    right: 8px;
    padding: 5px 8px;
    font-size: 0.68rem;
    gap: 8px;
  }

  .student-pickup-list {
    max-height: 260px;
  }

  .pickup-item {
    padding: 6px 8px;
    gap: 6px;
  }

  .pickup-name {
    font-size: 0.78rem;
  }

  .pickup-address {
    font-size: 0.66rem;
  }

  .pickup-time {
    font-size: 0.7rem;
    padding: 2px 6px;
  }

  /* Öğrenci tablosu mobilde kart görünümü */
  .custom-table thead { display: none; }

  .custom-table tbody tr {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    margin-bottom: 8px;
    background: var(--bg-card);
    gap: 4px;
  }

  .custom-table td {
    padding: 2px 0;
    border-bottom: none;
    font-size: 0.82rem;
  }

  .custom-table td:first-child {
    display: none;
  }

  /* Modal mobil */
  .modal-content {
    margin: 12px;
    padding: 1.2rem;
    max-width: calc(100vw - 24px);
  }

  /* Excel bölümü */
  .excel-dropzone {
    padding: 2rem 1rem;
  }

  .dropzone-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  /* Ayarlar grid */
  #tab-settings .form-group {
    min-width: 0;
  }

  #tab-settings [style*="grid-template-columns: 1fr 1fr 1fr"],
  #tab-settings [style*="grid-template-columns:1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  #tab-settings [style*="grid-template-columns: 1fr 1fr"],
  #tab-settings [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Butonlar tam genişlik */
  #btn-share-driver,
  #btn-save-route,
  .btn-primary,
  .btn-emerald {
    font-size: 0.82rem;
    padding: 10px 14px;
  }

  /* Arama inputu */
  #input-search-student {
    width: 100% !important;
    min-width: 0;
  }

  #tab-students > .glass-panel > div:first-child {
    flex-direction: column;
    gap: 0.75rem;
  }

  #tab-students > .glass-panel > div:first-child > div:last-child {
    flex-direction: column;
    width: 100%;
  }

  #tab-students > .glass-panel > div:first-child > div:last-child > * {
    width: 100%;
  }
}

/* =====================================================
   KPI KARTLARI — Dashboard
   ===================================================== */
.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.kpi-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.kpi-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.kpi-value {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1.1;
}

.kpi-label {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 4px;
}

.kpi-cyan .kpi-value { color: #38bdf8; }
.kpi-cyan { border-color: rgba(56, 189, 248, 0.2); }
.kpi-emerald .kpi-value { color: #10b981; }
.kpi-emerald { border-color: rgba(16, 185, 129, 0.2); }
.kpi-amber .kpi-value { color: #f59e0b; }
.kpi-amber { border-color: rgba(245, 158, 11, 0.2); }
.kpi-purple .kpi-value { color: #8b5cf6; }
.kpi-purple { border-color: rgba(139, 92, 246, 0.2); }

/* =====================================================
   ATAMA BOARD — Sürükle Bırak Kolonları
   ===================================================== */
.assign-column {
  min-width: 200px;
  max-width: 240px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 2px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease;
}

.assign-col-header {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: rgba(255, 255, 255, 0.02);
}

.assign-col-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 400px;
  overflow-y: auto;
}

.assign-student-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.assign-student-card:active {
  cursor: grabbing;
}

.assign-student-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-color: rgba(56, 189, 248, 0.3);
}

/* =====================================================
   MODAL CLOSE BUTTON
   ===================================================== */
.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #f43f5e;
}

/* =====================================================
   RESPONSIVE ADDITIONS for new components
   ===================================================== */
@media (max-width: 1024px) {
  .dashboard-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #tab-fleet > div:first-child {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .dashboard-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .kpi-value {
    font-size: 1.4rem;
  }

  .kpi-icon {
    font-size: 1.2rem;
  }

  .assign-column {
    min-width: 160px;
  }
}

/* Print Stylesheet */
@media print {
  body { background: #ffffff !important; color: #000000 !important; }
  .app-header, .map-wrapper, .nav-tabs, .btn-primary, .btn-secondary, .btn-emerald, .route-selector-group { display: none !important; }
  .dashboard-container { padding: 0 !important; }
  .routing-grid { display: block !important; }
  .glass-panel { background: none !important; border: none !important; box-shadow: none !important; padding: 0 !important; }
  .student-pickup-list { max-height: none !important; overflow: visible !important; }
  .pickup-item { border: 1px solid #ddd !important; background: #fff !important; color: #000 !important; margin-bottom: 6px; }
  .pickup-name { color: #000 !important; }
  .pickup-address { color: #555 !important; }
}
