/* Tesla Evolution - Premium Dark Theme */
/* Sleek, futuristic design inspired by Tesla's minimalist aesthetic */

:root {
    /* Tesla-inspired palette */
    --tesla-red: #e82127;
    --tesla-red-dark: #c21b20;
    --tesla-red-light: #ff4d52;
    --tesla-red-glow: rgba(232, 33, 39, 0.4);
    
    /* Dark theme colors */
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    --bg-elevated: #1e1e1e;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(232, 33, 39, 0.3);
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666;
    
    /* Accent colors */
    --accent-success: #00d26a;
    --accent-warning: #ffb800;
    --accent-info: #00a3ff;
    --accent-danger: #ff3b5c;
    --accent-purple: #a855f7;
    
    /* Gradients */
    --gradient-red: linear-gradient(135deg, #e82127 0%, #ff4d52 100%);
    --gradient-card: linear-gradient(145deg, #1a1a1a 0%, #101010 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(232, 33, 39, 0.15) 0%, transparent 70%);
}

/* Base styles */
body {
    padding-top: 70px;
    background-color: var(--bg-dark);
    background-image: var(--gradient-glow);
    background-attachment: fixed;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.01em;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-xxs { font-size: 0.65rem; }
.section-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.display-stat { line-height: 1; }
.icon-lg { font-size: 1.5rem; }
.icon-xl { font-size: 2rem; }
.icon-2xl { font-size: 3rem; }
.icon-3xl { font-size: 4rem; }
.icon-4xl { font-size: 5rem; }

/* Premium Navbar */
.navbar {
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    font-size: 1.4rem;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px var(--tesla-red-glow));
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 70px;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 0;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
}

.sidebar-sticky {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar .nav-link {
    color: var(--text-secondary);
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.sidebar .nav-link i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.sidebar .nav-link:hover {
    color: var(--text-primary);
    background: linear-gradient(90deg, rgba(232, 33, 39, 0.1) 0%, transparent 100%);
}

.sidebar .nav-link:hover i {
    opacity: 1;
    color: var(--tesla-red);
}

.sidebar .nav-link.active {
    color: var(--text-primary);
    background: linear-gradient(90deg, rgba(232, 33, 39, 0.15) 0%, transparent 100%);
}

.sidebar .nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-red);
    box-shadow: 0 0 20px var(--tesla-red-glow);
}

.sidebar .nav-link.active i {
    color: var(--tesla-red);
    opacity: 1;
}

/* Premium required menu items */
.sidebar .nav-link.premium-required {
    opacity: 0.6;
    position: relative;
}

.sidebar .nav-link.premium-required::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
    pointer-events: none;
}

.sidebar .nav-link.premium-required:hover {
    opacity: 0.8;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
}

.sidebar .nav-link.premium-required:hover::after {
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 140, 0, 0.2) 100%);
}

.sidebar-footer {
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

/* Main content */
.main-content {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .main-content {
        margin-left: 0;
    }
}

/* Premium Cards */
.card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px var(--tesla-red-glow);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-title i {
    font-size: 1.1rem;
}

/* Command cards */
.command-card {
    cursor: pointer;
    background: var(--bg-card);
}

.command-card:hover {
    border-color: var(--border-glow) !important;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 35px var(--tesla-red-glow);
    background: var(--bg-card-hover);
}

.command-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(232, 33, 39, 0.15) 0%, rgba(232, 33, 39, 0.05) 100%);
    border: 1px solid rgba(232, 33, 39, 0.2);
    font-size: 1.4rem;
    color: var(--tesla-red);
    transition: all 0.3s ease;
}

.command-card:hover .command-icon {
    background: var(--gradient-red);
    color: white;
    box-shadow: 0 0 30px var(--tesla-red-glow);
    transform: scale(1.05);
}

/* Battery progress bar */
.progress {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    height: 12px;
    position: relative;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-bar {
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-bar.bg-success {
    background: linear-gradient(90deg, #00d26a 0%, #00b85e 100%) !important;
    box-shadow: none;
}

.progress-bar.bg-warning {
    background: linear-gradient(90deg, #cc9600 0%, #e6a800 100%) !important;
    box-shadow: none;
}

.progress-bar.bg-danger {
    background: linear-gradient(90deg, #cc3048 0%, #e63950 100%) !important;
    box-shadow: none;
}

.charge-limit-marker {
    position: absolute;
    top: -4px;
    width: 2px;
    height: calc(100% + 8px);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1px;
}

.charge-limit-marker {
    left: var(--left-pos, 50%);
}

/* SVG UTILITIES */
.vehicle-silhouette-large {
    width: 140px;
    height: 65px;
    opacity: 0.3;
}

/* TOAST POSITION */
.toast-container-bottom-right {
    position: fixed;
    bottom: 0;
    end: 0;
    z-index: 11;
    padding: 1rem;
}

/* ICON OVERRIDES */
.icon-4xl { font-size: 4rem !important; }
.fs-2rem { font-size: 2rem !important; }

/* TABLE & PRE UTILITIES */
.th-timestamp { width: 180px; }
.th-type { width: 150px; }
.pre-scroll { max-height: 400px; overflow: auto; }

/* ICON COLORS & SIZES */
.icon-cyan { color: #0dcaf0; }
.icon-yellow { color: #ffc107; }
.icon-4rem { font-size: 4rem; }
.icon-05rem { font-size: 0.5rem; }
.icon-075rem { font-size: 0.75rem; }

/* DRIVE IMAGES */
.img-drive-thumb { width: 80px; height: 50px; object-fit: cover; }

/* DEBUG & HIDDEN */
.debug-legend { display: none; }
.debug-legend-color { width: 16px; height: 16px; border-radius: 2px; display: inline-block; }

/* FORM SELECTS */
.form-select-auto { width: auto; }

/* LANDING PAGE */
.navbar-landing { background: rgba(0,0,0,0.3); backdrop-filter: blur(10px); }
.p-lead-large { font-size: 1.3rem; }
.feature-card { background: rgba(255,255,255,0.05); }
.pos-bottom-right { position: fixed; bottom: 0; end: 0; z-index: 11; padding: 1rem; }

/* VOICE */
.voice-btn-secondary { /* styles for voice buttons */ }
.voice-mic-select { /* mic select */ }
.audio-viz { text-align: center; margin-bottom: 1rem; }
.voice-response { display: none; }

/* Premium Buttons */
.btn {
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    border-radius: 10px;
    padding: 0.625rem 1.25rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-danger {
    background: var(--gradient-red);
    border: none;
    box-shadow: 0 4px 15px rgba(232, 33, 39, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 33, 39, 0.4);
    background: linear-gradient(135deg, #ff4d52 0%, #e82127 100%);
}

.btn-outline-danger {
    color: var(--tesla-red);
    border: 1.5px solid var(--tesla-red);
    background: transparent;
}

.btn-outline-danger:hover {
    background: var(--tesla-red);
    border-color: var(--tesla-red);
    box-shadow: 0 0 25px var(--tesla-red-glow);
}

.btn-outline-secondary {
    border: 1.5px solid var(--border-color);
    color: var(--text-secondary);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

/* Form controls */
.form-control, .form-select {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    background: var(--bg-elevated);
    border-color: var(--tesla-red);
    box-shadow: 0 0 0 3px rgba(232, 33, 39, 0.15);
    color: var(--text-primary);
}

.form-check-input:checked {
    background-color: var(--tesla-red);
    border-color: var(--tesla-red);
}

.form-check-input:focus {
    border-color: var(--tesla-red);
    box-shadow: 0 0 0 0.25rem rgba(232, 33, 39, 0.25);
}

.form-range::-webkit-slider-thumb {
    background: var(--gradient-red);
    border: none;
    box-shadow: 0 0 10px var(--tesla-red-glow);
}

.form-range::-moz-range-thumb {
    background: var(--gradient-red);
    border: none;
    box-shadow: 0 0 10px var(--tesla-red-glow);
}

/* Alerts */
.flash-messages {
    position: relative;
    z-index: 50;
}

.alert {
    border-radius: 12px;
    border: none;
    backdrop-filter: blur(10px);
}

.alert-info {
    background: rgba(0, 163, 255, 0.1);
    border: 1px solid rgba(0, 163, 255, 0.2);
    color: #66c4ff;
}

.alert-success {
    background: rgba(0, 210, 106, 0.1);
    border: 1px solid rgba(0, 210, 106, 0.2);
    color: #66e8a8;
}

.alert-warning {
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.2);
    color: #ffd966;
}

.alert-danger {
    background: rgba(232, 33, 39, 0.1);
    border: 1px solid rgba(232, 33, 39, 0.2);
    color: #ff8a8e;
}

/* Modal */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    border-radius: 20px 20px 0 0;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body .form-control,
.modal-body .form-select {
    background: var(--bg-elevated);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.modal-body .form-label {
    color: var(--text-primary);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

/* Loading overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#loading-overlay.d-none {
    display: none !important;
}

/* Badges - modern muted style */
.badge {
    font-weight: 500;
    font-size: 0.65rem;
    letter-spacing: 0.02em;
    padding: 0.35em 0.7em;
    border-radius: 5px;
    text-transform: uppercase;
}

.badge.bg-success {
    background: rgba(0, 210, 106, 0.15) !important;
    color: #00d26a !important;
    border: 1px solid rgba(0, 210, 106, 0.3);
}

.badge.bg-warning {
    background: rgba(255, 184, 0, 0.15) !important;
    color: #ffb800 !important;
    border: 1px solid rgba(255, 184, 0, 0.3);
}

.badge.bg-danger {
    background: rgba(232, 33, 39, 0.15) !important;
    color: var(--tesla-red) !important;
    border: 1px solid rgba(232, 33, 39, 0.3);
}

.badge.bg-secondary {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-secondary) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge.bg-info {
    background: rgba(0, 163, 255, 0.15) !important;
    color: #00a3ff !important;
    border: 1px solid rgba(0, 163, 255, 0.3);
}

/* List group */
.list-group-item {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.list-group-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Theme toggle animation */
#theme-toggle {
    border: none;
    padding: 0.5rem;
}

#theme-toggle:hover {
    color: var(--tesla-red);
}

/* Quick action buttons - modern unified style */
.quick-action-btn {
    font-weight: 500;
    border-radius: 10px;
    padding: 0.625rem 1rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.quick-action-btn.btn-dark {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.quick-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.quick-action-btn:hover::before {
    opacity: 1;
}

.quick-action-btn:hover {
    transform: translateY(-3px);
    border-color: var(--border-glow);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.4),
        0 0 30px var(--tesla-red-glow);
}

.quick-action-btn:active {
    transform: translateY(0);
}

.quick-action-btn i {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Vehicle card */
.vehicle-card {
    transition: all 0.2s ease;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Dropdown menus */
.dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.625rem 1rem;
    color: var(--text-secondary);
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: rgba(232, 33, 39, 0.1);
    color: var(--text-primary);
}

.dropdown-divider {
    border-color: var(--border-color);
    margin: 0.5rem 0;
}

/* Light theme adjustments */
[data-bs-theme="light"] {
    --bg-dark: #f5f5f7;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --bg-elevated: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-muted: #86868b;
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f5f5f7 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(232, 33, 39, 0.05) 0%, transparent 70%);
}

[data-bs-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.8) !important;
}

[data-bs-theme="light"] .navbar .brand-text {
    color: #1d1d1f;
}

[data-bs-theme="light"] .navbar .nav-link {
    color: #495057 !important;
}

[data-bs-theme="light"] .navbar .nav-link:hover {
    color: #1d1d1f !important;
}

[data-bs-theme="light"] .navbar .dropdown-menu {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

[data-bs-theme="light"] .navbar .dropdown-item {
    color: #495057;
}

[data-bs-theme="light"] .navbar .dropdown-item:hover {
    background: rgba(232, 33, 39, 0.1);
    color: #1d1d1f;
}

[data-bs-theme="light"] .alert-warning {
    background: rgba(255, 184, 0, 0.15);
    border: 1px solid rgba(255, 184, 0, 0.3);
    color: #856404;
}

[data-bs-theme="light"] .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.2);
}

[data-bs-theme="light"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-bs-theme="light"] .sidebar {
    background: #ffffff;
}

[data-bs-theme="light"] .sidebar .nav-link {
    color: #495057;
}

[data-bs-theme="light"] .sidebar .nav-link:hover {
    color: #212529;
    background: linear-gradient(90deg, rgba(232, 33, 39, 0.1) 0%, transparent 100%);
}

[data-bs-theme="light"] .command-icon {
    background: linear-gradient(135deg, rgba(232, 33, 39, 0.1) 0%, rgba(232, 33, 39, 0.05) 100%);
}

[data-bs-theme="light"] .card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

[data-bs-theme="light"] .card:hover {
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(232, 33, 39, 0.1);
}

[data-bs-theme="light"] .command-card-modern {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .command-card-modern:hover {
    border-color: rgba(232, 33, 39, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(232, 33, 39, 0.15);
}

[data-bs-theme="light"] .command-title {
    color: #1d1d1f;
}

[data-bs-theme="light"] .btn-execute {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #6e6e73;
}

[data-bs-theme="light"] .modal-content {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2) !important;
}

[data-bs-theme="light"] .modal-header {
    background: #ffffff !important;
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .modal-header .modal-title {
    color: #1d1d1f !important;
}

[data-bs-theme="light"] .modal-header .btn-close {
    filter: none;
}

[data-bs-theme="light"] .modal-body {
    background: #ffffff !important;
    color: #1d1d1f !important;
}

[data-bs-theme="light"] .modal-body .form-label {
    color: #1d1d1f !important;
}

[data-bs-theme="light"] .modal-body .form-control,
[data-bs-theme="light"] .modal-body .form-select {
    background: #f5f5f7 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #1d1d1f !important;
}

[data-bs-theme="light"] .modal-footer {
    background: #ffffff !important;
    border-top-color: rgba(0, 0, 0, 0.1);
}

/* Light theme badges */
[data-bs-theme="light"] .badge.bg-success {
    background: rgba(0, 180, 90, 0.12) !important;
    color: #00915a !important;
    border-color: rgba(0, 180, 90, 0.25);
}

[data-bs-theme="light"] .badge.bg-warning {
    background: rgba(200, 140, 0, 0.12) !important;
    color: #a67400 !important;
    border-color: rgba(200, 140, 0, 0.25);
}

[data-bs-theme="light"] .badge.bg-danger {
    background: rgba(200, 30, 30, 0.12) !important;
    color: #b81a1f !important;
    border-color: rgba(200, 30, 30, 0.25);
}

[data-bs-theme="light"] .badge.bg-secondary {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #666 !important;
    border-color: rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .badge.bg-info {
    background: rgba(0, 120, 200, 0.12) !important;
    color: #0070b8 !important;
    border-color: rgba(0, 120, 200, 0.25);
}

/* Light theme quick action buttons */
[data-bs-theme="light"] .quick-action-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1d1d1f;
}

[data-bs-theme="light"] .quick-action-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(232, 33, 39, 0.3);
    color: #1d1d1f;
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.15),
        0 0 25px rgba(232, 33, 39, 0.2);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    body {
        padding-top: 60px;
    }
    
    .sidebar {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 60px);
        overflow-y: auto;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 20px 0 60px rgba(0, 0, 0, 0.5);
        z-index: 1040;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    /* Mobile navbar collapse styling */
    .navbar-collapse {
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        background: var(--bg-dark);
        margin: 0 -0.75rem;
        padding: 0.5rem 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .card {
        border-radius: 12px;
    }
    
    .quick-action-btn {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
    }
}

/* Animation helpers */
.fa-spin {
    animation: fa-spin 1.5s infinite linear;
}

@keyframes fa-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Status indicators with glow */
.status-online {
    color: var(--accent-success);
    text-shadow: 0 0 10px rgba(0, 210, 106, 0.5);
}

.status-offline {
    color: var(--text-muted);
}

.status-charging {
    color: var(--accent-warning);
    text-shadow: 0 0 10px rgba(255, 184, 0, 0.5);
}

/* Pulse animation for charging */
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

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

/* Pulse animation for telemetry badge updates - prominent and visible */
.pulse-animation {
    animation: badge-pulse 3s ease-out;
}

@keyframes badge-pulse {
    0% { 
        transform: scale(1.4); 
        box-shadow: 0 0 0 0 rgba(13, 202, 240, 0.7), 0 0 20px rgba(13, 202, 240, 0.8);
    }
    20% {
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(13, 202, 240, 0), 0 0 15px rgba(13, 202, 240, 0.6);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(13, 202, 240, 0), 0 0 10px rgba(13, 202, 240, 0.4);
    }
    100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(13, 202, 240, 0), 0 0 0 rgba(13, 202, 240, 0);
    }
}

/* Live telemetry badge styling */
#telemetry-badge {
    transition: all 0.3s ease;
    position: relative;
}

/* Continuous subtle pulse when live */
#telemetry-badge::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: transparent;
    animation: live-glow 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes live-glow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(13, 202, 240, 0.3);
    }
    50% { 
        box-shadow: 0 0 12px rgba(13, 202, 240, 0.6);
    }
}

#telemetry-badge:hover {
    transform: scale(1.05);
}

/* Card telemetry update glow effect */
.card.telemetry-update {
    animation: card-telemetry-glow 3s ease-out;
}

@keyframes card-telemetry-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 202, 240, 0.6),
                    0 0 20px rgba(13, 202, 240, 0.4),
                    inset 0 0 15px rgba(13, 202, 240, 0.1);
        border-color: rgba(13, 202, 240, 0.6);
    }
    25% {
        box-shadow: 0 0 0 4px rgba(13, 202, 240, 0.3),
                    0 0 30px rgba(13, 202, 240, 0.3),
                    inset 0 0 10px rgba(13, 202, 240, 0.05);
        border-color: rgba(13, 202, 240, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(13, 202, 240, 0.1),
                    0 0 20px rgba(13, 202, 240, 0.2),
                    inset 0 0 5px rgba(13, 202, 240, 0.02);
        border-color: rgba(13, 202, 240, 0.2);
    }
    100% {
        box-shadow: none;
        border-color: var(--border-color);
    }
}

/* Glassmorphism effect for special elements */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Large stat numbers */
.h1, .h2, .h3, h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ============================================
   PREMIUM VEHICLE CARDS
   ============================================ */

.vehicle-card-premium {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.vehicle-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 33, 39, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vehicle-card-premium:hover {
    transform: translateY(-8px);
    border-color: var(--tesla-red);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 60px var(--tesla-red-glow);
}

.vehicle-card-premium:hover::before {
    opacity: 1;
}

.vehicle-icon-container {
    width: 80px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-silhouette {
    width: 80px;
    height: 40px;
    color: var(--tesla-red);
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px var(--tesla-red-glow));
}

.vehicle-card-premium:hover .vehicle-silhouette {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px var(--tesla-red-glow));
}

.vehicle-silhouette-large {
    width: 160px;
    height: 64px;
    color: var(--text-muted);
    opacity: 0.3;
}

.empty-state-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.status-dot-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
}

.status-dot.online {
    background: var(--accent-success);
    box-shadow: 0 0 10px rgba(0, 210, 106, 0.6);
    animation: pulse-glow 2s ease-in-out infinite;
}

.status-dot.asleep {
    background: var(--text-muted);
}

.status-dot.offline {
    background: var(--accent-warning);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 210, 106, 0.6); }
    50% { box-shadow: 0 0 20px rgba(0, 210, 106, 0.8); }
}

.status-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

.select-indicator {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.vehicle-card-premium:hover .select-indicator {
    color: var(--tesla-red);
}

.vehicle-card-premium:hover .select-indicator i {
    transform: translateX(4px);
}

.select-indicator i {
    transition: transform 0.3s ease;
}

/* ============================================
   MAP PREVIEW
   ============================================ */

.map-preview-link {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-preview {
    position: relative;
    width: 100%;
    height: 140px;
    background: var(--bg-elevated);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-muted);
    font-size: 1.5rem;
    z-index: 1;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
    padding: 0.75rem;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.map-preview-link:hover .map-preview {
    border-color: var(--tesla-red);
    box-shadow: 0 8px 25px var(--tesla-red-glow), 0 0 40px var(--tesla-red-glow);
    transform: scale(1.02);
}

.map-preview-link:hover .map-preview-image {
    transform: scale(1.1);
}

.map-preview-link:hover .map-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Light theme adjustments for map */
[data-bs-theme="light"] .map-preview {
    background: #f5f5f7;
    border-color: rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .map-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.95) 100%);
    color: var(--tesla-red);
}

[data-bs-theme="light"] .map-preview-link:hover .map-preview {
    border-color: var(--tesla-red);
    box-shadow: 0 8px 25px rgba(232, 33, 39, 0.2);
}

/* ============================================
   MODERN COMMAND CARDS
   ============================================ */

.command-card-modern {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.command-card-modern:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px var(--tesla-red-glow);
}

.command-title {
    color: var(--text-primary);
}

.command-icon-modern {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.command-icon-modern.category {
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.15) 0%, rgba(255, 149, 0, 0.05) 100%);
    border: 1px solid rgba(255, 184, 0, 0.25);
    color: var(--accent-warning);
}

.command-icon-modern.special {
    background: linear-gradient(135deg, rgba(0, 163, 255, 0.15) 0%, rgba(0, 136, 221, 0.05) 100%);
    border: 1px solid rgba(0, 163, 255, 0.25);
    color: var(--accent-info);
}

.command-icon-modern.config {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15) 0%, rgba(138, 43, 226, 0.05) 100%);
    border: 1px solid rgba(138, 43, 226, 0.25);
    color: var(--accent-purple);
}

.command-icon-modern.action {
    background: linear-gradient(135deg, rgba(0, 210, 106, 0.15) 0%, rgba(0, 184, 94, 0.05) 100%);
    border: 1px solid rgba(0, 210, 106, 0.25);
    color: var(--accent-success);
}

.command-card-modern:hover .command-icon-modern.category {
    background: linear-gradient(135deg, #ffb800 0%, #ff9500 100%);
    color: #000;
    box-shadow: 0 0 30px rgba(255, 184, 0, 0.4);
}

.command-card-modern:hover .command-icon-modern.special {
    background: linear-gradient(135deg, #00a3ff 0%, #0088dd 100%);
    color: #fff;
    box-shadow: 0 0 30px rgba(0, 163, 255, 0.4);
}

.command-card-modern:hover .command-icon-modern.config {
    background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.command-card-modern:hover .command-icon-modern.action {
    background: linear-gradient(135deg, #00d26a 0%, #00b85e 100%);
    color: #fff;
    box-shadow: 0 0 30px rgba(0, 210, 106, 0.4);
}

.btn-execute {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-execute:hover {
    background: var(--gradient-red);
    border-color: var(--tesla-red);
    color: white;
    box-shadow: 0 0 20px var(--tesla-red-glow);
    transform: scale(1.1);
}

/* ============================================
   VEHICLE VISUALIZATION
   ============================================ */
.vehicle-viz-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
}

.vehicle-viz {
    width: 100%;
    max-width: 320px;
    height: auto;
}

/* Car body styling - subtle base so warnings stand out */
.car-body {
    fill: var(--bg-dark);
    stroke: var(--border-color);
    stroke-width: 1.5;
    opacity: 0.8;
}

.car-glass {
    fill: rgba(100, 130, 160, 0.1);
    stroke: rgba(100, 130, 160, 0.25);
    stroke-width: 1;
}

.car-roof {
    fill: var(--bg-elevated);
    stroke: var(--border-color);
    stroke-width: 1;
    opacity: 0.6;
}

.car-detail {
    stroke: var(--border-color);
    stroke-width: 1;
    stroke-dasharray: 4 2;
    opacity: 0.5;
}

/* Door indicators - Normal (closed) state is very subtle */
.door-indicator {
    cursor: pointer;
    transition: all 0.3s ease;
}

.door-highlight {
    fill: transparent;
    stroke: var(--border-color);
    stroke-width: 1;
    opacity: 0.3;
}

.door-indicator:hover .door-highlight {
    opacity: 0.5;
    stroke: var(--text-muted);
}

/* OPEN doors are prominent - this is the important state */
.door-indicator.door-open .door-highlight {
    fill: rgba(255, 59, 92, 0.25);
    stroke: var(--accent-danger);
    stroke-width: 2;
    opacity: 1;
    animation: door-pulse 1s ease-in-out infinite;
}

@keyframes door-pulse {
    0%, 100% { 
        opacity: 0.8;
        filter: drop-shadow(0 0 2px rgba(255, 59, 92, 0.3));
    }
    50% { 
        opacity: 1; 
        filter: drop-shadow(0 0 6px rgba(255, 59, 92, 0.6));
    }
}

.door-label {
    font-size: 7px;
    font-weight: 500;
    fill: var(--text-muted);
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
    opacity: 0.5;
}

/* Open door labels are bold and visible */
.door-indicator.door-open .door-label {
    fill: var(--accent-danger);
    font-weight: 700;
    font-size: 8px;
    opacity: 1;
}

/* Tire pressure indicators - Normal is subtle */
.tire-indicator {
    transition: all 0.3s ease;
}

.tire-shape {
    fill: transparent;
    stroke: var(--border-color);
    stroke-width: 1.5;
    opacity: 0.4;
}

.tire-pressure {
    font-size: 6px;
    font-weight: 500;
    fill: var(--text-muted);
    text-anchor: middle;
    dominant-baseline: middle;
    opacity: 0.6;
}

/* Normal tire pressure - very subtle, just shows it's OK */
.tire-indicator.tire-ok .tire-shape {
    stroke: var(--text-muted);
    fill: transparent;
    opacity: 0.4;
}

.tire-indicator.tire-ok .tire-pressure {
    fill: var(--text-muted);
    opacity: 0.6;
}

/* Low tire pressure - noticeable warning */
.tire-indicator.tire-low .tire-shape {
    stroke: var(--accent-warning);
    fill: rgba(255, 184, 0, 0.2);
    stroke-width: 2;
    opacity: 1;
}

.tire-indicator.tire-low .tire-pressure {
    fill: var(--accent-warning);
    font-weight: 700;
    font-size: 7px;
    opacity: 1;
}

/* Critical tire pressure - urgent, animated */
.tire-indicator.tire-critical .tire-shape {
    stroke: var(--accent-danger);
    stroke-width: 2.5;
    fill: rgba(255, 59, 92, 0.25);
    opacity: 1;
    animation: tire-warning 0.8s ease-in-out infinite;
}

.tire-indicator.tire-critical .tire-pressure {
    fill: var(--accent-danger);
    font-weight: 700;
    font-size: 7px;
    opacity: 1;
}

@keyframes tire-warning {
    0%, 100% { 
        opacity: 1;
        filter: drop-shadow(0 0 2px rgba(255, 59, 92, 0.4));
    }
    50% { 
        opacity: 0.7;
        filter: drop-shadow(0 0 5px rgba(255, 59, 92, 0.7));
    }
}

/* Charge port indicator - Closed is subtle, open is prominent */
.charge-port-indicator {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Closed charge port - very subtle */
.charge-port-shape {
    fill: transparent;
    stroke: var(--border-color);
    stroke-width: 1.5;
    opacity: 0.4;
}

/* Connector line from indicator to car body */
.charge-port-connector {
    stroke: var(--text-muted);
    stroke-width: 2;
    stroke-dasharray: 5, 3;
    opacity: 0.8;
}

/* Small dot showing actual port location on car */
.charge-port-location {
    fill: var(--text-muted);
    opacity: 0.8;
}

.charge-port-icon {
    font-size: 12px;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
    fill: var(--text-muted);
    opacity: 0.7;
}

/* Open charge port - draw attention */
.charge-port-indicator.port-open .charge-port-shape {
    stroke: var(--accent-info);
    stroke-width: 2;
    fill: rgba(0, 163, 255, 0.2);
    opacity: 1;
    animation: charge-port-pulse 1.5s ease-in-out infinite;
}

.charge-port-indicator.port-open .charge-port-icon {
    fill: var(--accent-info);
    opacity: 1;
}

.charge-port-indicator.port-open .charge-port-connector {
    stroke: var(--accent-info);
    opacity: 0.7;
}

.charge-port-indicator.port-open .charge-port-location {
    fill: var(--accent-info);
    opacity: 0.8;
}

/* Charging - most prominent with glow effect */
.charge-port-indicator.port-charging .charge-port-shape {
    stroke: var(--accent-success);
    stroke-width: 3;
    fill: rgba(0, 210, 106, 0.4);
    opacity: 1;
    animation: charging-indicator-pulse 1.5s ease-in-out infinite;
}

.charge-port-indicator.port-charging .charge-port-icon {
    fill: var(--accent-success);
    opacity: 1;
    animation: charging-icon-glow 1.5s ease-in-out infinite;
}

.charge-port-indicator.port-charging .charge-port-connector {
    stroke: var(--accent-success);
    stroke-width: 2.5;
    opacity: 1;
    stroke-dasharray: 8, 4;
    animation: charging-flow 0.6s linear infinite;
}

.charge-port-indicator.port-charging .charge-port-location {
    fill: var(--accent-success);
    opacity: 1;
    animation: charging-location-pulse 1s ease-in-out infinite;
}

/* Vehicle glow when charging */
.vehicle-viz.vehicle-charging .vehicle-body-group {
    filter: drop-shadow(0 0 8px rgba(0, 210, 106, 0.4));
    animation: vehicle-charging-glow 2s ease-in-out infinite;
}

.vehicle-viz.vehicle-charging .car-body {
    stroke: rgba(0, 210, 106, 0.6) !important;
    stroke-width: 2 !important;
}

/* Charging animations */
@keyframes charging-flow {
    0% {
        stroke-dashoffset: 12;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes charging-indicator-pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 4px rgba(0, 210, 106, 0.6));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 0 10px rgba(0, 210, 106, 0.9));
    }
}

@keyframes charging-icon-glow {
    0%, 100% { 
        filter: drop-shadow(0 0 2px rgba(0, 210, 106, 0.8));
    }
    50% { 
        filter: drop-shadow(0 0 6px rgba(0, 210, 106, 1));
    }
}

@keyframes charging-location-pulse {
    0%, 100% { 
        r: 4;
        filter: drop-shadow(0 0 3px rgba(0, 210, 106, 0.6));
    }
    50% { 
        r: 6;
        filter: drop-shadow(0 0 8px rgba(0, 210, 106, 1));
    }
}

@keyframes vehicle-charging-glow {
    0%, 100% { 
        filter: drop-shadow(0 0 6px rgba(0, 210, 106, 0.3));
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(0, 210, 106, 0.5));
    }
}

/* Charging Complete - solid green with checkmark feel */
.charge-port-indicator.port-complete .charge-port-shape {
    stroke: var(--accent-success);
    stroke-width: 3;
    fill: rgba(0, 210, 106, 0.5);
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(0, 210, 106, 0.6));
}

.charge-port-indicator.port-complete .charge-port-icon {
    fill: var(--accent-success);
    opacity: 1;
    filter: drop-shadow(0 0 4px rgba(0, 210, 106, 0.8));
}

.charge-port-indicator.port-complete .charge-port-connector {
    stroke: var(--accent-success);
    stroke-width: 2;
    opacity: 0.8;
    stroke-dasharray: none;
}

.charge-port-indicator.port-complete .charge-port-location {
    fill: var(--accent-success);
    opacity: 1;
    filter: drop-shadow(0 0 4px rgba(0, 210, 106, 0.6));
}

/* Vehicle glow when charging complete - subtle solid glow */
.vehicle-viz.vehicle-charge-complete .vehicle-body-group {
    filter: drop-shadow(0 0 10px rgba(0, 210, 106, 0.4));
}

.vehicle-viz.vehicle-charge-complete .car-body {
    stroke: rgba(0, 210, 106, 0.5) !important;
    stroke-width: 2 !important;
}

@keyframes charge-port-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Legend */
.vehicle-viz-legend {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.legend-closed {
    background: var(--accent-success);
    opacity: 0.6;
}

.legend-open {
    background: var(--accent-danger);
}

.legend-tire {
    background: var(--text-muted);
    border-radius: 50%;
}
