@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-2o1rr3fjmn] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-2o1rr3fjmn] {
    flex: 1;
    background-color: var(--light-bg);
}

.sidebar[b-2o1rr3fjmn] {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    box-shadow: 2px 0 5px var(--shadow-color);
}

.top-row[b-2o1rr3fjmn] {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    justify-content: flex-end;
    height: 4rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px var(--shadow-color);
    z-index: 10;
}

    .top-row[b-2o1rr3fjmn]  a, .top-row[b-2o1rr3fjmn]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: var(--text-color);
    }

    .top-row[b-2o1rr3fjmn]  a:hover, .top-row[b-2o1rr3fjmn]  .btn-link:hover {
        color: var(--primary-color);
        text-decoration: none;
    }

    .top-row[b-2o1rr3fjmn]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-2o1rr3fjmn] {
        justify-content: space-between;
    }

    .top-row[b-2o1rr3fjmn]  a, .top-row[b-2o1rr3fjmn]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-2o1rr3fjmn] {
        flex-direction: row;
    }

    .sidebar[b-2o1rr3fjmn] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-2o1rr3fjmn] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-2o1rr3fjmn]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-2o1rr3fjmn], article[b-2o1rr3fjmn] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-2o1rr3fjmn] {
    background: var(--Cailo-highlight);
    bottom: 0;
    box-shadow: 0 -1px 2px var(--shadow-color);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-2o1rr3fjmn] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-nc0lup0hxl] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: var(--Cailo-white);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid var(--Cailo-white-10);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='var(--Cailo-white-55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem var(--Cailo-white-10);
}

.navbar-toggler:checked[b-nc0lup0hxl] {
    background-color: var(--Cailo-white-20);
}

.top-row[b-nc0lup0hxl] {
    height: 4rem;
    background-color: transparent;
    border-bottom: 1px solid var(--Cailo-white-10);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.navbar-brand[b-nc0lup0hxl] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--Cailo-white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 100%;
}

.sidebar-logo[b-nc0lup0hxl] {
    height: 2.2rem;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.bi[b-nc0lup0hxl] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    margin-right: 0.75rem;
    font-size: 1rem;
    line-height: 1;
    color: var(--Cailo-white-80);
}

.bi-house-door-fill-nav-menu[b-nc0lup0hxl] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-nc0lup0hxl] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-nc0lup0hxl] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-nc0lup0hxl] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-nc0lup0hxl] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-nc0lup0hxl] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-nc0lup0hxl] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-nc0lup0hxl] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-nc0lup0hxl] {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
}

    .nav-item:first-of-type[b-nc0lup0hxl] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-nc0lup0hxl] {
        padding-bottom: 1rem;
    }

    .nav-item[b-nc0lup0hxl]  .nav-link {
        color: var(--Cailo-white-80);
        background: none;
        border: none;
        border-radius: var(--border-radius);
        min-height: 3rem;
        display: flex;
        align-items: center;
        line-height: 1.4;
        width: 100%;
        padding: 0.5rem 1rem;
        transition: var(--transition);
    }

.nav-item[b-nc0lup0hxl]  a.active {
    background-color: var(--Cailo-white-15);
    color: var(--Cailo-white);
    font-weight: 500;
}

.nav-item[b-nc0lup0hxl]  .nav-link:hover {
    background-color: var(--Cailo-white-10);
    color: var(--Cailo-white);
}

.nav-item[b-nc0lup0hxl]  .nav-link:hover .bi,
.nav-item[b-nc0lup0hxl]  a.active .bi {
    color: var(--Cailo-white);
}

.nav-scrollable[b-nc0lup0hxl] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-nc0lup0hxl] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-nc0lup0hxl] {
        display: none;
    }

    .nav-scrollable[b-nc0lup0hxl] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 4rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/B2C/Cockpit/ChargingAnalysis.razor.rz.scp.css */
/* ============================================================
   Charging Analysis — Scoped Styles
   ============================================================ */

/* Loading and Error states */
.trip-loading[b-uaboyo1msf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 16px;
    background: #f5f6f8;
}

.trip-loading-text[b-uaboyo1msf] {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #8fa8a0;
}

.trip-error[b-uaboyo1msf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 16px;
    padding: 40px;
    background: #f5f6f8;
}

/* ============================================================
   A. Header Bar
   ============================================================ */
.trip-header[b-uaboyo1msf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 80px;
    background: #1A2332;
    border-bottom: 3px solid #1B9986;
    flex-shrink: 0;
}

.trip-header-left[b-uaboyo1msf] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trip-header-date[b-uaboyo1msf] {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.trip-header-route[b-uaboyo1msf] {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}

.trip-header-right[b-uaboyo1msf] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trip-header-stat[b-uaboyo1msf] {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    font-variant-numeric: tabular-nums;
}

.trip-header-stat .sep[b-uaboyo1msf] {
    color: rgba(255, 255, 255, 0.25);
    margin: 0 2px;
}

.header-back-btn[b-uaboyo1msf] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #1B9986;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    margin-right: 16px;
    transition: background 0.2s;
    font-family: 'Open Sans', sans-serif;
}

.header-back-btn:hover[b-uaboyo1msf] {
    background: rgba(27, 153, 134, 0.1);
}

/* Charger type badge */
.charger-badge[b-uaboyo1msf] {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
}

.charger-badge.supercharger[b-uaboyo1msf] {
    background: rgba(62, 200, 178, 0.2);
    color: #3EC8B2;
}

.charger-badge.dc-fast[b-uaboyo1msf] {
    background: rgba(0, 180, 216, 0.2);
    color: #00B4D8;
}

.charger-badge.ac-l2[b-uaboyo1msf] {
    background: rgba(82, 183, 136, 0.2);
    color: #52B788;
}

/* ============================================================
   B + C. Main Layout: Map + Charts
   ============================================================ */
.trip-main[b-uaboyo1msf] {
    display: flex;
    flex: 1;
    min-height: 0;
    height: calc(100vh - 83px);
}

/* B. Map Panel */
.map-panel[b-uaboyo1msf] {
    flex: 0 0 40%;
    position: relative;
    min-height: 600px;
}

/* C. Charts Panel */
.charts-panel[b-uaboyo1msf] {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    overflow-y: auto;
}

/* C1. Replay Controls */
.replay-controls[b-uaboyo1msf] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    height: 48px;
    background: #fafbfc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}

.replay-btn[b-uaboyo1msf] {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #1B9986;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.replay-btn:hover[b-uaboyo1msf] {
    background: #168a79;
}

.replay-btn svg[b-uaboyo1msf] {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.speed-pills[b-uaboyo1msf] {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.speed-pill[b-uaboyo1msf] {
    padding: 4px 10px;
    border: none;
    background: transparent;
    color: #8fa8a0;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.15s;
}

.speed-pill.active[b-uaboyo1msf] {
    background: #1B9986;
    color: #fff;
}

.speed-pill:hover:not(.active)[b-uaboyo1msf] {
    background: rgba(0, 0, 0, 0.04);
}

.replay-scrubber[b-uaboyo1msf] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: #e0e4e8;
    outline: none;
    cursor: pointer;
}

.replay-scrubber[b-uaboyo1msf]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1B9986;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.replay-scrubber[b-uaboyo1msf]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1B9986;
    cursor: pointer;
    border: none;
}

.replay-time[b-uaboyo1msf] {
    font-size: 12px;
    font-weight: 600;
    color: #5a7a72;
    font-variant-numeric: tabular-nums;
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
    min-width: 44px;
    text-align: right;
}

/* C2. Chart Sections */
.chart-section[b-uaboyo1msf] {
    padding: 16px 20px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.chart-section:last-of-type[b-uaboyo1msf] {
    border-bottom: none;
}

.chart-header[b-uaboyo1msf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.chart-title[b-uaboyo1msf] {
    font-size: 12px;
    font-weight: 600;
    color: #5a7a72;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-legend[b-uaboyo1msf] {
    display: flex;
    gap: 12px;
}

.legend-item[b-uaboyo1msf] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #8fa8a0;
}

.legend-dot[b-uaboyo1msf] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.chart-container[b-uaboyo1msf] {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

/* No telemetry data message */
.no-telemetry-message[b-uaboyo1msf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
    color: #8fa8a0;
    flex: 1;
}

.no-telemetry-message p[b-uaboyo1msf] {
    margin: 16px 0 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #5a7a72;
}

.no-telemetry-message span[b-uaboyo1msf] {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #8fa8a0;
}

/* D. Stats Cards */
.stats-section[b-uaboyo1msf] {
    padding: 20px;
    background: #fafbfc;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.stats-grid[b-uaboyo1msf] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.stat-card[b-uaboyo1msf] {
    padding: 14px 10px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.stat-card-val[b-uaboyo1msf] {
    font-size: 18px;
    font-weight: 700;
    color: #1a2e2a;
    font-variant-numeric: tabular-nums;
}

.stat-card-label[b-uaboyo1msf] {
    font-size: 10px;
    color: #8fa8a0;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* E. Cost Row */
.cost-row[b-uaboyo1msf] {
    border-top: none;
    padding-top: 0;
}

.cost-grid[b-uaboyo1msf] {
    grid-template-columns: repeat(3, 1fr);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
    .trip-main[b-uaboyo1msf] {
        flex-direction: column;
        height: auto;
    }

    .map-panel[b-uaboyo1msf] {
        flex: none;
        height: 400px;
        min-height: auto;
    }

    .charts-panel[b-uaboyo1msf] {
        flex: none;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .stats-grid[b-uaboyo1msf] {
        grid-template-columns: repeat(3, 1fr);
    }

    .trip-header-right[b-uaboyo1msf] {
        display: none;
    }
}

@media (max-width: 768px) {
    .trip-header[b-uaboyo1msf] {
        padding: 0 16px;
        height: 64px;
    }

    .trip-header-route[b-uaboyo1msf] {
        font-size: 14px;
    }

    .map-panel[b-uaboyo1msf] {
        height: 300px;
    }

    .replay-controls[b-uaboyo1msf] {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 16px;
        gap: 8px;
    }

    .speed-pills[b-uaboyo1msf] {
        order: 3;
    }

    .replay-scrubber[b-uaboyo1msf] {
        order: 2;
        min-width: 100%;
    }

    .stats-grid[b-uaboyo1msf] {
        grid-template-columns: repeat(2, 1fr);
    }

    .cost-grid[b-uaboyo1msf] {
        grid-template-columns: repeat(3, 1fr);
    }

    .chart-section[b-uaboyo1msf] {
        padding: 12px 16px 6px;
    }
}
/* /Components/Pages/B2C/Cockpit/ChargingHistory.razor.rz.scp.css */
/* ============================================================
   CHARGING HISTORY PAGE
   ============================================================ */

/* Loading / Error states */
.history-loading[b-c8aavju7ne],
.history-error[b-c8aavju7ne] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

/* Header */
.history-header[b-c8aavju7ne] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(27, 153, 134, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
}

.history-header-left[b-c8aavju7ne] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.history-header-right[b-c8aavju7ne] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-back-btn[b-c8aavju7ne] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #1B9986;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.2s;
}

.header-back-btn:hover[b-c8aavju7ne] {
    background: rgba(27, 153, 134, 0.06);
}

.history-title[b-c8aavju7ne] {
    font-size: 18px;
    font-weight: 600;
    color: #1a2e2a;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.history-subtitle[b-c8aavju7ne] {
    font-size: 12px;
    color: #8fa8a0;
    font-family: 'Open Sans', sans-serif;
}

/* Summary cards */
.history-summary[b-c8aavju7ne] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px 24px 0;
}

.summary-card[b-c8aavju7ne] {
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05), 0 4px 12px rgba(0, 0, 0, .05);
    text-align: center;
}

.summary-val[b-c8aavju7ne] {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    font-variant-numeric: tabular-nums;
    font-family: 'Montserrat', sans-serif;
}

.summary-label[b-c8aavju7ne] {
    font-size: 10px;
    color: #999;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Open Sans', sans-serif;
}

/* Filters */
.history-filters[b-c8aavju7ne] {
    padding: 16px 24px;
}

.filter-row[b-c8aavju7ne] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.filter-item[b-c8aavju7ne] {
    flex: 1;
    min-width: 160px;
}

.filter-date[b-c8aavju7ne] {
    flex: 2;
    min-width: 280px;
}

.filter-location[b-c8aavju7ne] {
    flex: 1.5;
    min-width: 200px;
}

.bulk-actions[b-c8aavju7ne] {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

/* Session list (within SessionListLayout) */
.history-item[b-c8aavju7ne] {
    padding: 14px 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05), 0 4px 12px rgba(0, 0, 0, .05);
    cursor: pointer;
    transition: all 0.2s;
}

.history-item:hover[b-c8aavju7ne] {
    border-color: rgba(27, 153, 134, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(27, 153, 134, 0.1);
}

.history-item-top[b-c8aavju7ne] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.history-item-actions[b-c8aavju7ne] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-btn[b-c8aavju7ne] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    color: #8fa8a0;
    transition: all 0.2s;
}

.icon-btn:hover[b-c8aavju7ne] {
    background: rgba(27, 153, 134, 0.08);
    color: #1B9986;
}

.invoice-btn:hover[b-c8aavju7ne] {
    color: #3E6AE1;
    background: rgba(62, 106, 225, 0.08);
}

.charger-badge[b-c8aavju7ne] {
    font-size: 9px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(27, 153, 134, 0.08);
    color: #1B9986;
}

.charger-badge.dc[b-c8aavju7ne] {
    background: rgba(62, 106, 225, 0.08);
    color: #3E6AE1;
}

.history-date[b-c8aavju7ne] {
    font-size: 12px;
    color: #5a7a74;
    font-family: 'Open Sans', sans-serif;
}

.history-stats[b-c8aavju7ne] {
    display: flex;
    gap: 14px;
    font-size: 13px;
    color: #1a2e2a;
    font-family: 'Open Sans', sans-serif;
    margin-top: 6px;
}

.history-energy[b-c8aavju7ne] {
    color: #52B788;
    font-weight: 600;
}

.history-power[b-c8aavju7ne] {
    color: #8fa8a0;
}

.history-cost[b-c8aavju7ne] {
    margin-left: auto;
    font-weight: 600;
    color: #1a2e2a;
    font-size: 14px;
}

.history-soc-bar[b-c8aavju7ne] {
    height: 4px;
    background: rgba(27, 153, 134, 0.12);
    border-radius: 2px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.soc-bar-fill[b-c8aavju7ne] {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 2px;
    background: #52B788;
}

.history-meta-row[b-c8aavju7ne] {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 6px;
    font-size: 11px;
    color: #8fa8a0;
    font-family: 'Open Sans', sans-serif;
}

.history-address[b-c8aavju7ne] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
}

/* Cost source tags */
.cost-source-tag[b-c8aavju7ne] {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 1px 6px;
    border-radius: 4px;
}

.cost-source-tag.source-tesla[b-c8aavju7ne] {
    background: rgba(62, 106, 225, 0.08);
    color: #3E6AE1;
}

.cost-source-tag.source-known[b-c8aavju7ne] {
    background: rgba(82, 183, 136, 0.08);
    color: #52B788;
}

.cost-source-tag.source-estimated[b-c8aavju7ne] {
    background: rgba(173, 181, 189, 0.15);
    color: #6c757d;
}

/* Tags row */
.history-tags[b-c8aavju7ne] {
    margin-top: 6px;
}

.filter-tag[b-c8aavju7ne] {
    flex: 1;
    min-width: 160px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .history-summary[b-c8aavju7ne] {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-row[b-c8aavju7ne] {
        flex-direction: column;
    }

    .filter-item[b-c8aavju7ne] {
        min-width: unset;
        flex: unset;
        width: 100%;
    }
}
/* /Components/Pages/B2C/Cockpit/CockpitChargingDetailPanel.razor.rz.scp.css */
/* ============================================================
   Charging Detail Panel - Inline in Cockpit Drawer
   ============================================================ */

.charge-detail-panel[b-dstqm28jyn] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    animation: chargeDetailSlideIn-b-dstqm28jyn 0.3s ease-out;
}

@keyframes chargeDetailSlideIn-b-dstqm28jyn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Header */
.detail-header[b-dstqm28jyn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.detail-back[b-dstqm28jyn] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #1B9986;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    transition: opacity 0.2s;
    font-family: 'Open Sans', sans-serif;
}

.detail-back:hover[b-dstqm28jyn] { opacity: 0.7; }

.full-analysis-link[b-dstqm28jyn] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #1B9986;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.full-analysis-link:hover[b-dstqm28jyn] { opacity: 0.7; }
[b-dstqm28jyn] .full-analysis-link:hover svg { transform: translateX(3px); }
[b-dstqm28jyn] .full-analysis-link svg { transition: transform 0.2s; }

/* Session date/time */
.detail-session-header[b-dstqm28jyn] {
    text-align: center;
    padding: 4px 0;
}

.detail-session-date[b-dstqm28jyn] {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a2e2a;
}

.detail-session-time[b-dstqm28jyn] {
    font-size: 12px;
    color: #8fa8a0;
    margin-top: 2px;
}

/* Location card */
.detail-location-card[b-dstqm28jyn] {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.05);
}

.detail-map[b-dstqm28jyn] {
    width: 100%;
    height: 160px;
}

.detail-location-info[b-dstqm28jyn] {
    padding: 12px 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.detail-address[b-dstqm28jyn] {
    font-size: 13px;
    font-weight: 500;
    color: #1a2e2a;
}

.detail-charger-type[b-dstqm28jyn] {
    font-size: 10px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 12px;
}

.detail-charger-type.supercharger[b-dstqm28jyn] {
    background: rgba(62,106,225,0.08);
    color: #3E6AE1;
}

.detail-charger-type.ac[b-dstqm28jyn] {
    background: rgba(27,153,134,0.08);
    color: #1B9986;
}

/* SOC progress */
.detail-soc-section[b-dstqm28jyn] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 4px 0;
}

.soc-arc-wrap[b-dstqm28jyn] {
    position: relative;
    width: 160px;
    height: 100px;
}

[b-dstqm28jyn] .soc-arc-wrap svg { width: 100%; height: 100%; }

.soc-time-info[b-dstqm28jyn] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.soc-time-item[b-dstqm28jyn] { display: flex; flex-direction: column; }

.soc-time-val[b-dstqm28jyn] {
    font-size: 18px;
    font-weight: 600;
    color: #1a2e2a;
    font-variant-numeric: tabular-nums;
}

.soc-time-val.soc-delta[b-dstqm28jyn] { color: #52B788; }

.soc-time-label[b-dstqm28jyn] {
    font-size: 10px;
    color: #8fa8a0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Metrics grid */
.detail-metrics[b-dstqm28jyn] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.detail-metric[b-dstqm28jyn] {
    padding: 12px 8px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.05);
    text-align: center;
}

.detail-metric-val[b-dstqm28jyn] {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-variant-numeric: tabular-nums;
}

.detail-metric-val.cost[b-dstqm28jyn] { color: #0f5c52; }

.detail-metric-label[b-dstqm28jyn] {
    font-size: 10px;
    color: #999;
    margin-top: 3px;
}

/* Session timeline */
.detail-timeline[b-dstqm28jyn] { padding: 8px 0; }

.timeline-title[b-dstqm28jyn] {
    font-size: 11px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: #8fa8a0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.timeline-events[b-dstqm28jyn] {
    display: flex;
    flex-direction: column;
    padding-left: 4px;
}

.timeline-event[b-dstqm28jyn] {
    display: flex;
    gap: 12px;
    min-height: 36px;
}

.tl-indicator[b-dstqm28jyn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 16px;
    flex-shrink: 0;
}

.tl-dot[b-dstqm28jyn] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tl-dot.plug[b-dstqm28jyn] { background: #3EC8B2; box-shadow: 0 0 0 3px rgba(62,200,178,0.15); }
.tl-dot.charge[b-dstqm28jyn] { background: #52B788; box-shadow: 0 0 0 3px rgba(82,183,136,0.15); }
.tl-dot.complete[b-dstqm28jyn] { background: #1B9986; box-shadow: 0 0 0 3px rgba(27,153,134,0.15); }
.tl-dot.unplug[b-dstqm28jyn] { background: #8fa8a0; box-shadow: 0 0 0 3px rgba(143,168,160,0.15); }

.tl-line[b-dstqm28jyn] {
    width: 2px;
    flex: 1;
    background: rgba(0,0,0,0.06);
    min-height: 10px;
}

.tl-content[b-dstqm28jyn] {
    flex: 1;
    padding-bottom: 6px;
}

.tl-label[b-dstqm28jyn] {
    font-size: 12px;
    font-weight: 600;
    color: #1a2e2a;
}

.tl-time[b-dstqm28jyn] {
    font-size: 11px;
    color: #8fa8a0;
    font-variant-numeric: tabular-nums;
}

/* Known location badge */
.detail-known-location[b-dstqm28jyn] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #1B9986;
    font-weight: 600;
    margin-top: 2px;
}

/* Save as Known Location button */
.save-location-btn[b-dstqm28jyn] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #1B9986;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 0;
    margin-top: 2px;
    font-family: 'Open Sans', sans-serif;
    transition: opacity 0.2s;
}

.save-location-btn:hover[b-dstqm28jyn] { opacity: 0.7; }

/* Billing breakdown */
.detail-billing[b-dstqm28jyn] {
    padding: 12px 14px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.05);
}

.billing-title[b-dstqm28jyn] {
    font-size: 11px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: #8fa8a0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.billing-row[b-dstqm28jyn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 13px;
}

.billing-row.billing-total[b-dstqm28jyn] {
    border-top: 1px solid rgba(0,0,0,.08);
    margin-top: 4px;
    padding-top: 8px;
    font-weight: 700;
}

.billing-fee-type[b-dstqm28jyn] {
    color: #1a2e2a;
}

.billing-uom[b-dstqm28jyn] {
    color: #8fa8a0;
    font-size: 11px;
    margin-left: 4px;
}

.billing-amount[b-dstqm28jyn] {
    font-weight: 600;
    color: #0f5c52;
    font-variant-numeric: tabular-nums;
}

/* Invoice download */
.detail-invoice[b-dstqm28jyn] {
    text-align: center;
}

.invoice-download-btn[b-dstqm28jyn] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: rgba(27,153,134,0.08);
    color: #1B9986;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    font-family: 'Open Sans', sans-serif;
}

.invoice-download-btn:hover[b-dstqm28jyn] {
    background: rgba(27,153,134,0.15);
}
/* /Components/Pages/B2C/Cockpit/CockpitChargingPanel.razor.rz.scp.css */
/* ============================================================
   CHARGING PANEL - Light Glass Theme
   ============================================================ */

.session-action-link[b-170xf3pzic] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1B9986;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s;
}

.session-action-link:hover[b-170xf3pzic] {
    background: rgba(27, 153, 134, 0.06);
    text-decoration: none;
}
.charging-panel[b-170xf3pzic] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
}

/* --- Active charging layout --- */
.charging-layout[b-170xf3pzic] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}

/* Power hero */
.charging-power-hero[b-170xf3pzic] {
    text-align: center;
    position: relative;
}

.charging-power-value[b-170xf3pzic] {
    font-size: 64px;
    font-weight: 300;
    color: #0f5c52;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 20px rgba(27, 153, 134, 0.2);
}

.charging-power-unit[b-170xf3pzic] {
    font-size: 18px;
    color: #5a7a74;
    margin-left: 4px;
}

.charging-power-label[b-170xf3pzic] {
    font-size: 11px;
    color: #8fa8a0;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* Charging flow animation */
.charging-flow-wrap[b-170xf3pzic] {
    width: 100%;
    max-width: 500px;
    height: 60px;
    position: relative;
}

.charging-flow-svg[b-170xf3pzic] {
    width: 100%;
    height: 100%;
}

[b-170xf3pzic] .flow-line {
    stroke: rgba(27, 153, 134, 0.15);
    stroke-width: 2;
    fill: none;
}

[b-170xf3pzic] .flow-particle {
    fill: #3EC8B2;
    filter: drop-shadow(0 0 4px rgba(62, 200, 178, 0.6));
}

/* SOC gauge + time row (side by side) */
.charging-gauge-time-row[b-170xf3pzic] {
    display: flex;
    gap: 40px;
    align-items: center;
}

.charging-gauge-wrap[b-170xf3pzic] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.charging-soc-svg[b-170xf3pzic] {
    width: 220px;
    height: 140px;
}

/* Time to full */
.charging-time[b-170xf3pzic] {
    text-align: center;
}

.charging-time-value[b-170xf3pzic] {
    font-size: 28px;
    font-weight: 400;
    color: #1a2e2a;
    font-variant-numeric: tabular-nums;
}

.charging-time-label[b-170xf3pzic] {
    font-size: 11px;
    color: #8fa8a0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Charging details grid (4 columns per mockup) */
.charging-details[b-170xf3pzic] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
}

.charge-detail[b-170xf3pzic] {
    padding: 14px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.05);
    text-align: center;
}

.charge-detail-val[b-170xf3pzic] {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-variant-numeric: tabular-nums;
}

.charge-detail-label[b-170xf3pzic] {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
    font-family: 'Open Sans', sans-serif;
}

/* ============================================================
   IDLE / NOT CHARGING STATE
   ============================================================ */
.idle-charging-layout[b-170xf3pzic] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
}

/* Status header with icon + text */
.idle-status-header[b-170xf3pzic] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    background: rgba(27, 153, 134, 0.04);
    border-radius: 14px;
    border: 1px solid rgba(27, 153, 134, 0.08);
}

.idle-status-icon[b-170xf3pzic] {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-170xf3pzic] .idle-status-icon svg {
    width: 28px;
    height: 28px;
}

.idle-status-icon.status-complete[b-170xf3pzic] {
    color: #52B788;
}

.idle-status-icon.status-stopped[b-170xf3pzic] {
    color: #ffc107;
}

.idle-status-icon.status-disconnected[b-170xf3pzic] {
    color: #bbb;
}

.idle-status-label[b-170xf3pzic] {
    font-size: 15px;
    font-weight: 600;
    color: #1a2e2a;
    font-family: 'Montserrat', sans-serif;
}

.idle-status-state[b-170xf3pzic] {
    font-size: 12px;
    color: #8fa8a0;
    margin-top: 1px;
}

/* SOC gauge centered */
.idle-gauge-row[b-170xf3pzic] {
    display: flex;
    justify-content: center;
}

/* Idle details grid (3 columns) */
.idle-details[b-170xf3pzic] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 450px;
}

/* --- Recent sessions --- */
.charging-history[b-170xf3pzic] {
    border-top: 1px solid rgba(27, 153, 134, 0.12);
    padding: 16px;
}

.history-title[b-170xf3pzic] {
    font-size: 11px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: #8fa8a0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 10px 0;
}

/* Clickable history items */
.history-item[b-170xf3pzic] {
    padding: 12px 14px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.05);
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 8px;
}

.history-item:hover[b-170xf3pzic] {
    border-color: rgba(27,153,134,0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(27,153,134,0.1);
}

.history-item-top[b-170xf3pzic] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.history-charger-badge[b-170xf3pzic] {
    font-size: 9px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(27,153,134,0.08);
    color: #1B9986;
}

.history-charger-badge.dc[b-170xf3pzic] {
    background: rgba(62,106,225,0.08);
    color: #3E6AE1;
}

.history-cost[b-170xf3pzic] {
    margin-left: auto;
    font-weight: 600;
    color: #1a2e2a;
    font-size: 13px;
}

.history-meta-row[b-170xf3pzic] {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 6px;
    font-size: 10px;
    color: #8fa8a0;
}

.history-address[b-170xf3pzic] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

.history-location[b-170xf3pzic] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
    color: #0077B6;
    font-weight: 500;
}

.history-parking[b-170xf3pzic] {
    color: #495057;
}

.history-link[b-170xf3pzic] {
    font-size: 11px;
    color: #0077B6;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    white-space: nowrap;
}

.history-link:hover[b-170xf3pzic] {
    text-decoration: underline;
    color: #00B4D8;
}

.invoice-icon[b-170xf3pzic] {
    color: #495057;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s;
}

.invoice-icon:hover[b-170xf3pzic] {
    color: #0077B6;
}

.history-date[b-170xf3pzic] {
    font-size: 11px;
    color: #5a7a74;
    font-family: 'Open Sans', sans-serif;
}

.history-stats[b-170xf3pzic] {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #1a2e2a;
    font-family: 'Open Sans', sans-serif;
    margin-top: 4px;
}

.history-energy[b-170xf3pzic] {
    color: #52B788;
}

.history-power[b-170xf3pzic] {
    color: #8fa8a0;
}

.history-soc-bar[b-170xf3pzic] {
    height: 4px;
    background: rgba(27, 153, 134, 0.12);
    border-radius: 2px;
    margin-top: 6px;
    position: relative;
    overflow: hidden;
}

.soc-bar-fill[b-170xf3pzic] {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 2px;
    background: #52B788;
}

/* Summary cards */
.charging-summary[b-170xf3pzic] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.summary-card[b-170xf3pzic] {
    padding: 14px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.05);
    text-align: center;
}

.summary-val[b-170xf3pzic] {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    font-variant-numeric: tabular-nums;
}

.summary-label[b-170xf3pzic] {
    font-size: 10px;
    color: #999;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* /Components/Pages/B2C/Cockpit/CockpitClimatePanel.razor.rz.scp.css */
/* ============================================================
   Climate Panel - Light Glass Theme
   ============================================================ */

.climate-layout[b-1m4wo859wz] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    overflow-y: auto;
}

/* ---------- Row 1: Temperature hero cards ---------- */

.climate-temps[b-1m4wo859wz] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.temp-card-big[b-1m4wo859wz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.05);
}

.temp-icon-wrap[b-1m4wo859wz] {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.temp-interior .temp-icon-wrap[b-1m4wo859wz] {
    background: rgba(62, 200, 178, 0.1);
    color: #3EC8B2;
}

.temp-exterior .temp-icon-wrap[b-1m4wo859wz] {
    background: rgba(62, 106, 225, 0.1);
    color: #3E6AE1;
}

.temp-big-value[b-1m4wo859wz] {
    font-size: 38px;
    font-weight: 700;
    color: #333;
    font-variant-numeric: tabular-nums;
    font-family: 'Open Sans', sans-serif;
}

.temp-interior .temp-big-value[b-1m4wo859wz] {
    color: #1B9986;
}

.temp-big-label[b-1m4wo859wz] {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

/* ---------- Rows 2-3: Controls grid ---------- */

.climate-controls[b-1m4wo859wz] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.climate-control[b-1m4wo859wz] {
    padding: 14px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.05);
    text-align: center;
}

.climate-control-title[b-1m4wo859wz] {
    font-size: 11px;
    color: #999;
    margin-bottom: 6px;
}

.climate-control-val[b-1m4wo859wz] {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

/* Fan speed row */
.fan-row[b-1m4wo859wz] {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.fan-label[b-1m4wo859wz] {
    font-size: 10px;
    color: #8fa8a0;
}

.fan-dots[b-1m4wo859wz] {
    display: flex;
    gap: 2px;
}

/* Climate keeper badge */
.climate-keeper-badge[b-1m4wo859wz] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.keeper-off[b-1m4wo859wz] {
    background: rgba(27, 153, 134, 0.06);
    color: #5a7a74;
}

.keeper-on[b-1m4wo859wz] {
    background: rgba(62, 200, 178, 0.1);
    color: #3EC8B2;
}

.keeper-dog[b-1m4wo859wz] {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.keeper-party[b-1m4wo859wz] {
    background: rgba(62, 106, 225, 0.1);
    color: #3E6AE1;
}

/* Seat heater grid */
.seat-heater-grid[b-1m4wo859wz] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 6px;
    margin-top: 8px;
}

.seat-heater[b-1m4wo859wz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.seat-heat-dots[b-1m4wo859wz] {
    display: flex;
    gap: 3px;
}

.seat-dot[b-1m4wo859wz] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(27, 153, 134, 0.1);
    transition: all 0.3s ease;
}

.seat-dot.heated[b-1m4wo859wz] {
    background: #ffc107;
    box-shadow: 0 0 6px rgba(255, 193, 7, 0.4);
}

.seat-label[b-1m4wo859wz] {
    font-size: 9px;
    color: #8fa8a0;
    text-transform: uppercase;
}

/* Steering wheel subtitle */
.steering-subtitle[b-1m4wo859wz] {
    margin-top: 4px;
    font-size: 10px;
    color: #8fa8a0;
}

/* Seat heaters section (separate from controls grid per mockup) */
.seat-heaters-section[b-1m4wo859wz] {
    margin-top: 14px;
}

.seat-heaters-title[b-1m4wo859wz] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #aaa;
    margin-bottom: 10px;
}
/* /Components/Pages/B2C/Cockpit/CockpitOverviewPanel.razor.rz.scp.css */
/* ==========================================================
   CockpitOverviewPanel - Light Glass Theme
   ========================================================== */

.overview-panel[b-qlvd6mtbu5] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    gap: 14px;
    min-height: 0;
}

/* --- Left column --- */
.overview-left[b-qlvd6mtbu5] {
    grid-row: 1;
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 0;
}

/* --- SOC Gauge --- */
.soc-gauge-wrap[b-qlvd6mtbu5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
}

.soc-gauge-svg[b-qlvd6mtbu5] {
    width: 180px;
    height: 110px;
}

[b-qlvd6mtbu5] .soc-gauge-track,
[b-qlvd6mtbu5] .soc-gauge-fill {
    fill: none;
    stroke-linecap: round;
}

[b-qlvd6mtbu5] .soc-gauge-track {
    stroke: rgba(27, 153, 134, 0.12);
    stroke-width: 10;
}

[b-qlvd6mtbu5] .soc-gauge-fill {
    stroke-width: 10;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 6px rgba(62, 200, 178, 0.3));
}

[b-qlvd6mtbu5] .soc-value-text {
    font-size: 42px;
    font-weight: 300;
    fill: #1a2e2a;
    font-family: 'Inter', 'Montserrat', sans-serif;
}

[b-qlvd6mtbu5] .soc-pct-text {
    font-size: 14px;
    fill: #5a7a74;
    font-family: 'Inter', 'Montserrat', sans-serif;
}

[b-qlvd6mtbu5] .soc-range-text {
    font-size: 13px;
    fill: #5a7a74;
    font-family: 'Inter', 'Montserrat', sans-serif;
}

/* --- Speed display --- */
.speed-display[b-qlvd6mtbu5] {
    text-align: center;
    padding: 4px 0;
}

.speed-value[b-qlvd6mtbu5] {
    font-size: 56px;
    font-weight: 300;
    color: #1a2e2a;
    line-height: 1;
    letter-spacing: -2px;
    font-variant-numeric: tabular-nums;
    font-family: 'Inter', 'Montserrat', sans-serif;
}

.speed-unit[b-qlvd6mtbu5] {
    font-size: 13px;
    color: #8fa8a0;
    margin-left: 4px;
    font-family: 'Open Sans', sans-serif;
}

.speed-label[b-qlvd6mtbu5] {
    font-size: 10px;
    color: #8fa8a0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
    font-family: 'Open Sans', sans-serif;
}

/* --- Gear indicator --- */
.gear-display[b-qlvd6mtbu5] {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 6px 0;
}

.gear-letter[b-qlvd6mtbu5] {
    font-size: 16px;
    font-weight: 600;
    color: #8fa8a0;
    transition: all 0.3s ease;
    width: 24px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.gear-letter.active[b-qlvd6mtbu5] {
    color: #fff;
    background: #1B9986;
    border-radius: 4px;
    text-shadow: none;
}

/* --- Info rows --- */
.info-rows[b-qlvd6mtbu5] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row[b-qlvd6mtbu5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow:
        0 1px 3px rgba(0,0,0,.06),
        0 4px 12px rgba(0,0,0,.06),
        0 8px 24px rgba(0,0,0,.05);
}

.info-row-label[b-qlvd6mtbu5] {
    font-size: 11px;
    color: #5a7a74;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Open Sans', sans-serif;
}

.info-row-value[b-qlvd6mtbu5] {
    font-size: 14px;
    font-weight: 600;
    color: #1a2e2a;
    font-variant-numeric: tabular-nums;
    font-family: 'Open Sans', sans-serif;
}

.info-row-value-small[b-qlvd6mtbu5] {
    font-size: 11px;
}

/* --- Map area --- */
.overview-map-wrap[b-qlvd6mtbu5] {
    grid-row: 1;
    grid-column: 2;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: #eef1f0;
    border: 1px solid #e4e8e6;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.overview-map[b-qlvd6mtbu5] {
    width: 100%;
    height: 100%;
    min-height: 200px;
}

/* --- Quick stats bottom row --- */
.overview-bottom[b-qlvd6mtbu5] {
    grid-row: 2;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.quick-stat[b-qlvd6mtbu5] {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 10px rgba(0,0,0,.04);
}

.quick-stat-icon[b-qlvd6mtbu5] {
    font-size: 18px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-stat-icon :deep(svg)[b-qlvd6mtbu5] {
    width: 18px;
    height: 18px;
}

/* Icon color variants */
.qs-lock .quick-stat-icon[b-qlvd6mtbu5] {
    color: #3EC8B2;
}

.qs-sentry .quick-stat-icon[b-qlvd6mtbu5] {
    color: #3E6AE1;
}

.qs-temp .quick-stat-icon[b-qlvd6mtbu5] {
    color: #ffc107;
}

.qs-tires .quick-stat-icon[b-qlvd6mtbu5] {
    color: #28a745;
}

.quick-stat-text[b-qlvd6mtbu5] {
    display: flex;
    flex-direction: column;
}

.quick-stat-label[b-qlvd6mtbu5] {
    font-size: 10px;
    color: #999;
    font-family: 'Open Sans', sans-serif;
}

.quick-stat-val[b-qlvd6mtbu5] {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    font-family: 'Open Sans', sans-serif;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .overview-panel[b-qlvd6mtbu5] {
        grid-template-columns: 1fr;
        grid-template-rows: auto 200px auto;
    }

    .overview-map-wrap[b-qlvd6mtbu5] {
        grid-row: 2;
        grid-column: 1;
        min-height: 200px;
    }

    .overview-bottom[b-qlvd6mtbu5] {
        grid-row: 3;
        grid-column: 1;
        grid-template-columns: repeat(2, 1fr);
    }

    .overview-left[b-qlvd6mtbu5] {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* /Components/Pages/B2C/Cockpit/CockpitStatusPanel.razor.rz.scp.css */
/* ==========================================================
   CockpitStatusPanel - Premium Vehicle Status
   ========================================================== */

/* --- Layout --- */
.status-panel[b-8tlbio9jyz] {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
    min-height: 0;
}

.status-diagram[b-8tlbio9jyz] {
    background: linear-gradient(145deg, #f7f9f8 0%, #eef2f0 50%, #e8edeb 100%);
    border-radius: 16px;
    padding: 8px 16px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    min-height: 0;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.04),
        0 4px 12px rgba(0,0,0,0.03),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.vehicle-svg[b-8tlbio9jyz] {
    width: 100%;
    max-width: 340px;
    height: auto;
}

/* --- Door panel animations --- */
.door-group[b-8tlbio9jyz] {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.door-closed[b-8tlbio9jyz] {
    transform: rotate(0deg);
}

/* Left doors swing outward (negative rotation) */
.door-open-left[b-8tlbio9jyz] {
    transform: rotate(-22deg);
}

/* Right doors swing outward (positive rotation) */
.door-open-right[b-8tlbio9jyz] {
    transform: rotate(22deg);
}

/* Frunk lifts forward (slight scale + translate up) */
.trunk-open-up[b-8tlbio9jyz] {
    transform: translateY(-12px) scaleY(1.08);
}

/* Trunk lifts backward (slight scale + translate down) */
.trunk-open-down[b-8tlbio9jyz] {
    transform: translateY(12px) scaleY(1.08);
}

/* Door panel styling */
.door-panel[b-8tlbio9jyz] {
    transition: all 0.5s ease;
}

.door-panel-open[b-8tlbio9jyz] {
    animation: doorPanelPulse-b-8tlbio9jyz 2s ease-in-out infinite;
}

@keyframes doorPanelPulse-b-8tlbio9jyz {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Door seam lines */
[b-8tlbio9jyz] .door-seam {
    transition: opacity 0.3s ease;
}

/* --- Lock icon --- */
.lock-icon[b-8tlbio9jyz] {
    transition: all 0.3s ease;
}

/* --- Sentry eye glow --- */
.sentry-glow[b-8tlbio9jyz] {
    animation: sentryGlow-b-8tlbio9jyz 3s ease infinite;
}

@keyframes sentryGlow-b-8tlbio9jyz {
    0%, 100% {
        opacity: 0.7;
        filter: drop-shadow(0 0 4px rgba(62,106,225,0.3));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 12px rgba(62,106,225,0.6));
    }
}

/* --- SVG tire pressure boxes --- */
[b-8tlbio9jyz] .tire-bg {
    fill: rgba(255,255,255,0.85);
    stroke: rgba(0,0,0,0.06);
    stroke-width: 1;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06));
}

[b-8tlbio9jyz] .tire-val {
    font-size: 13px;
    font-weight: 700;
    fill: #1a2e2a;
    font-family: 'Montserrat', sans-serif;
}

[b-8tlbio9jyz] .tire-unit {
    font-size: 9px;
    fill: #8fa8a0;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.5px;
}

/* Tire color classes for SVG text */
[b-8tlbio9jyz] .tire-ok {
    fill: #3EC8B2;
}

[b-8tlbio9jyz] .tire-warn {
    fill: #ffc107;
}

[b-8tlbio9jyz] .tire-crit {
    fill: #d9534f;
}

/* Tire bar fill color classes */
[b-8tlbio9jyz] .tire-bar-ok {
    fill: #3EC8B2;
}

[b-8tlbio9jyz] .tire-bar-warn {
    fill: #ffc107;
}

[b-8tlbio9jyz] .tire-bar-crit {
    fill: #d9534f;
}

/* --- Status panels (right sidebar) --- */
.status-panels[b-8tlbio9jyz] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding-right: 4px;
}

.status-panels[b-8tlbio9jyz]::-webkit-scrollbar {
    width: 3px;
}

.status-panels[b-8tlbio9jyz]::-webkit-scrollbar-thumb {
    background: rgba(27,153,134,0.15);
    border-radius: 2px;
}

/* --- Panel cards --- */
.panel[b-8tlbio9jyz] {
    padding: 14px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.05);
}

.panel-title[b-8tlbio9jyz] {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #1B9986;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 8px;
}

.panel-row[b-8tlbio9jyz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.panel-label[b-8tlbio9jyz] {
    font-size: 13px;
    color: #888;
    font-family: 'Open Sans', sans-serif;
}

.panel-val[b-8tlbio9jyz] {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    font-family: 'Open Sans', sans-serif;
}

/* Value color classes */
.v-green[b-8tlbio9jyz] {
    color: #3EC8B2;
}

.v-red[b-8tlbio9jyz] {
    color: #d9534f;
}

.v-blue[b-8tlbio9jyz] {
    color: #3E6AE1;
}

.v-yellow[b-8tlbio9jyz] {
    color: #ffc107;
}

.v-dim[b-8tlbio9jyz] {
    color: #5a7a74;
}

.panel-no-data[b-8tlbio9jyz] {
    font-size: 12px;
    color: #a8c0b8;
    font-family: 'Open Sans', sans-serif;
}

/* --- Tire pressure grid in sidebar --- */
.tire-grid[b-8tlbio9jyz] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.tire-cell[b-8tlbio9jyz] {
    text-align: center;
    padding: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 8px;
}

.tire-cell-label[b-8tlbio9jyz] {
    font-size: 10px;
    color: #8fa8a0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-bottom: 4px;
}

.tire-cell-value[b-8tlbio9jyz] {
    font-size: 20px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-variant-numeric: tabular-nums;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .status-panel[b-8tlbio9jyz] {
        grid-template-columns: 1.2fr 1fr;
        gap: 12px;
    }
}

@media (max-width: 700px) {
    .status-panel[b-8tlbio9jyz] {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 16px;
    }

    .vehicle-svg[b-8tlbio9jyz] {
        max-width: 280px;
    }

    .status-panels[b-8tlbio9jyz] {
        padding-right: 0;
    }
}
/* /Components/Pages/B2C/Cockpit/CockpitTripDetailPanel.razor.rz.scp.css */
/* ============================================================
   Trip Detail Panel - Timeline Layout
   ============================================================ */

.trip-detail-panel[b-ixjnoeklue] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    animation: tripDetailSlideIn-b-ixjnoeklue 0.3s ease-out;
}

@keyframes tripDetailSlideIn-b-ixjnoeklue {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---------- Header (back + analysis link) ---------- */

.trip-detail-header[b-ixjnoeklue] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trip-detail-back[b-ixjnoeklue] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #1B9986;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    transition: opacity 0.2s;
}

.trip-detail-back:hover[b-ixjnoeklue] {
    opacity: 0.7;
}

/* ---------- Map ---------- */

.trip-detail-map[b-ixjnoeklue] {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ---------- Timeline ---------- */

.trip-timeline[b-ixjnoeklue] {
    display: flex;
    flex-direction: column;
    padding: 0 4px;
}

.timeline-row[b-ixjnoeklue] {
    display: flex;
    gap: 12px;
    min-height: 44px;
}

.timeline-row.summary[b-ixjnoeklue] {
    min-height: 32px;
}

.timeline-indicator[b-ixjnoeklue] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 16px;
    flex-shrink: 0;
}

.timeline-dot[b-ixjnoeklue] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.timeline-dot.start[b-ixjnoeklue] {
    background: #1B9986;
    box-shadow: 0 0 0 3px rgba(27, 153, 134, 0.15);
}

.timeline-dot.end[b-ixjnoeklue] {
    background: #E63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
}

.timeline-line[b-ixjnoeklue] {
    width: 2px;
    flex: 1;
    background: rgba(0, 0, 0, 0.08);
    min-height: 12px;
}

.timeline-content[b-ixjnoeklue] {
    flex: 1;
    padding-bottom: 4px;
}

.timeline-address[b-ixjnoeklue] {
    font-size: 13px;
    font-weight: 600;
    color: #1a2e2a;
    line-height: 1.3;
}

.timeline-meta[b-ixjnoeklue] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #8fa8a0;
    margin-top: 3px;
    flex-wrap: wrap;
}

.timeline-soc[b-ixjnoeklue] {
    font-weight: 600;
    color: #1B9986;
}

.timeline-sep[b-ixjnoeklue] {
    color: #c0d0ca;
}

/* ---------- Trip summary (middle of timeline) ---------- */

.timeline-summary[b-ixjnoeklue] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #5a7a72;
    padding: 4px 0;
}

.timeline-soc-delta[b-ixjnoeklue] {
    font-weight: 600;
    color: #E63946;
}

/* ---------- Odometer row ---------- */

.trip-odometer-row[b-ixjnoeklue] {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    background: rgba(27, 153, 134, 0.04);
    border-radius: 8px;
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
}

.trip-odometer-label[b-ixjnoeklue] {
    color: #8fa8a0;
    font-weight: 600;
}

.trip-odometer-val[b-ixjnoeklue] {
    color: #1a2e2a;
    font-variant-numeric: tabular-nums;
}

/* ---------- Stats grid ---------- */

.trip-detail-stats[b-ixjnoeklue] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.trip-stat-card[b-ixjnoeklue] {
    padding: 14px 8px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.trip-stat-val[b-ixjnoeklue] {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    font-variant-numeric: tabular-nums;
}

.trip-stat-label[b-ixjnoeklue] {
    font-size: 10px;
    color: #999;
    margin-top: 4px;
}

/* ---------- Full analysis link ---------- */

.full-analysis-link[b-ixjnoeklue] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #1B9986;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
    cursor: pointer;
}

.full-analysis-link:hover[b-ixjnoeklue] {
    opacity: 0.7;
}

.full-analysis-link svg[b-ixjnoeklue] {
    transition: transform 0.2s;
}

.full-analysis-link:hover svg[b-ixjnoeklue] {
    transform: translateX(3px);
}
/* /Components/Pages/B2C/Cockpit/CockpitTripsPanel.razor.rz.scp.css */
/* ============================================================
   Trips Panel - Light Glass Theme
   ============================================================ */

.trips-layout[b-hh0q1ywivp] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    overflow-y: auto;
}

/* ---------- Summary strip ---------- */

.trips-summary[b-hh0q1ywivp] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.trip-summary-card[b-hh0q1ywivp] {
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.05);
    text-align: center;
}

.trip-summary-val[b-hh0q1ywivp] {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    font-variant-numeric: tabular-nums;
}

.trip-summary-label[b-hh0q1ywivp] {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

/* ---------- Trip list ---------- */

.trips-list[b-hh0q1ywivp] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.trips-list[b-hh0q1ywivp]::-webkit-scrollbar {
    width: 4px;
}

.trips-list[b-hh0q1ywivp]::-webkit-scrollbar-thumb {
    background: rgba(27, 153, 134, 0.15);
    border-radius: 2px;
}

/* ---------- Trip card ---------- */

.trip-card[b-hh0q1ywivp] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 10px rgba(0,0,0,.04);
    cursor: pointer;
    transition: all 0.2s ease;
}

.trip-card:hover[b-hh0q1ywivp] {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(27, 153, 134, 0.2);
}

.trip-card.selected[b-hh0q1ywivp] {
    border-color: rgba(62, 200, 178, 0.3);
    background: rgba(62, 200, 178, 0.08);
}

/* ---------- Timeline column ---------- */

.trip-time-col[b-hh0q1ywivp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 50px;
}

.trip-time[b-hh0q1ywivp] {
    font-size: 13px;
    font-weight: 600;
    color: #1a2e2a;
    font-variant-numeric: tabular-nums;
}

.trip-connector[b-hh0q1ywivp] {
    width: 2px;
    height: 16px;
    background: rgba(62, 200, 178, 0.3);
    border-radius: 1px;
}

.trip-dot[b-hh0q1ywivp] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3EC8B2;
}

/* ---------- Trip details ---------- */

.trip-details[b-hh0q1ywivp] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trip-route[b-hh0q1ywivp] {
    font-size: 13px;
    font-weight: 500;
    color: #1a2e2a;
}

.trip-meta[b-hh0q1ywivp] {
    font-size: 11px;
    color: #5a7a74;
    display: flex;
    gap: 12px;
}

/* ---------- Trip energy column ---------- */

.trip-energy[b-hh0q1ywivp] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.trip-soc-change[b-hh0q1ywivp] {
    font-size: 14px;
    font-weight: 600;
    color: #ffc107;
}

.trip-efficiency[b-hh0q1ywivp] {
    font-size: 10px;
    color: #8fa8a0;
}

/* ---------- Odometer ---------- */

.trip-odometer[b-hh0q1ywivp] {
    font-size: 10px;
    color: #8fa8a0;
    font-variant-numeric: tabular-nums;
}

/* ---------- View All Trips link ---------- */

.trips-view-all[b-hh0q1ywivp] {
    display: flex;
    justify-content: center;
    padding: 12px 0;
}

.trips-view-all-link[b-hh0q1ywivp] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1B9986;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s;
}

.trips-view-all-link:hover[b-hh0q1ywivp] {
    background: rgba(27, 153, 134, 0.06);
    text-decoration: none;
}

/* ---------- Empty state ---------- */

.trips-empty[b-hh0q1ywivp] {
    text-align: center;
    padding: 40px;
    color: #bbb;
    font-size: 14px;
}
/* /Components/Pages/B2C/Cockpit/TripAnalysis.razor.rz.scp.css */
/* ============================================================
   Trip Analysis — Scoped Styles
   ============================================================ */

/* Loading and Error states */
.trip-loading[b-f2p0x7g64p] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 16px;
    background: #f5f6f8;
}

.trip-loading-text[b-f2p0x7g64p] {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #8fa8a0;
}

.trip-error[b-f2p0x7g64p] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 16px;
    padding: 40px;
    background: #f5f6f8;
}

/* ============================================================
   A. Trip Header Bar
   ============================================================ */
.trip-header[b-f2p0x7g64p] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 80px;
    background: #1A2332;
    border-bottom: 3px solid #1B9986;
    flex-shrink: 0;
}

.trip-header-left[b-f2p0x7g64p] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trip-header-date[b-f2p0x7g64p] {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.trip-header-route[b-f2p0x7g64p] {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}

.trip-header-right[b-f2p0x7g64p] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trip-header-stat[b-f2p0x7g64p] {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    font-variant-numeric: tabular-nums;
}

.trip-header-stat .sep[b-f2p0x7g64p] {
    color: rgba(255, 255, 255, 0.25);
    margin: 0 2px;
}

.header-back-btn[b-f2p0x7g64p] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #1B9986;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    margin-right: 16px;
    transition: background 0.2s;
    font-family: 'Open Sans', sans-serif;
}

.header-back-btn:hover[b-f2p0x7g64p] {
    background: rgba(27, 153, 134, 0.1);
}

/* ============================================================
   B + C. Main Layout: Map + Charts
   ============================================================ */
.trip-main[b-f2p0x7g64p] {
    display: flex;
    flex: 1;
    min-height: 0;
    height: calc(100vh - 83px);
}

/* B. Map Panel */
.map-panel[b-f2p0x7g64p] {
    flex: 0 0 55%;
    position: relative;
    min-height: 600px;
}

/* C. Charts Panel */
.charts-panel[b-f2p0x7g64p] {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* C1. Replay Controls */
.replay-controls[b-f2p0x7g64p] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    height: 48px;
    background: #fafbfc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}

.replay-btn[b-f2p0x7g64p] {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #1B9986;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.replay-btn:hover[b-f2p0x7g64p] {
    background: #168a79;
}

.replay-btn svg[b-f2p0x7g64p] {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.speed-pills[b-f2p0x7g64p] {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.speed-pill[b-f2p0x7g64p] {
    padding: 4px 10px;
    border: none;
    background: transparent;
    color: #8fa8a0;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.15s;
}

.speed-pill.active[b-f2p0x7g64p] {
    background: #1B9986;
    color: #fff;
}

.speed-pill:hover:not(.active)[b-f2p0x7g64p] {
    background: rgba(0, 0, 0, 0.04);
}

.replay-scrubber[b-f2p0x7g64p] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: #e0e4e8;
    outline: none;
    cursor: pointer;
}

.replay-scrubber[b-f2p0x7g64p]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1B9986;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.replay-scrubber[b-f2p0x7g64p]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1B9986;
    cursor: pointer;
    border: none;
}

.replay-time[b-f2p0x7g64p] {
    font-size: 12px;
    font-weight: 600;
    color: #5a7a72;
    font-variant-numeric: tabular-nums;
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
    min-width: 44px;
    text-align: right;
}

/* C2. Chart Sections */
.chart-section[b-f2p0x7g64p] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 6px 20px 2px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.chart-section:last-of-type[b-f2p0x7g64p] {
    border-bottom: none;
}

.chart-header[b-f2p0x7g64p] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.chart-title[b-f2p0x7g64p] {
    font-size: 12px;
    font-weight: 600;
    color: #5a7a72;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-legend[b-f2p0x7g64p] {
    display: flex;
    gap: 12px;
}

.legend-item[b-f2p0x7g64p] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #8fa8a0;
}

.legend-dot[b-f2p0x7g64p] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.chart-container[b-f2p0x7g64p] {
    width: 100%;
    flex: 1;
    min-height: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

/* Event legend badges */
.event-legend[b-f2p0x7g64p] {
    display: flex;
    gap: 14px;
    align-items: center;
}

.event-badge[b-f2p0x7g64p] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #8fa8a0;
}

.event-badge-icon[b-f2p0x7g64p] {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.event-badge-icon.brake[b-f2p0x7g64p] {
    border-bottom: 8px solid #E63946;
}

.event-badge-icon.accel[b-f2p0x7g64p] {
    border-top: 8px solid #52B788;
}

/* No telemetry data message */
.no-telemetry-message[b-f2p0x7g64p] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
    color: #8fa8a0;
    flex: 1;
}

.no-telemetry-message p[b-f2p0x7g64p] {
    margin: 16px 0 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #5a7a72;
}

.no-telemetry-message span[b-f2p0x7g64p] {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #8fa8a0;
}

/* D. Stats Cards */
.stats-section[b-f2p0x7g64p] {
    padding: 10px 20px;
    background: #fafbfc;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.stats-grid[b-f2p0x7g64p] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.stat-card[b-f2p0x7g64p] {
    padding: 14px 10px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.stat-card-val[b-f2p0x7g64p] {
    font-size: 18px;
    font-weight: 700;
    color: #1a2e2a;
    font-variant-numeric: tabular-nums;
}

.stat-card-label[b-f2p0x7g64p] {
    font-size: 10px;
    color: #8fa8a0;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
    .trip-main[b-f2p0x7g64p] {
        flex-direction: column;
        height: auto;
    }

    .map-panel[b-f2p0x7g64p] {
        flex: none;
        height: 400px;
        min-height: auto;
    }

    .charts-panel[b-f2p0x7g64p] {
        flex: none;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .stats-grid[b-f2p0x7g64p] {
        grid-template-columns: repeat(3, 1fr);
    }

    .trip-header-right[b-f2p0x7g64p] {
        display: none;
    }
}

@media (max-width: 768px) {
    .trip-header[b-f2p0x7g64p] {
        padding: 0 16px;
        height: 64px;
    }

    .trip-header-route[b-f2p0x7g64p] {
        font-size: 14px;
    }

    .map-panel[b-f2p0x7g64p] {
        height: 300px;
    }

    .replay-controls[b-f2p0x7g64p] {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 16px;
        gap: 8px;
    }

    .speed-pills[b-f2p0x7g64p] {
        order: 3;
    }

    .replay-scrubber[b-f2p0x7g64p] {
        order: 2;
        min-width: 100%;
    }

    .stats-grid[b-f2p0x7g64p] {
        grid-template-columns: repeat(2, 1fr);
    }

    .chart-section[b-f2p0x7g64p] {
        padding: 12px 16px 6px;
    }
}
/* /Components/Pages/B2C/Cockpit/TripHistory.razor.rz.scp.css */
/* ============================================================
   TRIP HISTORY PAGE
   ============================================================ */

/* Loading / Error states */
.history-loading[b-m0264weg5h],
.history-error[b-m0264weg5h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

/* Header */
.history-header[b-m0264weg5h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(27, 153, 134, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
}

.history-header-left[b-m0264weg5h] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.history-header-right[b-m0264weg5h] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-back-btn[b-m0264weg5h] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #1B9986;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.2s;
}

.header-back-btn:hover[b-m0264weg5h] {
    background: rgba(27, 153, 134, 0.06);
}

.history-title[b-m0264weg5h] {
    font-size: 18px;
    font-weight: 600;
    color: #1a2e2a;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.history-subtitle[b-m0264weg5h] {
    font-size: 12px;
    color: #8fa8a0;
    font-family: 'Open Sans', sans-serif;
}

/* Summary cards */
.history-summary[b-m0264weg5h] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px 24px 0;
}

.summary-card[b-m0264weg5h] {
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05), 0 4px 12px rgba(0, 0, 0, .05);
    text-align: center;
}

.summary-val[b-m0264weg5h] {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    font-variant-numeric: tabular-nums;
    font-family: 'Montserrat', sans-serif;
}

.summary-label[b-m0264weg5h] {
    font-size: 10px;
    color: #999;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Open Sans', sans-serif;
}

/* Filters */
.history-filters[b-m0264weg5h] {
    padding: 16px 24px;
}

.filter-row[b-m0264weg5h] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.filter-item[b-m0264weg5h] {
    flex: 1;
    min-width: 160px;
}

.filter-date[b-m0264weg5h] {
    flex: 2;
    min-width: 280px;
}

.filter-location[b-m0264weg5h] {
    flex: 1.5;
    min-width: 200px;
}

.filter-tag[b-m0264weg5h] {
    flex: 1;
    min-width: 160px;
}

/* Trip cards */
.history-item[b-m0264weg5h] {
    padding: 14px 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05), 0 4px 12px rgba(0, 0, 0, .05);
    cursor: pointer;
    transition: all 0.2s;
}

.history-item:hover[b-m0264weg5h] {
    border-color: rgba(27, 153, 134, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(27, 153, 134, 0.1);
}

.history-item-top[b-m0264weg5h] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.history-item-actions[b-m0264weg5h] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trip-distance-badge[b-m0264weg5h] {
    font-size: 11px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    padding: 2px 10px;
    border-radius: 10px;
    background: rgba(27, 153, 134, 0.08);
    color: #1B9986;
}

.history-date[b-m0264weg5h] {
    font-size: 12px;
    color: #5a7a74;
    font-family: 'Open Sans', sans-serif;
}

/* Route visual */
.trip-route-row[b-m0264weg5h] {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    align-items: stretch;
}

.trip-route-points[b-m0264weg5h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 2px 0;
    min-width: 12px;
}

.trip-route-dot[b-m0264weg5h] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.trip-route-dot.start[b-m0264weg5h] {
    background: #1B9986;
}

.trip-route-dot.end[b-m0264weg5h] {
    background: #d9534f;
}

.trip-route-line[b-m0264weg5h] {
    flex: 1;
    width: 2px;
    background: linear-gradient(to bottom, #1B9986, #d9534f);
    min-height: 16px;
}

.trip-route-addresses[b-m0264weg5h] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.trip-address[b-m0264weg5h] {
    font-size: 13px;
    color: #1a2e2a;
    font-family: 'Open Sans', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Stats row */
.history-stats[b-m0264weg5h] {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: #1a2e2a;
    font-family: 'Open Sans', sans-serif;
    margin-top: 8px;
    flex-wrap: wrap;
}

.trip-odometer[b-m0264weg5h] {
    color: #8fa8a0;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.history-energy[b-m0264weg5h] {
    color: #52B788;
    font-weight: 600;
}

.trip-efficiency[b-m0264weg5h] {
    color: #3E6AE1;
    font-weight: 600;
}

.trip-avg-speed[b-m0264weg5h] {
    color: #8fa8a0;
}

/* SOC row */
.trip-soc-row[b-m0264weg5h] {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 4px;
    font-size: 11px;
    font-family: 'Open Sans', sans-serif;
}

.trip-soc[b-m0264weg5h] {
    color: #5a7a74;
}

.trip-soc-delta[b-m0264weg5h] {
    color: #d9534f;
    font-weight: 600;
}

/* Meta row */
.history-meta-row[b-m0264weg5h] {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
    font-size: 11px;
    color: #8fa8a0;
    font-family: 'Open Sans', sans-serif;
}

/* Tags row */
.history-tags[b-m0264weg5h] {
    margin-top: 6px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .history-summary[b-m0264weg5h] {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-row[b-m0264weg5h] {
        flex-direction: column;
    }

    .filter-item[b-m0264weg5h] {
        min-width: unset;
        flex: unset;
        width: 100%;
    }
}
/* /Components/Pages/B2C/VehicleCockpit.razor.rz.scp.css */
.cockpit-direct-page[b-7d3kgmolz4] {
    min-height: 100vh;
    background: #F8F9FA;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cockpit-loading[b-7d3kgmolz4] {
    text-align: center;
    padding: 48px;
}
/* /Components/Shared/CockpitDrawer.razor.rz.scp.css */
/* ==========================================================================
   CockpitDrawer - Option 1C: Dock Navigation
   Floating centered aluminum tablet with iOS-style bottom dock navigation.
   Matches mockup-option1c-dock-nav.html pixel-perfectly.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Backdrop Overlay
   -------------------------------------------------------------------------- */

.drawer-backdrop[b-psskw9xea0] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1300;
    opacity: 0;
    transition: opacity 0.4s ease;
    cursor: pointer;
}

.drawer-backdrop.visible[b-psskw9xea0] {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Drawer Container (floating centered tablet, slides up from bottom)
   -------------------------------------------------------------------------- */

.drawer-container[b-psskw9xea0] {
    position: fixed;
    left: 50%;
    bottom: -800px;
    z-index: 1301;
    transform: translateX(-50%);
    transition: bottom 0.6s cubic-bezier(.22,.97,.32,1.01);
    pointer-events: none;
}

.drawer-container.open[b-psskw9xea0] {
    bottom: 24px;
    pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Tablet Frame (warm grey aluminum bezel)
   -------------------------------------------------------------------------- */

.drawer-tablet-frame[b-psskw9xea0] {
    width: 1200px;
    height: 820px;
    background: linear-gradient(145deg, #c8cbce, #b0b4b8);
    border-radius: 28px;
    padding: 10px;
    box-shadow:
        0 2px 8px rgba(0,0,0,.1),
        0 12px 40px rgba(0,0,0,.2),
        0 24px 60px rgba(0,0,0,.12),
        0 0 0 1px rgba(255,255,255,.4) inset,
        0 -1px 0 rgba(0,0,0,.15);
    position: relative;
}

/* --------------------------------------------------------------------------
   Tablet Screen
   -------------------------------------------------------------------------- */

.drawer-tablet-screen[b-psskw9xea0] {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #f8faf9;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 0 1px rgba(0,0,0,.1) inset;
}

/* --------------------------------------------------------------------------
   Status Bar (frosted glass, top of screen)
   -------------------------------------------------------------------------- */

.drawer-status-bar[b-psskw9xea0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 18px;
    height: 38px;
    min-height: 38px;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,.04);
    font-size: 12px;
    color: #555;
    flex-shrink: 0;
    z-index: 10;
}

.statusbar-left[b-psskw9xea0] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.statusbar-brand[b-psskw9xea0] {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 11px;
    color: #1B9986;
    letter-spacing: 1.5px;
}

.statusbar-updated[b-psskw9xea0] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: #999;
    letter-spacing: 0;
}

.statusbar-updated svg[b-psskw9xea0] {
    fill: #1B9986;
    animation: pulse-dot-b-psskw9xea0 2s ease-in-out infinite;
}

@keyframes pulse-dot-b-psskw9xea0 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.statusbar-center[b-psskw9xea0] {
    font-weight: 600;
    color: #333;
    font-size: 13px;
}

.statusbar-right[b-psskw9xea0] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.statusbar-time[b-psskw9xea0] {
    font-size: 11px;
    color: #555;
}

.statusbar-battery[b-psskw9xea0] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.statusbar-battery-pct[b-psskw9xea0] {
    font-size: 11px;
    color: #555;
}

.statusbar-battery-icon[b-psskw9xea0] {
    width: 22px;
    height: 11px;
    border: 1.5px solid #555;
    border-radius: 2px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 1.5px;
}

.statusbar-battery-icon[b-psskw9xea0]::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 5px;
    background: #555;
    border-radius: 0 1px 1px 0;
}

.statusbar-battery-fill[b-psskw9xea0] {
    height: 100%;
    background: #1B9986;
    border-radius: 1px;
}

/* --------------------------------------------------------------------------
   View Area (scrollable panel content)
   -------------------------------------------------------------------------- */

.drawer-view-area[b-psskw9xea0] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 18px;
    background: #f8faf9;
}

.drawer-view-area[b-psskw9xea0]::-webkit-scrollbar {
    width: 4px;
}

.drawer-view-area[b-psskw9xea0]::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.12);
    border-radius: 2px;
}

.drawer-view-area[b-psskw9xea0]::-webkit-scrollbar-track {
    background: transparent;
}

/* --------------------------------------------------------------------------
   Loading State
   -------------------------------------------------------------------------- */

.drawer-loading[b-psskw9xea0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 20px;
}

.drawer-loading-text[b-psskw9xea0] {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #999;
}

/* --------------------------------------------------------------------------
   Dock Navigation (iOS/Android tab bar style, bottom of screen)
   -------------------------------------------------------------------------- */

.drawer-dock[b-psskw9xea0] {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    padding: 4px 12px 6px;
    height: 56px;
    min-height: 56px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0,0,0,.06);
    flex-shrink: 0;
    z-index: 10;
}

/* --- Navigation buttons --- */

.dock-nav-btn[b-psskw9xea0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1;
    padding: 4px 0;
    border-radius: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: #999;
    transition: color 0.2s;
    position: relative;
}

.dock-nav-btn:hover[b-psskw9xea0] {
    color: #666;
}

.dock-nav-btn.active[b-psskw9xea0] {
    color: #1B9986;
    font-weight: 600;
}

.dock-nav-icon[b-psskw9xea0] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.dock-nav-icon[b-psskw9xea0]  svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: fill 0.2s;
}

.dock-nav-label[b-psskw9xea0] {
    font-size: 10px;
    line-height: 1;
}

/* --- Close button in dock --- */

.dock-close-btn[b-psskw9xea0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 0 0 auto;
    padding: 4px 16px;
    border-radius: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: #bbb;
    transition: color 0.2s;
}

.dock-close-btn:hover[b-psskw9xea0] {
    color: #c0392b;
}

.dock-close-btn svg[b-psskw9xea0] {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.dock-close-label[b-psskw9xea0] {
    font-size: 10px;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1280px) {
    .drawer-tablet-frame[b-psskw9xea0] {
        width: 95vw;
        max-width: 1200px;
        height: 820px;
    }
}

@media (max-width: 768px) {
    .drawer-tablet-frame[b-psskw9xea0] {
        width: calc(100vw - 16px);
        height: 85vh;
        border-radius: 20px;
        padding: 8px;
    }

    .drawer-tablet-screen[b-psskw9xea0] {
        border-radius: 14px;
    }

    .drawer-view-area[b-psskw9xea0] {
        padding: 12px;
    }

    .dock-nav-btn[b-psskw9xea0] {
        font-size: 9px;
    }

    .dock-nav-icon[b-psskw9xea0]  svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .drawer-container.open[b-psskw9xea0] {
        bottom: 0;
    }

    .drawer-tablet-frame[b-psskw9xea0] {
        width: 100vw;
        height: 95vh;
        border-radius: 16px 16px 0 0;
        padding: 6px 6px 0;
    }

    .drawer-tablet-screen[b-psskw9xea0] {
        border-radius: 12px 12px 0 0;
    }

    .drawer-status-bar[b-psskw9xea0] {
        padding: 6px 12px;
        height: 34px;
        min-height: 34px;
    }

    .drawer-dock[b-psskw9xea0] {
        padding: 4px 8px 6px;
    }
}
/* /Components/Shared/SessionHistory/DateRangeFilter.razor.rz.scp.css */
.date-range-filter[b-wjnmgc23x4] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.date-range-presets[b-wjnmgc23x4] {
    display: flex;
    align-items: center;
}

[b-wjnmgc23x4] .preset-buttons .mud-button {
    text-transform: none;
    font-size: 0.8125rem;
    min-width: 48px;
    padding: 4px 12px;
}
/* /Components/Shared/SessionHistory/SessionListLayout.razor.rz.scp.css */
.session-list-layout[b-lpma2l7r0h] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.session-list-items[b-lpma2l7r0h] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.session-list-empty[b-lpma2l7r0h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem 1rem;
}

.session-list-pagination[b-lpma2l7r0h] {
    display: flex;
    justify-content: center;
    padding: 0.75rem 0;
}
/* /Components/Shared/Tags/TagChipGroup.razor.rz.scp.css */
/* ============================================================
   TAG CHIP GROUP
   ============================================================ */

.tag-chip-group[b-jfno3xg2pu] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

[b-jfno3xg2pu] .tag-chip {
    font-size: 10px;
    height: 22px;
}

[b-jfno3xg2pu] .tag-add-chip {
    font-size: 10px;
    height: 22px;
    cursor: pointer;
    color: #8fa8a0;
    border: 1px dashed rgba(27, 153, 134, 0.3);
    border-radius: 16px;
}

[b-jfno3xg2pu] .tag-add-chip:hover {
    border-color: #1B9986;
    color: #1B9986;
}

.tag-autocomplete-wrapper[b-jfno3xg2pu] {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 160px;
}

[b-jfno3xg2pu] .tag-autocomplete {
    font-size: 12px;
}

[b-jfno3xg2pu] .tag-autocomplete-close {
    padding: 2px;
}
