/* EVOLT DIGITAL - CSS dipindahkan dari file original */

:root{--navy:#07111f;--panel:#0d1b2d;--line:#21344c;--blue:#1687ff;--red:#f05252;--ink:#122033;--muted:#6b7a90;--paper:#f4f7fb;--green:#18a979;--amber:#f5a524}

*{box-sizing:border-box}

body{
    margin:0;
    font-family:'DM Sans',sans-serif;
    background:var(--paper);
    color:var(--ink)
}

.app-shell{
    width:100%;
    min-height:calc(100 * min(var(--vh,1vh),1vh));
    display:flex;
    background:var(--paper)
}

.sidebar{
    width:256px;
    background:linear-gradient(180deg,#07111f 0%,#0b1727 100%);
    color:#dce8f8;
    display:flex;
    flex-direction:column;
    position:fixed;
    inset:0 auto 0 0;
    z-index:20;
    border-right:1px solid #17283c;
    transition:transform .25s ease;
    scrollbar-width:none;
    -ms-overflow-style:none
}

.sidebar::-webkit-scrollbar,
.sidebar nav::-webkit-scrollbar{
    display:none;
    width:0;
    height:0
}

.sidebar nav{
    scrollbar-width:none;
    -ms-overflow-style:none
}

.sidebar.open{
    transform:translateX(0)
}

.sidebar-scrim{
    display:none;
    position:fixed;
    inset:0;
    background:#06111b99;
    z-index:15
}

.sidebar-scrim.show{
    display:block
}

.menu-toggle{
    display:none;
    border:1px solid #dce4ef;
    border-radius:8px;
    padding:8px;
    color:#34465d;
    background:#fff
}

.brand-mark img{
    width:100%;
    height:100%;
    object-fit:contain
}

.brand-mark{
    width:100%;
    height:58px;
    display:grid;
    place-items:center;
    padding:0 8px
}

.brand-mark img{
    width:100%;
    height:100%;
    object-fit:contain;
    max-width:220px
}

.nav-group-label{
    padding:14px 14px 5px;
    color:#5f7896;
    font:700 9px 'Space Mono',monospace;
    letter-spacing:.12em
}

.nav-item{
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
    padding:10px 14px;
    border-radius:9px;
    color:#a8b9cf;
    font-size:13px;
    text-align:left;
    transition:.2s
}

.nav-item:hover,
.nav-item.active{
    background:#163152;
    color:#fff
}

.nav-item.active{
    box-shadow:inset 3px 0 #29a4ff
}

.nav-item svg{
    width:17px;
    height:17px
}

.workspace{
    width:calc(100% - 256px);
    margin-left:256px;
    min-height:100%;
    display:flex;
    flex-direction:column
}

.topbar{
    height:74px;
    background:#fff;
    border-bottom:1px solid #e2e8f0;
    display:flex;
    align-items:center;
    padding:0 24px;
    gap:10px;
    position:sticky;
    top:0;
    z-index:10;
    min-width:0
}

.search-wrap{
    min-width:180px;
    max-width:360px;
    flex:1 1 280px;
    position:relative
}

.search-wrap input{
    width:100%;
    border:1px solid #dce4ef;
    border-radius:9px;
    padding:10px 11px 10px 36px;
    font-size:12px;
    outline:none;
    text-overflow:ellipsis
}

.search-wrap input:focus{
    border-color:#1687ff;
    box-shadow:0 0 0 3px #1687ff18
}

.topbar>.filter{
    flex:0 1 auto;
    white-space:nowrap;
    min-width:0
}

.topbar>.hide-mobile{
    max-width:190px;
    overflow:hidden;
    text-overflow:ellipsis
}

.topbar>span.hide-mobile{
    max-width:145px
}

.topbar>#notification-btn{
    flex:0 0 auto;
    margin-left:auto
}

@media(min-width:1051px) and (max-width:1250px){
    .topbar{
        padding:0 16px;
        gap:8px
    }

    .search-wrap{
        flex-basis:220px
    }

    .topbar>.hide-mobile{
        font-size:10px;
        padding:7px 8px
    }

    .topbar>span.hide-mobile{
        font-size:10px;
        max-width:118px
    }
}

@media(min-width:1251px){
    .topbar{
        padding-left:30px;
        padding-right:30px
    }

    .search-wrap{
        max-width:420px
    }
}

.page{
    display:none;
    padding:30px;
    animation:fade .3s ease
}

.page.active{
    display:block
}

@keyframes fade{
    from{
        opacity:.3;
        transform:translateY(5px)
    }

    to{
        opacity:1;
        transform:none
    }
}

.eyebrow{
    font-family:'Space Mono',monospace;
    font-size:10px;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#1687ff;
    font-weight:bold
}

.title{
    font-size:26px;
    line-height:1.15;
    font-weight:700;
    letter-spacing:-.035em
}

.sub{
    font-size:13px;
    color:var(--muted)
}

.card{
    background:#fff;
    border:1px solid #e5eaf1;
    border-radius:14px;
    box-shadow:0 4px 14px #09204408
}

.panel-dark{
    background:linear-gradient(135deg,#0c1a2c,#102b47);
    color:#fff;
    border-radius:14px;
    border:1px solid #1d4267
}

.kpi{
    padding:17px;
    min-height:138px;
    position:relative;
    overflow:hidden
}

.kpi-icon{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border-radius:10px;
    background:#eaf5ff;
    color:#1687ff
}

.kpi-icon svg{
    width:18px
}

.trend{
    font-size:11px;
    font-weight:700;
    color:#139c70;
    background:#e8f8f2;
    padding:3px 6px;
    border-radius:5px
}

.spark{
    position:absolute;
    right:13px;
    bottom:13px;
    opacity:.8
}

.btn{
    border-radius:8px;
    padding:10px 13px;
    font-size:12px;
    font-weight:700;
    display:inline-flex;
    align-items:center;
    gap:7px;
    transition:.2s
}

.btn svg{
    width:15px;
    height:15px
}

.btn-primary{
    background:#1687ff;
    color:#fff;
    box-shadow:0 5px 12px #1687ff33
}

.btn-primary:hover{
    background:#0876e8
}

.btn-soft{
    background:#edf5ff;
    color:#1476dc
}

.btn-line{
    border:1px solid #dce4ef;
    color:#4e6076;
    background:#fff
}

.section-head{
    display:flex;
    align-items:end;
    justify-content:space-between;
    margin-bottom:14px;
    gap:15px
}

.metric-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px
}

.workflow{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:9px
}

.flow-card{
    cursor:pointer;
    padding:13px 11px;
    border:1px solid #e4eaf2;
    border-radius:10px;
    background:#fff;
    transition:.2s
}

.flow-card:hover,
.flow-card.selected{
    border-color:#1687ff;
    background:#f0f8ff;
    transform:translateY(-2px)
}

.flow-card .num{
    font-family:'Space Mono';
    font-size:20px;
    font-weight:bold;
    color:#14243a
}

table{
    width:100%;
    border-collapse:collapse
}

th{
    color:#7a899d;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.06em;
    text-align:left;
    padding:0 12px 11px
}

td{
    font-size:12px;
    color:#34465d;
    padding:13px 12px;
    border-top:1px solid #edf1f5
}

.status{
    display:inline-flex;
    border-radius:999px;
    padding:4px 8px;
    font-size:10px;
    font-weight:700
}

.confirmed,
.paid,
.good,
.active-status{
    background:#e6f8f1;
    color:#0a8a61
}

.checkin,
.pending,
.warning{
    background:#fff5db;
    color:#a76b00
}

.service,
.diagnosis{
    background:#eaf4ff;
    color:#0873d1
}

.critical,
.overdue{
    background:#ffe9e9;
    color:#c93f3f
}

.ready{
    background:#f0eaff;
    color:#7346d9
}

.bay{
    border-left:3px solid #1687ff;
    padding:13px;
    background:#f9fbfd;
    border-radius:8px
}

.bay.available{
    border-left-color:#18a979
}

.bay.maintenance{
    border-left-color:#f5a524
}

.mini-bar{
    height:8px;
    border-radius:20px;
    background:#e8eef5;
    overflow:hidden
}

.mini-bar span{
    display:block;
    height:100%;
    border-radius:20px;
    background:linear-gradient(90deg,#1687ff,#53b8ff)
}

.view-grid{
    display:grid;
    grid-template-columns:1.4fr .9fr;
    gap:18px
}

.filter-row{
    display:flex;
    gap:8px;
    flex-wrap:wrap
}

.filter{
    border:1px solid #dce4ef;
    background:#fff;
    border-radius:8px;
    padding:8px 10px;
    font-size:11px;
    color:#596a80
}

.stats-row{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:11px
}

.stat{
    padding:14px
}

.stat b{
    display:block;
    font-size:19px;
    margin-top:6px
}

.tab{
    padding:9px 0;
    margin-right:21px;
    font-size:12px;
    color:#708098;
    border-bottom:2px solid transparent
}

.tab.active{
    color:#1687ff;
    border-color:#1687ff;
    font-weight:700
}

/* Vehicle Health Ring */

.health-ring{
    width:154px;
    height:154px;
    border-radius:50%;
    background:conic-gradient(#1bad7d 0 331deg,#e5edf2 331deg);
    display:grid;
    place-items:center;
    margin:auto
}

.health-inner{
    width:123px;
    height:123px;
    border-radius:50%;
    background:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:5px;
    padding:10px
}

.health-inner small{
    display:block;
    line-height:1.2;
    font-size:10px
}

.health-inner strong{
    display:block;
    font-family:'Space Mono';
    font-size:28px;
    line-height:1;
    margin:2px 0
}

.diagnostic-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px
}

.subsystem{
    padding:12px;
    border:1px solid #e5eaf1;
    border-radius:10px
}

.subsystem strong{
    font-size:12px
}

.gauge{
    height:5px;
    background:#e5edf2;
    border-radius:99px;
    margin-top:8px
}

.gauge span{
    display:block;
    height:100%;
    background:#18a979;
    border-radius:99px
}

.chart{
    height:220px;
    position:relative;
    overflow:hidden;
    background:linear-gradient(180deg,#f8fbff,#fff);
    border-radius:11px
}

.chart svg{
    width:100%;
    height:100%
}

.chart-line{
    fill:none;
    stroke:#1687ff;
    stroke-width:3
}

.chart-fill{
    fill:#1687ff14
}

.gridline{
    stroke:#dfe9f3;
    stroke-width:1
}

.modal-layer{
    display:none;
    position:fixed;
    inset:0;
    background:#06111bb8;
    z-index:40;
    align-items:center;
    justify-content:center;
    padding:20px
}

.modal-layer.show{
    display:flex
}

.modal{
    width:min(680px,100%);
    background:#fff;
    border-radius:16px;
    box-shadow:0 20px 70px #0007;
    padding:25px
}

.step-dot{
    width:25px;
    height:25px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#e8eef5;
    color:#64748b;
    font-size:11px;
    font-weight:bold
}

.step-dot.on{
    background:#1687ff;
    color:#fff
}

.toast{
    position:fixed;
    right:24px;
    bottom:22px;
    background:#102940;
    color:#fff;
    padding:13px 16px;
    border-radius:9px;
    font-size:12px;
    box-shadow:0 10px 28px #00152b40;
    display:none;
    z-index:70
}

.toast.show{
    display:block;
    animation:fade .3s
}

.notification-panel{
    display:none;
    position:absolute;
    right:30px;
    top:65px;
    width:340px;
    padding:16px;
    z-index:30
}

.notification-panel.show{
    display:block
}

.search-results{
    display:none;
    position:absolute;
    top:43px;
    left:0;
    right:0;
    background:#fff;
    border:1px solid #dce4ef;
    border-radius:10px;
    box-shadow:0 12px 30px #10203b18;
    overflow:hidden;
    z-index:30
}

.search-results.show{
    display:block
}

.result{
    padding:10px 14px;
    border-bottom:1px solid #edf1f5;
    font-size:12px
}

.result:last-child{
    border:0
}

.auth-screen{
    position:fixed;
    inset:0;
    z-index:100;
    background:#f7f9fc;
    color:#fff;
    overflow:auto
}

.auth-grid{
    min-height:calc(100 * min(var(--vh,1vh),1vh));
    height:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
    max-width:none;
    margin:auto;
    align-items:stretch;
    gap:0;
    padding:0
}

.auth-visual{
    position:relative;
    height:100%;
    min-height:calc(100 * min(var(--vh,1vh),1vh));
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:70px 10%;
    background:linear-gradient(145deg,#173d67 0%,#0b2445 56%,#071a35 100%);
    overflow:hidden
}

.auth-brand-lockup{
    position:absolute;
    left:10%;
    top:24px;
    z-index:2;
    width:150px;
    height:54px;
    padding:0
}

.auth-logo{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:left center
}

.auth-visual:after{
    content:'';
    position:absolute;
    width:560px;
    height:560px;
    border:1px solid #4da7ff2b;
    border-radius:50%;
    right:-230px;
    top:18%;
    box-shadow:0 0 100px #1687ff20,inset 0 0 80px #1687ff10
}

.auth-kicker{
    font:700 9px 'Space Mono';
    letter-spacing:.14em;
    color:#8dccff
}

.auth-title{
    font-size:clamp(28px,3vw,45px);
    line-height:1.05;
    font-weight:700;
    letter-spacing:-.045em;
    max-width:520px;
    margin:18px 0 8px
}

.auth-tagline{
    color:#c3d8ec;
    font-size:13px;
    max-width:400px
}

.auth-card{
    background:#fff;
    color:#122033;
    border:1px solid #e5ebf3;
    border-radius:8px;
    padding:30px;
    box-shadow:0 16px 45px #10294a12;
    max-width:430px;
    width:calc(100% - 48px);
    justify-self:center;
    align-self:center
}

.auth-mobile-logo{
    display:none;
    width:190px;
    height:58px;
    object-fit:contain;
    object-position:left center;
    margin:0 auto 22px
}

.auth-card input,
.auth-card select{
    width:100%;
    border:1px solid #dce4ef;
    border-radius:5px;
    padding:10px;
    margin-top:7px;
    outline:none;
    font-size:11px
}

.auth-card input:focus,
.auth-card select:focus{
    border-color:#1687ff;
    box-shadow:0 0 0 3px #1687ff22
}

.otp{
    display:flex;
    gap:8px
}

.otp input{
    text-align:center;
    font:bold 22px 'Space Mono';
    padding:12px 4px
}

.auth-hidden{
    display:none!important
}

.auth-choice{
    border:1px solid #e4eaf2;
    border-radius:8px;
    padding:14px;
    text-align:left;
    transition:.2s
}

.auth-choice:hover{
    border-color:#1687ff;
    background:#f3f9ff
}

.role-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px
}

.security-note{
    font-size:9px;
    color:#718096;
    line-height:1.5;
    margin-top:18px
}

@media(max-width:800px){
    .auth-grid{
        grid-template-columns:1fr;
        gap:0;
        min-height:100%;
        padding:16px 0
    }

    .auth-visual{
        display:none
    }

    .auth-mobile-logo{
        display:block
    }

    .auth-card{
        width:calc(100% - 32px);
        max-width:none;
        margin:0 auto;
        align-self:center
    }

    .auth-title{
        font-size:34px
    }

    .auth-tagline{
        font-size:13px
    }
}

/* Penyesuaian setelah halaman dipisahkan */

.auth-visual{
    grid-column:1;
    grid-row:1
}

.auth-card{
    grid-column:2;
    grid-row:1
}

@media(max-width:800px){
    .auth-card{
        grid-column:1;
        grid-row:1
    }
}

/* Elemen tambahan */

.icon-18{
    width:18px;
    height:18px
}

.progress-fill{
    display:block;
    height:100%;
    border-radius:20px
}

.progress-10{
    width:10%
}

.progress-16{
    width:16%
}

.progress-18{
    width:18%
}

.progress-19{
    width:19%
}

.progress-27{
    width:27%
}

.progress-38{
    width:38%
}

.progress-45{
    width:45%
}

.progress-70{
    width:70%
}

.progress-72{
    width:72%
}

.progress-75{
    width:75%
}

.progress-88{
    width:88%
}

.progress-90{
    width:90%
}

.progress-91{
    width:91%
}

.progress-93{
    width:93%
}

.progress-94{
    width:94%
}

.progress-95{
    width:95%
}

/* Progress bar yang disembunyikan oleh filter booking */

.booking-row-hidden{
    display:none
}

@media(max-width:1050px){
    .metric-grid{
        grid-template-columns:repeat(2,1fr)
    }

    .workflow{
        grid-template-columns:repeat(4,1fr)
    }

    .stats-row{
        grid-template-columns:repeat(3,1fr)
    }

    .view-grid{
        grid-template-columns:1fr
    }

    .sidebar{
        width:72px
    }

    .sidebar .nav-label,
    .sidebar .profile-copy,
    .sidebar .brand-copy,
    .sidebar .outlet-copy{
        display:none
    }

    .sidebar .nav-item{
        justify-content:center
    }

    .workspace{
        margin-left:72px;
        width:calc(100% - 72px)
    }
}

@media(max-width:700px){
    .topbar{
        padding:0 14px
    }

    .page{
        padding:18px
    }

    .metric-grid,
    .stats-row{
        grid-template-columns:1fr 1fr
    }

    .workflow{
        grid-template-columns:repeat(2,1fr)
    }

    .topbar .hide-mobile{
        display:none
    }

    .table-wrap{
        overflow:auto
    }

    .menu-toggle{
        display:grid;
        place-items:center
    }

    .sidebar{
        display:flex;
        width:256px;
        transform:translateX(-100%)
    }

    .sidebar .nav-label,
    .sidebar .profile-copy,
    .sidebar .brand-copy,
    .sidebar .outlet-copy{
        display:block
    }

    .sidebar .nav-item{
        justify-content:flex-start
    }

    .workspace{
        margin-left:0;
        width:100%
    }

    .title{
        font-size:22px
    }
}