/* =========================================================
   THEME VARIABLES
========================================================= */

:root {

    --background:
        #f4f7fb;

    --background-soft:
        #eef4ff;

    --surface:
        #ffffff;

    --surface-soft:
        #f6f8fb;

    --surface-hover:
        #f0f4f9;

    --text:
        #172033;

    --text-soft:
        #6f7b8d;

    --text-muted:
        #8e98a8;

    --border:
        #e1e7ef;

    --primary:
        #174a8b;

    --primary-light:
        #167fd3;

    --primary-soft:
        #e8f2ff;

    --green:
        #22915b;

    --green-soft:
        #e7f8ee;

    --red:
        #c43d3d;

    --red-soft:
        #ffe9e9;

    --orange:
        #b7680d;

    --orange-soft:
        #fff0df;

    --purple:
        #744bc2;

    --purple-soft:
        #f0eaff;

    --shadow:
        0 15px 38px rgba(25, 45, 75, .10);

    --overlay:
        rgba(12, 25, 45, .58);

}


/* =========================================================
   DARK THEME
========================================================= */

html[data-theme="dark"] {

    --background:
        #0d1117;

    --background-soft:
        #111821;

    --surface:
        #161d27;

    --surface-soft:
        #1c2531;

    --surface-hover:
        #222d3a;

    --text:
        #eef4fb;

    --text-soft:
        #a8b3c2;

    --text-muted:
        #818d9c;

    --border:
        #2a3543;

    --primary:
        #56a8ed;

    --primary-light:
        #287fca;

    --primary-soft:
        #172d43;

    --green:
        #62d89a;

    --green-soft:
        #163529;

    --red:
        #ff7a7a;

    --red-soft:
        #3b2024;

    --orange:
        #f0a854;

    --orange-soft:
        #3c2b1d;

    --purple:
        #b69bf1;

    --purple-soft:
        #30264b;

    --shadow:
        0 16px 40px rgba(0, 0, 0, .30);

    --overlay:
        rgba(0, 0, 0, .72);

}


/* =========================================================
   RESET
========================================================= */

* {

    margin:
        0;

    padding:
        0;

    box-sizing:
        border-box;

}


html {

    scroll-behavior:
        smooth;

}


body {

    min-height:
        100vh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color:
        var(--text);

    background:

        linear-gradient(
            135deg,
            var(--background),
            var(--background-soft)
        );

    transition:

        background .25s,
        color .25s;

}


button,
input,
select,
textarea {

    font-family:
        inherit;

}


button {

    cursor:
        pointer;

}


.hidden {

    display:
        none !important;

}


/* =========================================================
   GENERIC FORM ELEMENTS
========================================================= */

input,
select,
textarea {

    color:
        var(--text);

    background:
        var(--surface);

}


label {

    color:
        var(--text);

}


/* =========================================================
   LOGIN
========================================================= */

.login-screen {

    min-height:
        100vh;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        32px 20px;

    background:

        radial-gradient(
            circle at top left,
            rgba(74, 151, 226, .14),
            transparent 38%
        ),

        radial-gradient(
            circle at bottom right,
            rgba(95, 194, 240, .12),
            transparent 38%
        ),

        var(--background);

}


.login-wrapper {

    width:
        100%;

    max-width:
        455px;

}


.login-brand {

    text-align:
        center;

    margin-bottom:
        20px;

}


.login-logo-img {

    display:
        block;

    width:
        325px;

    max-width:
        94%;

    margin:
        auto;

}


.login-tagline {

    color:
        var(--text-soft);

    font-size:
        15px;

}


.login-card {

    padding:
        30px;

    border:
        1px solid var(--border);

    border-radius:
        25px;

    background:
        var(--surface);

    box-shadow:
        var(--shadow);

}


.login-heading {

    display:
        flex;

    align-items:
        center;

    gap:
        13px;

    margin-bottom:
        25px;

}


.login-heading p {

    margin-top:
        4px;

    color:
        var(--text-muted);

    font-size:
        13px;

}


.login-icon,
.modal-icon {

    width:
        50px;

    height:
        50px;

    border-radius:
        14px;

    color:
        var(--primary);

    background:
        var(--primary-soft);

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.login-card label,
.modal-content label {

    display:
        block;

    margin:
        18px 0 8px;

    font-size:
        13px;

    font-weight:
        bold;

}


.login-input {

    min-height:
        52px;

    padding:
        0 14px;

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    border:
        1px solid var(--border);

    border-radius:
        12px;

    background:
        var(--surface);

}


.login-input:focus-within {

    border-color:
        var(--primary);

    box-shadow:
        0 0 0 4px rgba(39, 114, 201, .10);

}


.login-input input {

    flex:
        1;

    min-width:
        0;

    padding:
        14px 0;

    border:
        none;

    outline:
        none;

    font-size:
        14px;

    background:
        transparent;

}


.icon-plain-button {

    border:
        none;

    background:
        transparent;

    color:
        var(--text-soft);

    display:
        flex;

    align-items:
        center;

}


.login-button,
.modal-primary-button {

    width:
        100%;

    min-height:
        48px;

    margin-top:
        22px;

    padding:
        13px 18px;

    border:
        none;

    border-radius:
        12px;

    color:
        white;

    background:

        linear-gradient(
            135deg,
            #174a8b,
            #167fd3
        );

    font-weight:
        bold;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        8px;

}


.demo-login-button {

    width:
        100%;

    min-height:
        46px;

    margin-top:
        10px;

    border:
        1px solid var(--border);

    border-radius:
        12px;

    color:
        var(--primary);

    background:
        var(--surface-soft);

    font-weight:
        bold;

}


.login-error {

    display:
        none;

    gap:
        8px;

    padding:
        11px;

    margin-bottom:
        12px;

    border:
        1px solid var(--red);

    border-radius:
        10px;

    background:
        var(--red-soft);

    color:
        var(--red);

}


.login-error.show {

    display:
        flex;

}


.security-notice,
.prototype-notice,
.virtual-card-warning,
.bank-redirect-notice {

    display:
        flex;

    gap:
        11px;

    padding:
        14px;

    border-radius:
        13px;

    background:
        var(--primary-soft);

    color:
        var(--text-soft);

}


.security-notice {

    margin-top:
        22px;

}


.security-notice svg,
.prototype-notice svg {

    min-width:
        20px;

    color:
        var(--primary);

}


.security-notice strong,
.prototype-notice strong {

    display:
        block;

    color:
        var(--primary);

    font-size:
        12px;

}


.security-notice p,
.prototype-notice p {

    margin-top:
        4px;

    font-size:
        11px;

    line-height:
        1.5;

}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    min-height:
        78px;

    padding:
        0 6%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    position:
        sticky;

    top:
        0;

    z-index:
        100;

    border-bottom:
        1px solid var(--border);

    background:
        color-mix(in srgb, var(--surface) 96%, transparent);

    backdrop-filter:
        blur(12px);

}


.navbar-brand-button {

    border:
        none;

    background:
        transparent;

    display:
        flex;

    align-items:
        center;

}


.navbar-logo {

    width:
        178px;

    max-height:
        60px;

    object-fit:
        contain;

}


.nav-right {

    display:
        flex;

    align-items:
        center;

    gap:
        11px;

}


.student-status {

    display:
        flex;

    align-items:
        center;

    gap:
        9px;

    margin-right:
        5px;

}


.student-status > svg {

    width:
        20px;

    color:
        var(--primary);

}


.student-status div {

    display:
        flex;

    flex-direction:
        column;

}


.student-status strong {

    font-size:
        13px;

}


.student-status span {

    color:
        var(--text-muted);

    font-size:
        11px;

}


.navbar-icon-button {

    width:
        42px;

    height:
        42px;

    position:
        relative;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid var(--border);

    border-radius:
        50%;

    color:
        var(--text-soft);

    background:
        var(--surface);

}


.navbar-icon-button:hover {

    color:
        var(--primary);

    background:
        var(--surface-soft);

}


/* =========================================================
   THEME PANEL
========================================================= */

.theme-wrapper,
.notification-wrapper,
.settings-wrapper,
.profile-wrapper {

    position:
        relative;

}


.theme-panel {

    position:
        absolute;

    top:
        53px;

    right:
        0;

    width:
        210px;

    padding:
        9px;

    z-index:
        250;

    border:
        1px solid var(--border);

    border-radius:
        14px;

    background:
        var(--surface);

    box-shadow:
        var(--shadow);

}


.theme-panel-title {

    padding:
        10px;

    border-bottom:
        1px solid var(--border);

    margin-bottom:
        5px;

}


.theme-panel-title span {

    display:
        block;

    margin-top:
        3px;

    color:
        var(--text-muted);

    font-size:
        10px;

}


.theme-panel button {

    width:
        100%;

    padding:
        10px;

    border:
        none;

    border-radius:
        9px;

    background:
        transparent;

    color:
        var(--text);

    display:
        flex;

    align-items:
        center;

    gap:
        9px;

    text-align:
        left;

}


.theme-panel button:hover,
.theme-panel button.active {

    background:
        var(--surface-hover);

    color:
        var(--primary);

}


/* =========================================================
   NOTIFICATIONS
========================================================= */

.notification-badge {

    position:
        absolute;

    top:
        -3px;

    right:
        -3px;

    min-width:
        18px;

    height:
        18px;

    padding:
        0 4px;

    border:
        2px solid var(--surface);

    border-radius:
        999px;

    background:
        #e54242;

    color:
        white;

    font-size:
        10px;

    font-weight:
        bold;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.notification-panel {

    position:
        fixed;

    top:
        88px;

    right:
        6%;

    width:
        min(
            390px,
            calc(100vw - 20px)
        );

    max-height:
        min(
            520px,
            calc(100vh - 108px)
        );

    overflow:
        hidden;

    z-index:
        1200;

    border:
        1px solid var(--border);

    border-radius:
        18px;

    background:
        var(--surface);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, .22);

}


.notification-panel-header {

    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    padding:
        18px;

    border-bottom:
        1px solid var(--border);

}


.notification-panel-header p {

    margin-top:
        4px;

    color:
        var(--text-muted);

    font-size:
        11px;

}


.small-round-button {

    width:
        31px;

    height:
        31px;

    border:
        none;

    border-radius:
        50%;

    background:
        var(--surface-soft);

    color:
        var(--text-soft);

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.notification-actions {

    padding:
        10px 15px;

    display:
        flex;

    justify-content:
        flex-end;

    gap:
        10px;

    border-bottom:
        1px solid var(--border);

    background:
        var(--surface-soft);

}


.notification-actions button {

    border:
        none;

    background:
        transparent;

    color:
        var(--primary);

    font-size:
        11px;

    font-weight:
        bold;

    display:
        flex;

    gap:
        5px;

    align-items:
        center;

}


.notification-list {

    max-height:
        min(
            390px,
            calc(100vh - 245px)
        );

    overflow-y:
        auto;

    overscroll-behavior:
        contain;

}


.notification-item {

    padding:
        14px 16px;

    display:
        grid;

    grid-template-columns:
        auto 1fr auto;

    gap:
        11px;

    border-bottom:
        1px solid var(--border);

    cursor:
        pointer;

}


.notification-item:hover {

    background:
        var(--surface-hover);

}


.notification-item.unread {

    background:
        var(--primary-soft);

}


.notification-icon {

    width:
        39px;

    height:
        39px;

    border-radius:
        11px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.notification-icon.info {

    color:
        var(--primary);

    background:
        var(--primary-soft);

}


.notification-icon.success {

    color:
        var(--green);

    background:
        var(--green-soft);

}


.notification-icon.warning {

    color:
        var(--orange);

    background:
        var(--orange-soft);

}


.notification-icon.danger {

    color:
        var(--red);

    background:
        var(--red-soft);

}


.notification-body h4 {

    margin-bottom:
        4px;

    font-size:
        13px;

}


.notification-body p {

    color:
        var(--text-soft);

    font-size:
        12px;

    line-height:
        1.45;

}


.notification-body small {

    display:
        block;

    margin-top:
        5px;

    color:
        var(--text-muted);

    font-size:
        10px;

}


.notification-unread-dot {

    width:
        8px;

    height:
        8px;

    margin-top:
        5px;

    border-radius:
        50%;

    background:
        var(--primary);

}


.notification-empty {

    padding:
        42px 20px;

    text-align:
        center;

    color:
        var(--text-muted);

}


/* =========================================================
   PROFILE
========================================================= */

.profile-button {

    width:
        42px;

    height:
        42px;

    border:
        none;

    border-radius:
        50%;

    color:
        white;

    font-weight:
        bold;

    background:

        linear-gradient(
            135deg,
            #174a8b,
            #168bd8
        );

}


.profile-menu {

    position:
        absolute;

    top:
        54px;

    right:
        0;

    width:
        225px;

    padding:
        10px;

    z-index:
        250;

    border:
        1px solid var(--border);

    border-radius:
        14px;

    background:
        var(--surface);

    box-shadow:
        var(--shadow);

}


.profile-menu-header {

    padding:
        10px;

}


.profile-menu-header span {

    display:
        block;

    margin-top:
        3px;

    color:
        var(--text-muted);

    font-size:
        11px;

}


.profile-menu button {

    width:
        100%;

    padding:
        10px;

    border:
        none;

    border-radius:
        8px;

    color:
        var(--text);

    background:
        transparent;

    text-align:
        left;

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

}


.profile-menu button:hover {

    background:
        var(--surface-hover);

}


.profile-divider {

    height:
        1px;

    margin:
        6px 0;

    background:
        var(--border);

}


.profile-menu .logout-button {

    color:
        var(--red);

}


/* =========================================================
   GENERAL LAYOUT
========================================================= */

.container {

    width:
        88%;

    max-width:
        1250px;

    margin:
        auto;

    padding:
        45px 0 85px;

}


.welcome {

    margin-bottom:
        30px;

}


.small-title,
.mini-label {

    color:
        var(--primary);

    font-size:
        11px;

    font-weight:
        bold;

    letter-spacing:
        1.4px;

}


.welcome h1 {

    margin:
        7px 0;

    font-size:
        34px;

}


.welcome p,
.section-header p {

    color:
        var(--text-soft);

    line-height:
        1.5;

}


.section-header {

    margin-bottom:
        18px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

}


.section-heading {

    margin-bottom:
        6px;

    font-size:
        22px;

}


.standard-section {

    padding:
        28px;

    margin-bottom:
        25px;

    border:
        1px solid var(--border);

    border-radius:
        22px;

    background:
        var(--surface);

    box-shadow:
        0 4px 15px rgba(20, 40, 70, .025);

}


.text-button {

    border:
        none;

    background:
        transparent;

    color:
        var(--primary);

    font-weight:
        bold;

}


/* =========================================================
   WALLET
========================================================= */

.wallet-section {

    display:
        grid;

    grid-template-columns:
        1.55fr 1fr 1fr;

    gap:
        18px;

    margin-bottom:
        25px;

}


.wallet-card {

    padding:
        27px;

    border-radius:
        22px;

    color:
        white;

    background:

        linear-gradient(
            135deg,
            #174a8b,
            #167fd3
        );

    box-shadow:
        0 16px 35px rgba(23, 74, 139, .20);

}


.wallet-header {

    display:
        flex;

    justify-content:
        space-between;

    gap:
        20px;

}


.wallet-label-line {

    display:
        flex;

    align-items:
        center;

    gap:
        9px;

}


.wallet-label {

    font-size:
        11px;

    letter-spacing:
        1.1px;

    opacity:
        .82;

}


.wallet-eye-button {

    width:
        28px;

    height:
        28px;

    border:
        1px solid rgba(255,255,255,.20);

    border-radius:
        50%;

    color:
        white;

    background:
        rgba(255,255,255,.10);

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.wallet-eye-button svg {

    width:
        15px;

}


.wallet-card h2 {

    margin-top:
        8px;

    font-size:
        38px;

}


.wallet-card p {

    opacity:
        .78;

}


.wallet-icon {

    width:
        51px;

    height:
        51px;

    border-radius:
        15px;

    background:
        rgba(255,255,255,.15);

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.wallet-actions {

    margin-top:
        28px;

    display:
        flex;

    gap:
        10px;

}


.primary-button,
.secondary-button {

    padding:
        12px 17px;

    border-radius:
        11px;

    font-weight:
        bold;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

}


.primary-button {

    border:
        none;

    color:
        #174a8b;

    background:
        white;

}


.secondary-button {

    border:
        1px solid rgba(255,255,255,.25);

    color:
        white;

    background:
        rgba(255,255,255,.10);

}


/* =========================================================
   VIRTUAL CARD PREVIEW
========================================================= */

.virtual-card-preview {

    min-height:
        195px;

    padding:
        22px;

    border:
        none;

    border-radius:
        22px;

    color:
        white;

    text-align:
        left;

    background:

        linear-gradient(
            145deg,
            #111d34,
            #174a8b 58%,
            #18a4dd
        );

    box-shadow:
        var(--shadow);

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        space-between;

}


.virtual-card-preview-top,
.virtual-card-footer {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

}


.virtual-card-preview .mini-label {

    display:
        block;

    color:
        #81d7ff;

    margin-bottom:
        3px;

}


.virtual-card-student {

    display:
        flex;

    align-items:
        center;

    gap:
        12px;

}


.virtual-card-avatar {

    width:
        44px;

    height:
        44px;

    border:
        2px solid rgba(255,255,255,.35);

    border-radius:
        50%;

    background:
        rgba(255,255,255,.15);

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    font-weight:
        bold;

}


.virtual-card-student span {

    display:
        block;

    margin-top:
        3px;

    font-size:
        11px;

    opacity:
        .8;

}


.virtual-card-footer {

    font-size:
        11px;

    opacity:
        .8;

}


/* =========================================================
   RECOMMENDATION
========================================================= */

.recommendation-card {

    padding:
        22px;

    display:
        flex;

    gap:
        14px;

    border:
        1px solid var(--border);

    border-radius:
        22px;

    background:
        var(--surface);

}


.recommendation-icon {

    min-width:
        44px;

    height:
        44px;

    border-radius:
        12px;

    color:
        #c88600;

    background:
        #fff4ce;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


html[data-theme="dark"]
.recommendation-icon {

    background:
        #3a3118;

    color:
        #ffd163;

}


.recommendation-card p {

    margin-top:
        8px;

    color:
        var(--text-soft);

    font-size:
        13px;

    line-height:
        1.5;

}


/* =========================================================
   SUMMARY
========================================================= */

.financial-summary {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        15px;

    margin-bottom:
        35px;

}


.summary-card {

    padding:
        18px;

    display:
        flex;

    align-items:
        center;

    gap:
        13px;

    border:
        1px solid var(--border);

    border-radius:
        17px;

    background:
        var(--surface);

}


.summary-icon,
.card-icon {

    width:
        44px;

    height:
        44px;

    min-width:
        44px;

    border-radius:
        11px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.blue {

    color:
        var(--primary);

    background:
        var(--primary-soft);

}


.red {

    color:
        var(--red);

    background:
        var(--red-soft);

}


.green {

    color:
        var(--green);

    background:
        var(--green-soft);

}


.purple {

    color:
        var(--purple);

    background:
        var(--purple-soft);

}


.orange {

    color:
        var(--orange);

    background:
        var(--orange-soft);

}


.summary-card span {

    display:
        block;

    margin-bottom:
        4px;

    color:
        var(--text-muted);

    font-size:
        11px;

}


/* =========================================================
   FIELDS / SEARCH
========================================================= */

.field-group {

    margin-bottom:
        16px;

}


.field-group label {

    display:
        block;

    margin-bottom:
        7px;

    color:
        var(--primary);

    font-size:
        12px;

    font-weight:
        bold;

}


.select-with-icon {

    position:
        relative;

}


.select-with-icon svg {

    position:
        absolute;

    left:
        15px;

    top:
        50%;

    transform:
        translateY(-50%);

    pointer-events:
        none;

    color:
        var(--primary);

}


.select-with-icon select {

    width:
        100%;

    padding:
        14px 45px;

    border:
        1px solid var(--border);

    border-radius:
        12px;

}


.location-button {

    padding:
        12px 17px;

    border:
        none;

    border-radius:
        10px;

    color:
        white;

    background:

        linear-gradient(
            135deg,
            #174a8b,
            #167fd3
        );

    font-weight:
        bold;

    display:
        flex;

    align-items:
        center;

    gap:
        7px;

}


.printer-tools {

    display:
        grid;

    grid-template-columns:
        1fr 210px;

    gap:
        11px;

    margin-bottom:
        13px;

}


.printer-search {

    position:
        relative;

}


.printer-search svg {

    width:
        18px;

    position:
        absolute;

    left:
        15px;

    top:
        50%;

    transform:
        translateY(-50%);

    color:
        var(--text-muted);

}


.printer-search input {

    width:
        100%;

    padding:
        14px 14px 14px 44px;

    border:
        1px solid var(--border);

    border-radius:
        12px;

    outline:
        none;

}


.sort-select {

    padding:
        13px;

    border:
        1px solid var(--border);

    border-radius:
        12px;

}


/* =========================================================
   FILTERS
========================================================= */

.filter-section {

    margin-bottom:
        18px;

    padding:
        13px;

    border-radius:
        13px;

    background:
        var(--surface-soft);

}


.filter-title {

    display:
        flex;

    align-items:
        center;

    gap:
        7px;

    margin-bottom:
        10px;

    color:
        var(--text-soft);

    font-size:
        12px;

    font-weight:
        bold;

}


.filter-chips {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        8px;

}


.filter-chip {

    position:
        relative;

}


.filter-chip input {

    position:
        absolute;

    opacity:
        0;

}


.filter-chip span,
.clear-filter-button {

    padding:
        8px 12px;

    display:
        block;

    white-space:
        nowrap;

    border:
        1px solid var(--border);

    border-radius:
        999px;

    color:
        var(--text-soft);

    background:
        var(--surface);

    font-size:
        12px;

    font-weight:
        bold;

}


.filter-chip input:checked + span {

    color:
        white;

    border-color:
        #174a8b;

    background:
        #174a8b;

}


/* =========================================================
   MAP
========================================================= */

.google-map {

    height:
        435px;

    overflow:
        hidden;

    position:
        relative;

    border-radius:
        16px;

    background:
        var(--surface-soft);

}


.map-loading {

    position:
        absolute;

    inset:
        0;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    gap:
        8px;

    color:
        var(--text-muted);

}


.prototype-notice {

    margin-top:
        13px;

}


.printer-results {

    margin-top:
        23px;

}


.printer-results-header {

    display:
        flex;

    justify-content:
        space-between;

    margin-bottom:
        13px;

}


.printer-results-header p {

    margin-top:
        3px;

    color:
        var(--text-muted);

    font-size:
        12px;

}


.result-count {

    height:
        fit-content;

    padding:
        7px 11px;

    border-radius:
        999px;

    color:
        var(--primary);

    background:
        var(--primary-soft);

    font-size:
        11px;

    font-weight:
        bold;

}


/* =========================================================
   PRINTER CARDS
========================================================= */

.printer-item {

    padding:
        18px;

    margin-bottom:
        12px;

    display:
        grid;

    grid-template-columns:
        auto minmax(200px, 1fr) auto;

    align-items:
        center;

    gap:
        14px;

    border:
        1px solid var(--border);

    border-radius:
        16px;

    background:
        var(--surface);

}


.printer-item:hover {

    box-shadow:
        var(--shadow);

}


.printer-icon {

    width:
        50px;

    height:
        50px;

    border-radius:
        13px;

    color:
        var(--primary);

    background:
        var(--primary-soft);

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.printer-id {

    color:
        var(--text-muted);

    font-size:
        10px;

    font-weight:
        bold;

    letter-spacing:
        .5px;

}


.printer-info h4 {

    margin:
        3px 0 5px;

}


.printer-location {

    color:
        var(--text);

    font-size:
        13px;

    font-weight:
        bold;

}


.printer-description {

    margin-top:
        4px;

    color:
        var(--text-soft);

    font-size:
        12px;

    line-height:
        1.4;

}


.printer-meta {

    margin-top:
        9px;

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        7px;

}


.printer-status,
.printer-distance,
.capability-badge,
.wait-badge,
.issue-badge {

    padding:
        5px 8px;

    border-radius:
        8px;

    font-size:
        10px;

    font-weight:
        bold;

}


.status-available {

    color:
        var(--green);

    background:
        var(--green-soft);

}


.status-busy {

    color:
        var(--orange);

    background:
        var(--orange-soft);

}


.status-issue {

    color:
        var(--red);

    background:
        var(--red-soft);

}


.printer-distance {

    color:
        var(--primary);

    background:
        var(--primary-soft);

}


.capability-badge {

    color:
        var(--text-soft);

    background:
        var(--surface-soft);

}


.wait-badge {

    color:
        var(--purple);

    background:
        var(--purple-soft);

}


.issue-badge {

    color:
        var(--orange);

    background:
        var(--orange-soft);

}


.printer-actions {

    display:
        flex;

    flex-wrap:
        wrap;

    justify-content:
        flex-end;

    gap:
        7px;

}


.printer-actions button,
.details-actions button {

    min-height:
        38px;

    padding:
        9px 11px;

    border:
        none;

    border-radius:
        8px;

    font-size:
        11px;

    font-weight:
        bold;

}


.details-button {

    color:
        var(--primary);

    background:
        var(--primary-soft);

}


.print-button {

    color:
        var(--green);

    background:
        var(--green-soft);

}


.directions-button {

    color:
        white;

    background:
        #174a8b;

}


.report-button {

    color:
        var(--orange);

    background:
        var(--orange-soft);

}


.no-results,
.empty-activity {

    padding:
        35px;

    text-align:
        center;

    color:
        var(--text-muted);

}


/* =========================================================
   SERVICES
========================================================= */

.service-grid {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        14px;

}


.service-card {

    padding:
        19px;

    border:
        1px solid var(--border);

    border-radius:
        16px;

    background:
        var(--surface);

    color:
        var(--text);

    text-align:
        left;

    display:
        flex;

    gap:
        13px;

}


.service-card:hover {

    background:
        var(--surface-hover);

}


.service-card p {

    margin-top:
        5px;

    color:
        var(--text-soft);

    font-size:
        12px;

    line-height:
        1.45;

}


/* =========================================================
   CHART
========================================================= */

.chart-container {

    height:
        300px;

}


/* =========================================================
   LOW BALANCE
========================================================= */

.balance-warning {

    display:
        none;

    gap:
        12px;

    padding:
        18px;

    margin-bottom:
        25px;

    border:
        1px solid var(--orange);

    border-radius:
        15px;

    color:
        var(--orange);

    background:
        var(--orange-soft);

}


.balance-warning p {

    margin-top:
        3px;

    font-size:
        12px;

}


/* =========================================================
   PRICING
========================================================= */

.pricing-grid {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        13px;

}


.price-card {

    padding:
        16px;

    border:
        1px solid var(--border);

    border-radius:
        14px;

    background:
        var(--surface);

}


.price-card span {

    font-weight:
        bold;

}


.price-card strong {

    display:
        block;

    margin-top:
        5px;

    color:
        var(--primary);

    font-size:
        21px;

}


.price-card small {

    color:
        var(--text-muted);

}


/* =========================================================
   ACTIVITY
========================================================= */

.complaint-row,
.transaction {

    padding:
        14px 0;

    border-bottom:
        1px solid var(--border);

    display:
        flex;

    justify-content:
        space-between;

    gap:
        15px;

}


.complaint-body {

    flex:
        1;

}


.complaint-body p,
.transaction p {

    margin-top:
        4px;

    color:
        var(--text-soft);

    font-size:
        12px;

}


.complaint-body small {

    display:
        block;

    margin-top:
        5px;

    color:
        var(--text-muted);

    font-size:
        10px;

}


.transaction-amount.positive {

    color:
        var(--green);

}


.transaction-amount.negative {

    color:
        var(--red);

}


/* =========================================================
   MODALS
========================================================= */

.modal {

    display:
        none;

    position:
        fixed;

    inset:
        0;

    z-index:
        500;

    padding:
        18px;

    align-items:
        center;

    justify-content:
        center;

    background:
        var(--overlay);

    backdrop-filter:
        blur(5px);

}


.modal-content {

    width:
        92%;

    max-width:
        590px;

    max-height:
        90vh;

    overflow-y:
        auto;

    position:
        relative;

    padding:
        30px;

    border:
        1px solid var(--border);

    border-radius:
        22px;

    background:
        var(--surface);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, .22);

}


.close-button {

    width:
        35px;

    height:
        35px;

    position:
        absolute;

    top:
        17px;

    right:
        17px;

    border:
        none;

    border-radius:
        50%;

    color:
        var(--text-soft);

    background:
        var(--surface-soft);

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.modal-subtitle {

    margin-top:
        5px;

    color:
        var(--text-soft);

}


.modal-content input,
.modal-content select,
.modal-content textarea {

    width:
        100%;

    padding:
        13px;

    border:
        1px solid var(--border);

    border-radius:
        10px;

    outline:
        none;

}


.modal-content textarea {

    resize:
        vertical;

}


.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {

    border-color:
        var(--primary);

}


.modal-secondary-button {

    width:
        100%;

    min-height:
        48px;

    margin-top:
        15px;

    border:
        1px solid var(--border);

    border-radius:
        12px;

    color:
        var(--primary);

    background:
        var(--surface-soft);

    font-weight:
        bold;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        8px;

}


.mobile-sheet-handle {

    display:
        none;

}


.demo-note {

    display:
        block;

    margin-top:
        13px;

    text-align:
        center;

    color:
        var(--text-muted);

    font-size:
        10px;

}


.warning-icon {

    color:
        var(--orange);

    background:
        var(--orange-soft);

}


/* =========================================================
   PAYMENT FLOW
========================================================= */

.payment-modal {

    max-width:
        620px;

}


.payment-header {

    display:
        flex;

    align-items:
        center;

    gap:
        14px;

    margin-bottom:
        18px;

}


.payment-header p {

    color:
        var(--text-muted);

    font-size:
        12px;

}


.demo-payment-warning {

    display:
        flex;

    gap:
        10px;

    padding:
        13px;

    margin-bottom:
        19px;

    border:
        1px solid var(--orange);

    border-radius:
        12px;

    color:
        var(--orange);

    background:
        var(--orange-soft);

}


.demo-payment-warning p {

    margin-top:
        4px;

    color:
        var(--text-soft);

    font-size:
        11px;

    line-height:
        1.4;

}


.payment-progress {

    margin-bottom:
        22px;

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        7px;

}


.payment-progress-step {

    color:
        var(--text-muted);

    font-size:
        10px;

    display:
        flex;

    align-items:
        center;

    gap:
        6px;

}


.payment-progress-step span {

    width:
        25px;

    height:
        25px;

    border-radius:
        50%;

    border:
        1px solid var(--border);

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.payment-progress-step.active {

    color:
        var(--primary);

    font-weight:
        bold;

}


.payment-progress-step.active span {

    color:
        white;

    border-color:
        #174a8b;

    background:
        #174a8b;

}


.money-input {

    min-height:
        55px;

    display:
        flex;

    align-items:
        center;

    border:
        1px solid var(--border);

    border-radius:
        12px;

    overflow:
        hidden;

    background:
        var(--surface);

}


.money-input span {

    padding-left:
        16px;

    font-size:
        20px;

    font-weight:
        bold;

}


.money-input input {

    border:
        none;

    font-size:
        20px;

    font-weight:
        bold;

}


.quick-amounts {

    margin-top:
        10px;

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        8px;

}


.quick-amounts button {

    padding:
        9px;

    border:
        1px solid var(--border);

    border-radius:
        9px;

    color:
        var(--primary);

    background:
        var(--surface-soft);

    font-weight:
        bold;

}


.payment-method-grid {

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        10px;

}


.payment-method {

    padding:
        18px;

    border:
        1px solid var(--border);

    border-radius:
        14px;

    color:
        var(--text);

    background:
        var(--surface);

    text-align:
        left;

    display:
        flex;

    flex-direction:
        column;

    gap:
        7px;

}


.payment-method svg {

    color:
        var(--primary);

}


.payment-method span {

    color:
        var(--text-muted);

    font-size:
        11px;

}


.payment-method.active {

    border:
        2px solid var(--primary);

    background:
        var(--primary-soft);

}


.back-button {

    padding:
        7px 0;

    margin-bottom:
        12px;

    border:
        none;

    color:
        var(--primary);

    background:
        transparent;

    display:
        flex;

    gap:
        6px;

    align-items:
        center;

}


.demo-bank-card {

    min-height:
        190px;

    padding:
        23px;

    border-radius:
        19px;

    color:
        white;

    background:

        linear-gradient(
            135deg,
            #141f37,
            #174a8b,
            #168bd8
        );

    box-shadow:
        0 16px 35px rgba(23, 74, 139, .20);

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        space-between;

}


.demo-bank-card-top,
.demo-card-bottom {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

}


.demo-card-number {

    font-size:
        18px;

    letter-spacing:
        1.8px;

}


.demo-card-bottom small {

    display:
        block;

    opacity:
        .7;

    font-size:
        8px;

}


.demo-card-bottom strong {

    display:
        block;

    margin-top:
        3px;

    font-size:
        11px;

}


.locked-details-grid {

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        11px;

}


.locked-details-grid input[readonly] {

    color:
        var(--text-soft);

    background:
        var(--surface-soft);

}


.bank-demo-panel {

    padding:
        20px;

    display:
        flex;

    align-items:
        center;

    gap:
        14px;

    border:
        1px solid var(--border);

    border-radius:
        15px;

    background:
        var(--surface-soft);

}


.bank-demo-icon {

    width:
        50px;

    height:
        50px;

    border-radius:
        13px;

    color:
        var(--primary);

    background:
        var(--primary-soft);

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.bank-demo-panel span,
.bank-demo-panel p {

    display:
        block;

    color:
        var(--text-muted);

    font-size:
        11px;

}


.bank-demo-panel strong {

    display:
        block;

    margin:
        3px 0;

}


.bank-redirect-notice {

    margin-top:
        13px;

    font-size:
        11px;

    line-height:
        1.5;

}


.payment-summary {

    padding:
        15px;

    margin:
        18px 0;

    border-radius:
        12px;

    background:
        var(--surface-soft);

    display:
        flex;

    justify-content:
        space-between;

    gap:
        15px;

}


.verification-icon,
.success-circle {

    width:
        70px;

    height:
        70px;

    margin:
        10px auto 17px;

    border-radius:
        50%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.verification-icon {

    color:
        var(--primary);

    background:
        var(--primary-soft);

}


.success-circle {

    color:
        white;

    background:
        var(--green);

}


.centre-text {

    text-align:
        center;

}


.centre-muted {

    max-width:
        420px;

    margin:
        7px auto 18px;

    text-align:
        center;

    color:
        var(--text-soft);

    line-height:
        1.5;

}


.demo-code-box {

    padding:
        14px;

    margin:
        15px 0;

    border:
        1px dashed var(--primary);

    border-radius:
        12px;

    text-align:
        center;

    background:
        var(--primary-soft);

}


.demo-code-box span {

    display:
        block;

    color:
        var(--text-soft);

    font-size:
        10px;

}


.demo-code-box strong {

    display:
        block;

    margin-top:
        4px;

    color:
        var(--primary);

    font-size:
        24px;

    letter-spacing:
        5px;

}


.verification-input {

    text-align:
        center;

    font-size:
        21px !important;

    letter-spacing:
        7px;

    font-weight:
        bold;

}


.success-payment-summary {

    margin-top:
        20px;

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        10px;

}


.success-payment-summary div {

    padding:
        16px;

    border-radius:
        13px;

    background:
        var(--surface-soft);

}


.success-payment-summary span {

    display:
        block;

    color:
        var(--text-muted);

    font-size:
        10px;

}


.success-payment-summary strong {

    display:
        block;

    margin-top:
        4px;

    color:
        var(--primary);

    font-size:
        20px;

}


/* =========================================================
   VIRTUAL STUDENT CARD MODAL
========================================================= */

.virtual-card-modal {

    max-width:
        600px;

}


.full-virtual-card {

    margin-top:
        20px;

    padding:
        26px;

    border-radius:
        22px;

    color:
        white;

    background:

        linear-gradient(
            145deg,
            #0f1b31,
            #174a8b 57%,
            #15a7df
        );

    box-shadow:
        0 22px 45px rgba(23, 74, 139, .24);

}


.full-card-header {

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

}


.full-card-header .mini-label {

    display:
        block;

    color:
        #8bdcff;

}


.full-card-header strong {

    display:
        block;

    margin-top:
        3px;

    font-size:
        13px;

}


.full-card-profile {

    margin:
        28px 0;

    display:
        flex;

    align-items:
        center;

    gap:
        15px;

}


.full-card-avatar {

    width:
        62px;

    height:
        62px;

    border:
        2px solid rgba(255,255,255,.40);

    border-radius:
        50%;

    background:
        rgba(255,255,255,.13);

    font-size:
        19px;

    font-weight:
        bold;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.full-card-profile small,
.virtual-card-info-grid small {

    display:
        block;

    font-size:
        8px;

    opacity:
        .65;

    letter-spacing:
        1px;

}


.full-card-profile h3 {

    margin:
        4px 0;

    font-size:
        21px;

}


.full-card-profile span {

    font-size:
        12px;

    opacity:
        .82;

}


.virtual-card-info-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        15px;

}


.virtual-card-info-grid strong {

    display:
        block;

    margin-top:
        4px;

    font-size:
        12px;

}


.virtual-card-code {

    margin-top:
        24px;

    padding-top:
        18px;

    border-top:
        1px solid rgba(255,255,255,.22);

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

}


.virtual-card-code svg {

    width:
        36px;

    height:
        36px;

}


.virtual-card-code span {

    display:
        block;

    margin-top:
        3px;

    font-size:
        9px;

    opacity:
        .7;

}


.virtual-card-warning {

    margin-top:
        18px;

    color:
        var(--orange);

    background:
        var(--orange-soft);

}


.virtual-card-warning p {

    margin-top:
        4px;

    color:
        var(--text-soft);

    font-size:
        11px;

    line-height:
        1.5;

}


/* =========================================================
   PRINT / COMPLAINT
========================================================= */

.selected-printer-notice {

    padding:
        12px;

    margin:
        15px 0;

    border-radius:
        10px;

    color:
        var(--primary);

    background:
        var(--primary-soft);

}


.ai-assist-box {

    padding:
        14px;

    margin-top:
        17px;

    border:
        1px solid var(--purple);

    border-radius:
        13px;

    background:
        var(--purple-soft);

}


.ai-assist-box > div {

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    color:
        var(--purple);

}


.ai-assist-box p {

    margin-top:
        7px;

    color:
        var(--text-soft);

    font-size:
        12px;

    line-height:
        1.4;

}


.ai-assist-box small {

    display:
        block;

    margin-top:
        5px;

    color:
        var(--text-muted);

}


/* =========================================================
   DETAILS
========================================================= */

.printer-details-modal {

    max-width:
        650px;

}


.printer-details-heading {

    display:
        flex;

    align-items:
        center;

    gap:
        14px;

    margin-bottom:
        18px;

}


.printer-details-icon {

    width:
        58px;

    height:
        58px;

    min-width:
        58px;

    border-radius:
        16px;

    color:
        var(--primary);

    background:
        var(--primary-soft);

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.printer-details-heading small {

    color:
        var(--text-muted);

    font-weight:
        bold;

}


.printer-details-heading p {

    margin-top:
        4px;

    color:
        var(--text-soft);

}


.details-status-row {

    display:
        flex;

    gap:
        8px;

    margin-bottom:
        19px;

}


.details-grid {

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        11px;

}


.details-box {

    padding:
        15px;

    border-radius:
        12px;

    background:
        var(--surface-soft);

}


.details-box span {

    display:
        block;

    margin-bottom:
        4px;

    color:
        var(--text-muted);

    font-size:
        10px;

}


.details-section {

    margin-top:
        20px;

}


.details-section h3 {

    margin-bottom:
        10px;

    font-size:
        14px;

}


.details-actions {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        8px;

    margin-top:
        20px;

}


.details-actions button {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        5px;

}


/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-bottom-nav {

    display:
        none;

}



/* =========================================================
   PROTOTYPE STATUS / SOURCE / FOOTER
========================================================= */

.prototype-status-pill {

    min-height:
        34px;

    padding:
        7px 11px;

    border:
        1px solid var(--border);

    border-radius:
        999px;

    color:
        var(--primary);

    background:
        var(--primary-soft);

    font-size:
        10px;

    font-weight:
        bold;

    display:
        flex;

    align-items:
        center;

    gap:
        6px;

    white-space:
        nowrap;

}


.prototype-status-pill svg {

    width:
        15px;

    height:
        15px;

}


.prototype-status-short {

    display:
        none;

}


.pricing-source {

    margin-top:
        15px;

    padding:
        13px 14px;

    border:
        1px solid var(--border);

    border-radius:
        12px;

    color:
        var(--text-soft);

    background:
        var(--surface-soft);

    display:
        flex;

    align-items:
        flex-start;

    gap:
        9px;

    font-size:
        11px;

    line-height:
        1.5;

}


.pricing-source svg {

    width:
        17px;

    min-width:
        17px;

    color:
        var(--primary);

}


.pricing-source a {

    color:
        var(--primary);

    font-weight:
        bold;

    text-decoration:
        none;

}


.pricing-source a:hover {

    text-decoration:
        underline;

}


.prototype-footer {

    width:
        88%;

    max-width:
        1250px;

    margin:
        0 auto 40px;

    padding:
        22px 24px;

    border:
        1px solid var(--border);

    border-radius:
        18px;

    color:
        var(--text-soft);

    background:
        var(--surface);

    box-shadow:
        0 4px 15px rgba(20, 40, 70, .025);

}


.prototype-footer-heading {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        15px;

    padding-bottom:
        14px;

    margin-bottom:
        14px;

    border-bottom:
        1px solid var(--border);

}


.prototype-footer-heading strong {

    display:
        block;

    color:
        var(--text);

    font-size:
        14px;

}


.prototype-footer-heading span:not(.prototype-footer-badge) {

    display:
        block;

    margin-top:
        3px;

    color:
        var(--text-muted);

    font-size:
        10px;

}


.prototype-footer-badge {

    padding:
        7px 10px;

    border-radius:
        999px;

    color:
        var(--orange);

    background:
        var(--orange-soft);

    font-size:
        10px;

    font-weight:
        bold;

    white-space:
        nowrap;

}


.prototype-footer-notes {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        10px;

    margin-bottom:
        13px;

}


.prototype-footer-notes span {

    padding:
        11px;

    border-radius:
        11px;

    background:
        var(--surface-soft);

    color:
        var(--text-soft);

    font-size:
        10px;

    line-height:
        1.45;

    display:
        flex;

    align-items:
        flex-start;

    gap:
        7px;

}


.prototype-footer-notes svg {

    width:
        16px;

    min-width:
        16px;

    color:
        var(--primary);

}


.prototype-footer > p {

    font-size:
        10px;

    line-height:
        1.55;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .wallet-section {

        grid-template-columns:
            1fr 1fr;

    }


    .recommendation-card {

        grid-column:
            span 2;

    }


    .financial-summary,
    .pricing-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .service-grid {

        grid-template-columns:
            1fr;

    }


    .printer-item {

        grid-template-columns:
            auto 1fr;

    }


    .printer-actions {

        grid-column:
            1 / -1;

        justify-content:
            flex-start;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    body {

        padding-bottom:
            78px;

    }


    .login-screen {

        padding:

            max(
                30px,
                env(safe-area-inset-top)
            )

            18px

            30px;

        align-items:
            flex-start;

    }


    .login-logo-img {

        width:
            280px;

    }


    .login-card {

        padding:
            23px 20px;

        border-radius:
            21px;

    }


    .navbar {

        min-height:
            66px;

        padding:

            max(
                7px,
                env(safe-area-inset-top)
            )

            14px

            7px;

    }


    .navbar-logo {

        width:
            120px;

    }


    .prototype-status-full {

        display:
            none;

    }


    .prototype-status-short {

        display:
            inline;

    }


    .prototype-status-pill {

        min-height:
            31px;

        padding:
            6px 8px;

        font-size:
            9px;

    }


    .student-status {

        display:
            none;

    }


    .nav-right {

        gap:
            6px;

    }


    .navbar-icon-button,
    .profile-button {

        width:
            39px;

        height:
            39px;

    }


    .theme-panel {

        position:
            fixed;

        top:
            68px;

        right:
            10px;

    }


    .notification-panel {

        top:
            max(
                76px,
                calc(env(safe-area-inset-top) + 68px)
            );

        left:
            10px;

        right:
            10px;

        width:
            auto;

        max-height:
            calc(100vh - 96px);

    }


    .notification-list {

        max-height:
            calc(100vh - 255px);

    }


    .profile-menu {

        position:
            fixed;

        top:
            68px;

        right:
            10px;

    }


    .container {

        width:
            100%;

        padding:
            24px 14px 35px;

    }


    .welcome {

        margin-bottom:
            20px;

    }


    .welcome h1 {

        font-size:
            27px;

    }


    .welcome p {

        font-size:
            13px;

    }


    .wallet-section {

        grid-template-columns:
            1fr;

        gap:
            12px;

    }


    .wallet-card,
    .virtual-card-preview,
    .recommendation-card {

        border-radius:
            18px;

    }


    .wallet-card {

        padding:
            22px;

    }


    .wallet-card h2 {

        font-size:
            34px;

    }


    .wallet-actions button {

        flex:
            1;

    }


    .recommendation-card {

        grid-column:
            auto;

    }


    .financial-summary {

        display:
            flex;

        overflow-x:
            auto;

        gap:
            10px;

        margin:
            0 -14px 23px;

        padding:
            0 14px 4px;

        scrollbar-width:
            none;

    }


    .financial-summary::-webkit-scrollbar {

        display:
            none;

    }


    .summary-card {

        min-width:
            170px;

        flex:
            0 0 170px;

    }


    .standard-section {

        padding:
            18px;

        margin-bottom:
            16px;

        border-radius:
            18px;

    }


    .section-header {

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            12px;

    }


    .section-heading {

        font-size:
            20px;

    }


    .location-button {

        width:
            100%;

        min-height:
            48px;

        justify-content:
            center;

    }


    .printer-tools {

        grid-template-columns:
            1fr;

        gap:
            9px;

    }


    .printer-search input,
    .sort-select,
    .select-with-icon select {

        min-height:
            49px;

        font-size:
            16px;

    }


    .filter-section {

        margin-left:
            -18px;

        margin-right:
            -18px;

        padding:
            12px 18px;

        border-radius:
            0;

    }


    .filter-chips {

        flex-wrap:
            nowrap;

        overflow-x:
            auto;

        scrollbar-width:
            none;

    }


    .filter-chips::-webkit-scrollbar {

        display:
            none;

    }


    .filter-chip,
    .clear-filter-button {

        flex:
            0 0 auto;

    }


    .google-map {

        height:
            315px;

    }


    .printer-results-header {

        gap:
            10px;

    }


    .printer-item {

        grid-template-columns:
            46px 1fr;

        padding:
            15px;

    }


    .printer-icon {

        width:
            46px;

        height:
            46px;

    }


    .printer-description {

        display:
            none;

    }


    .printer-actions {

        grid-column:
            1 / -1;

        width:
            100%;

        display:
            grid;

        grid-template-columns:
            repeat(2, 1fr);

    }


    .printer-actions button {

        min-height:
            44px;

    }


    .service-grid {

        grid-template-columns:
            1fr;

    }


    .pricing-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap:
            9px;

    }


    .chart-container {

        height:
            245px;

    }


    /* MOBILE MODAL SHEET */

    .modal {

        align-items:
            flex-end;

        padding:
            0;

    }


    .modal-content {

        width:
            100%;

        max-width:
            none;

        max-height:
            92vh;

        padding:
            20px 18px 28px;

        border-radius:
            24px 24px 0 0;

    }


    .mobile-sheet-handle {

        display:
            block;

        width:
            42px;

        height:
            5px;

        margin:
            -7px auto 18px;

        border-radius:
            999px;

        background:
            var(--border);

    }


    .modal-content input,
    .modal-content select,
    .modal-content textarea {

        min-height:
            49px;

        font-size:
            16px;

    }


    .quick-amounts {

        grid-template-columns:
            repeat(4, 1fr);

    }


    .payment-method-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .locked-details-grid {

        grid-template-columns:
            1fr;

    }


    .full-virtual-card {

        padding:
            21px;

    }


    .virtual-card-info-grid {

        gap:
            11px;

    }


    .details-actions {

        position:
            sticky;

        bottom:
            -28px;

        margin:
            20px -18px -28px;

        padding:

            12px

            18px

            calc(
                12px +
                env(safe-area-inset-bottom)
            );

        border-top:
            1px solid var(--border);

        background:
            var(--surface);

    }


    .prototype-footer {

        width:
            calc(100% - 28px);

        margin:
            0 auto 22px;

        padding:
            18px;

    }


    .prototype-footer-heading {

        align-items:
            flex-start;

        flex-direction:
            column;

    }


    .prototype-footer-notes {

        grid-template-columns:
            1fr;

    }


    /* BOTTOM NAV */

    .mobile-bottom-nav {

        display:
            grid;

        grid-template-columns:
            repeat(5, 1fr);

        position:
            fixed;

        left:
            0;

        right:
            0;

        bottom:
            0;

        z-index:
            300;

        height:

            calc(
                68px +
                env(safe-area-inset-bottom)
            );

        padding:

            6px

            5px

            env(safe-area-inset-bottom);

        border-top:
            1px solid var(--border);

        background:
            color-mix(in srgb, var(--surface) 96%, transparent);

        backdrop-filter:
            blur(14px);

        box-shadow:
            0 -7px 25px rgba(20, 40, 70, .08);

    }


    .mobile-nav-item {

        border:
            none;

        background:
            transparent;

        color:
            var(--text-muted);

        font-size:
            10px;

        font-weight:
            600;

        display:
            flex;

        flex-direction:
            column;

        align-items:
            center;

        justify-content:
            center;

        gap:
            3px;

    }


    .mobile-nav-item.active {

        color:
            var(--primary);

    }


    .mobile-nav-print {

        margin-top:
            -21px;

    }


    .mobile-print-circle {

        width:
            50px;

        height:
            50px;

        border:
            4px solid var(--surface);

        border-radius:
            50%;

        color:
            white;

        background:

            linear-gradient(
                135deg,
                #174a8b,
                #168bd8
            );

        box-shadow:
            0 6px 17px rgba(23, 74, 139, .25);

        display:
            flex;

        align-items:
            center;

        justify-content:
            center;

    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .navbar-logo {

        width:
            103px;

    }


    .quick-amounts {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .payment-method-grid,
    .success-payment-summary {

        grid-template-columns:
            1fr;

    }


    .pricing-grid,
    .details-grid {

        grid-template-columns:
            1fr;

    }


    .wallet-actions {

        flex-direction:
            column;

    }

}

/* =========================================================
   REPORT TYPES, TRACKING & FEEDBACK
========================================================= */

.context-help,
.prototype-routing-note,
.privacy-feedback-note {

    margin-top:
        10px;

    padding:
        12px 13px;

    border-radius:
        11px;

    color:
        var(--text-soft);

    background:
        var(--surface-soft);

    font-size:
        11px;

    line-height:
        1.5;

}


.prototype-routing-note,
.privacy-feedback-note {

    display:
        flex;

    gap:
        9px;

    align-items:
        flex-start;

}


.prototype-routing-note svg,
.privacy-feedback-note svg {

    width:
        18px;

    min-width:
        18px;

    color:
        var(--primary);

}


.report-tracking-row {

    padding:
        18px 0;

}


.report-tracking-header {

    display:
        flex;

    justify-content:
        space-between;

    gap:
        12px;

    align-items:
        flex-start;

}


.report-tracking-header > div {

    display:
        flex;

    flex-direction:
        column;

    gap:
        4px;

}


.report-reference {

    color:
        var(--text-muted);

    font-size:
        10px;

    font-weight:
        bold;

    letter-spacing:
        .4px;

}


.report-status-chip {

    padding:
        6px 9px;

    border-radius:
        999px;

    color:
        var(--primary);

    background:
        var(--primary-soft);

    font-size:
        10px;

    font-weight:
        bold;

    white-space:
        nowrap;

}


.support-feedback-inline,
.support-feedback-box {

    margin-top:
        12px;

    padding:
        13px;

    border:
        1px solid var(--border);

    border-radius:
        12px;

    background:
        var(--surface-soft);

}


.support-feedback-inline > div,
.support-feedback-heading {

    display:
        flex;

    align-items:
        center;

    gap:
        7px;

    color:
        var(--primary);

    font-size:
        11px;

}


.support-feedback-inline p,
.support-feedback-box p {

    margin-top:
        7px;

    color:
        var(--text-soft);

    font-size:
        12px;

    line-height:
        1.5;

}


.report-refresh-button {

    margin-top:
        10px;

    padding:
        8px 11px;

    border:
        1px solid var(--border);

    border-radius:
        9px;

    color:
        var(--primary);

    background:
        var(--surface);

    font-size:
        11px;

    font-weight:
        bold;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        6px;

}


.report-feedback-modal {

    max-width:
        520px;

}


.compact-success {

    width:
        58px;

    height:
        58px;

    margin:
        4px auto 14px;

}


.report-feedback-summary {

    margin-top:
        18px;

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        10px;

}


.report-feedback-summary > div {

    padding:
        13px;

    border:
        1px solid var(--border);

    border-radius:
        11px;

    background:
        var(--surface-soft);

}


.report-feedback-summary span {

    display:
        block;

    margin-bottom:
        4px;

    color:
        var(--text-muted);

    font-size:
        10px;

    text-transform:
        uppercase;

    letter-spacing:
        .5px;

}


.report-feedback-summary strong {

    color:
        var(--text);

    font-size:
        13px;

}


.walking-estimate-note {

    color:
        var(--text-muted);

    font-size:
        10px;

}


/* =========================================================
   FEEDBACK CARD RESPONSIVENESS
========================================================= */

@media (max-width: 1000px) {

    .service-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 650px) {

    .report-feedback-summary {

        grid-template-columns:
            1fr;

    }


    .report-tracking-header {

        flex-direction:
            column;

    }


    .service-grid {

        grid-template-columns:
            1fr;

    }

}


/* =========================================================
   SMART RECOVERY & REPORT PROGRESS
========================================================= */

.report-progress {

    margin-top:
        16px;

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        7px;

}


.report-progress-step {

    padding:
        9px 6px;

    border:
        1px solid var(--border);

    border-radius:
        10px;

    color:
        var(--text-muted);

    background:
        var(--surface-soft);

    font-size:
        9px;

    font-weight:
        bold;

    text-align:
        center;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    gap:
        5px;

}


.report-progress-step span {

    width:
        24px;

    height:
        24px;

    border:
        1px solid var(--border);

    border-radius:
        50%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        var(--surface);

}


.report-progress-step.active {

    color:
        var(--primary);

    border-color:
        color-mix(in srgb, var(--primary) 35%, var(--border));

    background:
        var(--primary-soft);

}


.report-progress-step.active span {

    color:
        white;

    border-color:
        var(--primary);

    background:
        var(--primary);

}


.report-progress-step.current {

    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--primary) 16%, transparent);

}


.recovery-card {

    margin-top:
        15px;

    padding:
        16px;

    border:
        1px solid color-mix(in srgb, var(--green) 30%, var(--border));

    border-radius:
        15px;

    background:
        color-mix(in srgb, var(--green-soft) 74%, var(--surface));

}


.recovery-card-heading {

    display:
        flex;

    align-items:
        center;

    gap:
        11px;

}


.recovery-card-heading span {

    color:
        var(--green);

    font-size:
        9px;

    font-weight:
        bold;

    letter-spacing:
        1px;

}


.recovery-card-heading h3 {

    margin-top:
        2px;

    font-size:
        15px;

}


.recovery-icon {

    width:
        42px;

    height:
        42px;

    min-width:
        42px;

    border-radius:
        11px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    color:
        var(--green);

    background:
        var(--green-soft);

}


.recovery-printer-main {

    margin-top:
        14px;

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        flex-start;

    gap:
        12px;

}


.recovery-printer-main > div {

    display:
        flex;

    flex-direction:
        column;

    gap:
        4px;

}


.recovery-printer-main > div span {

    color:
        var(--text-soft);

    font-size:
        11px;

}


.recovery-meta {

    margin-top:
        11px;

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        7px;

}


.recovery-actions {

    margin-top:
        13px;

    display:
        flex;

    gap:
        8px;

}


.recovery-actions button {

    flex:
        1;

    min-height:
        40px;

    border:
        none;

    border-radius:
        9px;

    font-weight:
        bold;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

}


.recovery-card > small {

    display:
        block;

    margin-top:
        10px;

    color:
        var(--text-muted);

    font-size:
        9px;

    line-height:
        1.45;

}


.report-feedback-actions {

    margin-top:
        14px;

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        9px;

}


.report-feedback-actions .modal-primary-button,
.report-feedback-actions .modal-secondary-button {

    margin-top:
        0;

}


.report-refresh-button:disabled {

    cursor:
        default;

    opacity:
        .72;

}


.inline-recovery-card {

    margin-top:
        12px;

    padding:
        12px;

    border:
        1px solid color-mix(in srgb, var(--green) 28%, var(--border));

    border-radius:
        12px;

    background:
        color-mix(in srgb, var(--green-soft) 68%, var(--surface));

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        12px;

}


.inline-recovery-card > div:first-child {

    display:
        flex;

    flex-direction:
        column;

    gap:
        3px;

}


.inline-recovery-card span {

    color:
        var(--green);

    font-size:
        9px;

    font-weight:
        bold;

    text-transform:
        uppercase;

    letter-spacing:
        .5px;

}


.inline-recovery-card small {

    color:
        var(--text-muted);

    font-size:
        10px;

}


.inline-recovery-actions {

    display:
        flex;

    gap:
        6px;

}


.inline-recovery-actions button {

    min-height:
        34px;

    padding:
        7px 9px;

    border:
        none;

    border-radius:
        8px;

    font-size:
        10px;

    font-weight:
        bold;

}


@media (max-width: 650px) {

    .report-progress {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .report-feedback-actions {

        grid-template-columns:
            1fr;

    }


    .recovery-printer-main,
    .inline-recovery-card {

        flex-direction:
            column;

    }


    .recovery-actions,
    .inline-recovery-actions {

        width:
            100%;

    }


    .inline-recovery-actions button {

        flex:
            1;

    }

}


/* =========================================================
   FINAL BUILD IDENTIFIER
========================================================= */

.prototype-build-version {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 10px;
}


/* =========================================================
   SETTINGS
========================================================= */

.settings-modal-content {

    max-width:
        650px;

}


.settings-section {

    margin-top:
        18px;

    padding:
        16px;

    border:
        1px solid var(--border);

    border-radius:
        15px;

    background:
        var(--surface-soft);

}


.settings-section-heading {

    margin-bottom:
        13px;

    display:
        flex;

    gap:
        10px;

    align-items:
        flex-start;

}


.settings-section-heading > svg {

    width:
        20px;

    min-width:
        20px;

    color:
        var(--primary);

}


.settings-section-heading div {

    display:
        flex;

    flex-direction:
        column;

    gap:
        3px;

}


.settings-section-heading span {

    color:
        var(--text-muted);

    font-size:
        10px;

    line-height:
        1.45;

}


.setting-toggle {

    margin-top:
        10px;

    padding:
        11px 0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        18px;

    border-top:
        1px solid var(--border);

}


.setting-toggle:first-of-type {

    border-top:
        none;

}


.setting-toggle > div {

    display:
        flex;

    flex-direction:
        column;

    gap:
        3px;

}


.setting-toggle span {

    color:
        var(--text-muted);

    font-size:
        10px;

    line-height:
        1.45;

}


.modal-content .setting-toggle input[type="checkbox"] {

    width:
        20px;

    height:
        20px;

    min-width:
        20px;

    accent-color:
        var(--primary);

}


.settings-info-list {

    margin:
        0;

    padding-left:
        19px;

    color:
        var(--text-soft);

    font-size:
        11px;

    line-height:
        1.55;

}


.settings-info-list li + li {

    margin-top:
        7px;

}


.settings-build-note {

    margin-top:
        16px;

    padding:
        11px 13px;

    border-radius:
        11px;

    background:
        var(--primary-soft);

    color:
        var(--primary);

    font-size:
        10px;

    font-weight:
        bold;

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

}


.settings-build-note svg {

    width:
        17px;

}


@media (max-width: 650px) {

    .settings-modal-content {

        padding:
            24px 18px;

    }


    .settings-section {

        padding:
            14px;

    }


    .setting-toggle {

        align-items:
            flex-start;

    }

}


.settings-purpose-text {

    color:
        var(--text-soft);

    font-size:
        11px;

    line-height:
        1.6;

}


.settings-purpose-text + .settings-purpose-text {

    margin-top:
        10px;

}
