@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #071323;
    --panel: #0d2035;
    --panel2: #102941;
    --line: #1c3b56;
    --blue: #39b9f4;
    --cyan: #70e4ff;
    --text: #edf8ff;
    --muted: #91a9bc;
    --green: #43d6a1
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    font-size: 14px
}

a {
    color: var(--cyan);
    text-decoration: none
}

a:hover {
    color: #fff
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    border-bottom: 1px solid var(--line);
    background: #08182a
}

.nav nav {
    display: flex;
    gap: 30px
}

.nav nav a {
    color: #b6c9d8
}

.brand {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
    color: white
}

.brand span {
    color: var(--cyan)
}

.btn {
    display: inline-block;
    background: linear-gradient(120deg, #168fd1, #42c8f4);
    border: 0;
    border-radius: 8px;
    padding: 12px 19px;
    color: #031523;
    font-weight: 800;
    cursor: pointer;
    font-size: 13px
}

.btn:hover {
    color: #031523;
    filter: brightness(1.1)
}

.btn.outline {
    background: transparent;
    border: 1px solid #347da1;
    color: var(--cyan)
}

.btn.large {
    padding: 15px 23px
}

.btn.full {
    width: 100%;
    text-align: center;
    margin-top: 15px
}

.btn.small {
    padding: 8px 11px;
    font-size: 11px
}

.hero {
    min-height: 570px;
    padding: 85px 9%;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    background: radial-gradient(ellipse at 80% 40%, #103d5c 0, transparent 43%), linear-gradient(115deg, #08182b, #09233b)
}

.eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--cyan)
}

h1 {
    font-size: 48px;
    line-height: 1.08;
    margin: 15px 0
}

h1 span {
    color: var(--cyan)
}

.hero-copy>p:not(.eyebrow) {
    color: #a9bfd0;
    line-height: 1.9;
    max-width: 560px
}

.hero-art {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}

.orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(140deg, #1d8fc5, #152d63);
    box-shadow: 0 0 100px #1b9bc566
}

.hero-card {
    z-index: 1;
    width: 245px;
    height: 300px;
    border: 1px solid #74dfff99;
    border-radius: 18px;
    background: linear-gradient(145deg, #17476aee, #09182eee);
    box-shadow: 0 25px 70px #0008;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: rotate(5deg)
}

.hero-card span {
    letter-spacing: 4px;
    color: var(--cyan);
    font-size: 10px
}

.hero-card strong {
    font-size: 42px;
    line-height: 1.05;
    text-align: center;
    margin: 25px 0
}

.hero-card small {
    letter-spacing: 2px;
    color: #b5d8e9
}

.floating {
    position: absolute;
    z-index: 2;
    bottom: 12px;
    right: 2%;
    padding: 13px 18px;
    border: 1px solid #317da0;
    background: #0b263ddd;
    border-radius: 9px;
    color: var(--cyan)
}

.stats {
    display: flex;
    gap: 42px;
    margin-top: 45px
}

.stats div {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.stats b {
    font-size: 20px
}

.stats small,
.muted {
    color: var(--muted)
}

.section {
    padding: 75px 9%
}

.section h2,
.cta h2 {
    font-size: 32px;
    margin: 10px 0 30px
}

.features,
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.features article,
.service,
.panel,
.metric {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 23px
}

.features article b {
    color: var(--cyan);
    font-size: 11px;
    letter-spacing: 2px
}

.features h3,
.service h3 {
    font-size: 18px
}

.features p,
.service p {
    color: var(--muted);
    line-height: 1.7
}

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

.tag {
    display: inline-block;
    color: var(--cyan);
    background: #123a55;
    padding: 6px 9px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700
}

.price {
    font-size: 20px;
    font-weight: 800;
    margin: 20px 0
}

.price small {
    font-size: 11px;
    color: var(--muted);
    font-weight: 400
}

.cta {
    text-align: center;
    padding: 70px 20px;
    background: linear-gradient(120deg, #0d3150, #0c1b32)
}

.cta p {
    color: var(--muted)
}

footer {
    text-align: center;
    padding: 25px;
    color: var(--muted);
    border-top: 1px solid var(--line)
}

.auth-bg {
    min-height: 100vh;
    background: radial-gradient(circle at 50% 0, #123a58, #071323 55%);
    padding: 45px 18px
}

.auth-box,
.form-box {
    width: min(470px, 100%);
    margin: 35px auto;
    background: #0b1e32;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 20px 70px #0005
}

.form-box {
    width: min(650px, 100%);
    margin: 10px auto
}

.auth-box h1,
.form-box h1 {
    font-size: 32px
}

label {
    display: block;
    margin: 17px 0 8px;
    color: #c7d9e7;
    font-size: 12px;
    font-weight: 700
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 13px;
    background: #071727;
    border: 1px solid #24445e;
    border-radius: 7px;
    color: var(--text);
    font: inherit
}

textarea {
    resize: vertical
}

form .btn {
    margin-top: 17px
}

.alert {
    padding: 12px 15px;
    background: #123d42;
    border: 1px solid #237b72;
    border-radius: 8px;
    margin: 15px 0;
    color: #a5ffe2
}

.alert.error {
    background: #421e2a;
    border-color: #8c3e50;
    color: #ffb8c4
}

.layout {
    display: flex;
    min-height: 100vh
}

.sidebar {
    width: 245px;
    background: #091a2c;
    border-right: 1px solid var(--line);
    padding: 28px 18px;
    flex-shrink: 0
}

.side-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: #6f91a8;
    margin: 40px 10px 15px
}

.sidebar>a:not(.brand) {
    display: block;
    padding: 13px 14px;
    color: #a9bfd0;
    border-radius: 7px;
    margin: 5px 0
}

.sidebar>a.active,
.sidebar>a:not(.brand):hover {
    background: #123754;
    color: var(--cyan)
}

.content {
    padding: 35px;
    width: calc(100% - 245px);
    max-width: 1500px;
    margin: 0 auto
}

.topline,
.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px
}

.topline h1 {
    font-size: 30px;
    margin: 8px 0 25px
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #15547a;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: var(--cyan)
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-bottom: 22px
}

.metric small {
    color: var(--muted)
}

.metric h2 {
    font-size: 27px;
    margin: 12px 0
}

.panel {
    margin: 20px 0
}

.panel h2 {
    font-size: 18px
}

.table-wrap {
    overflow-x: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px
}

th,
td {
    text-align: left;
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 12px
}

th {
    color: #8fb4cc;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px
}

.status {
    display: inline-block;
    padding: 6px 9px;
    background: #173c53;
    color: #8fe4ff;
    border-radius: 5px;
    font-size: 10px
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.inline-form {
    display: flex;
    gap: 7px;
    align-items: center
}

.inline-form select,
.inline-form input {
    min-width: 0
}

.list-row,
.topup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    font-size: 12px
}

.topup-row {
    display: block
}

.job {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    background: #0a1a2b
}

.job h3 {
    margin-bottom: 5px
}

.job p {
    color: #b3c6d5;
    line-height: 1.7
}

.account-data {
    padding: 12px;
    background: #071727;
    border-radius: 7px;
    overflow-wrap: anywhere
}

.account-data p {
    white-space: pre-wrap
}

.qris-placeholder {
    border: 1px dashed #3b85a8;
    padding: 28px;
    text-align: center;
    border-radius: 10px;
    margin: 20px 0;
    background: #0c2940
}

.qris-placeholder p {
    color: var(--muted)
}

@media(max-width:850px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 60px 7%
    }

    .hero-art {
        height: 300px
    }

    .features,
    .service-grid {
        grid-template-columns: 1fr 1fr
    }

    .nav {
        padding: 0 4%
    }

    .nav nav {
        display: none
    }

    .layout {
        display: block
    }

    .sidebar {
        width: 100%;
        padding: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
        overflow-x: auto
    }

    .sidebar .brand {
        margin-right: 20px
    }

    .side-label {
        display: none
    }

    .sidebar>a:not(.brand) {
        white-space: nowrap;
        font-size: 11px
    }

    .content {
        width: 100%;
        padding: 22px
    }

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

@media(max-width:560px) {
    h1 {
        font-size: 37px
    }

    .hero {
        padding: 48px 6%
    }

    .features,
    .service-grid,
    .cards {
        grid-template-columns: 1fr
    }

    .stats {
        gap: 20px
    }

    .auth-box,
    .form-box {
        padding: 24px
    }

    .topline h1 {
        font-size: 23px
    }

    .sidebar {
        flex-wrap: wrap
    }

    .sidebar .brand {
        width: 100%
    }

    .inline-form {
        flex-wrap: wrap
    }
}

/* Admin dashboard: layout mengikuti referensi screenshot Blue Archive */
.admin-page {
    background: #071426;
    color: #edf5ff;
    font-size: 12px
}

.admin-shell {
    display: flex;
    min-height: 100vh;
    background: radial-gradient(ellipse at 74% 0%, #123454 0, transparent 40%), #071426
}

.admin-sidebar {
    width: 208px;
    flex: 0 0 208px;
    background: linear-gradient(180deg, #071a2c, #081426 70%);
    border-right: 1px solid #18334d;
    padding: 18px 9px;
    min-height: 100vh
}

.admin-logo {
    display: block;
    padding: 3px 18px 18px;
    color: #31b8f4;
    font-size: 21px;
    font-style: italic;
    font-weight: 900;
    letter-spacing: -1px
}

.admin-logo span {
    color: #e9f6ff
}

.admin-logo small {
    display: block;
    text-align: right;
    font-size: 8px;
    letter-spacing: 1px;
    color: #d6e8f7
}

.admin-profile {
    padding: 10px 12px 20px;
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 10px;
    align-items: center
}

.admin-avatar {
    grid-row: span 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #c7e8ff, #286caa);
    color: #09223b;
    font-weight: 900;
    font-size: 15px;
    border: 2px solid #c8efff
}

.admin-profile b {
    font-size: 11px
}

.admin-profile small {
    font-size: 9px;
    color: #9eb4c8
}

.online-dot {
    font-size: 9px;
    color: #4bdca7;
    margin-top: 4px
}

.side-group {
    font-size: 9px;
    letter-spacing: .7px;
    color: #718da7;
    margin: 19px 9px 7px
}

.admin-sidebar .side-link {
    display: block;
    padding: 10px 11px;
    margin: 3px 0;
    color: #a8bdd0;
    border-radius: 6px;
    font-size: 11px;
    border-left: 2px solid transparent
}

.admin-sidebar .side-link:hover,
.admin-sidebar .side-link.active {
    background: linear-gradient(90deg, #17466a, #142d49);
    color: #fff;
    border-left-color: #19baff
}

.admin-main {
    min-width: 0;
    flex: 1;
    padding: 23px 20px 12px;
    max-width: 1800px;
    margin: 0 auto
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 25px
}

.admin-header h1 {
    font-size: 22px;
    margin: 0 0 5px
}

.admin-header p {
    margin: 0;
    color: #a4b9cc;
    font-size: 12px
}

.admin-date {
    padding: 11px 15px;
    border: 1px solid #1d3c58;
    border-radius: 8px;
    background: #0c2037;
    color: #c9dced;
    font-size: 11px
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px
}

.admin-stats article {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 13px;
    border: 1px solid #1b3b58;
    border-radius: 10px;
    background: linear-gradient(145deg, #102943, #0b1c30);
    min-width: 0
}

.stat-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 800
}

.stat-icon.blue {
    background: #1554a6;
    color: #d7edff
}

.stat-icon.green {
    background: #087c53;
    color: #c9ffe7
}

.stat-icon.gold {
    background: #8a680b;
    color: #fff0a6
}

.stat-icon.purple {
    background: #633bb3;
    color: #eee0ff
}

.stat-icon.cyan {
    background: #087b91;
    color: #c8faff
}

.admin-stats small,
.admin-stats em {
    display: block;
    color: #9fb4c8;
    font-size: 9px;
    font-style: normal
}

.admin-stats strong {
    display: block;
    font-size: 20px;
    margin: 4px 0
}

.admin-stats em {
    color: #42dca7
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(250px, 1fr);
    gap: 12px;
    margin-bottom: 13px
}

.admin-panel {
    padding: 16px;
    margin: 0 0 13px;
    border: 1px solid #1d3b56;
    border-radius: 10px;
    background: linear-gradient(145deg, #0e2238, #0a1b2d);
    box-shadow: 0 8px 24px #0002;
    min-width: 0
}

.admin-panel-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px
}

.admin-panel-title h2 {
    font-size: 13px;
    margin: 0
}

.admin-panel-title>span {
    color: #819db6;
    font-size: 10px
}

.revenue-number {
    font-size: 23px;
    font-weight: 800;
    margin: 18px 0 5px
}

.revenue-sub,
.admin-muted {
    color: #94abc0
}

.summary-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 25px
}

.summary-four div {
    padding: 12px;
    background: #10263d;
    border-radius: 7px
}

.summary-four small,
.summary-four b {
    display: block
}

.summary-four small {
    font-size: 9px;
    color: #8fa8bf;
    margin-bottom: 6px
}

.summary-four b {
    font-size: 16px
}

.status-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #1b354d;
    color: #b6c9da
}

.status-line b {
    color: #42c5ff
}

.admin-panel table {
    min-width: 900px
}

.admin-panel th {
    font-size: 9px;
    color: #86a8c5
}

.admin-panel td {
    font-size: 10px;
    color: #d8e7f4;
    padding: 12px 9px
}

.status-pill {
    display: inline-block;
    padding: 5px 7px;
    border-radius: 5px;
    background: #124a72;
    color: #62d1ff;
    font-size: 9px;
    white-space: nowrap
}

.assign-form {
    display: flex;
    gap: 5px;
    align-items: center
}

.assign-form select {
    width: 115px;
    padding: 7px;
    font-size: 10px
}

.admin-button {
    display: inline-block;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(120deg, #1766c6, #168fe6);
    color: #fff;
    padding: 9px 12px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer
}

.admin-button:hover {
    filter: brightness(1.15)
}

.admin-button.secondary {
    background: #172e45;
    border: 1px solid #35536e;
    color: #c7d9e8
}

.admin-button.wide {
    width: 100%;
    margin-top: 15px
}

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

.worker-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #1b354d
}

.worker-avatar {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #164b70;
    color: #8ee5ff
}

.worker-line div {
    flex: 1
}

.worker-line b,
.worker-line small {
    display: block
}

.worker-line small,
.admin-hint {
    font-size: 9px;
    color: #8ca5bb;
    margin-top: 4px
}

.worker-state {
    padding: 5px 8px;
    border-radius: 12px;
    background: #104c3a;
    color: #51e3a8;
    font-size: 9px
}

.subheading {
    font-size: 12px;
    margin: 18px 0 8px
}

.worker-create label {
    font-size: 10px;
    margin: 10px 0 6px
}

.worker-create input,
.worker-create textarea {
    padding: 9px 10px;
    font-size: 11px
}

.worker-create textarea {
    min-height: 65px
}

.service-admin-row,
.topup-admin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid #1b354d
}

.service-admin-row span,
.service-admin-row small,
.topup-admin-row small {
    display: block
}

.service-admin-row small,
.topup-admin-row small {
    font-size: 9px;
    color: #91a9be;
    margin-top: 4px
}

.topup-actions {
    display: flex;
    gap: 6px
}

.admin-footer {
    text-align: center;
    color: #7089a2;
    padding: 15px 0 5px;
    font-size: 10px
}

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

    .admin-main {
        padding: 18px 14px
    }

    .admin-sidebar {
        width: 190px;
        flex-basis: 190px
    }
}

@media(max-width:760px) {
    .admin-shell {
        display: block
    }

    .admin-sidebar {
        width: 100%;
        min-height: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 10px
    }

    .admin-logo {
        width: 100%;
        padding: 5px 10px
    }

    .admin-profile {
        display: none
    }

    .side-group {
        display: none
    }

    .admin-sidebar .side-link {
        padding: 8px;
        font-size: 10px
    }

    .admin-main {
        padding: 16px 10px
    }

    .admin-grid,
    .admin-lower {
        grid-template-columns: 1fr
    }

    .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .admin-header h1 {
        font-size: 19px
    }

    .admin-date {
        font-size: 9px;
        padding: 8px
    }
}

@media(max-width:430px) {
    .admin-stats {
        grid-template-columns: 1fr
    }

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

/* Dashboard visual: navy glass panels and academy-city backdrop */
.admin-page {
    background: #071426 url('/blue-archive-joki/public/assets/images-city-background.png') center top/cover fixed no-repeat
}

.admin-shell {
    background: linear-gradient(90deg, rgba(4, 15, 31, .94) 0%, rgba(5, 20, 39, .82) 28%, rgba(5, 18, 35, .72) 100%), linear-gradient(180deg, rgba(5, 17, 33, .35), rgba(5, 17, 33, .88));
    backdrop-filter: blur(1px)
}

.admin-sidebar {
    background: linear-gradient(180deg, rgba(5, 19, 36, .97), rgba(5, 16, 31, .96));
    backdrop-filter: blur(12px)
}

.admin-panel,
.admin-stats article {
    background: linear-gradient(145deg, rgba(10, 29, 49, .94), rgba(7, 22, 39, .91));
    backdrop-filter: blur(9px);
    border-color: rgba(56, 113, 157, .35)
}

.admin-main {
    background: transparent
}

.worker-register {
    margin-top: 18px;
    border-top: 1px solid #1b354d;
    padding-top: 12px
}

.worker-register summary {
    cursor: pointer;
    color: #55caff;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 0
}

.worker-register[open] summary {
    margin-bottom: 8px
}

/* Customer dashboard based on supplied reference */
.ba-dashboard {
    min-height: 100vh;
    background: radial-gradient(ellipse at 75% 0%, #102d54 0, transparent 42%), linear-gradient(120deg, #07152b, #0a1b38 58%, #08172f);
    color: #edf5ff
}

.ba-dashboard .layout {
    min-height: 100vh
}

.ba-sidebar {
    width: 202px;
    flex: 0 0 202px;
    background: linear-gradient(180deg, rgba(5, 19, 42, .98), rgba(7, 24, 51, .98));
    border-right: 1px solid #19365a;
    padding: 18px 9px
}

.ba-logo {
    display: block;
    padding: 5px 18px 20px;
    color: #28b7ff;
    font-size: 21px;
    font-style: italic;
    font-weight: 900;
    letter-spacing: -1px
}

.ba-logo span {
    color: #f0f7ff
}

.ba-logo small {
    display: block;
    text-align: right;
    font-size: 8px;
    letter-spacing: 1px;
    color: #d6e8f7
}

.ba-sidebar .side-label {
    margin: 18px 12px 8px;
    color: #7892b1;
    font-size: 9px
}

.ba-sidebar>a:not(.ba-logo) {
    display: block;
    padding: 10px 11px;
    margin: 3px 0;
    border-radius: 6px;
    border-left: 2px solid transparent;
    color: #a9bdd6;
    font-size: 11px
}

.ba-sidebar>a.active,
.ba-sidebar>a:not(.ba-logo):hover {
    background: linear-gradient(90deg, #16436e, #17345a);
    border-left-color: #16b9ff;
    color: white
}

.ba-sidebar .logout-link {
    color: #ff647b !important;
    margin-top: 24px !important
}

.ba-content {
    width: calc(100% - 202px);
    max-width: 1600px;
    padding: 24px 20px 12px
}

.ba-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px
}

.ba-topbar h1 {
    font-size: 19px;
    margin: 0 0 8px
}

.ba-topbar .muted {
    margin: 0;
    font-size: 11px
}

.balance-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border: 1px solid #1d3d67;
    border-radius: 9px;
    background: linear-gradient(120deg, #102b50, #102343);
    color: white
}

.balance-chip>span {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border-radius: 8px;
    background: #087ce0
}

.balance-chip small,
.balance-chip strong {
    display: block;
    color: #a8bdd5;
    font-size: 9px
}

.balance-chip strong {
    color: white;
    font-size: 16px;
    margin-top: 4px
}

.customer-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 17px
}

.customer-stats article {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px solid #1b365b;
    border-radius: 9px;
    background: linear-gradient(145deg, #102748, #0c1f3e)
}

.customer-stat-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 19px;
    border: 1px solid currentColor
}

.customer-stat-icon.blue {
    color: #23aaff;
    background: #0c3c69
}

.customer-stat-icon.green {
    color: #2ed6ae;
    background: #073c3e
}

.customer-stat-icon.gold {
    color: #f3c43e;
    background: #40340d
}

.customer-stat-icon.red {
    color: #f14e6a;
    background: #401c34
}

.customer-stats small,
.customer-stats a {
    display: block;
    font-size: 9px;
    color: #9eb3ce
}

.customer-stats strong {
    display: block;
    font-size: 20px;
    margin: 4px 0
}

.customer-stats a {
    color: #159eff
}

.customer-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.3fr) minmax(230px, .9fr);
    gap: 15px
}

.ba-panel {
    padding: 16px;
    border: 1px solid #1b365b;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(15, 35, 65, .96), rgba(10, 27, 52, .96));
    box-shadow: 0 8px 24px #0002;
    min-width: 0
}

.ba-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px
}

.ba-panel h2,
.ba-panel-head h2 {
    font-size: 13px;
    margin: 0
}

.ba-panel-head a {
    font-size: 10px;
    color: #169fff
}

.ba-panel table {
    min-width: 650px
}

.ba-panel th {
    font-size: 9px;
    color: #91a9c7
}

.ba-panel td {
    font-size: 10px;
    color: #e0ebfa;
    padding: 12px 9px
}

.customer-side {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.customer-identity {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 18px 0
}

.customer-avatar {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #bdeaff, #2772b4);
    color: #08203d;
    font-size: 20px
}

.customer-identity b,
.customer-identity small {
    display: block;
    font-size: 10px
}

.customer-identity small {
    color: #91a9c7;
    margin-top: 5px
}

.account-meta {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #1c3657;
    font-size: 9px
}

.account-meta span {
    color: #91a9c7
}

.account-meta b {
    font-weight: 500
}

.support-card p {
    color: #9eb2cb;
    font-size: 10px;
    line-height: 1.7;
    margin: 12px 0 18px
}

.ba-dashboard .btn {
    background: linear-gradient(120deg, #1765ca, #168de8);
    color: #fff
}

.ba-dashboard .btn.outline {
    background: transparent;
    border: 1px solid #357eae;
    color: #9ddcff
}

.ba-dashboard .btn.full {
    display: block;
    text-align: center
}

.ba-footer {
    text-align: center;
    color: #718aa9;
    padding: 18px 0 5px;
    font-size: 10px
}

.order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(230px, .8fr);
    gap: 16px
}

.ba-form label {
    margin: 14px 0 7px
}

.ba-form input,
.ba-form select,
.ba-form textarea {
    background: #091b34;
    border-color: #25456d;
    font-size: 12px
}

.form-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px
}

.account-section {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #23517c;
    border-radius: 9px;
    background: linear-gradient(140deg, rgba(11, 45, 78, .8), rgba(9, 28, 53, .8))
}

.account-section h3 {
    font-size: 13px;
    margin: 0 0 6px
}

.account-section p,
.account-section small {
    font-size: 10px;
    color: #9eb8d5;
    line-height: 1.7
}

.account-section small {
    display: block;
    margin-top: 10px
}

.order-help h2 {
    margin-bottom: 18px
}

.help-step {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #1c3657;
    color: #b9cbe0;
    font-size: 10px;
    line-height: 1.6
}

.help-step b {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #1268b5;
    color: white
}

.security-note {
    margin: 18px 0;
    padding: 12px;
    border-radius: 8px;
    background: #342b16;
    color: #e8c978;
    font-size: 10px;
    line-height: 1.7
}

@media(max-width:900px) {
    .customer-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .customer-main-grid,
    .order-layout {
        grid-template-columns: 1fr
    }

    .ba-content {
        width: 100%
    }

    .ba-sidebar {
        width: 100%;
        flex-basis: auto
    }

    .ba-dashboard .layout {
        display: block
    }

    .ba-sidebar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px
    }

    .ba-logo {
        width: 100%
    }

    .ba-sidebar .side-label {
        display: none
    }

    .ba-sidebar>a:not(.ba-logo) {
        white-space: nowrap
    }
}

@media(max-width:560px) {
    .customer-stats {
        grid-template-columns: 1fr
    }

    .ba-content {
        padding: 17px 10px
    }

    .ba-topbar {
        align-items: flex-start
    }

    .ba-topbar h1 {
        font-size: 17px
    }

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

    .balance-chip {
        padding: 8px
    }

    .ba-sidebar>a:not(.ba-logo) {
        font-size: 9px;
        padding: 8px
    }
}

/* Homepage ZxFathanJokiBA - visual mengikuti screenshot referensi */
.home-page {
    background: #061a36;
    color: #f2f7ff;
    font-family: Arial, Helvetica, sans-serif
}

.home-header {
    height: 88px;
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5.1%;
    background: linear-gradient(180deg, rgba(2, 19, 43, .98), rgba(2, 19, 43, .72));
    border: 0
}

.home-logo {
    width: 205px;
    color: #21a9f5;
    font-size: 23px;
    font-style: italic;
    font-weight: 900;
    line-height: 19px;
    text-shadow: 0 2px 12px #008cff55
}

.home-logo strong {
    color: #f4f8ff
}

.home-logo small {
    display: block;
    color: #dceeff;
    font-size: 9px;
    letter-spacing: .5px;
    text-align: right;
    margin-right: 28px;
    line-height: 13px
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 36px;
    height: 100%
}

.home-nav a {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    color: #f1f5ff;
    font-size: 13px;
    font-weight: 600
}

.home-nav a.active:after {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00a8ff
}

.home-auth {
    display: flex;
    gap: 12px
}

.home-auth a {
    min-width: 86px;
    text-align: center;
    padding: 11px 20px;
    border-radius: 7px;
    color: white;
    font-size: 13px;
    font-weight: 600
}

.home-login {
    border: 1px solid #32618f;
    background: #14365e99
}

.home-register {
    background: linear-gradient(110deg, #1674dc, #087de7)
}

.home-hero {
    height: 595px;
    min-height: 595px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 105px 5.1% 35px;
    background-image: linear-gradient(90deg, rgba(2, 19, 43, .98) 0%, rgba(2, 20, 46, .95) 29%, rgba(3, 25, 57, .77) 47%, rgba(4, 31, 70, .18) 70%, rgba(4, 31, 70, .04) 100%), url('/blue-archive-joki/public/assets/images/city-background.png');
    background-size: cover;
    background-position: center center;
    overflow: hidden
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin-top: 12px
}

.hero-badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 18px;
    background: #245487;
    color: #e6f4ff;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 17px
}

.hero-content h1 {
    font-size: 40px;
    line-height: 1.18;
    letter-spacing: -.7px;
    margin: 0 0 13px;
    color: #f5f8ff;
    font-weight: 800
}

.hero-content h1 span {
    color: #078cf1
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: #e0ebfa;
    margin: 0
}

.hero-benefits {
    display: flex;
    gap: 27px;
    margin-top: 30px
}

.hero-benefit {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 145px
}

.benefit-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(145deg, #087fc5, #123c75);
    border: 1px solid #147ac0;
    color: #62ddff;
    font-size: 27px;
    box-shadow: 0 5px 20px #007bcb44
}

.hero-benefit b {
    display: block;
    font-size: 14px;
    margin: 4px 0 7px
}

.hero-benefit small {
    display: block;
    color: #bdcce0;
    font-size: 11px;
    line-height: 1.55
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 39px
}

.hero-actions a {
    height: 47px;
    min-width: 184px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 700
}

.hero-order {
    background: linear-gradient(110deg, #2462c5, #087fe0);
    box-shadow: 0 7px 22px #005bc044
}

.hero-services {
    border: 1px solid #d2e7ff;
    background: #0a234b99
}

.hero-order span {
    margin-left: 7px
}

.scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 49%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: #f3f7ff;
    font-size: 11px
}

.scroll-hint span {
    font-size: 25px;
    color: #12b8ff
}

.home-section {
    padding: 75px 6%;
    background: #071b35
}

.section-heading {
    text-align: center;
    margin-bottom: 32px
}

.section-heading>span {
    color: #25baff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px
}

.section-heading h2 {
    font-size: 30px;
    margin: 10px 0;
    color: #f4f8ff
}

.section-heading p {
    color: #9db4d0
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    max-width: 1200px;
    margin: auto
}

.home-service-card {
    padding: 23px;
    border: 1px solid #1d4168;
    border-radius: 12px;
    background: linear-gradient(145deg, #102a4c, #0a1e39)
}

.service-category {
    color: #40c6ff;
    font-size: 11px
}

.home-service-card h3 {
    font-size: 18px;
    margin: 12px 0
}

.home-service-card p {
    min-height: 42px;
    color: #9fb4ce;
    font-size: 13px;
    line-height: 1.6
}

.service-price {
    font-size: 20px;
    font-weight: 800;
    margin: 20px 0
}

.service-price small {
    font-size: 11px;
    color: #91a9c7;
    font-weight: 400
}

.home-service-card>a,
.home-contact>a {
    display: inline-block;
    padding: 11px 16px;
    border-radius: 6px;
    background: #137be0;
    color: white;
    font-size: 12px;
    font-weight: 700
}

.how-section {
    background: #091f3c
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: auto
}

.how-grid article,
.faq-section article {
    padding: 20px;
    border: 1px solid #1c3d63;
    border-radius: 10px;
    background: #102847
}

.how-grid article>b {
    color: #25baff;
    font-size: 24px
}

.how-grid h3,
.faq-section h3 {
    font-size: 15px
}

.how-grid p,
.faq-section p {
    color: #a4bad3;
    font-size: 12px;
    line-height: 1.7
}

.price-section {
    background: #071a33
}

.price-note {
    max-width: 900px;
    margin: auto;
    text-align: center;
    padding: 25px;
    border: 1px solid #21466e;
    border-radius: 10px;
    background: #102847;
    color: #c4d7ed
}

.faq-section {
    background: #091f3c
}

.faq-section article {
    max-width: 900px;
    margin: 12px auto
}

.home-contact {
    text-align: center;
    padding: 65px 20px;
    background: linear-gradient(120deg, #0c3560, #0b2040)
}

.home-contact h2 {
    font-size: 28px
}

.home-contact p {
    color: #b1c6df
}

.home-contact .contact-wa {
    margin-top: 24px;
    font-size: 12px
}

.home-contact .contact-wa a {
    color: #5bcaff
}

.home-footer {
    text-align: center;
    padding: 23px 12px;
    background: #041329;
    color: #91a9c7;
    font-size: 11px;
    border: 0
}

.home-footer strong {
    color: #eaf5ff
}

.home-footer span {
    margin-left: 8px;
    color: #4dbfff
}

@media(max-width:900px) {
    .home-header {
        padding: 0 3%;
        height: 78px
    }

    .home-nav {
        gap: 15px
    }

    .home-nav a {
        font-size: 11px
    }

    .home-logo {
        width: 145px;
        font-size: 19px
    }

    .home-hero {
        background-position: 58% center;
        padding-left: 5%;
    }

    .hero-content h1 {
        font-size: 34px
    }

    .hero-benefits {
        gap: 12px
    }

    .hero-benefit {
        min-width: 120px
    }

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

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

@media(max-width:620px) {
    .home-header {
        height: auto;
        min-height: 76px;
        flex-wrap: wrap;
        padding: 12px 5%;
        gap: 10px
    }

    .home-logo {
        width: auto
    }

    .home-nav {
        order: 3;
        width: 100%;
        height: 35px;
        justify-content: space-between;
        gap: 8px;
        overflow: auto
    }

    .home-nav a {
        white-space: nowrap;
        font-size: 10px
    }

    .home-nav a.active:after {
        bottom: 0
    }

    .home-auth a {
        min-width: 60px;
        padding: 9px 12px;
        font-size: 11px
    }

    .home-hero {
        min-height: 680px;
        height: auto;
        padding: 145px 6% 65px;
        background-position: 62% center;
        background-image: linear-gradient(90deg, rgba(2, 19, 43, .97), rgba(2, 20, 46, .88) 58%, rgba(3, 25, 57, .42)), url('/blue-archive-joki/public/assets/images/city-background.png')
    }

    .hero-content {
        margin: 0
    }

    .hero-content h1 {
        font-size: 31px
    }

    .hero-description {
        font-size: 14px
    }

    .desktop-only {
        display: none
    }

    .hero-benefits {
        gap: 12px;
        flex-wrap: wrap
    }

    .hero-benefit {
        min-width: 42%;
    }

    .hero-actions {
        gap: 10px
    }

    .hero-actions a {
        min-width: 0;
        flex: 1;
        font-size: 12px
    }

    .scroll-hint {
        display: none
    }

    .home-service-grid,
    .how-grid {
        grid-template-columns: 1fr
    }

    .home-section {
        padding: 55px 6%
    }

    .section-heading h2 {
        font-size: 25px
    }

    .home-footer span {
        display: block;
        margin: 7px 0 0
    }
}


/* Homepage hero: satu layar penuh, bagian layanan mulai setelah hero */
@media (min-width: 901px) {
    .home-hero {
        height: 100vh;
        min-height: 760px;
        box-sizing: border-box;
        padding-top: 112px;
        padding-bottom: 35px;
        background-image:
            linear-gradient(90deg,
                rgba(2, 19, 43, .98) 0%,
                rgba(2, 20, 46, .94) 28%,
                rgba(3, 25, 57, .74) 46%,
                rgba(4, 31, 70, .10) 70%,
                rgba(4, 31, 70, .02) 100%),
            url('/blue-archive-joki/public/assets/images/hero-character.png'),
            url('/blue-archive-joki/public/assets/images/city-background.png');
        background-repeat: no-repeat, no-repeat, no-repeat;
        background-position: center, right center, center center;
        background-size: cover, auto 100%, cover;
        overflow: hidden;
    }
}

:root { color-scheme: dark; }
html, body {
    min-height: 100%;
    background: #061b45 url("/?page=latar") center center / cover fixed no-repeat !important;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(3, 12, 39, .62), rgba(5, 34, 83, .38));
}
.layout, .content, main, header, .home-header, .home-hero,
.home-section, .sidebar, .panel, .metric, .card, article,
.home-service-card, .job, .auth-card, .form-card, .topline,
section, .modal, .table-wrap, .account-data {
    background-image: linear-gradient(rgba(4, 18, 49, .70), rgba(5, 27, 65, .76)),
                      url("/?page=latar") !important;
    background-position: center center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    border-color: rgba(111, 190, 255, .22) !important;
}
input, select, textarea {
    background-color: rgba(4, 19, 48, .82) !important;
    color: #eef7ff !important;
    border-color: rgba(110, 185, 255, .35) !important;
}
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid rgba(111, 190, 255, .22); }
.tabel-admin { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.tabel-admin thead th {
    background: rgba(18, 64, 128, .85) !important;
    color: #cfe8ff; text-transform: uppercase; font-size: 12px; letter-spacing: .04em;
    font-weight: 700; padding: 12px 14px; text-align: left; white-space: nowrap;
    border-bottom: 1px solid rgba(111, 190, 255, .35);
}
.tabel-admin tbody td, .tabel-admin tr td { padding: 12px 14px; border-bottom: 1px solid rgba(111, 190, 255, .12); vertical-align: middle; color: #eef7ff; }
.tabel-admin tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
.tabel-admin tbody tr:hover td { background: rgba(80, 160, 255, .10); }
.tabel-admin tr:first-child th { background: rgba(18, 64, 128, .85); color: #cfe8ff; padding: 12px 14px; text-align: left; font-size: 12px; text-transform: uppercase; }
.tabel-admin .kanan { text-align: right; white-space: nowrap; }
.tabel-admin .tengah { text-align: center; }
.tabel-admin .kode { font-family: monospace; color: #8fd0ff; white-space: nowrap; }
.tabel-admin .tabel-kosong { text-align: center; color: #9fb6d1; padding: 28px 14px; }
.sub-teks { display: block; font-size: 11px !important; color: #9fb6d1; margin-top: 2px; }
.tabel-admin th.kanan { text-align: right !important; }
.tabel-admin th.tengah { text-align: center !important; }
.aksi-tabel { display: flex !important; flex-direction: row !important; gap: 6px; flex-wrap: nowrap; align-items: center; }
.aksi-tabel form { margin: 0; display: inline-flex; }
.aksi-tabel select { width: auto !important; min-width: 120px; padding: 6px 8px; border-radius: 6px; border: 1px solid; margin: 0 !important; }
.aksi-tabel .admin-button, .tabel-admin .admin-button { white-space: nowrap; margin: 0 !important; width: auto !important; }
.filter-tabel { display: flex !important; flex-direction: row !important; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 14px; }
.filter-tabel label { font-size: 13px; color: #9fb6d1; margin: 0 !important; width: auto !important; display: inline-block !important; }
.filter-tabel select { width: auto !important; min-width: 220px; padding: 8px 12px; border-radius: 8px; border: 1px solid; margin: 0 !important; }
.filter-tabel .admin-button { width: auto !important; margin: 0 !important; }
.lencana-status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.lencana-status.kuning { background: rgba(250, 204, 21, .15); color: #fde047; border-color: rgba(250, 204, 21, .4); }
.lencana-status.biru { background: rgba(59, 130, 246, .15); color: #93c5fd; border-color: rgba(59, 130, 246, .4); }
.lencana-status.ungu { background: rgba(168, 85, 247, .15); color: #d8b4fe; border-color: rgba(168, 85, 247, .4); }
.lencana-status.oranye { background: rgba(249, 115, 22, .15); color: #fdba74; border-color: rgba(249, 115, 22, .4); }
.lencana-status.hijau { background: rgba(34, 197, 94, .15); color: #86efac; border-color: rgba(34, 197, 94, .4); }
.lencana-status.merah { background: rgba(239, 68, 68, .15); color: #fca5a5; border-color: rgba(239, 68, 68, .4); }
.lencana-status.abu { background: rgba(148, 163, 184, .15); color: #cbd5e1; border-color: rgba(148, 163, 184, .4); }
a.tautan-status { text-decoration: none; color: inherit; }
a.tautan-status:hover { background: rgba(80, 160, 255, .10); }
.admin-grid .tabel-admin { min-width: 0 !important; }
a.tautan-status { display: flex; justify-content: space-between; align-items: center; }
[data-panel][hidden], .admin-lower[hidden] { display: none !important; }
.foto-avatar { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.kepala-panel { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.gambar-qris { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto 16px; border-radius: 14px; background: #fff; }
.form-foto-profil { display: grid; gap: 8px; margin-bottom: 12px; }
.grup-ekspor { display: flex; gap: 8px; }
.judul-jarak { margin-top: 28px; }
.grid-qris { display: grid; grid-template-columns: minmax(220px, 360px) minmax(240px, 1fr); gap: 24px; align-items: start; }
.gambar-qris-admin { width: 100%; height: auto; border-radius: 14px; background: #fff; }
.form-foto-admin { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.navigasi-halaman { display: flex; gap: 6px; justify-content: flex-end; align-items: center; margin: 12px 0; flex-wrap: wrap; }
.tombol-halaman { padding: 6px 10px; border: 1px solid #47718e; border-radius: 6px; background: #102a43; color: #fff; text-decoration: none; transition: background-color .2s; }
a.tombol-halaman:hover { background: #1b4a73; }
.tombol-halaman.mati { opacity: .45; cursor: default; }
.tombol-halaman.aktif { background: #1f7ae0; border-color: #5fb0ff; font-weight: 700; cursor: default; }
.filter-tabel input[type="search"] { width: auto !important; min-width: 260px; padding: 8px 12px; border-radius: 8px; border: 1px solid; margin: 0 !important; }
.grid-grafik { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; background: none !important; border: 0 !important; padding: 0 !important; }
.grafik-legenda { display: flex; gap: 18px; font-size: 12px; color: #9fb6d1; margin: 4px 0 14px; }
.grafik-legenda span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.legenda-order::before { background: #38bdf8; }
.legenda-topup::before { background: #facc15; }
.grafik-area { display: flex; gap: 10px; height: 220px; }
.grafik-sumbu { display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; color: #9fb6d1; text-align: right; padding-bottom: 22px; white-space: nowrap; }
.grafik-isi { flex: 1; display: flex; align-items: stretch; gap: 4px; border-left: 1px solid rgba(111, 190, 255, .25); border-bottom: 0; padding-left: 6px; }
.grafik-kolom { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.grafik-pasangan { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; border-bottom: 1px solid rgba(111, 190, 255, .25); }
.grafik-kolom:hover .grafik-pasangan { background: rgba(80, 160, 255, .08); }
.grafik-batang { display: block; width: 40%; max-width: 14px; border-radius: 4px 4px 0 0; transition: opacity .2s; }
.grafik-batang.batang-order { background: linear-gradient(180deg, #7dd3fc, #0284c7); }
.grafik-batang.batang-topup { background: linear-gradient(180deg, #fde68a, #ca8a04); }
.grafik-kolom small { font-size: 10px; color: #9fb6d1; margin-top: 6px; white-space: nowrap; height: 16px; }
@media (max-width: 1100px) { .grid-grafik { grid-template-columns: 1fr; } }
.grafik-batang.lebar { width: 60%; max-width: 22px; }
.grid-grafik > * { min-width: 0; }
.grafik-area { overflow-x: auto; }
.grafik-isi { min-width: 420px; }
.ringkasan-kotor .summary-four { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width: 700px) { .ringkasan-kotor .summary-four { grid-template-columns: 1fr !important; } }
.ringkasan-periode { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; background: none !important; border: 0 !important; padding: 0 !important; }
.kartu-periode { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(111, 190, 255, .22); transition: transform .2s; }
.kartu-periode:hover { transform: translateY(-2px); }
.kartu-periode small { font-size: 12px; color: #9fb6d1; text-transform: uppercase; letter-spacing: .04em; }
.kartu-periode strong { font-size: 26px; color: #eef7ff; }
.kartu-periode span { font-size: 12px; color: #8fd0ff; }
.ringkasan-kotor { margin-bottom: 24px; padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(111, 190, 255, .22); }
.ringkasan-kotor > small { font-size: 12px; color: #9fb6d1; text-transform: uppercase; letter-spacing: .04em; }
.aksi-lipat { position: relative; }
.aksi-lipat summary { list-style: none; cursor: pointer; display: inline-block; }
.aksi-lipat summary::-webkit-details-marker { display: none; }
.aksi-lipat[open] summary { background: #1f3b5c; }
.form-lipat { display: grid; gap: 6px; margin-top: 6px; padding: 10px; min-width: 220px; border-radius: 10px; background: rgba(4, 19, 48, .95); border: 1px solid rgba(111, 190, 255, .3); }
.form-lipat input { width: 100% !important; padding: 6px 8px; border-radius: 6px; border: 1px solid; margin: 0 !important; }
.form-lipat small { font-size: 12px; color: #fca5a5; white-space: normal; }
.tombol-bahaya { background: #dc2626 !important; border-color: #ef4444 !important; color: #fff !important; }
.aksi-tabel { flex-wrap: wrap !important; align-items: flex-start !important; }
@media (max-width: 900px) { .ringkasan-periode { grid-template-columns: 1fr; } }
.tinggi-0 { height: 0%; }
.tinggi-5 { height: 5%; }
.tinggi-10 { height: 10%; }
.tinggi-15 { height: 15%; }
.tinggi-20 { height: 20%; }
.tinggi-25 { height: 25%; }
.tinggi-30 { height: 30%; }
.tinggi-35 { height: 35%; }
.tinggi-40 { height: 40%; }
.tinggi-45 { height: 45%; }
.tinggi-50 { height: 50%; }
.tinggi-55 { height: 55%; }
.tinggi-60 { height: 60%; }
.tinggi-65 { height: 65%; }
.tinggi-70 { height: 70%; }
.tinggi-75 { height: 75%; }
.tinggi-80 { height: 80%; }
.tinggi-85 { height: 85%; }
.tinggi-90 { height: 90%; }
.tinggi-95 { height: 95%; }
.tinggi-100 { height: 100%; }
