.live-view .tracker-card {
    border-radius: 20px;
}

.live-tracker-list {
    max-height: 70vh;
    overflow-y: auto;
    padding: 1rem;
    gap: 0.75rem;
}

.live-tracker-list .list-group-item {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 0.85rem 1rem;
}

.live-tracker-list .list-group-item.active {
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
}

.live-summary-card {
    border-radius: 28px;
    padding: 1.75rem;
    background: linear-gradient(135deg, #f5f7fb, #eef1f7);
    border: none;
    color: #0f1928;
}

.live-summary-header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.live-summary-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: rgba(15, 25, 40, 0.6);
}

.live-summary-name {
    font-size: 1.5rem;
    font-weight: 600;
}

.live-summary-chip {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    padding: 0.5rem 0.75rem;
    text-align: right;
    font-size: 0.85rem;
    line-height: 1.2;
}

.live-summary-imei {
    font-size: 0.95rem;
    color: rgba(15, 25, 40, 0.75);
}

.live-location {
    background: rgba(15, 25, 40, 0.05);
    border-radius: 18px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.live-location-title {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: rgba(15, 25, 40, 0.7);
}

.live-location-address {
    font-size: 1rem;
    font-weight: 600;
}

.live-location-coordinates {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(15, 25, 40, 0.65);
}

.live-coordinate-item {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    flex: 1 1 0;
}

.live-coordinate-item span {
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
    white-space: normal;
}

.live-meta-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 576px) {
    .live-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.live-meta {
    background: rgba(15, 25, 40, 0.04);
    border-radius: 16px;
    padding: 0.75rem 1rem;
}

.live-meta span {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(15, 25, 40, 0.65);
    margin-bottom: 0.2rem;
}

.live-meta-label {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: rgba(15, 25, 40, 0.65);
    margin-bottom: 0.2rem;
    display: block;
}

.live-meta-value {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(15, 25, 40, 0.75);
}

.live-meta-value i,
.live-coordinate-item i {
    color: rgba(15, 25, 40, 0.65);
}

.live-meta strong {
    font-size: 1.05rem;
}

.live-section-title {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: rgba(15, 25, 40, 0.6);
    margin-bottom: 0.65rem;
}

.maintenance-tracker-item {
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    font-size: 0.92rem;
    transition: transform 0.15s ease;
}

.maintenance-tracker-item:hover {
    transform: translateY(-1px);
}

.maintenance-tracker-item.active {
    font-weight: 600;
    background: rgba(15, 25, 40, 0.08);
    color: #0f1928;
}

.maintenance-loader {
    color: rgba(15, 25, 40, 0.75);
    font-size: 0.95rem;
    font-weight: 500;
}

.live-maintenance-card {
    background: rgba(15, 25, 40, 0.04);
    border-radius: 22px;
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
}

.live-maintenance-text {
    font-size: 0.95rem;
    color: rgba(15, 25, 40, 0.85);
}

.live-maintenance-meta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.live-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.live-stat {
    background: rgba(15, 25, 40, 0.04);
    border-radius: 18px;
    padding: 0.85rem 1rem;
}

.live-stat span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(15, 25, 40, 0.65);
    margin-bottom: 0.25rem;
}

.live-stat strong {
    font-size: 1.2rem;
}

.live-map-card {
    border-radius: 28px;
}

.live-map-body {
    height: 60vh;
    border-radius: 0 0 28px 28px;
    overflow: hidden;
}

.live-map-body #map {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

@media (max-width: 991.98px) {
    .live-summary-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .live-location-coordinates {
        flex-direction: column;
        gap: 0.35rem;
    }
}

body.theme-modern .live-summary-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8f9fa;
}

body.theme-modern .live-map-card .card-header {
    color: #f8f9fa;
}

body.theme-modern .live-map-card .card-header .text-muted {
    color: rgba(255, 255, 255, 0.78) !important;
}

body.theme-modern .live-summary-label,
body.theme-modern .live-summary-imei,
body.theme-modern .live-location-title,
body.theme-modern .live-location-coordinates,
body.theme-modern .live-section-title,
body.theme-modern .live-meta span,
body.theme-modern .live-stat span {
    color: rgba(255, 255, 255, 0.75);
}

body.theme-modern .live-meta-value,
body.theme-modern .live-coordinate-item span {
    color: rgba(255, 255, 255, 0.9);
}

body.theme-modern .live-meta-value i,
body.theme-modern .live-coordinate-item i {
    color: rgba(255, 255, 255, 0.75);
}

body.theme-modern .live-location,
body.theme-modern .live-meta,
body.theme-modern .live-stat {
    background: rgba(0, 0, 0, 0.25);
}

body.theme-modern .live-maintenance-card {
    background: rgba(0, 0, 0, 0.25);
    color: #f8f9fa;
}

body.theme-modern .live-maintenance-text {
    color: rgba(255, 255, 255, 0.92);
}

body.theme-modern .live-maintenance-header .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.theme-modern .maintenance-loader {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

body.theme-modern .maintenance-tracker-item.active {
    background: rgba(255, 255, 255, 0.18);
    color: #0b1720;
}

.maintenance-card-muted {
    color: rgba(15, 25, 40, 0.65) !important;
}

body.theme-modern .maintenance-card-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.theme-modern .live-summary-chip {
    background: rgba(0, 0, 0, 0.35);
    color: #f8f9fa;
}

body.theme-modern .live-tracker-list .list-group-item {
    border-color: rgba(255, 255, 255, 0.2);
}
