/* =========================================================
   Bravo UI — SweetAlert & Form Helpers
   Tema: JUKIR (#206BC4)
   ========================================================= */

:root {
    --bravo-primary: #206bc4;
    --bravo-primary-dark: #15539d;
    --bravo-success: #2fb344;
    --bravo-warning: #f59f00;
    --bravo-danger: #d63939;
    --bravo-info: #4299e1;
    --bravo-radius: 16px;
    --bravo-shadow: 0 18px 48px rgba(24, 36, 51, .16);
}

/* ---- SweetAlert base ---- */
.swal2-container {
    font-family: Inter, system-ui, -apple-system, sans-serif !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 2000000 !important;
    background-color: rgba(24, 36, 51, .48) !important;
}

.swal2-popup,
.swal2-popup.swal2-show,
.swal2-popup.swal2-hide {
    animation: none !important;
}

.swal2-popup.bravo-swal {
    background: #fff !important;
    opacity: 1 !important;
    transform: none !important;
    border-radius: var(--bravo-radius) !important;
    box-shadow: var(--bravo-shadow) !important;
    padding: 1.75rem 1.5rem 1.5rem !important;
    border: 1px solid rgba(32, 107, 196, .08);
}

.swal2-popup.bravo-swal .swal2-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #182433 !important;
    margin-top: .35rem !important;
}

.swal2-popup.bravo-swal .swal2-html-container {
    color: #667382 !important;
    font-size: .9rem !important;
    line-height: 1.55 !important;
}

.swal2-popup.bravo-swal .swal2-actions {
    gap: .55rem !important;
    margin-top: 1.25rem !important;
}

.swal2-popup.bravo-swal .swal2-styled {
    border-radius: 10px !important;
    font-weight: 600 !important;
    padding: .65rem 1.2rem !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.swal2-popup.bravo-swal .swal2-confirm {
    background: linear-gradient(145deg, #2582df, var(--bravo-primary-dark)) !important;
}

.swal2-popup.bravo-swal .swal2-cancel {
    background: #edf1f5 !important;
    color: #45566a !important;
}

.swal2-popup.bravo-swal .swal2-deny {
    background: var(--bravo-danger) !important;
}

/* Icon badge */
.bravo-swal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto .35rem;
    display: grid;
    place-items: center;
    border-radius: 20px;
    font-size: 1.85rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.bravo-swal-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.28), transparent 55%);
    pointer-events: none;
}

.bravo-swal-icon.success { background: linear-gradient(145deg, #46c65c, #1f8f35); box-shadow: 0 10px 24px rgba(47, 179, 68, .35); }
.bravo-swal-icon.warning { background: linear-gradient(145deg, #ffb429, #d68700); box-shadow: 0 10px 24px rgba(245, 159, 0, .35); }
.bravo-swal-icon.danger  { background: linear-gradient(145deg, #ef5b5b, #b91f1f); box-shadow: 0 10px 24px rgba(214, 57, 57, .35); }
.bravo-swal-icon.info    { background: linear-gradient(145deg, #5eb0ef, #2478c4); box-shadow: 0 10px 24px rgba(66, 153, 225, .35); }
.bravo-swal-icon.confirm { background: linear-gradient(145deg, #2582df, #15539d); box-shadow: 0 10px 24px rgba(32, 107, 196, .35); }

.flatpickr-calendar {
    z-index: 1085 !important;
}

body.swal2-shown .flatpickr-calendar {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Type accents */
.swal2-popup.bravo-swal.bravo-success { border-top: 4px solid var(--bravo-success); }
.swal2-popup.bravo-swal.bravo-warning { border-top: 4px solid var(--bravo-warning); }
.swal2-popup.bravo-swal.bravo-danger  { border-top: 4px solid var(--bravo-danger); }
.swal2-popup.bravo-swal.bravo-info    { border-top: 4px solid var(--bravo-info); }
.swal2-popup.bravo-swal.bravo-confirm { border-top: 4px solid var(--bravo-primary); }
.swal2-popup.bravo-swal.bravo-loading { border-top: 4px solid var(--bravo-primary); }

/* Car loader */
.bravo-car-loader {
    position: relative;
    width: 140px;
    height: 88px;
    margin: .25rem auto .5rem;
}

.bravo-car-loader .road {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 4px;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, #c8d4e3 15%, #c8d4e3 85%, transparent);
    overflow: hidden;
}

.bravo-car-loader .road::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 2px;
    margin-top: -1px;
    background: repeating-linear-gradient(90deg, #fff 0 12px, transparent 12px 24px);
    animation: bravo-road 1s linear infinite;
}

.bravo-car-loader .car {
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: 56px;
    height: 56px;
    margin-left: -28px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.55rem;
    border-radius: 16px;
    background: linear-gradient(145deg, #2582df, #15539d);
    box-shadow: 0 12px 28px rgba(32, 107, 196, .4);
    animation: bravo-bounce 1.1s ease-in-out infinite;
}

.bravo-car-loader .car::before,
.bravo-car-loader .car::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.75);
    bottom: -4px;
    box-shadow: 0 0 0 3px rgba(32, 107, 196, .25);
}

.bravo-car-loader .car::before { left: 10px; }
.bravo-car-loader .car::after { right: 10px; }

.bravo-car-loader .spark {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7eb6f5;
    opacity: .7;
    animation: bravo-spark 1.2s ease-out infinite;
}

.bravo-car-loader .spark.s1 { left: 18px; top: 28px; animation-delay: 0s; }
.bravo-car-loader .spark.s2 { right: 16px; top: 20px; animation-delay: .35s; }
.bravo-car-loader .spark.s3 { left: 30px; top: 12px; animation-delay: .7s; }

@keyframes bravo-road {
    from { transform: translateX(0); }
    to { transform: translateX(-24px); }
}

@keyframes bravo-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes bravo-spark {
    0% { transform: translateX(0) scale(1); opacity: .8; }
    100% { transform: translateX(-18px) scale(.4); opacity: 0; }
}

/* Select2 + Flatpickr + Quill polish */
.select2-container--bootstrap-5 .select2-selection {
    min-height: 38px;
    border-color: #e6e9ee !important;
    border-radius: 9px !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: #e6e9ee !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 28px rgba(24, 36, 51, .1);
}

.cetak-filter-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: .5rem;
}

.cetak-filter-upt {
    width: 220px;
    min-width: 220px;
    flex: 0 0 220px;
}

.cetak-filter-upt .select2-container,
.cetak-filter-upt .select2-container--bootstrap-5 {
    width: 100% !important;
    display: block;
}

.cetak-filter-bar .btn {
    flex: 0 0 auto;
}

.flatpickr-calendar {
    z-index: 1085 !important;
    border-radius: 14px !important;
    box-shadow: var(--bravo-shadow) !important;
    border: 1px solid #e6e9ee;
    font-family: Inter, system-ui, sans-serif;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--bravo-primary) !important;
    border-color: var(--bravo-primary) !important;
}

.ql-toolbar.ql-snow,
.ql-container.ql-snow {
    border-color: #e6e9ee !important;
}

.ql-toolbar.ql-snow {
    border-radius: 9px 9px 0 0 !important;
    background: #f6f8fb;
}

.ql-container.ql-snow {
    border-radius: 0 0 9px 9px !important;
    min-height: 140px;
    font-family: Inter, system-ui, sans-serif;
    font-size: .875rem;
}

.wysiwyg-wrap + textarea,
textarea.wysiwyg-source {
    display: none !important;
}

[data-bs-theme="dark"] .swal2-popup.bravo-swal {
    background: #1b2533 !important;
    border-color: #2c3847;
}

[data-bs-theme="dark"] .swal2-popup.bravo-swal .swal2-title {
    color: #edf2f7 !important;
}

[data-bs-theme="dark"] .swal2-popup.bravo-swal .swal2-html-container {
    color: #9aa8b8 !important;
}

[data-bs-theme="dark"] .swal2-popup.bravo-swal .swal2-cancel {
    background: #2c3847 !important;
    color: #edf2f7 !important;
}

/* =========================================================
   Auth pages (login / forgot / register)
   ========================================================= */
:root {
    --auth-navy: #0b2748;
    --auth-navy-2: #123a66;
    --auth-blue: #206bc4;
    --auth-blue-soft: #eaf2fc;
    --auth-green: #0f9f6e;
    --auth-amber: #e89a1c;
    --auth-sky: #3b9eff;
    --auth-text: #182433;
    --auth-muted: #667382;
}

* {
    box-sizing: border-box;
}

body.auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    background: var(--auth-navy);
    color: var(--auth-text);
}

.auth-shell {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    min-height: 100vh;
}

/* ===== LEFT PANEL ===== */
.auth-hero {
    position: relative;
    overflow: hidden;
    padding: 2rem 2.5rem 2.5rem;
    color: #fff;
    background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(59, 158, 255, .35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(15, 159, 110, .22), transparent 50%),
    linear-gradient(160deg, #0a2240 0%, #123a66 48%, #0d2f52 100%);
    display: flex;
    flex-direction: column;
}

.auth-hero__skyline {
    position: absolute;
    inset: auto 0 0 0;
    height: 140px;
    background:
    linear-gradient(180deg, transparent, rgba(8, 28, 52, .55)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 160' preserveAspectRatio='none'%3E%3Cpath fill='%23071a33' d='M0 160V95h40V70h30v25h50V50h40v45h60V40h35v55h55V60h45v35h70V30h50v65h40V55h35v40h80V45h40v50h60V35h55v60h45V70h40v25h70V50h50v45h80V40h60v55h90V65h40v30h55V55h45v40h60V80h40v80z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
    opacity: .85;
    pointer-events: none;
}

.auth-hero__cars {
    position: absolute;
    inset: auto 8% 28px auto;
    display: flex;
    gap: .75rem;
    font-size: 2rem;
    color: rgba(255, 255, 255, .18);
    z-index: 1;
    animation: authFloat 5s ease-in-out infinite;
}

.auth-hero__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.auth-hero__brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #fff;
    text-decoration: none;
    max-width: 75%;
}

.auth-hero__brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
    padding: .3rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

.auth-hero__brand-text {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.35;
    text-transform: uppercase;
    opacity: .92;
}

.auth-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
}

.auth-status__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2fb344;
    box-shadow: 0 0 0 3px rgba(47, 179, 68, .25);
    animation: authPulse 1.8s ease-in-out infinite;
}

.auth-hero__content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin: auto 0;
}

.auth-greet {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f08c00, #e8590c);
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 8px 18px rgba(232, 89, 12, .28);
}

.auth-hero__title {
    margin: 0 0 .75rem;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.auth-hero__desc {
    margin: 0 0 1.75rem;
    font-size: .98rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, .78);
    max-width: 42ch;
}

.auth-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

.auth-feature {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .85rem .9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
    transition: transform .2s ease, background .2s ease;
}

.auth-feature:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .11);
}

.auth-feature__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    flex: 0 0 auto;
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
}

.auth-feature__icon--monitor {
    background: linear-gradient(145deg, #3b9eff, #206bc4);
}

.auth-feature__icon--pad {
    background: linear-gradient(145deg, #20c997, #0f9f6e);
}

.auth-feature__icon--kelola {
    background: linear-gradient(145deg, #ff922b, #e8590c);
}

.auth-feature__icon--motor {
    background: linear-gradient(145deg, #845ef7, #5f3dc4);
}

.auth-feature__title {
    margin: 0 0 .15rem;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.25;
}

.auth-feature__sub {
    margin: 0;
    font-size: .72rem;
    color: rgba(255, 255, 255, .62);
    line-height: 1.35;
}

/* ===== RIGHT PANEL ===== */
.auth-panel {
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background:
    radial-gradient(circle at 90% 10%, #dceafc, transparent 40%),
    linear-gradient(180deg, #f4f7fb 0%, #e9eef5 100%);
}

.auth-card-wrap {
    width: 100%;
    max-width: 440px;
}

.auth-card-box {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(24, 36, 51, .06);
    box-shadow: 0 20px 50px rgba(18, 50, 90, .12);
    padding: 1.75rem 1.6rem 1.5rem;
    animation: authCardIn .55s cubic-bezier(.22, 1, .36, 1) both;
}

.auth-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.auth-card-head h1 {
    margin: .35rem 0 .35rem;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--auth-text);
}

.auth-card-head p {
    margin: 0;
    font-size: .86rem;
    color: var(--auth-muted);
    line-height: 1.45;
}

.auth-card-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 11px;
    background: var(--auth-blue-soft);
    padding: .35rem;
}

.auth-ver {
    flex: 0 0 auto;
    padding: .3rem .55rem;
    border-radius: 8px;
    background: #eef3f8;
    color: var(--auth-muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.auth-label {
    display: block;
    margin-bottom: .4rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #5c6b7a;
}

.auth-field {
    position: relative;
    margin-bottom: 1rem;
}

.auth-field .form-control {
    height: 48px;
    padding-left: 2.6rem;
    border-radius: 12px;
    border-color: #dfe6ee;
    background: #f7f9fc;
    font-size: .92rem;
}

.auth-field .form-control:focus {
    background: #fff;
    border-color: var(--auth-blue);
    box-shadow: 0 0 0 .2rem rgba(32, 107, 196, .15);
}

.auth-field__icon {
    position: absolute;
    left: .95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8a97a8;
    font-size: 1.05rem;
    z-index: 2;
    pointer-events: none;
}

.auth-field--password .form-control {
    padding-right: 2.8rem;
}

.auth-field__toggle {
    position: absolute;
    right: .35rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #8a97a8;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    z-index: 2;
}

.auth-field__toggle:hover {
    color: var(--auth-blue);
    background: var(--auth-blue-soft);
}

.auth-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: .25rem 0 1.15rem;
    font-size: .86rem;
}

.auth-meta a {
    color: var(--auth-blue);
    font-weight: 600;
    text-decoration: none;
}

.auth-meta a:hover {
    text-decoration: underline;
}

.auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #2b8ae0, #15539d);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .02em;
    box-shadow: 0 12px 24px rgba(32, 107, 196, .32);
    transition: transform .18s ease, box-shadow .18s ease;
}

.auth-submit:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(32, 107, 196, .4);
}

.auth-foot {
    margin-top: 1.15rem;
    text-align: center;
    font-size: .84rem;
    color: var(--auth-muted);
}

.auth-foot a {
    color: var(--auth-blue);
    font-weight: 600;
    text-decoration: none;
}

.auth-copy {
    margin-top: 1.25rem;
    text-align: center;
    font-size: .75rem;
    color: #8a97a8;
}

.auth-vehicles {
    display: flex;
    justify-content: center;
    gap: .65rem;
    margin-bottom: 1rem;
}

.auth-vehicles span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 8px 16px rgba(24, 36, 51, .12);
}

.auth-vehicles span:first-child {
    background: linear-gradient(145deg, #3b9eff, #206bc4);
}

.auth-vehicles span:last-child {
    background: linear-gradient(145deg, #20c997, #0f9f6e);
}

@keyframes authPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: .7;
    }
}

@keyframes authFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes authCardIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-hero {
        min-height: auto;
        padding: 1.35rem 1.25rem 1.5rem;
    }

    .auth-hero__content {
        margin: 0;
    }

    .auth-hero__title {
        font-size: 1.7rem;
    }

    .auth-features {
        grid-template-columns: 1fr 1fr;
    }

    .auth-hero__skyline {
        height: 80px;
        opacity: .55;
    }

    .auth-hero__cars {
        display: none;
    }

    .auth-panel {
        padding: 1.25rem 1rem 2rem;
    }
}

@media (max-width: 575.98px) {
    .auth-features {
        grid-template-columns: 1fr;
    }

    .auth-hero__top {
        flex-wrap: wrap;
    }

    .auth-card-box {
        padding: 1.35rem 1.1rem 1.25rem;
        border-radius: 16px;
    }

    .auth-feature__sub {
        display: none;
    }
}

/* ---- Auth captcha ---- */
.auth-captcha {
    margin-bottom: 1rem;
}

.auth-captcha__row {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .55rem;
}

.auth-captcha__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    height: 42px;
    padding: 0 .9rem;
    border-radius: 10px;
    background: linear-gradient(145deg, #0b2748, #123a66);
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .28em;
    text-indent: .28em;
    user-select: none;
    box-shadow: 0 8px 16px rgba(11, 39, 72, .18);
}

.auth-captcha__refresh {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #dfe6ee;
    border-radius: 10px;
    background: #f7f9fc;
    color: var(--auth-blue, #206bc4);
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.auth-captcha__refresh:hover {
    background: var(--auth-blue-soft, #eaf2fc);
    border-color: #c5d7ef;
    color: var(--auth-navy, #0b2748);
}

.auth-captcha .auth-field {
    margin-bottom: 0;
}

.auth-hint {
    margin: -.35rem 0 0;
    font-size: .72rem;
    color: var(--auth-muted, #667382);
    line-height: 1.4;
}

/* ---- Laporan KPI ---- */
.lap-kpi {
    --kpi-accent: #206bc4;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem .85rem;
    border-radius: 12px;
    border: 1px solid rgba(24, 36, 51, .08);
    background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--kpi-accent) 8%, #fff));
    box-shadow: 0 6px 14px rgba(24, 36, 51, .05);
}

.lap-kpi__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(145deg, var(--kpi-accent), color-mix(in srgb, var(--kpi-accent) 65%, #111));
    flex: 0 0 auto;
}

.lap-kpi__label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #667382;
}

.lap-kpi__value {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: #132033;
    line-height: 1.15;
}

.lap-kpi__value--sm {
    font-size: 1rem;
}

.lap-kpi--motor {
    --kpi-accent: #d97706;
}

.lap-kpi--mobil {
    --kpi-accent: #2563eb;
}

.lap-kpi--potensi {
    --kpi-accent: #059669;
}

.lap-kpi--setor {
    --kpi-accent: #7c3aed;
}

.approval-filter-bar__item {
    min-width: 220px;
    flex: 1 1 220px;
    max-width: 320px;
}

.approval-filter-bar__item .select2-container {
    width: 100% !important;
}

.approval-lihat-dl dt {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #667382;
    padding-top: .45rem;
}

.approval-lihat-dl dd {
    margin-bottom: .45rem;
    padding-top: .4rem;
}

.dash-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .22rem .55rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.dash-chip--mobil {
    color: #1d4ed8;
    background: #eaf0ff;
}

.dash-chip--motor {
    color: #b45309;
    background: #fff6e8;
}

.bukti-preview-body {
    min-height: 280px;
    background: #f4f6f8;
}

.bukti-preview-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.bukti-preview-body iframe {
    display: block;
    width: 100%;
    height: min(70vh, 720px);
    border: 0;
    background: #fff;
}

.bukti-preview-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(2px);
}

.bukti-preview-loading.is-hidden {
    display: none;
}

.mon-cal-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
}

.mon-cal-legend__item {
    --skor-color: #d5dbe3;
    display: inline-flex;
    align-items: center;
    gap: .32rem;
    padding: .18rem .5rem .18rem .28rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    white-space: nowrap;
    color: #243044;
    background: color-mix(in srgb, var(--skor-color) 16%, #fff);
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--skor-color) 28%, transparent),
        0 3px 8px color-mix(in srgb, var(--skor-color) 12%, transparent);
    transition: transform .18s ease, box-shadow .18s ease;
}

.mon-cal-legend__item:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--skor-color) 42%, transparent),
        0 6px 12px color-mix(in srgb, var(--skor-color) 20%, transparent);
}

.mon-cal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 auto;
    background: var(--skor-color);
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--skor-color) 22%, transparent),
        0 2px 6px color-mix(in srgb, var(--skor-color) 35%, transparent);
}

.mon-cal-wrap {
    padding: .25rem 0 0;
}

.mon-cal {
    min-width: 920px;
}

.mon-cal thead th {
    background: #f6f8fb;
    border-bottom: 1px solid rgba(24, 36, 51, .08);
    text-align: center;
    vertical-align: middle;
}

.mon-cal__no { width: 52px; }
.mon-cal__lokasi {
    min-width: 220px;
    text-align: left !important;
}

.mon-cal__day {
    min-width: 92px;
}

.mon-cal__dow {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #8a97a8;
}

.mon-cal__date {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.04em;
    color: #132033;
    line-height: 1.1;
}

.mon-cal__mon {
    display: block;
    font-size: .68rem;
    color: #8a97a8;
}

.mon-cal__day.is-today,
.mon-cal__cell-td.is-today {
    background: rgba(32, 107, 196, .06);
}

.mon-cal__day.is-today .mon-cal__date {
    color: #206bc4;
}

.mon-cal__name {
    font-weight: 700;
    color: #132033;
}

.mon-cal__kec {
    font-size: .72rem;
    color: #8a97a8;
}

.mon-cal__upt {
    margin-top: .12rem;
    font-size: .72rem;
    font-weight: 600;
    color: #206bc4;
}

.mon-cal__upt i {
    margin-right: .15rem;
}

.mon-cal__zona {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .45rem;
    margin-top: .12rem;
    font-size: .72rem;
    color: #5b6b7c;
}

.mon-cal__zona span {
    font-weight: 600;
}

.mon-cal__zona small {
    color: #8a97a8;
    font-size: .68rem;
}

.mon-cal__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    min-height: 64px;
    padding: .45rem .3rem;
    border-radius: 12px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.mon-cal__cell i { font-size: 1.15rem; line-height: 1; }

.mon-cal__cell--empty {
    color: #9aa8b8;
    background: #f4f6f8;
}

.mon-cal__cell--wait {
    color: #0369a1;
    background: linear-gradient(180deg, #e0f2fe, #f0f9ff);
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, .22);
}

.mon-cal__cell--ok {
    color: #0b6b4f;
    background: linear-gradient(180deg, #d1fae5, #ecfdf5);
    box-shadow: inset 0 0 0 1px rgba(5, 150, 105, .22);
}

.mon-cal__cell--skor {
    color: #fff;
    background: var(--skor-color, #166534);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--skor-color, #166534) 55%, #000);
    text-shadow: 0 1px 1px rgba(0, 0, 0, .28);
    min-height: 86px;
    padding: .4rem .25rem;
}

.mon-cal__cell--skor .mon-cal__pct {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .08rem;
    font-size: .62rem;
    font-weight: 800;
    opacity: .95;
    letter-spacing: .01em;
    line-height: 1.15;
    text-align: center;
    max-width: 100%;
}

.mon-cal__cell--skor .mon-cal__ket {
    display: block;
    font-size: .58rem;
    font-weight: 700;
    line-height: 1.2;
    opacity: .9;
    text-wrap: balance;
}

button.mon-cal__cell--btn {
    width: 100%;
    border: 0;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}

button.mon-cal__cell--btn:hover,
button.mon-cal__cell--btn:focus-visible {
    transform: translateY(-1px);
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(32, 107, 196, .35), 0 6px 14px rgba(19, 32, 51, .08);
}

button.mon-cal__cell--skor:hover,
button.mon-cal__cell--skor:focus-visible {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42), 0 6px 14px rgba(19, 32, 51, .16);
}

.mon-retribusi-info {
    border-radius: 12px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
    font-size: .9rem;
    line-height: 1.45;
    background: #eef6ff;
    color: #1e3a5f;
    border: 1px solid rgba(32, 107, 196, .18);
}

.mon-retribusi-info__text {
    margin: 0 0 .75rem;
}

.mon-retribusi-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}

.mon-retribusi-meta > div {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: .55rem .7rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .55);
}

.mon-retribusi-meta span {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    opacity: .75;
}

.mon-retribusi-meta strong {
    font-size: .92rem;
}

.mon-retribusi-meta__note {
    grid-column: 1 / -1;
}

.mon-retribusi-meta__note strong {
    font-weight: 600;
    white-space: pre-wrap;
}

@media (max-width: 767.98px) {
    .mon-retribusi-meta {
        grid-template-columns: 1fr;
    }
}

.mon-retribusi-info[data-sts="Approval"] {
    background: #fff7ed;
    color: #9a3412;
    border-color: rgba(234, 88, 12, .22);
}

.mon-retribusi-info[data-sts="Disetujui"] {
    background: #ecfdf5;
    color: #065f46;
    border-color: rgba(5, 150, 105, .22);
}

.mon-skor {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, .7fr);
    gap: .85rem;
    margin: 0 0 1rem;
    align-items: stretch;
}

.mon-skor__rumus {
    padding: .95rem 1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #dbe4ef;
    box-shadow: 0 8px 22px rgba(19, 32, 51, .06);
}

.mon-skor__head {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-bottom: .7rem;
}

.mon-skor__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #206bc4;
    color: #fff;
    flex-shrink: 0;
}

.mon-skor__title {
    margin: 0;
    font-size: .98rem;
    font-weight: 800;
    color: #132033;
}

.mon-skor__hint {
    margin: .12rem 0 0;
    font-size: .78rem;
    color: #667382;
}

.mon-skor__hint code {
    font-size: .74rem;
    color: #206bc4;
}

.mon-skor__steps {
    margin: 0 0 .8rem;
    padding-left: 1.15rem;
    color: #243044;
    font-size: .86rem;
    font-weight: 600;
}

.mon-skor__steps li + li {
    margin-top: .2rem;
}

.mon-skor__calc {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.mon-skor__calc > div {
    display: flex;
    flex-direction: column;
    gap: .12rem;
    padding: .5rem .6rem;
    border-radius: 10px;
    background: #f4f8ff;
}

.mon-skor__calc span {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #7a8896;
}

.mon-skor__calc strong {
    font-size: .92rem;
    color: #132033;
}

.mon-skor__result {
    --skor-color: #166534;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .2rem;
    padding: 1rem .85rem;
    border-radius: 14px;
    color: #fff;
    background: var(--skor-color);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--skor-color) 45%, #000), 0 10px 22px color-mix(in srgb, var(--skor-color) 28%, transparent);
    text-shadow: 0 1px 1px rgba(0, 0, 0, .28);
}

.mon-skor__result span {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .85;
}

.mon-skor__result strong {
    font-size: 2.15rem;
    line-height: 1;
    font-weight: 800;
}

.mon-skor__result small {
    font-size: .82rem;
    font-weight: 700;
    opacity: .95;
    text-wrap: balance;
}

@media (max-width: 767.98px) {
    .mon-skor {
        grid-template-columns: 1fr;
    }
}

.lap-kasda-status {
    display: inline-flex;
    align-items: center;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}

.lap-kasda-status.is-sesuai {
    background: #ecfdf5;
    color: #047857;
}

.lap-kasda-status.is-kurang {
    background: #fff7ed;
    color: #c2410c;
}

.lap-kasda-status.is-tercatat {
    background: #eff6ff;
    color: #1d4ed8;
}

.dataview-table {
    width: 100%;
}

.dataview-table thead th {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #667382;
}

.dataview-table tbody th {
    width: 38%;
    font-size: .78rem;
    font-weight: 700;
    color: #667382;
    background: #f7f9fb;
    white-space: nowrap;
}

.dataview-table tbody td {
    font-weight: 600;
    color: #132033;
}

.approval-verify {
    padding: 1rem 1.05rem 1.1rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #f4f8ff, #eef4ff 55%, #f7fafc);
    border: 1px solid #d7e4f6;
    box-shadow: 0 10px 28px rgba(32, 107, 196, .08);
}

.approval-verify__head {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: 1rem;
}

.approval-verify__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #206bc4;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.approval-verify__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #132033;
}

.approval-verify__hint {
    margin: .15rem 0 0;
    font-size: .82rem;
    color: #667382;
}

.approval-verify__choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

.approval-choice {
    margin: 0;
    cursor: pointer;
}

.approval-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.approval-choice__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    min-height: 108px;
    padding: .85rem .7rem;
    border-radius: 14px;
    border: 2px solid #dbe4ef;
    background: #fff;
    text-align: center;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.approval-choice__card i {
    font-size: 1.55rem;
}

.approval-choice__card strong {
    font-size: 1rem;
}

.approval-choice__card small {
    color: #7a8896;
}

.approval-choice--ok .approval-choice__card i,
.approval-choice--ok .approval-choice__card strong {
    color: #047857;
}

.approval-choice--no .approval-choice__card i,
.approval-choice--no .approval-choice__card strong {
    color: #b91c1c;
}

.approval-choice input:checked + .approval-choice__card {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(19, 32, 51, .1);
}

.approval-choice--ok input:checked + .approval-choice__card {
    border-color: #10b981;
    background: linear-gradient(180deg, #ecfdf5, #fff);
}

.approval-choice--no input:checked + .approval-choice__card {
    border-color: #ef4444;
    background: linear-gradient(180deg, #fef2f2, #fff);
}

.approval-choice:hover .approval-choice__card {
    border-color: #206bc4;
}

@media (max-width: 575.98px) {
    .approval-verify__choices {
        grid-template-columns: 1fr;
    }
}

.rek-filter {
    display: grid;
    grid-template-columns: minmax(160px, .9fr) minmax(180px, 1.1fr) minmax(180px, 1.2fr) auto;
    gap: .75rem 1rem;
    align-items: end;
}

.rek-filter--kadis {
    grid-template-columns: minmax(160px, .9fr) minmax(150px, .8fr) minmax(170px, 1fr) minmax(170px, 1.1fr) auto;
}

.rek-filter__item .select2-container {
    width: 100% !important;
}

.rek-filter__action {
    min-width: 120px;
    padding-bottom: 1px;
}

.rek-table {
    --rek-line: #e7edf3;
}

.rek-table thead th {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #667382;
    white-space: nowrap;
    background: #f7f9fb;
    border-bottom: 1px solid var(--rek-line);
    vertical-align: middle;
}

.rek-table tbody td {
    padding: .85rem .75rem;
    border-color: var(--rek-line);
    vertical-align: middle;
}

.rek-col-no { width: 44px; color: #8a97a8; }
.rek-col-money { min-width: 148px; }
.rek-col-num { min-width: 108px; text-align: right; }
.rek-col-date { min-width: 108px; }
.rek-col-hasil { min-width: 168px; }

.rek-titik { min-width: 180px; max-width: 240px; }
.rek-titik__nama {
    font-weight: 800;
    color: #132033;
    line-height: 1.25;
}
.rek-titik__kec,
.rek-titik__zona,
.rek-titik__upt {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .75rem;
    color: #7a8896;
    font-weight: 500;
}
.rek-titik__kec i,
.rek-titik__upt i { margin-right: .15rem; }
.rek-titik__upt {
    color: #206bc4;
    font-weight: 600;
}

.rek-titik__kap {
    display: flex;
    flex-direction: column;
    gap: .08rem;
    margin-top: .35rem;
    font-size: .72rem;
    font-weight: 700;
    color: #3b4a5c;
    white-space: nowrap;
}

.rek-money {
    min-width: 138px;
    font-variant-numeric: tabular-nums;
}
.rek-money__row,
.rek-money__sum {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: .55rem;
    align-items: baseline;
}
.rek-money__row span,
.rek-money__sum span {
    color: #8a97a8;
    font-size: .7rem;
    font-weight: 700;
}
.rek-money__row b,
.rek-money__sum b {
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
    color: #132033;
}
.rek-money__sum {
    margin-top: .28rem;
    padding-top: .28rem;
    border-top: 1px dashed #d5dee8;
}
.rek-money__sum b { font-weight: 800; }

.rek-num {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    color: #132033;
}
.rek-num.is-minus { color: #b91c1c; }
.rek-num.is-plus { color: #047857; }

.rek-note {
    max-width: 160px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .8rem;
    font-weight: 600;
    color: #3b4a5c;
    line-height: 1.35;
}

.rek-date {
    display: flex;
    flex-direction: column;
    gap: .08rem;
    white-space: nowrap;
}
.rek-date strong {
    font-size: .82rem;
    color: #132033;
}
.rek-date small {
    font-size: .72rem;
    color: #7a8896;
    font-weight: 600;
}

.rek-hasil {
    --skor-color: #166534;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    max-width: 100%;
    padding: .28rem .55rem .28rem .28rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--skor-color) 14%, #fff);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--skor-color) 28%, transparent);
    color: #132033;
}
.rek-hasil b {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--skor-color);
    color: #fff;
    font-size: .78rem;
    flex: 0 0 auto;
}
.rek-hasil span {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
}
.rek-hasil strong {
    font-size: .72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 118px;
}
.rek-hasil small {
    font-size: .68rem;
    color: #667382;
    font-weight: 700;
}
.rek-hasil--empty {
    background: #f4f6f8;
    box-shadow: none;
    color: #8a97a8;
    font-size: .75rem;
    font-weight: 700;
    padding: .28rem .6rem;
}

@media (max-width: 991.98px) {
    .rek-filter {
        grid-template-columns: 1fr 1fr;
    }
    .rek-filter__action {
        grid-column: 1 / -1;
    }
}

.topbar-tools {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 38px;
}
.topbar-tools .icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    flex: 0 0 38px;
    line-height: 1;
}
.topbar-tools .icon-btn i {
    display: block;
    font-size: 1.05rem;
    line-height: 1;
    width: 1.05rem;
    height: 1.05rem;
}
.topbar-tools .icon-btn i::before {
    vertical-align: 0;
}
.topbar-tools .dropdown {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
}
.topbar-profile {
    display: flex;
    align-items: center;
    height: 38px;
    margin-left: .65rem;
    padding-left: .75rem;
    border-left: 1px solid var(--sp-border, #e6e9ee);
}
.topbar-tools .notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    pointer-events: none;
}
.notification-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .85rem 1rem;
    border-bottom: 1px solid #e6e9ee;
}
.notification-menu__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .15rem;
    padding: .85rem 1rem;
    white-space: normal;
}
.notification-menu__item small { line-height: 1.3; }

/* ---- Toast tooltip (KPI realtime) ---- */
.swal2-container.bravo-toast-wrap {
    background-color: transparent !important;
    pointer-events: none !important;
    inset: auto 16px 0 auto !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
}
.swal2-container.bravo-toast-wrap .swal2-popup {
    pointer-events: auto !important;
}
.swal2-popup.swal2-toast.bravo-toast {
    display: flex !important;
    align-items: flex-start !important;
    gap: .65rem !important;
    background: #fff !important;
    opacity: 1 !important;
    transform: none !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 40px rgba(24, 36, 51, .18) !important;
    padding: .85rem 1rem !important;
    border: 1px solid rgba(32, 107, 196, .12);
    min-width: 280px;
    max-width: 360px;
}
.swal2-popup.bravo-toast .swal2-title {
    font-size: .78rem !important;
    font-weight: 800 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #132033 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
.swal2-popup.bravo-toast .swal2-html-container {
    margin: .2rem 0 0 !important;
    padding: 0 !important;
    color: #45566a !important;
    font-size: .85rem !important;
    line-height: 1.4 !important;
    text-align: left !important;
}
.swal2-popup.bravo-toast .bravo-swal-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    margin: 0;
    flex: 0 0 auto;
}
.swal2-popup.bravo-toast .bravo-toast__text {
    margin-top: .15rem;
}
.swal2-popup.bravo-toast--info {
    border-color: rgba(32, 107, 196, .22);
}
.swal2-popup.bravo-toast--success {
    border-color: rgba(18, 163, 122, .28);
}
.swal2-popup.bravo-toast .swal2-timer-progress-bar {
    background: rgba(32, 107, 196, .35);
}

