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

:root {
    --bg-main: #0b0f19;
    --bg-navbar: #0f172a;
    --bg-sidebar: #090d16;
    --bg-card: rgba(17, 24, 39, 0.75);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-light: rgba(255, 255, 255, 0.14);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.35);
    --accent-dark: #1d4ed8;
    
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.3);
    
    --warning: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.3);
    
    --danger: #ef4444;
    --danger-glow: rgba(239, 68, 68, 0.3);
    
    --purple: #8b5cf6;
    --purple-glow: rgba(139, 92, 246, 0.3);
    
    --teal: #14b8a6;
    --teal-glow: rgba(20, 184, 166, 0.3);
    
    --navbar-height: 60px;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 68px;
    --glass-blur: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body.lte-body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* ======================================================== */
/* ADMIN LTE MAIN APP LAYOUT                                */
/* ======================================================== */

.lte-app-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

/* -------------------------------------------------------- */
/* TOP NAVBAR (AdminLTE Header)                             */
/* -------------------------------------------------------- */

.lte-navbar {
    height: var(--navbar-height);
    background: var(--bg-navbar);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1000;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.lte-navbar-left,
.lte-navbar-center,
.lte-navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lte-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s ease;
}

.lte-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-color-light);
    color: var(--accent);
}

.lte-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 8px;
}

.lte-brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), #6366f1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 17px;
    box-shadow: 0 0 12px var(--accent-glow);
}

.lte-brand-text {
    display: flex;
    flex-direction: column;
}

.lte-brand-title {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lte-badge-version {
    font-size: 9px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #93c5fd;
    padding: 1px 5px;
    border-radius: 4px;
    -webkit-text-fill-color: #93c5fd;
    font-weight: 800;
}

.lte-brand-subtitle {
    font-size: 10px;
    color: var(--text-secondary);
}

.lte-view-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #60a5fa;
    margin-left: 10px;
}

/* Central Navbar Pills */
.nav-stat-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.nsp-label {
    color: var(--text-secondary);
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nsp-val {
    font-weight: 700;
    color: white;
}

.active-pill {
    border-color: rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.05);
}

.idle-pill {
    border-color: rgba(245, 158, 11, 0.25);
    background: rgba(245, 158, 11, 0.05);
}

.btn-lte-sim {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-lte-sim:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: #60a5fa;
    color: white;
}

.btn-lte-sim.simulating {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--success);
    color: var(--success);
    animation: simPulse 2s infinite;
}

@keyframes simPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 10px 2px rgba(16, 185, 129, 0.3); }
}

/* Digital Clock in Navbar */
.lte-clock {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: #38bdf8;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    padding: 6px 10px;
    border-radius: 8px;
    letter-spacing: 1px;
}

/* Admin Profile Badge */
.lte-user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 4px 10px 4px 6px;
    border-radius: 25px;
}

.lte-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e293b, #334155);
    border: 1px solid var(--border-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #93c5fd;
    font-size: 13px;
    position: relative;
}

.status-indicator-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 9px;
    height: 9px;
    background: var(--success);
    border: 2px solid var(--bg-navbar);
    border-radius: 50%;
}

.lte-user-meta {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

.lte-username {
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.lte-userrole {
    font-size: 10px;
    color: var(--text-secondary);
}

.btn-logout-icon {
    color: #f87171;
    font-size: 14px;
    text-decoration: none;
    margin-left: 4px;
    padding: 4px 6px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-logout-icon:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* -------------------------------------------------------- */
/* MAIN LAYOUT: SIDEBAR + CONTENT                           */
/* -------------------------------------------------------- */

.lte-main-layout {
    display: flex;
    flex: 1;
    height: calc(100vh - var(--navbar-height));
    overflow: hidden;
    position: relative;
}

/* -------------------------------------------------------- */
/* ADMIN LTE SIDEBAR                                        */
/* -------------------------------------------------------- */

.lte-sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 500;
    flex-shrink: 0;
    overflow-x: hidden;
}

/* Collapsed Sidebar */
.sidebar-collapsed .lte-sidebar {
    width: var(--sidebar-collapsed-width);
}

.sidebar-collapsed .nav-title,
.sidebar-collapsed .nav-badge,
.sidebar-collapsed .nav-section-label,
.sidebar-collapsed .sup-info,
.sidebar-collapsed .sidebar-search-box,
.sidebar-collapsed .sidebar-footer-info {
    display: none !important;
}

.sidebar-collapsed .lte-nav-link {
    justify-content: center;
    padding: 12px 0;
}

.sidebar-collapsed .nav-icon {
    font-size: 18px;
    margin: 0;
}

.sidebar-collapsed .sup-avatar {
    margin: 0 auto;
}

/* Mini user panel in sidebar */
.sidebar-user-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.sup-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 16px;
    flex-shrink: 0;
}

.sup-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sup-name {
    font-size: 13px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.sup-status {
    font-size: 11px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.pulse-dot-green {
    width: 7px;
    height: 7px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--success);
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Search inside Sidebar */
.sidebar-search-box {
    padding: 12px 14px;
    position: relative;
}

.sidebar-search-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px 8px 34px;
    color: white;
    font-size: 12px;
    outline: none;
    transition: all 0.2s;
}

.sidebar-search-box input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
}

.sidebar-search-box i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 12px;
}

/* Sidebar Menu */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-section-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.8px;
    padding: 8px 10px 4px 10px;
    text-transform: uppercase;
}

.lte-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.lte-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transform: translateX(2px);
}

.lte-nav-link.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0.04));
    color: #60a5fa;
    font-weight: 600;
    border-left: 3px solid var(--accent);
}

.nav-icon {
    font-size: 15px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.nav-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-badge {
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    margin-left: auto;
}

.badge-primary {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-info {
    background: rgba(6, 182, 212, 0.2);
    color: #67e8f9;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-purple {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-pulse {
    animation: badgeBlink 1.8s infinite;
}

@keyframes badgeBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Sidebar Footer */
.sidebar-footer-info {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sfi-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sfi-dot {
    width: 6px;
    height: 6px;
    background: #38bdf8;
    border-radius: 50%;
}

/* -------------------------------------------------------- */
/* CONTENT WRAPPER & VIEWS                                  */
/* -------------------------------------------------------- */

.lte-content-wrapper {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: var(--bg-main);
}

.lte-view {
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.lte-view.active {
    display: block;
    opacity: 1;
}

.view-content-padding {
    padding: 24px;
    max-width: 1550px;
    margin: 0 auto;
    min-height: 100%;
}

.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 15px;
}

.view-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.view-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-pulse-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--success);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ======================================================== */
/* VISTA 1: MAPA FLOTANTE & DRAWER                          */
/* ======================================================== */

#view-map {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    touch-action: none;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #0f172a;
    touch-action: none;
    pointer-events: auto !important;
}

/* Floating Toolbar in Map (Admin) */
.map-floating-toolbar {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: auto;
}

.map-tool-btn {
    background: rgba(17, 24, 39, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
    transition: all 0.2s ease;
}

.map-tool-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: scale(1.05);
}

.map-tool-btn.active {
    background: var(--accent);
    color: white;
}

/* Map Selection Banner */
.map-selection-banner {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(30, 64, 175, 0.95));
    border: 1px solid #60a5fa;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    font-weight: 600;
    animation: bounceIn 0.3s ease;
    backdrop-filter: blur(10px);
}

@keyframes bounceIn {
    0% { transform: translate(-50%, -20px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

.btn-cancel-selection {
    background: rgba(239, 68, 68, 0.25);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel-selection:hover {
    background: var(--danger);
    color: white;
}

/* Map Left Drawer */
.map-drawer {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 340px;
    height: calc(100% - 30px);
    z-index: 40;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    pointer-events: auto;
}

.map-drawer.collapsed {
    transform: translateX(-310px);
}

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

.drawer-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: white;
}

.drawer-toggle-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.drawer-toggle-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.map-drawer.collapsed #drawer-chevron {
    transform: rotate(180deg);
}

.drawer-filter-tabs {
    display: flex;
    padding: 6px 14px;
    gap: 6px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.15);
}

.d-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 6px 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}

.d-tab.active {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.drawer-vehicle-list,
.vehicle-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ======================================================== */
/* VISTA 2: ESTADÍSTICAS EN TIEMPO REAL                     */
/* ======================================================== */

/* 8 KPI Grid */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.kpi-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, border-color 0.2s;
}

.kpi-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-color-light);
}

.kpi-card.border-accent { border-left: 4px solid var(--accent); }
.kpi-card.border-success { border-left: 4px solid var(--success); }
.kpi-card.border-warning { border-left: 4px solid var(--warning); }
.kpi-card.border-purple { border-left: 4px solid var(--purple); }

.kpi-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.bg-accent-glow { background: rgba(59, 130, 246, 0.15); }
.bg-success-glow { background: rgba(16, 185, 129, 0.15); }
.bg-warning-glow { background: rgba(245, 158, 11, 0.15); }
.bg-purple-glow { background: rgba(139, 92, 246, 0.15); }
.bg-blue-glow { background: rgba(14, 165, 233, 0.15); }
.bg-red-glow { background: rgba(239, 68, 68, 0.15); }
.bg-amber-glow { background: rgba(217, 119, 6, 0.15); }
.bg-teal-glow { background: rgba(20, 184, 166, 0.15); }

.text-accent { color: #60a5fa !important; }
.text-success { color: #34d399 !important; }
.text-warning { color: #fbbf24 !important; }
.text-danger { color: #f87171 !important; }
.text-purple { color: #c084fc !important; }
.text-teal { color: #2dd4bf !important; }

.kpi-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.kpi-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.kpi-value {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-top: 2px;
    line-height: 1.1;
}

.kpi-unit {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* 2x2 Charts Grid */
.charts-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .charts-grid-container {
        grid-template-columns: 1fr;
    }
}

.chart-box {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

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

.chart-title {
    font-size: 14px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-canvas-wrapper {
    position: relative;
    height: 220px;
    width: 100%;
}

.chart-canvas-wrapper.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Telemetry Table Card */
.table-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.table-card-header {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 12px;
}

.table-card-title {
    font-size: 15px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-card-search {
    position: relative;
    width: 260px;
}

.table-card-search input {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px 8px 34px;
    color: white;
    font-size: 12px;
    outline: none;
}

.table-card-search input:focus {
    border-color: var(--accent);
}

.table-card-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 12px;
}

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

/* Standard LTE Table */
.lte-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.lte-table th {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 16px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.lte-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    vertical-align: middle;
}

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

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

/* Speed indicator bar in table */
.speed-bar-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.speed-bar {
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.speed-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.3s;
}

.speed-bar-fill.fast { background: var(--danger); }
.speed-bar-fill.medium { background: var(--warning); }
.speed-bar-fill.normal { background: var(--success); }

/* ======================================================== */
/* VISTA 3: GESTIÓN DE CONDUCTORES (DRIVERS) MEJORADA       */
/* ======================================================== */

.drivers-toolbar {
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.dt-search {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.dt-search input {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 14px 10px 38px;
    color: white;
    font-size: 13px;
    outline: none;
}

.dt-search input:focus {
    border-color: var(--accent);
}

.dt-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.dt-filters {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lte-select {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    color: white;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 12px;
    outline: none;
    cursor: pointer;
}

.lte-select:focus {
    border-color: var(--accent);
}

.view-mode-switch {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.v-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.v-btn.active {
    background: var(--accent);
    color: white;
}

/* Drivers Cards Grid */
.drivers-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Enhanced Driver Card */
.driver-card-pro {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.driver-card-pro:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.dc-top {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.dc-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    background: #1e293b;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.dc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dc-avatar-icon {
    font-size: 24px;
    color: var(--text-secondary);
}

.dc-info {
    flex: 1;
    overflow: hidden;
}

.dc-name {
    font-size: 16px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dc-type-tag {
    font-size: 11px;
    color: #93c5fd;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
}

/* Telemetry Pills inside Card */
.dc-metrics-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 10px;
    gap: 4px;
    text-align: center;
    margin-bottom: 12px;
}

.dc-metric-item {
    display: flex;
    flex-direction: column;
}

.dc-metric-lbl {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.dc-metric-val {
    font-size: 13px;
    font-weight: 700;
    color: white;
    margin-top: 2px;
}

/* Credentials Box in Card */
.driver-creds-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

.dcb-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.dcb-row:last-child {
    margin-bottom: 0;
}

.btn-copy-creds {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-copy-creds:hover {
    background: var(--accent);
    color: white;
}

/* Direct Contact Buttons (WhatsApp + Call) */
.dc-contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.btn-wa-direct {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.25);
}

.btn-wa-direct:hover {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
    transform: translateY(-1px);
}

.btn-call-direct {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-call-direct:hover {
    background: rgba(59, 130, 246, 0.25);
    color: white;
}

/* Card Bottom Buttons */
.dc-footer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: auto;
}

.btn-dc-action {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s;
}

.btn-dc-action:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-dc-action.edit-btn:hover { color: #38bdf8; border-color: #38bdf8; }
.btn-dc-action.delete-btn:hover { color: #f87171; border-color: #f87171; background: rgba(239, 68, 68, 0.1); }
.btn-dc-action.reset-btn:hover { color: #fbbf24; border-color: #fbbf24; }

/* ======================================================== */
/* VISTA 4: FOTOS Y EVIDENCIAS                              */
/* ======================================================== */

.photos-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.evidence-photo-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.evidence-photo-card:hover {
    transform: translateY(-2px);
    border-color: rgba(167, 139, 250, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.epc-img-box {
    width: 100%;
    height: 180px;
    position: relative;
    background: #0f172a;
    cursor: pointer;
    overflow: hidden;
}

.epc-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.epc-img-box:hover img {
    transform: scale(1.05);
}

.epc-info {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.epc-driver-tag {
    font-size: 11px;
    font-weight: 700;
    color: #a78bfa;
    display: flex;
    align-items: center;
    gap: 6px;
}

.epc-caption {
    font-size: 13px;
    color: white;
    font-weight: 500;
}

.epc-meta {
    font-size: 11px;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

/* Grilla adaptable de fotos (Admin y Driver - Sin desbordamientos) */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.photo-item, .photo-card-item {
    position: relative;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.photo-item:hover, .photo-card-item:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.3);
}

.photo-item img, .photo-card-item img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.photo-item:hover img, .photo-card-item:hover img {
    transform: scale(1.05);
}

.photo-info-bar, .photo-card-footer {
    padding: 8px 10px;
    background: rgba(15, 23, 42, 0.9);
    font-size: 11px;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ======================================================== */
/* VISTA 5: TIPOS DE TRANSPORTE                             */
/* ======================================================== */

.types-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.type-card-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s;
}

.type-card-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.tci-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.tci-name {
    font-size: 15px;
    font-weight: 700;
    color: white;
}

.tci-count {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ======================================================== */
/* GENERAL COMPONENTS: BUTTONS, FORMS, MODALS               */
/* ======================================================== */

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

.btn {
    border: none;
    padding: 9px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
}

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

.btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 0 14px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--border-color-light);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    box-shadow: 0 0 14px var(--danger-glow);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: none !important;
    pointer-events: none !important;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modal-overlay.active,
.modal-overlay.show {
    display: flex !important;
    pointer-events: auto !important;
    opacity: 1;
}

.modal-content {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 24px;
    width: 440px;
    max-width: 92%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    animation: modalIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

.modal-close-btn:hover { color: white; }

.modal-title {
    font-size: 17px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 14px;
    color: white;
    font-size: 13px;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Toast notification */
.lte-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1e293b;
    border: 1px solid var(--accent);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.lte-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.lte-toast.success { border-color: var(--success); }
.lte-toast.success i { color: var(--success); }

/* Details Panel (Right on map) */
.details-panel {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 330px;
    z-index: 20;
    display: none;
    animation: slideUp 0.3s ease;
}

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

.details-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.details-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
}

.details-close:hover { color: white; }

.details-body {
    padding: 16px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.details-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 10px;
}

.details-lbl {
    font-size: 10px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.details-val {
    font-size: 13px;
    font-weight: 700;
    color: white;
    margin-top: 2px;
}

/* Vehicle card on list */
.vehicle-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.vehicle-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(3px);
}

.vehicle-card.active-card {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
}

.status-badge {
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.status-active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-idle {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-inactive {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Leaflet Custom Vehicle Marker */
.custom-vehicle-marker {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
}

.custom-vehicle-marker * {
    pointer-events: auto !important;
}

.marker-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s linear;
}

.marker-pulse {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: var(--accent-glow);
    animation: markerPulse 2s infinite;
}

@keyframes markerPulse {
    0% { transform: scale(0.6); opacity: 0.9; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1.3); opacity: 0; }
}

.marker-direction {
    position: absolute;
    top: -6px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid var(--accent);
}

.marker-icon-box {
    position: relative;
    z-index: 2;
    width: 34px;
    height: 34px;
    background: #0f172a;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.marker-wrapper.idle .marker-pulse {
    border-color: var(--warning);
    background: var(--warning-glow);
}
.marker-wrapper.idle .marker-icon-box {
    border-color: var(--warning);
}
.marker-wrapper.idle .marker-direction {
    border-bottom-color: var(--warning);
}

/* Responsive Hide */
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .lte-sidebar {
        position: absolute;
        height: calc(100vh - var(--navbar-height));
        transform: translateX(-100%);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.6);
    }
    .lte-sidebar.open {
        transform: translateX(0);
    }
    .map-drawer {
        width: 280px;
    }
}

/* ======================================================== */
/* DRIVER MOBILE MAP STYLING & CONTROLS                     */
/* ======================================================== */
.driver-map-container {
    width: 100%;
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    margin: 16px 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.45);
    z-index: 10;
    touch-action: pan-x pan-y !important;
}

#driver-map {
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    touch-action: pan-x pan-y !important;
}

.driver-map-controls {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.driver-map-btn {
    background: rgba(17, 24, 39, 0.92);
    border: 1px solid var(--accent);
    color: white;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(8px);
    transition: all 0.2s;
}

.driver-map-btn:hover,
.driver-map-btn.active {
    background: var(--accent);
    color: white;
}

.driver-zoom-controls {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.btn-zoom-mini {
    width: 34px;
    height: 34px;
    background: rgba(17, 24, 39, 0.92);
    border: 1px solid var(--border-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-zoom-mini:hover {
    background: var(--accent);
    border-color: var(--accent);
}

