:root {
    --b9: #0c2461;
    --b8: #1a3a7c;
    --b7: #1e4fa8;
    --b6: #2563eb;
    --b5: #3b82f6;
    --b4: #60a5fa;
    --b3: #93c5fd;
    --b2: #bfdbfe;
    --b1: #dbeafe;
    --b0: #eff6ff;
    --w: #fff;
    --g0: #f8fafc;
    --g1: #f1f5f9;
    --g2: #e2e8f0;
    --g3: #cbd5e1;
    --g4: #94a3b8;
    --g5: #64748b;
    --g6: #475569;
    --g7: #334155;
    --g8: #1e293b;
    --sh: 0 4px 16px rgba(37, 99, 235, .10), 0 2px 6px rgba(0, 0, 0, .06);
    --shm: 0 8px 30px rgba(37, 99, 235, .14), 0 4px 12px rgba(0, 0, 0, .08);
    --shl: 0 20px 60px rgba(37, 99, 235, .18), 0 8px 24px rgba(0, 0, 0, .10);
    --r: 12px;
    --rl: 20px;
    --rxl: 28px
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--g0);
    color: var(--g8);
    line-height: 1.6;
    overflow-x: hidden
}

::-webkit-scrollbar {
    width: 5px
}

::-webkit-scrollbar-track {
    background: var(--g1)
}

::-webkit-scrollbar-thumb {
    background: var(--b3);
    border-radius: 3px
}







/* Tombol bottom bawah */
.bottom-nav {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    height: 65px;
    background: linear-gradient(135deg, var(--b6), var(--b8));
    border-radius: var(--rl);
    display: none;
    /* default tersembunyi */
    justify-content: space-around;
    align-items: center;
    box-shadow: var(--shm);
    z-index: 999;
}

.bottom-nav .bn-item {
    text-decoration: none;
    color: var(--b2);
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: none;
    /* ← ganti dari 0.3s ease */
    padding: 6px 12px;
    border-radius: var(--r);
}

.bottom-nav .bn-item i {
    font-size: 18px;
}

/* Aktif - background putih, teks & icon biru */
/* Aktif - background putih, teks & icon biru */
.bottom-nav .bn-item.active {
    background-color: var(--w);
    color: var(--b7);
    padding: 4px 8px;
    /* ← tambahkan ini */
}

.bottom-nav .bn-item.active i {
    transform: scale(1.15);
    color: var(--b7);
}

/* Hover non-active */
.bottom-nav .bn-item:not(.active):hover {
    color: var(--w);
}

/* Tampil hanya di mobile */
@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
        /* ← ini yang bikin muncul */
    }

    .nav {
        display: none;
    }

    body {
        padding-bottom: 90px;
    }
}



/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--b1);
    height: 68px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 16px rgba(37, 99, 235, .08)
}

.nb {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none
}

.nbi {
    width: 100px;
    /* persegi panjang */
    height: 55px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--b6), var(--b4));

    display: flex;
    align-items: center;
    /* vertical center */
    justify-content: center;
    /* horizontal center */

    box-shadow: 0 4px 12px rgba(37, 99, 235, .3);
}

.nbi img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}


/* ===== MOBILE MODE ===== */
@media (max-width: 768px) {

    /* tampilkan text logo */
    .nbt {
        display: block;
    }

    /* sembunyikan tombol daftar */
    .nav {
        display: none;
    }

    #n-reg {
        display: none;
    }

    #n-login {
        display: none;
    }

    .nml,
    .nmd {
        display: none !important;
    }

    .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

}

/* ===== END MOBILE MODE ===== */







.nbt {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.nbt strong {
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--b8)
}

.nbt small {
    font-size: 10px;
    color: var(--b5);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase
}

.nm {
    display: flex;
    align-items: center;
    gap: 4px
}

.nm a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--g6);
    padding: 8px 14px;
    border-radius: 8px;
    transition: all .2s;
    cursor: pointer
}

.nm a:hover,
.nm a.active {
    color: var(--b6);
    background: var(--b0)
}

.nmd {
    border: 1.5px solid var(--b3) !important;
    color: var(--b6) !important
}

.nmd:hover {
    background: var(--b0) !important;
    border-color: var(--b5) !important
}

.nml {
    background: linear-gradient(135deg, var(--b6), var(--b5)) !important;
    color: var(--w) !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .3)
}

.nml:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, .4) !important
}

/* PAGES */
.pg {
    /* display: none; */
    padding-top: 68px;
    min-height: 100vh
}

.pg.act {
    display: block
}

/* HERO */
.hero {
    background: linear-gradient(160deg, var(--b8) 0%, var(--b6) 60%, var(--b4) 100%);
    padding: 110px 8% 160px;
    /* lebih panjang ke bawah */
    position: relative;
    overflow: hidden
}

.hero-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    /* supaya tidak mepet kiri */
}

.hero-img {
    position: relative;
    width: 420px;
}

.ship {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.ship.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {

    .hero {
        padding: 90px 8% 90px;
    }

    .ha {
        gap: 8px;
        margin-bottom: 20px;
    }

    .bw,
    .bg {
        padding: 10px 16px;
        font-size: 13px;
    }

    .hstats {
        margin-top: 24px;
        max-width: 60%;
    }

    .hs {
        padding: 12px 8px;
    }

    .hsn {
        font-size: 18px;
    }

    .hsl {
        font-size: 10px;
        margin-top: 2px;
    }

}



.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 70% at 80% 110%, rgba(255, 255, 255, .06) 0%, transparent 60%)
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--g0);
    clip-path: ellipse(55% 100% at 50% 100%)
}

.hi {
    position: relative;
    z-index: 1;
    max-width: 680px
}

.hbadge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 100px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
    animation: fuUp .6s ease both
}

.ht {
    font-family: 'Lora', serif;
    font-size: clamp(34px, 5.5vw, 62px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 14px;
    animation: fuUp .6s .1s ease both
}

.ht span {
    color: var(--b2);
    display: block
}

.hd {
    font-size: 15px;
    color: rgba(255, 255, 255, .8);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 32px;
    animation: fuUp .6s .2s ease both
}

.ha {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: fuUp .6s .3s ease both
}

.bw {
    background: #fff;
    color: var(--b7);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: var(--r);
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: var(--shm);
    transition: all .2s
}

.bw:hover {
    transform: translateY(-2px);
    box-shadow: var(--shl)
}

.bg {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: var(--r);
    border: 1.5px solid rgba(255, 255, 255, .3);
    cursor: pointer;
    font-family: inherit;
    backdrop-filter: blur(10px);
    transition: all .2s
}

.bg:hover {
    background: rgba(255, 255, 255, .2)
}

.hstats {
    display: flex;
    margin-top: 56px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--rl);
    overflow: hidden;
    max-width: 540px;
    backdrop-filter: blur(10px);
    animation: fuUp .6s .4s ease both
}

.hs {
    flex: 1;
    padding: 20px 16px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .15)
}

.hs:last-child {
    border-right: none
}

.hsn {
    font-family: 'Lora', serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff
}

.hsl {
    font-size: 11px;
    color: rgba(255, 255, 255, .7);
    margin-top: 3px;
    font-weight: 600;
    letter-spacing: .5px
}

/* SECTIONS */

.sec-route>.chip,
.sec-route>.st,
.sec-route>.sd {
    text-align: center !important;
}


.sec-lt {
    text-align: center;
    /* semua teks di dalam center */

}

.sec-lt .chip {
    display: inline-block;
    /* supaya chip juga bisa di-center */
    margin-bottom: 15px;
}


.st.mb-5 {
    margin-bottom: 40px;
    /* atau sesuai selera */
}



.sec.sec-route {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.sec {
    padding: 42px 5%
}

.sec-lt {
    background: var(--b0)
}

.sec-bl {
    background: var(--b6)
}

.chip {
    display: inline-block;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--b6);
    background: var(--b1);
    padding: 10px 22px;
    /* kotaknya lebih besar */
    border-radius: 100px;
    margin-bottom: 10px
}

.chip-w {
    background: rgba(255, 255, 255, .2);
    color: #fff
}

.st {
    font-family: 'Lora', serif;
    font-size: clamp(22px, 3.5vw, 36px);
    font-weight: 700;
    color: var(--g8);
    margin-bottom: 8px;
    line-height: 1.2
}

.st em {
    font-style: normal;
    color: var(--b6)
}

.st-w {
    color: #fff
}

.sd {
    font-size: 14px;
    color: var(--g5);
    max-width: 500px;
    margin: 0 auto 40px;
    /* INI KUNCINYA */
    line-height: 1.7;
    text-align: center;
    /* optional tapi aman */
}


/* ROUTES */
.rg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


/* @media (max-width: 768px) {

    .rc {
        padding: 10px;
        border-radius: 12px;
    }

    .ri {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .rn {
        font-size: 12px;
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .rm {
        font-size: 10px;
        line-height: 1.2;
        gap: 6px;
    }

    .badge {
        font-size: 9px;
        padding: 3px 6px;
    }

} */



@media screen and (max-width: 768px) {
    .sec-route {
        padding: 10px;
    }

    .chip {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .region-title {
        font-size: 0.9rem;
    }

    .region-content .rg {
        flex-direction: column;
        /* stack semua rute */
        gap: 10px;
    }

    .rc {
        flex-direction: row;
        /* icon + teks sejajar */
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        width: 100%;
        /* biar tidak melebar */
    }

    .ri {
        font-size: 1rem;
        /* kecilkan icon/emoji */
    }

    .rn {
        font-size: 0.8rem;
        /* kecilkan nama rute */
        white-space: normal;
        /* biar wrap jika terlalu panjang */
    }

    .rm span {
        font-size: 0.7rem;
        display: block;
    }

    .badge {
        font-size: 0.6rem;
        padding: 1px 4px;
    }
}





.rc {
    background: #fff;
    border: 1.5px solid var(--g2);
    padding-bottom: 32px;
    /* tambahkan ini */

    border-radius: var(--rl);
    padding: 22px;
    cursor: pointer;
    transition: all .25s;
    position: relative;
    overflow: hidden
}

.rc::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--b5), var(--b3));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .3s
}

.rc:hover {
    border-color: var(--b4);
    box-shadow: var(--shm);
    transform: translateY(-2px)
}

.rc:hover::before {
    transform: scaleY(1)
}

.ri {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--b0);
    border: 1px solid var(--b1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px
}

.rn {
    font-weight: 700;
    font-size: 15px;
    color: var(--g8);
    margin-bottom: 4px
}

.rm {
    font-size: 12px;
    color: var(--g5);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px
}

.badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase
}

.bg2 {
    background: #dcfce7;
    color: #15803d
}

.ba {
    background: #fef3c7;
    color: #b45309
}

.badge-g {
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    display: inline-block
}


.region {
    margin-bottom: 25px;
}

.region-title {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding-bottom: 6px;
    padding-top: 20px;

}

.region-title::after {
    content: "▼";
    font-size: 12px;
    transition: .3s;
}

/* underline jajar genjang */
.region-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 50px;
    transition: width .3s ease;
}




/* saat aktif */
.region.active .region-title::before {
    width: 120%;
    /* sedikit lebih panjang dari teks */
}


.region-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
    margin-top: 18px;
    /* tambahkan ini */

}

.region.active .region-content {
    max-height: 1000px;
}

.region.active .region-title::after {
    transform: rotate(180deg);
}


.route-accordion {
    margin-top: 40px;
}

.route-group {
    border: 1px solid var(--g2);
    border-radius: 14px;
    margin-bottom: 15px;
    overflow: hidden;
    background: #fff;
    transition: 0.3s ease;
}

.route-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 700;
    color: var(--b6);
    background: var(--b0);
}

.route-head i {
    transition: 0.3s ease;
}

.route-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px;
}

.route-group.active .route-content {
    max-height: 600px;
    padding: 20px;
}

.route-group.active .route-head i {
    transform: rotate(180deg);
}






















/* STEPS */
.sr {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.si {
    text-align: center
}

.sc {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--b6), var(--b4));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 14px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, .3)
}

.stit {
    font-weight: 700;
    font-size: 14px;
    color: var(--g8);
    margin-bottom: 5px
}

.sdc {
    font-size: 13px;
    color: var(--g5);
    line-height: 1.6
}

/* PROFIL */
.ph {
    background: linear-gradient(160deg, var(--b8), var(--b6));
    padding: 64px 5%;
    text-align: center;
    color: #fff;
    position: relative
}

.ph::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--g0);
    clip-path: ellipse(55% 100% at 50% 100%)
}

.pav {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .15);
    border: 2px solid rgba(255, 255, 255, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin: 0 auto 18px
}

.pg2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 5% 60px
}

.pc {
    background: #fff;
    border: 1px solid var(--g2);
    border-radius: var(--rl);
    padding: 26px;
    box-shadow: var(--sh)
}

.pc h3 {
    font-family: 'Lora', serif;
    font-size: 17px;
    color: var(--b8);
    margin-bottom: 12px
}

.pc p {
    font-size: 14px;
    color: var(--g6);
    line-height: 1.8
}

.lc {
    list-style: none
}

.lc li {
    font-size: 14px;
    color: var(--g6);
    padding: 7px 0;
    border-bottom: 1px solid var(--g1);
    display: flex;
    align-items: center;
    gap: 8px
}

.lc li:last-child {
    border-bottom: none
}

.lc li::before {
    content: '✓';
    color: var(--b5);
    font-weight: 800;
    flex-shrink: 0
}

.fg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 0 5% 72px;
    max-width: 880px;
    margin: 0 auto
}

.fc {
    background: #fff;
    border: 1px solid var(--g2);
    border-radius: var(--r);
    padding: 20px;
    text-align: center;
    box-shadow: var(--sh)
}

.fi {
    font-size: 30px;
    margin-bottom: 8px
}

.fn {
    font-weight: 700;
    font-size: 14px;
    color: var(--g8);
    margin-bottom: 3px
}

.fs {
    font-size: 12px;
    color: var(--g5)
}

/* AUTH */
.aw {
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(160deg, var(--b0) 0%, var(--w) 100%)
}

.ac {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border: 1px solid var(--g2);
    border-radius: var(--rxl);
    padding: 44px 40px;
    box-shadow: var(--shl)
}

.aico {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--b6), var(--b4));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 18px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, .3)
}

.at {
    font-family: 'Lora', serif;
    font-size: 25px;
    font-weight: 700;
    color: var(--g8);
    margin-bottom: 4px;
    text-align: center
}

.as {
    font-size: 14px;
    color: var(--g5);
    text-align: center;
    margin-bottom: 28px
}

.fg2 {
    margin-bottom: 16px
}

.fg2 label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--g7);
    margin-bottom: 6px
}

.fg2 label .req {
    color: var(--b5);
    margin-left: 2px
}

.fc2 {
    width: 100%;
    background: var(--g0);
    border: 1.5px solid var(--g2);
    border-radius: var(--r);
    padding: 12px 14px;
    color: var(--g8);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s, background .2s, box-shadow .2s
}

.fc2:focus {
    border-color: var(--b4);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08)
}

.fc2::placeholder {
    color: var(--g4)
}

.fc2 option {
    background: #fff
}

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

.bpri {
    background: linear-gradient(135deg, var(--b6), var(--b5));
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 14px;
    border-radius: var(--r);
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 6px 20px rgba(37, 99, 235, .28);
    transition: all .2s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.bpri:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, .38)
}

.bout {
    background: #fff;
    color: var(--b6);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: var(--r);
    border: 1.5px solid var(--b3);
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px
}

.bout:hover {
    background: var(--b0);
    border-color: var(--b5)
}

.div {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0;
    color: var(--g4);
    font-size: 12px
}

.div::before,
.div::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--g2)
}

.al {
    text-align: center;
    font-size: 13px;
    color: var(--g5);
    margin-top: 16px
}

.al a {
    color: var(--b6);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none
}



/*Logo user atas */
.profile-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Tablet */
@media (min-width: 768px) {
    .profile-grid {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 24px;
        align-items: start;
    }
}

/* Desktop besar */
@media (min-width: 1200px) {
    .profile-grid {
        grid-template-columns: 420px 1fr;
    }
}



.pc div {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pc {
    word-break: break-word;
}

@media (min-width: 1024px) {
    .pc > div:nth-child(2) {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

/*Timbolo logout */

.btn-logout {
    background: none;
    border: 1.5px solid var(--b7);
    color: var(--b7);
    font-size: 12px;
    /* dari 13px */
    font-weight: 600;
    padding: 6px 14px;
    /* dari 8px 18px */
    border-radius: 7px;
    /* sedikit lebih kecil */
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    /* dari 6px */
}


.btn-logout i {
    font-size: 11px;
    /* dari 12px */
}

.btn-logout:hover {
    background: var(--b7);
    color: #fff;
    border-color: var(--b7);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(12, 36, 97, 0.35);
}

.btn-logout:active {
    transform: translateY(0);
}

/* KTP UPLOAD */
.ktp-info {
    background: var(--b0);
    border: 1px solid var(--b2);
    border-radius: var(--r);
    padding: 12px 14px;
    margin-bottom: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.ktp-info-text {
    font-size: 13px;
    color: var(--b8);
    line-height: 1.6
}

.ktp-info-text strong {
    display: block;
    font-weight: 700;
    margin-bottom: 2px
}

.ua {
    border: 2px dashed var(--b3);
    background: var(--b0);
    border-radius: var(--r);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    position: relative
}

.ua:hover {
    border-color: var(--b5);
    background: var(--b1)
}

.ua.hf {
    border-color: var(--b5);
    border-style: solid;
    background: var(--b0)
}

.ua input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%
}

.uico {
    font-size: 30px;
    margin-bottom: 8px
}

.utit {
    font-weight: 700;
    font-size: 14px;
    color: var(--b7);
    margin-bottom: 3px
}

.usub {
    font-size: 12px;
    color: var(--g5)
}

.uprev {
    margin-top: 10px;
    display: none
}

.uprev img {
    max-height: 90px;
    border-radius: 8px;
    border: 1px solid var(--b2);
    object-fit: cover
}

.ufn {
    font-size: 12px;
    color: var(--b6);
    font-weight: 700;
    margin-top: 5px
}

/* TIKET */

/* ================================================
   MOBILE ONLY — max 768px
   Paste di bawah css utama style.css
   ================================================ */

@media (max-width: 768px) {

    /* ── Layout utama ── */
    .bl {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 14px;
    }

    .sidebar {
        order: 2;
    }

    /* ── Header biru ── */
    .th {
        padding: 24px 18px 28px;
    }

    .th h1 {
        font-size: 20px;
    }

    /* ── Step tabs ── */
    .bsb {
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .bs2 {
        padding: 9px 6px;
        font-size: 11px;
    }

    .bsn {
        width: 17px;
        height: 17px;
        font-size: 10px;
        margin-right: 3px;
    }

    /* ── Card form ── */
    .bcard {
        padding: 18px 14px;
        border-radius: 14px;
    }

    .bcard h2 {
        font-size: 15px;
        margin-bottom: 14px;
    }

    /* ── Form row → 1 kolom ── */
    .fr {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .fg2 {
        margin-bottom: 12px;
    }

    .fg2 label {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .fc2 {
        padding: 10px 11px;
        font-size: 13px;
        border-radius: 9px;
    }

    /* ── Counter penumpang ── */
    .cr {
        padding: 9px 12px;
        border-radius: 9px;
    }

    .cl {
        font-size: 13px;
    }

    .cb {
        width: 26px;
        height: 26px;
        font-size: 15px;
        border-radius: 7px;
    }

    .cv {
        font-size: 14px;
        min-width: 20px;
    }

    /* ── Tombol navigasi ── */
    .nb2 {
        gap: 8px;
        margin-top: 18px;
    }

    .bbk {
        padding: 10px 14px;
        font-size: 13px;
    }

    .bln,
    .bps {
        padding: 11px 14px;
        font-size: 13px;
    }

    /* ── E-Tiket ── */
    #etw {
        margin: 16px 0 20px;
        border-radius: 14px;
    }

    .etw-title {
        font-size: 13px;
        padding: 11px 14px;
    }

    .route-disp {
        padding: 14px 12px;
        gap: 8px;
    }

    .port-code {
        font-size: 24px;
    }

    .port-name {
        font-size: 10px;
    }

    .arr-icon {
        font-size: 20px;
    }

    .arr-line {
        width: 40px;
    }

    .et-row {
        padding: 8px 14px;
        font-size: 13px;
    }

    .et-lbl {
        font-size: 12px;
    }

    .et-val {
        font-size: 13px;
    }

    .bc-wrap {
        height: 40px;
        padding: 0 14px;
    }

    .code-disp {
        font-size: 12px;
        letter-spacing: 2px;
        padding: 7px 14px 12px;
    }

    /* ── Halaman sukses ── */
    .sv {
        padding: 24px 10px;
    }

    .sch {
        width: 68px;
        height: 68px;
        font-size: 28px;
        margin-bottom: 14px;
    }

    .sv h2 {
        font-size: 19px;
        margin-bottom: 8px;
    }

    .sv p {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .bpri {
        padding: 11px 20px;
        font-size: 13px;
    }

    /* ── Info box sidebar ── */
    .info-box {
        font-size: 13px;
        padding: 13px 14px;
        border-radius: 11px;
    }

    /* ── Toast di atas bottom nav ── */
    .toast {
        bottom: 74px;
        right: 14px;
        left: 14px;
        font-size: 13px;
        padding: 11px 14px;
        border-radius: 10px;
    }
}

/* ── HP sangat kecil ≤ 360px ── */
@media (max-width: 360px) {

    .bs2 {
        font-size: 10px;
        padding: 8px 4px;
    }

    .bsn {
        display: none;
    }

    .port-code {
        font-size: 20px;
    }

    .th h1 {
        font-size: 17px;
    }

    .bcard {
        padding: 14px 10px;
    }

    .bln,
    .bps,
    .bbk {
        font-size: 12px;
        padding: 10px 10px;
    }
}


.th {
    background: linear-gradient(135deg, var(--b7), var(--b5));
    padding: 42px 5%;
    color: #fff
}

.th h1 {
    font-family: 'Lora', serif;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 6px
}

.bl {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 22px;
    padding: 28px 5% 70px;
    max-width: 1200px;
    margin: 0 auto
}

.bsb {
    display: flex;
    background: #fff;
    border: 1px solid var(--g2);
    border-radius: var(--rl);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06)
}

.bs2 {
    flex: 1;
    padding: 13px 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--g4);
    border-right: 1px solid var(--g2);
    transition: all .2s
}

.bs2:last-child {
    border-right: none
}

.bs2.act {
    background: var(--b6);
    color: #fff
}

.bs2.dn {
    background: var(--b0);
    color: var(--b6)
}

.bsn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--g2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-right: 6px;
    vertical-align: middle
}

.bs2.act .bsn {
    background: rgba(255, 255, 255, .25);
    color: #fff
}

.bs2.dn .bsn {
    background: var(--b6);
    color: #fff
}

.bcard {
    background: #fff;
    border: 1px solid var(--g2);
    border-radius: var(--rxl);
    padding: 30px;
    box-shadow: var(--sh)
}

.bcard h2 {
    font-family: 'Lora', serif;
    font-size: 19px;
    color: var(--b8);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px
}

.bst {
    display: none
}

.bst.act {
    display: block
}

.ro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px
}

.ropt {
    border: 1.5px solid var(--g2);
    border-radius: var(--r);
    padding: 15px;
    cursor: pointer;
    transition: all .2s;
    background: #fff
}

.ropt:hover {
    border-color: var(--b4);
    background: var(--b0)
}

.ropt.sel {
    border-color: var(--b5);
    background: var(--b0);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1)
}

.roi {
    font-size: 22px;
    margin-bottom: 6px
}

.ron {
    font-weight: 700;
    font-size: 13px;
    color: var(--g8);
    margin-bottom: 2px
}

.rod {
    font-size: 12px;
    color: var(--g5)
}

.cr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--g0);
    border: 1px solid var(--g2);
    border-radius: var(--r);
    padding: 11px 14px;
    margin-bottom: 9px
}

.cl {
    font-size: 14px;
    font-weight: 600;
    color: var(--g7)
}

.cbs {
    display: flex;
    align-items: center;
    gap: 10px
}

.cb {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--b1);
    border: 1px solid var(--b2);
    color: var(--b7);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all .2s
}

.cb:hover {
    background: var(--b2)
}

.cv {
    font-weight: 700;
    font-size: 16px;
    color: var(--g8);
    min-width: 22px;
    text-align: center
}

.pxc {
    background: var(--b0);
    border: 1.5px solid var(--b1);
    border-radius: var(--rl);
    padding: 20px;
    margin-bottom: 12px
}

.pxt {
    font-size: 13px;
    font-weight: 700;
    color: var(--b7);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px
}

.nb2 {
    display: flex;
    gap: 11px;
    margin-top: 26px
}

.bbk {
    background: #fff;
    color: var(--g6);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: var(--r);
    border: 1.5px solid var(--g3);
    cursor: pointer;
    font-family: inherit;
    transition: all .2s
}

.bbk:hover {
    border-color: var(--g4)
}

.bln {
    flex: 1;
    background: linear-gradient(135deg, var(--b6), var(--b5));
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px;
    border-radius: var(--r);
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 6px 20px rgba(37, 99, 235, .28);
    transition: all .2s
}

.bln:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(37, 99, 235, .35)
}

.bps {
    flex: 1;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px;
    border-radius: var(--r);
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 6px 20px rgba(34, 197, 94, .28);
    transition: all .2s
}

.bps:hover {
    transform: translateY(-1px)
}

/* SUMMARY */
.os {
    background: #fff;
    border: 1px solid var(--g2);
    border-radius: var(--rxl);
    padding: 24px;
    box-shadow: var(--sh);
    position: sticky;
    top: 82px
}

.os h3 {
    font-family: 'Lora', serif;
    font-size: 17px;
    color: var(--b8);
    margin-bottom: 18px
}

.orb {
    background: linear-gradient(135deg, var(--b6), var(--b4));
    border-radius: var(--rl);
    padding: 16px;
    text-align: center;
    margin-bottom: 16px;
    color: #fff
}

.orn {
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px
}

.ord {
    font-size: 13px;
    color: rgba(255, 255, 255, .8)
}

.sr2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--g1);
    font-size: 14px
}

.sr2:last-of-type {
    border-bottom: none
}

.sr2 .lb {
    color: var(--g5);
    font-weight: 500
}

.sr2 .vl {
    font-weight: 700;
    color: var(--g8)
}

.tr {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid var(--b1);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.tl {
    font-weight: 700;
    font-size: 15px;
    color: var(--g7)
}

.ta {
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--b6)
}

/* E-TICKET */
.et {
    background: #fff;
    border-radius: var(--rl);
    overflow: hidden;
    box-shadow: var(--shm);
    margin-top: 18px;
    border: 1px solid var(--g2)
}

.et-top {
    background: linear-gradient(135deg, var(--b7), var(--b5));
    padding: 13px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.et-top span {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase
}

.et-body {
    padding: 18px
}

.et-r {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.et-c {
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--b8)
}

.et-cs {
    font-size: 10px;
    color: var(--g5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1px
}

.et-s {
    font-size: 26px;
    color: var(--b4)
}

.et-sep {
    border-top: 1.5px dashed var(--g2);
    margin: 10px 0
}

.et-det {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

.et-d label {
    font-size: 10px;
    color: var(--g5);
    text-transform: uppercase;
    letter-spacing: 1px
}

.et-d span {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: var(--g8);
    margin-top: 1px
}

.et-bc {
    background: var(--g0);
    border-top: 1.5px dashed var(--g2);
    padding: 12px;
    text-align: center
}

.bv {
    display: inline-flex;
    gap: 2px;
    height: 32px;
    align-items: flex-end
}

.bv span {
    display: block;
    width: 2px;
    border-radius: 1px;
    background: var(--b7)
}

.ec {
    font-size: 11px;
    color: var(--g5);
    margin-top: 6px;
    letter-spacing: 3px;
    font-weight: 600
}

/* SUCCESS */
.sv {
    text-align: center;
    padding: 48px 20px
}

.sch {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin: 0 auto 22px;
    box-shadow: 0 12px 40px rgba(34, 197, 94, .3);
    animation: popIn .5s cubic-bezier(.16, 1, .3, 1) both
}

.sv h2 {
    font-family: 'Lora', serif;
    font-size: 24px;
    color: var(--g8);
    margin-bottom: 8px
}

.sv p {
    color: var(--g5);
    font-size: 14px;
    max-width: 340px;
    margin: 0 auto 24px;
    line-height: 1.7
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 9999;
    background: var(--b6);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: var(--r);
    box-shadow: 0 8px 28px rgba(37, 99, 235, .4);
    transform: translateX(200%);
    transition: transform .4s cubic-bezier(.16, 1, .3, 1);
    display: flex;
    align-items: center;
    gap: 8px
}

.toast.show {
    transform: translateX(0)
}

.toast.ok {
    background: #16a34a;
    box-shadow: 0 8px 28px rgba(34, 197, 94, .4)
}

.toast.wn {
    background: #d97706
}

@keyframes fuUp {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(.5)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@media(max-width:900px) {
    .bl {
        grid-template-columns: 1fr
    }

    .os {
        position: static
    }

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

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

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

@media(max-width:640px) {
    .nm a:not(.nml):not(.nmd) {
        display: none
    }

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

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

    .ac {
        padding: 28px 20px
    }

    .bsb {
        display: none
    }
}