/* ==========================================================================
   Smart School Bus Management System - Enterprise Design System
   Modern Dark/Light SaaS Aesthetic, Glassmorphism, Micro-interactions
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-surface: #131d31;
  --bg-surface-hover: #1a2742;
  --bg-elevated: #1e293b;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.16);

  --accent-primary: #4f46e5;
  --accent-primary-light: #6366f1;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  --accent-glow: 0 0 24px rgba(99, 102, 241, 0.35);

  --status-normal: #10b981;   /* GREEN: Normal, Available, Boarded */
  --status-alert: #ef4444;    /* RED: Alert, Occupied, Emergency */
  --status-warning: #f59e0b;  /* YELLOW: Warning, Reserved, Delayed */
  --status-info: #0ea5e9;     /* BLUE: Information, Running, Online */
  --status-neutral: #64748b;  /* GREY: Maintenance, Inactive */

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --sidebar-width: 270px;
  --header-height: 70px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow-red: 0 0 25px rgba(239, 68, 68, 0.45);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

code, pre, .mono {
  font-family: 'JetBrains Mono', monospace;
}

a {
  color: inherit;
  text-decoration: none;
}

/* App Wrapper & Layout */
.app-container {
  display: flex;
  min-height: 100vh;
}

.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-left: var(--sidebar-width);
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1024px) {
  .main-wrapper {
    margin-left: 0;
  }
}

/* Sidebar */
.app-sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  z-index: 50;
  overflow-y: auto;
  transition: transform 0.3s ease;
}

@media (max-width: 1024px) {
  .app-sidebar {
    transform: translateX(-100%);
  }
  .app-sidebar.open {
    transform: translateX(0);
  }
}

.sidebar-brand {
  height: var(--header-height);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--accent-glow);
}

.brand-text h2 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-primary-light);
  letter-spacing: 0.05em;
}

.sidebar-nav {
  padding: 1rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-section-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  padding: 0.75rem 0.75rem 0.35rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  position: relative;
}

.nav-item:hover {
  background-color: var(--bg-surface-hover);
  color: var(--text-primary);
  transform: translateX(3px);
}

.nav-item.active {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border-left: 3px solid var(--accent-primary-light);
  font-weight: 600;
}

.nav-item .icon {
  font-size: 1.15rem;
  min-width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-badge {
  margin-left: auto;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

/* Header & Top Navigation */
.app-header {
  height: var(--header-height);
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.1rem;
}

@media (max-width: 1024px) {
  .header-toggle {
    display: flex;
  }
}

.header-title h1 {
  font-size: 1.25rem;
  font-weight: 700;
}

.header-title p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

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

/* Role Quick Switcher dropdown in header */
.role-switcher-box {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.5rem;
  gap: 0.4rem;
}

.role-switcher-box label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-primary-light);
  text-transform: uppercase;
  padding-left: 0.5rem;
}

.role-select {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  outline: none;
}

.role-select option {
  background-color: var(--bg-surface);
  color: var(--text-primary);
}

.user-profile-menu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.user-details {
  line-height: 1.2;
}

.user-name {
  font-size: 0.82rem;
  font-weight: 600;
}

.user-role-badge {
  font-size: 0.68rem;
  color: var(--accent-primary-light);
  font-weight: 600;
}

/* Main Content Area */
.app-content {
  flex: 1;
  padding: 1.75rem;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}

/* Metric / Stat Cards Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-bright);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-info {
  flex: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.stat-value {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.stat-subtext {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Color thematic variants */
.icon-green { background: rgba(16, 185, 129, 0.15); color: var(--status-normal); }
.icon-blue  { background: rgba(14, 165, 233, 0.15); color: var(--status-info); }
.icon-red   { background: rgba(239, 68, 68, 0.15); color: var(--status-alert); }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--status-warning); }
.icon-indigo{ background: rgba(99, 102, 241, 0.15); color: var(--accent-primary-light); }

/* Emergency Alert Banner (Flashing) */
.emergency-banner {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.25), rgba(220, 38, 38, 0.45));
  border: 1px solid var(--status-alert);
  box-shadow: var(--shadow-glow-red);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: pulse-border 2s infinite ease-in-out;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 15px rgba(239, 68, 68, 0.3); }
  50% { box-shadow: 0 0 30px rgba(239, 68, 68, 0.75); }
}

.emergency-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.emergency-content .sos-badge {
  background: var(--status-alert);
  color: #fff;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* Glass Panels & Content Cards */
.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.card-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-header p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.card-body {
  padding: 1.5rem;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

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

.data-table th {
  background: rgba(15, 23, 42, 0.6);
  padding: 0.85rem 1.15rem;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  vertical-align: middle;
}

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

.data-table tbody tr:hover {
  background-color: var(--bg-surface-hover);
}

/* Badges & Status Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-green { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-red   { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-blue  { background: rgba(14, 165, 233, 0.15); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.3); }
.badge-purple{ background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.badge-neutral { background: rgba(100, 116, 139, 0.15); color: #94a3b8; border: 1px solid rgba(100, 116, 139, 0.3); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.5);
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}
.btn-success:hover { opacity: 0.92; transform: translateY(-1px); }

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}
.btn-danger:hover { opacity: 0.92; transform: translateY(-1px); }

.btn-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-elevated);
  border-color: var(--border-color);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-bright);
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.95rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: var(--accent-primary-light);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

select.form-control option {
  background: var(--bg-surface);
  color: #fff;
}

/* Visual Bus Seat Layout */
.bus-chassis {
  background: #0d1424;
  border: 2px solid #233354;
  border-radius: 28px;
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 0, 0, 0.6);
  position: relative;
}

.bus-cabin-front {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px dashed #233354;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.driver-seat-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #1a263e;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.driver-seat-box .wheel {
  font-size: 1.5rem;
}

.bus-door {
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  border: 1px solid #0284c7;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(14, 165, 233, 0.1);
}

.bus-seats-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.seat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.seat-pair {
  display: flex;
  gap: 0.6rem;
}

.seat-aisle {
  width: 32px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.bus-seat {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  position: relative;
}

.bus-seat:hover {
  transform: scale(1.08);
  z-index: 10;
}

/* Seat Statuses */
.seat-available {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 2px solid #10b981;
}

.seat-occupied {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 2px solid #ef4444;
}

.seat-reserved {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 2px solid #f59e0b;
}

.seat-maintenance {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
  border: 2px solid #64748b;
  cursor: not-allowed;
}

.seat-legend {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.legend-color {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

/* Map Containers */
#liveBusMap, .map-container {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  z-index: 10;
}

/* Custom Marker Styling for Leaflet */
.bus-marker-icon {
  background: var(--accent-gradient);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.7);
  border: 2px solid #fff;
}

.bus-marker-pulse {
  animation: marker-pulse 1.8s infinite ease-out;
}

@keyframes marker-pulse {
  0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.8); }
  70% { box-shadow: 0 0 0 18px rgba(99, 102, 241, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* RFID Scan Modal & Feedback Card */
.rfid-scan-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.rfid-scan-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.rfid-scan-box {
  background: var(--bg-surface);
  border: 2px solid var(--status-normal);
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.rfid-scan-modal.show .rfid-scan-box {
  transform: scale(1);
}

.rfid-scan-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--status-normal);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

/* Attendance Timeline for Parents */
.attendance-timeline {
  position: relative;
  padding-left: 2rem;
  margin: 1.5rem 0;
}

.attendance-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border-color);
}

.timeline-step {
  position: relative;
  margin-bottom: 1.5rem;
}

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

.timeline-step .dot {
  position: absolute;
  left: -2rem;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3px solid var(--status-normal);
}

.timeline-step.pending .dot {
  border-color: var(--text-muted);
}

.timeline-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--status-info);
  margin-bottom: 0.15rem;
}

.timeline-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.timeline-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Flash alerts */
.flash-alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
}

.flash-success { background: rgba(16, 185, 129, 0.18); border: 1px solid var(--status-normal); color: #34d399; }
.flash-danger  { background: rgba(239, 68, 68, 0.18); border: 1px solid var(--status-alert); color: #f87171; }
.flash-warning { background: rgba(245, 158, 11, 0.18); border: 1px solid var(--status-warning); color: #fbbf24; }
.flash-info    { background: rgba(14, 165, 233, 0.18); border: 1px solid var(--status-info); color: #38bdf8; }

/* Grid utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

/* ==========================================================================
   Print & PDF Generation Stylesheet
   ========================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 10pt;
  }
  .app-sidebar,
  .app-header,
  .role-switcher-box,
  .emergency-banner,
  .btn,
  button,
  .nav-item,
  #sidebarToggle {
    display: none !important;
  }
  .app-container,
  .main-wrapper,
  .app-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }
  .glass-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    color: #0f172a !important;
    page-break-inside: avoid;
    margin-bottom: 1.5rem;
  }
  .card-header {
    background: #f8fafc !important;
    border-bottom: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
  }
  .card-header h3 {
    color: #0f172a !important;
  }
  .data-table {
    border-collapse: collapse;
    width: 100% !important;
    color: #0f172a !important;
  }
  .data-table th {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
  }
  .data-table td {
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    background: #ffffff !important;
  }
  .badge {
    border: 1px solid #64748b !important;
    color: #0f172a !important;
    background: #f1f5f9 !important;
  }
}

