/* ═══════════════════════════════════════════════
   Transport Management System - Professional UI
   Pastel Green Theme
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --bg-deep: #e8f5e0;
    --bg-primary: #f0f8ec;
    --bg-secondary: #e4f2de;
    --bg-card: #f4faf0;
    --bg-card-hover: #eaf5e5;
    --bg-input: #f6faf4;
    --border: #c8d4c0;
    --border-light: #d8e4d0;
    --text-primary: #2d5a2d;
    --text-secondary: #4a6e4a;
    --text-muted: #7a9a7a;
    --accent: #5cb85c;
    --accent-hover: #4a9a4a;
    --accent-dim: rgba(92, 184, 92, 0.15);
    --accent-glow: rgba(92, 184, 92, 0.25);
    --danger: #d9534f;
    --danger-dim: rgba(217, 83, 79, 0.1);
    --warning: #e8a838;
    --warning-dim: rgba(232, 168, 56, 0.1);
    --info: #5087c8;
    --info-dim: rgba(80, 135, 200, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-xs: 0 1px 2px rgba(45,90,45,0.04);
    --shadow: 0 2px 8px rgba(45,90,45,0.08), 0 1px 2px rgba(45,90,45,0.04);
    --shadow-lg: 0 8px 30px rgba(45,90,45,0.12);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: #a8c8a0; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

.app-wrapper { display: flex; min-height: 100vh; }

/* ── Sidebar ── */
.sidebar {
    width: 260px;
    background: #c5e8c0;
    border-right: 1px solid #b0d8a8;
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; bottom: 0;
    z-index: 100; transition: var(--transition);
    box-shadow: 1px 0 8px rgba(45,90,45,0.08);
}

.sidebar-brand {
    padding: 24px 20px;
    border-bottom: 1px solid #b0d8a8;
    display: flex; align-items: center; gap: 12px;
}

.sidebar-brand .brand-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, #5cb85c, #4a9a4a);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.sidebar-brand h1 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: #2d5a2d; line-height: 1.2; }
.sidebar-brand small { font-size: 11px; color: #5a7a5a; font-weight: 400; }

.sidebar-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }
.nav-section { margin-bottom: 24px; }

.nav-section-title {
    font-family: var(--font-heading); font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px; color: #5a7a5a;
    padding: 0 12px; margin-bottom: 8px;
}

.nav-link {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: var(--radius-sm);
    color: #3d6e3d; text-decoration: none;
    font-size: 14px; font-weight: 500; transition: var(--transition); margin-bottom: 2px;
}
.nav-link:hover { background: #a8d8a0; color: #2d5a2d; }
.nav-link.active { background: #4a9a4a; color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(74,154,74,0.3); }
.nav-link .nav-icon { width: 20px; text-align: center; font-size: 16px; }

.sidebar-footer { padding: 16px 20px; border-top: 1px solid #b0d8a8; background: #b8e0b0; }
.user-info { display: flex; align-items: center; gap: 10px; }

.user-avatar {
    width: 36px; height: 36px; background: rgba(255,255,255,0.5);
    border: 2px solid #a8d8a0; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px; color: #2d5a2d;
}
.user-details .user-name { font-size: 13px; font-weight: 600; color: #2d5a2d; }
.user-details .user-role { font-size: 11px; color: #5a7a5a; }

/* ── Main Content ── */
.main-content { flex: 1; margin-left: 260px; min-height: 100vh; background: var(--bg-deep); }

.page-header {
    padding: 24px 32px; border-bottom: 1px solid var(--border);
    background: var(--bg-primary); position: sticky; top: 0; z-index: 50;
    box-shadow: var(--shadow-xs);
}
.page-header h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--text-primary); }
.page-header p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.page-body { padding: 28px 32px; }

/* ── Stats ── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 28px; }

.stat-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
    transition: var(--transition); position: relative; overflow: hidden; box-shadow: var(--shadow-xs);
}
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), transparent); opacity: 0; transition: var(--transition); }
.stat-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.stat-card:hover::before { opacity: 1; }

.stat-card .stat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 12px; }
.stat-card .stat-icon.green { background: #d4ecc4; color: #3d7a3d; }
.stat-card .stat-icon.blue { background: #d4e8f0; color: var(--info); }
.stat-card .stat-icon.amber { background: #f0e8d0; color: #b08020; }
.stat-card .stat-icon.red { background: #f0d8d8; color: var(--danger); }

.stat-card .stat-value { font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: var(--text-primary); line-height: 1; }
.stat-card .stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* ── Cards ── */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; box-shadow: var(--shadow-xs); }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg-secondary); }
.card-header h3 { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--text-primary); }
.card-body { padding: 20px; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
table th { font-family: var(--font-heading); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); padding: 12px 16px; text-align: left; border-bottom: 2px solid var(--border); background: var(--bg-secondary); white-space: nowrap; }
table td { padding: 12px 16px; font-size: 13px; color: var(--text-secondary); border-bottom: 1px solid var(--border-light); }
table tr:hover td { background: #e0f0d8; }

/* ── Buttons ── */
.btn { font-family: var(--font-body); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 4px 16px var(--accent-glow); transform: translateY(-1px); }
.btn-secondary { background: var(--bg-card); color: var(--text-secondary); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--text-muted); color: var(--text-primary); background: var(--bg-secondary); }
.btn-danger { background: var(--danger-dim); color: var(--danger); border-color: rgba(217,83,79,0.2); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-lg { padding: 12px 24px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }

/* ── Forms ── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; font-family: var(--font-heading); }
.form-control { width: 100%; padding: 10px 14px; background-color: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); font-family: var(--font-body); font-size: 14px; transition: var(--transition); outline: none; }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); background-color: #fff; }
.form-control::placeholder { color: var(--text-muted); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a9a7a' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; background-color: var(--bg-input); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

/* ── Badges ── */
.badge { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; display: inline-flex; align-items: center; gap: 4px; }
.badge-success { background: #d4ecc4; color: #3d7a3d; }
.badge-danger { background: #f0d8d8; color: #b03030; }
.badge-warning { background: #f0e8d0; color: #8a6010; }
.badge-info { background: #d4e8f0; color: #306898; }

/* ── Capacity Bar ── */
.capacity-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.capacity-bar .fill { height: 100%; border-radius: 3px; transition: width 0.6s ease; }
.capacity-bar .fill.green { background: var(--accent); }
.capacity-bar .fill.amber { background: var(--warning); }
.capacity-bar .fill.red { background: var(--danger); }

/* ── Modal ── */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(45,90,45,0.2); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: modalIn 0.3s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: var(--bg-secondary); }
.modal-header h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer; padding: 4px; line-height: 1; }
.modal-close:hover { color: var(--text-primary); }
.modal-body { padding: 20px; }
.modal-footer { padding: 16px 20px; border-top: 1px solid var(--border); display: flex; gap: 8px; justify-content: flex-end; background: var(--bg-secondary); }

/* ── Alerts ── */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #d4ecc4; color: #2d5a2d; border: 1px solid #b0d8a8; }
.alert-error { background: #f0d8d8; color: #8a2020; border: 1px solid #e0b0b0; }
.alert-info { background: #d4e8f0; color: #204060; border: 1px solid #b0d0e0; }

/* ── Trip Cards ── */
.trip-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 12px; transition: var(--transition); cursor: pointer; text-decoration: none; display: block; color: inherit; box-shadow: var(--shadow-xs); }
.trip-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.trip-card .trip-time { font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: var(--accent-hover); line-height: 1; }
.trip-card .trip-route { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }
.trip-card .trip-meta { display: flex; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--text-muted); }

.chart-container { position: relative; height: 280px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

/* ── Passenger list ── */
.passenger-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.passenger-item:last-child { border-bottom: none; }
.passenger-num { width: 32px; height: 32px; background: #d4ecc4; color: #3d7a3d; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.passenger-info { flex: 1; }
.passenger-info .name { font-weight: 600; font-size: 14px; color: var(--text-primary); }
.passenger-info .address { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.call-btn { width: 40px; height: 40px; background: #d4ecc4; color: #3d7a3d; border: 1px solid #b0d8a8; border-radius: 10px; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: var(--transition); }
.call-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-muted); }
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h4 { font-family: var(--font-heading); font-size: 16px; color: var(--text-secondary); margin-bottom: 6px; }
.empty-state p { font-size: 13px; }

/* ── Seat indicator ── */
.seat-indicator { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 8px; }
.seat-indicator.available { background: #d4ecc4; color: #3d7a3d; }
.seat-indicator.limited { background: #f0e8d0; color: #8a6010; }
.seat-indicator.full { background: #f0d8d8; color: #b03030; }

/* ── Toast ── */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 14px 20px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; box-shadow: var(--shadow-lg); animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards; max-width: 360px; }
.toast-success { background: #d4ecc4; color: #2d5a2d; border: 1px solid #b0d8a8; }
.toast-error { background: #f0d8d8; color: #8a2020; border: 1px solid #e0b0b0; }
.toast-info { background: #d4e8f0; color: #204060; border: 1px solid #b0d0e0; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

/* ── Mobile ── */
.mobile-toggle { display: none; position: fixed; top: 12px; left: 12px; z-index: 150; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-primary); padding: 10px; border-radius: var(--radius-sm); font-size: 20px; cursor: pointer; box-shadow: var(--shadow); }

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
    .main-content { margin-left: 0; }
    .mobile-toggle { display: block; }
    .page-header { padding: 16px 20px; padding-left: 56px; }
    .page-body { padding: 16px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .stat-card .stat-value { font-size: 22px; }
}
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

/* ── Login Page ── */
.login-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #d4ecc4 0%, #e8f5e0 30%, #f0f8ec 100%); padding: 20px; position: relative; overflow: hidden; }
.login-wrapper::before { content: ''; position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(92,184,92,0.1), transparent 70%); top: -150px; right: -150px; }
.login-wrapper::after { content: ''; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(80,135,200,0.06), transparent 70%); bottom: -100px; left: -100px; }
.login-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 40px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); position: relative; }
.login-card .brand { text-align: center; margin-bottom: 32px; }
.login-card .brand .icon { width: 56px; height: 56px; background: linear-gradient(135deg, #5cb85c, #4a9a4a); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 16px; box-shadow: 0 8px 24px var(--accent-glow); }
.login-card .brand h1 { font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: var(--text-primary); }
.login-card .brand p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ── Activity feed ── */
.activity-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 13px; }
.activity-item:last-child { border-bottom: none; }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 6px; flex-shrink: 0; }
.activity-text { color: var(--text-secondary); }
.activity-text strong { color: var(--text-primary); font-weight: 600; }
.activity-time { color: var(--text-muted); font-size: 11px; margin-top: 2px; }

/* ── Utilization ── */
.util-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.util-row:last-child { border-bottom: none; }
.util-label { flex: 1; font-size: 13px; color: var(--text-secondary); }
.util-bar { width: 120px; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.util-bar .fill { height: 100%; border-radius: 3px; }
.util-pct { width: 45px; text-align: right; font-size: 13px; font-weight: 600; }

/* ── Filter bar ── */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 20px; }
.filter-bar .form-group { margin-bottom: 0; flex: 1; min-width: 150px; }

hr { border: none; border-top: 1px solid var(--border); }

/* ── SVG Icons ── */
.page-header h2 svg, .card-header h3 svg, .btn svg, .nav-link svg, .seat-indicator svg,
.stat-card svg, .alert svg, .badge svg, .trip-meta svg, .passenger-info svg,
.call-btn svg, .empty-icon svg, .info-box svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.page-header h2 svg { margin-right: 8px; vertical-align: -3px; }
.card-header h3 svg { margin-right: 6px; vertical-align: -2px; }
.btn svg { vertical-align: -2px; }
.nav-icon svg { vertical-align: -2px; }
.stat-icon svg { vertical-align: middle; }
.empty-icon { color: var(--text-muted); opacity: 0.4; }
.trip-meta span svg { vertical-align: -2px; margin-right: 2px; }
.passenger-info .address svg { vertical-align: -1px; margin-right: 2px; }
.brand-icon svg { color: #fff; }

/* ── White Theme ── */
body.theme-white {
    --bg-deep: #f1f5f9;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-input: #f8fafc;
    --border: #e2e8f0;
    --border-light: #edf2f7;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-dim: rgba(59, 130, 246, 0.1);
    --accent-glow: rgba(59, 130, 246, 0.2);
    --danger: #ef4444;
    --danger-dim: rgba(239, 68, 68, 0.08);
    --warning: #f59e0b;
    --warning-dim: rgba(245, 158, 11, 0.08);
    --info: #3b82f6;
    --info-dim: rgba(59, 130, 246, 0.08);
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

/* Sidebar */
body.theme-white .sidebar { background: #ffffff; border-right-color: #e2e8f0; box-shadow: 1px 0 8px rgba(0,0,0,0.05); }
body.theme-white .sidebar-brand { border-bottom-color: #e2e8f0; }
body.theme-white .sidebar-brand .brand-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); }
body.theme-white .sidebar-brand h1 { color: #1e293b; }
body.theme-white .sidebar-brand small { color: #94a3b8; }
body.theme-white .nav-section-title { color: #94a3b8; }
body.theme-white .nav-link { color: #475569; }
body.theme-white .nav-link:hover { background: rgba(59,130,246,0.06); color: #1e293b; }
body.theme-white .nav-link.active { background: #3b82f6; color: #fff; box-shadow: 0 2px 8px rgba(59,130,246,0.3); }
body.theme-white .sidebar-footer { border-top-color: #e2e8f0; background: #f8fafc; }
body.theme-white .user-avatar { background: rgba(59,130,246,0.1); color: #2563eb; border-color: rgba(59,130,246,0.2); }
body.theme-white .user-details .user-name { color: #1e293b; }
body.theme-white .user-details .user-role { color: #94a3b8; }

/* Scrollbar */
body.theme-white ::-webkit-scrollbar-track { background: #f1f5f9; }
body.theme-white ::-webkit-scrollbar-thumb { background: #cbd5e1; }

/* Tables */
body.theme-white table tr:hover td { background: rgba(59,130,246,0.04); }

/* Badges */
body.theme-white .badge-success { background: rgba(34,197,94,0.1); color: #16a34a; }
body.theme-white .badge-info { background: rgba(59,130,246,0.1); color: #2563eb; }
body.theme-white .badge-warning { background: rgba(245,158,11,0.1); color: #d97706; }
body.theme-white .badge-danger { background: rgba(239,68,68,0.1); color: #dc2626; }

/* Stat icons */
body.theme-white .stat-icon.green { background: rgba(59,130,246,0.1); color: #2563eb; }
body.theme-white .stat-icon.blue { background: rgba(99,102,241,0.1); color: #6366f1; }
body.theme-white .stat-icon.amber { background: rgba(245,158,11,0.1); color: #d97706; }
body.theme-white .stat-icon.red { background: rgba(239,68,68,0.1); color: #ef4444; }

/* Passenger list items */
body.theme-white .passenger-num { background: rgba(59,130,246,0.1); color: #2563eb; }
body.theme-white .call-btn { background: rgba(59,130,246,0.08); color: #3b82f6; border-color: rgba(59,130,246,0.2); }
body.theme-white .call-btn:hover { background: #3b82f6; color: #fff; border-color: #3b82f6; }

/* Seat indicator */
body.theme-white .seat-indicator.available { background: rgba(34,197,94,0.1); color: #16a34a; }
body.theme-white .seat-indicator.limited { background: rgba(245,158,11,0.1); color: #d97706; }
body.theme-white .seat-indicator.full { background: rgba(239,68,68,0.1); color: #dc2626; }

/* Toasts */
body.theme-white .toast-success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
body.theme-white .toast-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
body.theme-white .toast-info { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }

/* Alerts */
body.theme-white .alert-success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
body.theme-white .alert-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
body.theme-white .alert-info { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }

/* Modal overlay */
body.theme-white .modal-overlay { background: rgba(15,23,42,0.3); }

/* Select dropdown arrow & form controls */
body.theme-white select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-color: #f8fafc; }
body.theme-white .form-control { background-color: #f8fafc; border-color: #e2e8f0; color: #1e293b; outline: none; }
body.theme-white .form-control:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.1); background-color: #fff; }
body.theme-white .form-control::placeholder { color: #94a3b8; }

/* Login page */
body.theme-white .login-wrapper { background: linear-gradient(135deg, #e0e7ff 0%, #eff6ff 30%, #f8fafc 100%); }
body.theme-white .login-wrapper::before { background: radial-gradient(circle, rgba(59,130,246,0.08), transparent 70%); }
body.theme-white .login-wrapper::after { background: radial-gradient(circle, rgba(99,102,241,0.05), transparent 70%); }
body.theme-white .login-card .brand .icon { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 8px 24px rgba(59,130,246,0.2); }

/* Trip card time */
body.theme-white .trip-card .trip-time { color: #2563eb; }

/* Capacity bar */
body.theme-white .capacity-bar .fill.green { background: #3b82f6; }

/* Activity dot */
body.theme-white .activity-dot { background: #3b82f6; }

/* Install wizard */
body.theme-white .install-wrapper { background: linear-gradient(135deg, #e0e7ff 0%, #eff6ff 30%, #f8fafc 100%); }
body.theme-white .install-wrapper::before { background: radial-gradient(circle, rgba(59,130,246,0.08), transparent 70%); }
body.theme-white .install-header .icon { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 8px 24px rgba(59,130,246,0.2); }
body.theme-white .step-badge { background: #3b82f6; }
