:root {
    --primary: #0d6efd;
    --bg-light: #f8f9fa;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-light);
}

main {
    flex: 1;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.login-card {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.stat-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card .stat-icon {
    font-size: 2rem;
    opacity: 0.7;
}

#map, #trip-map {
    height: 500px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.table th {
    white-space: nowrap;
    font-weight: 600;
}

.badge-online {
    background-color: #198754;
}

.badge-offline {
    background-color: #6c757d;
}

.trip-row {
    cursor: pointer;
    transition: background 0.15s;
}

.trip-row:hover {
    background: #e9ecef !important;
}

.trip-row.active {
    background: #cfe2ff !important;
}

.license-plate {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    background: #FFD700;
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #cca300;
    display: inline-block;
}

.odometer-display {
    font-family: 'Courier New', monospace;
    font-size: 1.1em;
    font-weight: bold;
}

@media (max-width: 768px) {
    #map, #trip-map {
        height: 350px;
    }
}
