/* GPS Platform — Custom Styles */

/* Map container */
#dashboard-map,
#full-map {
    border-radius: 8px;
    z-index: 1;
}

/* Stat cards */
.widget-stat-card-one .widget-content {
    padding: 20px;
}

.widget-stat-card-one .c_l-icon svg {
    width: 40px;
    height: 40px;
}

.widget-stat-card-one h2 {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Marker styles */
.gps-marker {
    background: none !important;
    border: none !important;
}

/* Table styles */
.table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom-width: 1px;
}

.table td {
    vertical-align: middle;
    font-size: 0.9rem;
}

/* Badge adjustments */
.badge {
    font-weight: 500;
    font-size: 0.75rem;
}

/* Alert adjustments */
.alert {
    border-radius: 8px;
}

/* Sidebar active state */
.sidebar-wrapper .menu .active > a {
    color: #4361ee;
    font-weight: 600;
}

.sidebar-wrapper .menu .active > a svg {
    color: #4361ee;
}

/* Widget heading */
.widget-heading {
    padding: 16px 20px 0;
}

.widget-content {
    padding: 16px 20px 20px;
}

/* Breadcrumb */
.breadcrumb-style-one .breadcrumb-item a {
    text-decoration: none;
}

/* Auth page */
.auth-container .card {
    border: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

.auth-container .card-body {
    padding: 32px;
}

/* Layout box */
body.layout-boxed {
    background-color: #f0f2f5;
}

/* Loading animation */
#load_screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .widget-stat-card-one h2 {
        font-size: 1.4rem;
    }

    .c_l-icon svg {
        width: 32px !important;
        height: 32px !important;
    }

    #device-panel {
        display: none !important;
    }
}

/* Device panel */
.device-item {
    transition: background 0.15s;
}

.device-item:hover {
    background: #f0f4ff;
}

/* Route playback */
.route-marker {
    background: none !important;
    border: none !important;
}

.route-start-icon, .route-end-icon {
    font-size: 20px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Speed chart container */
.speed-chart-container {
    height: 200px;
    width: 100%;
}

/* Map split layout */
#device-panel {
    background: #fff;
}

#device-panel .form-control-sm {
    border-radius: 6px;
}
