:root {
    --bg: #030910;
    --bg-2: #06111b;
    --panel: rgba(8, 20, 31, .78);
    --panel-solid: #08141f;
    --panel-soft: rgba(13, 28, 42, .64);

    --line: rgba(255, 255, 255, .075);
    --line-strong: rgba(255, 255, 255, .12);

    --text: #f5fbff;
    --muted: #8fa5b5;
    --muted-2: #647986;

    --cyan: #31ddff;
    --cyan-soft: rgba(49, 221, 255, .13);
    --green: #37e6a1;

    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;

    --shadow:
        0 30px 100px rgba(0, 0, 0, .38);
}


* {
    box-sizing: border-box;
}


html {
    min-height: 100%;
    background: var(--bg);
}


body {
    margin: 0;
    min-height: 100vh;

    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background:
        linear-gradient(
            180deg,
            #06111b 0%,
            #030910 45%,
            #02070c 100%
        );

    -webkit-font-smoothing: antialiased;
}


button,
input {
    font: inherit;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


a {
    color: inherit;
}


.hidden {
    display: none !important;
}



/* ===================================================== */
/* BACKGROUND */
/* ===================================================== */

.page-background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}


.bg-grid {
    position: absolute;
    inset: 0;

    opacity: .16;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 52px 52px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 70%
        );
}


.bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
}


.bg-orb-one {
    width: 550px;
    height: 550px;
    right: -150px;
    top: -190px;
    background: rgba(26, 184, 255, .13);
}


.bg-orb-two {
    width: 480px;
    height: 480px;
    left: -220px;
    bottom: -160px;
    background: rgba(38, 130, 255, .08);
}



/* ===================================================== */
/* SHELL / HEADER */
/* ===================================================== */

.app-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}


.topbar {
    position: sticky;
    top: 0;
    z-index: 50;

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

    background:
        rgba(3, 9, 16, .78);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}


.topbar-inner {
    max-width: 1500px;
    height: 76px;

    margin: 0 auto;
    padding: 0 28px;

    display: flex;
    align-items: center;
    gap: 36px;
}


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

    text-decoration: none;
}


.brand img {
    width: 37px;
    height: 37px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 0 14px
            rgba(49, 221, 255, .22)
        );
}


.brand-copy {
    display: flex;
    align-items: baseline;
    gap: 4px;

    letter-spacing: -.035em;
}


.brand-copy strong {
    font-size: 19px;
    font-weight: 850;
}


.brand-copy span {
    font-size: 19px;
    font-weight: 600;
    color: var(--cyan);
}


.top-nav {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-left: 26px;
}


.top-nav a {
    padding: 10px 14px;
    border-radius: 11px;

    text-decoration: none;

    color: var(--muted);
    font-size: 14px;
    font-weight: 600;

    transition: .18s ease;
}


.top-nav a:hover,
.top-nav a.active {
    color: var(--text);

    background:
        rgba(255, 255, 255, .045);
}


.header-actions {
    margin-left: auto;

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


.header-buy,
.logout-button {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 17px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;
}


.header-buy {
    color: #031017;

    background:
        linear-gradient(
            135deg,
            #63e8ff,
            #20c8ed
        );

    box-shadow:
        0 8px 28px
        rgba(36, 208, 245, .16);
}


.logout-button {
    border: 1px solid var(--line-strong);
    color: var(--muted);
    background: rgba(255,255,255,.035);
}


.main-content {
    min-height:
        calc(100vh - 76px);
}



/* ===================================================== */
/* AUTH */
/* ===================================================== */

.auth-view {
    min-height:
        calc(100vh - 76px);

    display: flex;
    align-items: center;
}


.auth-shell {
    width: 100%;
    max-width: 1320px;

    margin: 0 auto;
    padding: 68px 36px 80px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(390px, .75fr);

    gap: 88px;

    align-items: center;
}


.auth-visual {
    position: relative;
    min-height: 580px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


.auth-badge,
.dashboard-kicker {
    width: fit-content;

    display: flex;
    align-items: center;
    gap: 9px;

    color: #9bb2c1;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .13em;
}


.status-dot,
.network-dot {
    width: 7px;
    height: 7px;

    display: inline-block;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 12px
        rgba(55, 230, 161, .65);
}


.auth-visual h1 {
    max-width: 730px;

    margin: 25px 0 24px;

    font-size:
        clamp(52px, 6vw, 86px);

    line-height: .98;
    letter-spacing: -.065em;
    font-weight: 800;
}


.auth-visual h1 span {
    color: var(--cyan);
}


.auth-lead {
    max-width: 640px;

    margin: 0;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.7;
}


.auth-feature-grid {
    max-width: 670px;

    margin-top: 44px;

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

    gap: 12px;
}


.auth-feature {
    min-height: 138px;

    padding: 20px;

    border: 1px solid var(--line);
    border-radius: 18px;

    background:
        rgba(255,255,255,.025);
}


.feature-icon {
    width: 35px;
    height: 35px;

    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid
        rgba(49, 221, 255, .18);

    border-radius: 11px;

    color: var(--cyan);

    background:
        var(--cyan-soft);
}


.auth-feature strong,
.auth-feature span {
    display: block;
}


.auth-feature strong {
    margin-bottom: 7px;

    font-size: 14px;
}


.auth-feature span {
    color: var(--muted-2);

    font-size: 12px;
    line-height: 1.5;
}


.coverage-visual {
    position: absolute;

    width: 250px;
    height: 250px;

    right: -25px;
    top: 35px;

    opacity: .62;
}


.coverage-ring {
    position: absolute;

    border:
        1px solid
        rgba(49, 221, 255, .16);

    border-radius: 50%;
}


.ring-one {
    inset: 28px;
}


.ring-two {
    inset: 0;
}


.coverage-core {
    position: absolute;

    width: 82px;
    height: 82px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

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

    background:
        rgba(12, 40, 56, .76);

    box-shadow:
        0 0 50px
        rgba(49,221,255,.14);
}


.coverage-core span {
    color: var(--cyan);

    font-weight: 900;
    letter-spacing: -.04em;
}


.coverage-node {
    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--cyan);

    box-shadow:
        0 0 16px
        rgba(49,221,255,.8);
}


.node-one {
    left: 28px;
    top: 90px;
}


.node-two {
    right: 29px;
    top: 126px;
}


.node-three {
    left: 123px;
    bottom: 4px;
}


.auth-panel {
    width: 100%;
}


.auth-card {
    width: 100%;

    padding: 34px;

    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xl);

    background:
        linear-gradient(
            180deg,
            rgba(13, 29, 43, .92),
            rgba(6, 17, 27, .92)
        );

    box-shadow: var(--shadow);

    backdrop-filter: blur(28px);
}


.auth-card-head {
    text-align: center;

    margin-bottom: 28px;
}


.mini-label,
.section-kicker {
    color: var(--cyan);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: .16em;
}


.auth-card-head h2 {
    margin: 10px 0 8px;

    font-size: 30px;
    letter-spacing: -.04em;
}


.auth-card-head p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
}


.auth-tabs {
    padding: 5px;

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

    gap: 4px;

    margin-bottom: 26px;

    border: 1px solid var(--line);
    border-radius: 14px;

    background:
        rgba(255,255,255,.025);
}


.auth-tab {
    height: 43px;

    border: 0;
    border-radius: 10px;

    color: var(--muted);

    background: transparent;

    font-weight: 700;

    cursor: pointer;

    transition: .18s ease;
}


.auth-tab.active {
    color: var(--text);

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

    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.04);
}


.auth-form {
    display: grid;
    gap: 18px;
}


.field {
    display: grid;
    gap: 8px;

    color: #c4d2db;

    font-size: 13px;
    font-weight: 650;
}


.field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}


.forgot-link {
    color: var(--cyan);

    font-size: 12px;
    text-decoration: none;
}


.field input {
    width: 100%;
    height: 50px;

    padding: 0 15px;

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

    border-radius: 13px;
    outline: 0;

    color: var(--text);

    background:
        rgba(1, 8, 14, .45);

    transition: .18s ease;
}


.field input::placeholder {
    color: #536875;
}


.field input:focus {
    border-color:
        rgba(49,221,255,.48);

    box-shadow:
        0 0 0 3px
        rgba(49,221,255,.06);

    background:
        rgba(4,15,23,.82);
}


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


.primary-button {
    border: 0;
    border-radius: 13px;

    color: #021017;

    background:
        linear-gradient(
            135deg,
            #68eaff,
            #25cdeb
        );

    text-decoration: none;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 10px 30px
        rgba(31, 201, 238, .13);
}


.auth-submit {
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 2px;
}


.button-arrow {
    font-size: 19px;
}


.auth-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    color: var(--muted-2);

    font-size: 11px;
}


.message {
    margin-top: 18px;

    padding: 13px 15px;

    border: 1px solid
        rgba(255, 91, 112, .18);

    border-radius: 12px;

    color: #ffb1bd;

    background:
        rgba(255,91,112,.07);

    font-size: 13px;
    line-height: 1.5;
}


.message.success {
    color: #8cf5c9;

    border-color:
        rgba(55,230,161,.18);

    background:
        rgba(55,230,161,.07);
}



/* ===================================================== */
/* ACCOUNT LAYOUT */
/* ===================================================== */

.account-view {
    max-width: 1500px;

    margin: 0 auto;

    padding: 28px;
}


.account-layout {
    min-height:
        calc(100vh - 132px);

    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 26px;

    background:
        rgba(4, 13, 21, .56);

    box-shadow:
        0 28px 90px rgba(0,0,0,.26);
}


.account-sidebar {
    padding: 24px 18px;

    display: flex;
    flex-direction: column;

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

    background:
        rgba(4, 13, 21, .58);
}


.sidebar-user {
    min-height: 66px;

    padding: 10px;

    display: flex;
    align-items: center;
    gap: 12px;

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


.sidebar-avatar {
    width: 39px;
    height: 39px;

    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: var(--cyan);

    font-size: 15px;
    font-weight: 900;

    background:
        var(--cyan-soft);

    border:
        1px solid
        rgba(49,221,255,.16);
}


.sidebar-user div:last-child {
    min-width: 0;
}


.sidebar-user span,
.sidebar-user strong {
    display: block;
}


.sidebar-user span {
    margin-bottom: 3px;

    color: var(--muted-2);

    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .09em;
}


.sidebar-user strong {
    overflow: hidden;
    text-overflow: ellipsis;

    color: #dce9f0;

    font-size: 11px;
    white-space: nowrap;
}


.sidebar-nav {
    margin-top: 24px;

    display: grid;
    gap: 5px;
}


.sidebar-link {
    width: 100%;
    height: 45px;

    padding: 0 12px;

    display: flex;
    align-items: center;
    gap: 11px;

    border: 0;
    border-radius: 11px;

    color: var(--muted);

    background: transparent;

    text-align: left;
    font-size: 13px;
    font-weight: 650;

    cursor: pointer;
}


.sidebar-link.active {
    color: var(--text);

    background:
        rgba(49,221,255,.07);

    box-shadow:
        inset 0 0 0 1px
        rgba(49,221,255,.08);
}


.nav-icon {
    width: 20px;

    color: #6e8795;

    text-align: center;
}


.sidebar-link.active .nav-icon {
    color: var(--cyan);
}


.nav-count,
.soon-badge {
    margin-left: auto;
}


.nav-count {
    min-width: 22px;

    padding: 3px 7px;

    border-radius: 999px;

    color: #b8ccd6;

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

    text-align: center;

    font-size: 10px;
}


.soon-badge {
    padding: 3px 6px;

    border-radius: 6px;

    color: #66808d;

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

    font-size: 8px;
    letter-spacing: .07em;
}


.sidebar-disabled {
    opacity: .58;
    cursor: default;
}


.sidebar-bottom {
    margin-top: auto;
}


.sidebar-buy {
    min-height: 46px;

    padding: 0 13px;

    display: flex;
    align-items: center;
    gap: 9px;

    border-radius: 12px;

    color: #05131a;

    background:
        linear-gradient(
            135deg,
            #66eaff,
            #27cce9
        );

    text-decoration: none;

    font-size: 12px;
    font-weight: 800;
}


.sidebar-network {
    margin-top: 18px;

    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--muted-2);

    font-size: 10px;
}


.dashboard {
    min-width: 0;

    padding: 42px 44px 25px;
}


.dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 28px;
}


.dashboard-header h1 {
    margin: 10px 0 6px;

    font-size:
        clamp(32px, 4vw, 47px);

    letter-spacing: -.05em;
}


.dashboard-header p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
}


.dashboard-buy {
    min-height: 47px;

    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    white-space: nowrap;

    font-size: 13px;
}



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

.summary-grid {
    margin-top: 34px;

    display: grid;
    grid-template-columns:
        minmax(170px, .7fr)
        minmax(170px, .7fr)
        minmax(300px, 1.45fr);

    gap: 13px;
}


.summary-card {
    min-height: 142px;

    padding: 21px;

    display: flex;
    align-items: center;
    gap: 17px;

    border: 1px solid var(--line);
    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            rgba(14,31,45,.74),
            rgba(7,18,28,.66)
        );
}


.summary-icon {
    width: 43px;
    height: 43px;

    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color: var(--cyan);

    border:
        1px solid
        rgba(49,221,255,.13);

    background:
        var(--cyan-soft);
}


.summary-copy span,
.summary-copy strong,
.summary-copy small {
    display: block;
}


.summary-copy span {
    margin-bottom: 5px;

    color: var(--muted);

    font-size: 11px;
}


.summary-copy strong {
    font-size: 31px;
    letter-spacing: -.04em;
}


.summary-copy small {
    margin-top: 4px;

    color: var(--muted-2);

    font-size: 10px;
}


.summary-card-wide {
    position: relative;
}


.summary-text-value {
    font-size: 17px !important;
}


.summary-link {
    margin-left: auto;

    color: var(--cyan);

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}



/* ===================================================== */
/* CONTENT */
/* ===================================================== */

.content-section {
    margin-top: 43px;
}


.section-heading {
    margin-bottom: 20px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
}


.section-heading h2 {
    margin: 6px 0 5px;

    font-size: 25px;
    letter-spacing: -.035em;
}


.section-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
}


.section-status {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--muted-2);

    font-size: 10px;
}


.esims-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}


.loading-card,
.empty-card {
    grid-column: 1 / -1;

    min-height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px dashed var(--line-strong);
    border-radius: 20px;

    color: var(--muted);

    background:
        rgba(255,255,255,.018);
}


.loading-card {
    flex-direction: column;
    gap: 16px;
}


.loading-spinner {
    width: 27px;
    height: 27px;

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

    border-top-color: var(--cyan);

    border-radius: 50%;

    animation:
        spin .8s linear infinite;
}


@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}



/* ===================================================== */
/* ESIM CARDS — compatible with current JS */
/* ===================================================== */

.esim-card {
    padding: 22px;

    border: 1px solid var(--line);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(15, 32, 46, .82),
            rgba(6, 17, 27, .76)
        );

    transition:
        transform .18s ease,
        border-color .18s ease;
}


.esim-card:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(49,221,255,.16);
}


.esim-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;
}


.esim-country {
    display: flex;
    align-items: center;
    gap: 13px;

    min-width: 0;
}


.country-badge {
    width: 45px;
    height: 45px;

    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--line);
    border-radius: 13px;

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

    font-size: 23px;
}


.esim-country h3 {
    margin: 0 0 5px;

    overflow: hidden;

    font-size: 17px;
    letter-spacing: -.025em;

    white-space: nowrap;
    text-overflow: ellipsis;
}


.esim-country p {
    margin: 0;

    color: var(--muted);

    font-size: 11px;
}


.status-pill {
    padding: 5px 9px;

    flex: 0 0 auto;

    border:
        1px solid
        rgba(55,230,161,.14);

    border-radius: 999px;

    color: #79edbd;

    background:
        rgba(55,230,161,.07);

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .05em;
}


.usage-wrap {
    margin-top: 26px;
}


.usage-row,
.usage-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}


.usage-row {
    margin-bottom: 11px;

    color: var(--muted);

    font-size: 11px;
}


.usage-row strong {
    color: var(--text);

    font-size: 12px;
}


.progress {
    height: 7px;

    overflow: hidden;

    border-radius: 999px;

    background:
        rgba(255,255,255,.055);
}


.progress > div {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #36dcff,
            #38e7a4
        );

    box-shadow:
        0 0 16px
        rgba(49,221,255,.22);
}


.usage-meta {
    margin-top: 8px;

    color: var(--muted-2);

    font-size: 9px;
}


.esim-actions {
    margin-top: 22px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}


.secondary-button {
    min-height: 41px;

    padding: 0 12px;

    border: 1px solid var(--line-strong);
    border-radius: 11px;

    color: #bdced7;

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

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}


.secondary-button:hover:not(:disabled) {
    color: var(--text);

    background:
        rgba(255,255,255,.06);
}


.secondary-button:disabled {
    opacity: .45;
    cursor: default;
}


.empty-card {
    flex-direction: column;

    text-align: center;

    line-height: 1.6;
}


.empty-card .primary-button {
    padding: 12px 18px;
}



/* ===================================================== */
/* MODAL */
/* ===================================================== */

.modal {
    position: fixed;
    inset: 0;

    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;
}


.modal-backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(0, 5, 10, .78);

    backdrop-filter: blur(15px);
}


.modal-card {
    position: relative;
    z-index: 1;

    width: min(590px, 100%);
    max-height: calc(100vh - 50px);

    overflow-y: auto;

    padding: 31px;

    border: 1px solid var(--line-strong);
    border-radius: 25px;

    background:
        #07131e;

    box-shadow:
        0 40px 120px
        rgba(0,0,0,.6);
}


.modal-close {
    position: absolute;

    width: 37px;
    height: 37px;

    right: 18px;
    top: 18px;

    border: 1px solid var(--line);
    border-radius: 11px;

    color: var(--muted);

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

    font-size: 22px;

    cursor: pointer;
}


.modal-title {
    padding-right: 45px;
}


.eyebrow {
    color: var(--cyan);

    font-size: 9px;
    font-weight: 850;

    letter-spacing: .15em;
}


.modal-title h2 {
    margin: 9px 0 7px;

    font-size: 27px;
    letter-spacing: -.04em;
}


.modal-title p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
}


.qr-wrap {
    margin: 26px auto;

    width: 225px;
    height: 225px;

    padding: 13px;

    border-radius: 19px;

    background: white;
}


.qr-wrap img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


.detail-list {
    margin-top: 26px;

    display: grid;
    gap: 9px;
}


.detail-item {
    padding: 13px 14px;

    border: 1px solid var(--line);
    border-radius: 12px;

    background:
        rgba(255,255,255,.025);
}


.detail-item span {
    display: block;

    margin-bottom: 6px;

    color: var(--muted-2);

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: .07em;
}


.detail-item code {
    display: block;

    overflow-wrap: anywhere;

    color: #d9e9f0;

    font-size: 11px;
}



/* ===================================================== */
/* FOOTER */
/* ===================================================== */

.account-footer {
    margin-top: 46px;

    padding-top: 18px;

    display: flex;
    justify-content: space-between;

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

    color: var(--muted-2);

    font-size: 10px;
}


.account-footer div {
    display: flex;
    gap: 18px;
}


.account-footer a {
    text-decoration: none;
}



/* ===================================================== */
/* RESPONSIVE */
/* ===================================================== */

@media (max-width: 1080px) {

    .auth-shell {
        grid-template-columns:
            1fr 390px;

        gap: 42px;
    }


    .coverage-visual {
        display: none;
    }


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


    .summary-card-wide {
        grid-column: 1 / -1;
    }


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


@media (max-width: 850px) {

    .top-nav {
        display: none;
    }


    .auth-view {
        align-items: flex-start;
    }


    .auth-shell {
        padding:
            48px 20px 65px;

        grid-template-columns: 1fr;
    }


    .auth-visual {
        min-height: 0;
    }


    .auth-visual h1 {
        font-size:
            clamp(44px, 12vw, 68px);
    }


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


    .auth-feature {
        min-height: auto;

        display: flex;
        gap: 14px;
    }


    .feature-icon {
        flex: 0 0 auto;
        margin-bottom: 0;
    }


    .account-view {
        padding: 16px;
    }


    .account-layout {
        display: block;
    }


    .account-sidebar {
        display: none;
    }


    .dashboard {
        padding: 29px 22px 20px;
    }
}


@media (max-width: 620px) {

    .topbar-inner {
        height: 66px;

        padding: 0 16px;
    }


    .brand img {
        width: 33px;
        height: 33px;
    }


    .brand-copy strong,
    .brand-copy span {
        font-size: 17px;
    }


    .header-buy {
        display: none;
    }


    .main-content {
        min-height:
            calc(100vh - 66px);
    }


    .auth-shell {
        padding:
            34px 15px 45px;
    }


    .auth-visual {
        padding: 0 5px;
    }


    .auth-visual h1 {
        margin-top: 18px;

        font-size: 46px;
    }


    .auth-lead {
        font-size: 15px;
    }


    .auth-feature-grid {
        margin-top: 27px;
    }


    .auth-card {
        padding: 24px 18px;

        border-radius: 22px;
    }


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


    .account-view {
        padding: 10px;
    }


    .account-layout {
        border-radius: 20px;
    }


    .dashboard {
        padding:
            24px 15px 18px;
    }


    .dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .dashboard-buy {
        width: 100%;
    }


    .summary-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }


    .summary-card {
        min-height: 115px;

        padding: 15px;

        gap: 12px;
    }


    .summary-card-wide {
        grid-column: 1 / -1;
    }


    .summary-card:not(.summary-card-wide)
    .summary-icon {
        display: none;
    }


    .summary-copy strong {
        font-size: 27px;
    }


    .summary-link {
        display: none;
    }


    .section-heading {
        align-items: flex-start;
    }


    .section-status {
        display: none;
    }


    .esim-card {
        padding: 17px;
    }


    .esim-actions {
        grid-template-columns: 1fr;
    }


    .modal {
        padding: 10px;

        align-items: flex-end;
    }


    .modal-card {
        width: 100%;
        max-height: 90vh;

        padding:
            28px 18px 22px;

        border-radius:
            24px 24px 16px 16px;
    }


    .modal-handle {
        width: 42px;
        height: 4px;

        margin:
            -12px auto 18px;

        border-radius: 99px;

        background:
            rgba(255,255,255,.16);
    }


    .qr-wrap {
        width: 205px;
        height: 205px;
    }


    .account-footer {
        flex-direction: column;
        gap: 10px;
    }
}


/* ===================================================== */
/* ORDERS — functional temporary UI */
/* ===================================================== */

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


.order-card {
    padding: 22px;

    border: 1px solid var(--line);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(15, 32, 46, .82),
            rgba(6, 17, 27, .76)
        );
}


.order-card-top,
.order-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}


.order-destination {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 13px;
}


.order-destination h3 {
    margin: 0 0 5px;

    font-size: 17px;
}


.order-destination p {
    margin: 0;

    color: var(--muted);

    font-size: 11px;
}


.order-status {
    flex: 0 0 auto;

    padding: 5px 9px;

    border: 1px solid var(--line-strong);
    border-radius: 999px;

    color: #b9cad4;

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

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
}


.order-status-fulfilled,
.order-status-paid {
    color: #79edbd;

    border-color:
        rgba(55,230,161,.14);

    background:
        rgba(55,230,161,.07);
}


.order-plan-meta {
    margin-top: 20px;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.order-plan-meta span {
    padding: 5px 8px;

    border-radius: 8px;

    color: var(--muted);

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

    font-size: 10px;
}


.order-plan-meta .order-ready {
    color: #79edbd;

    background:
        rgba(55,230,161,.07);
}


.order-info-grid {
    margin-top: 20px;

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


.order-info-grid > div {
    padding: 12px;

    border: 1px solid var(--line);
    border-radius: 11px;

    background:
        rgba(255,255,255,.02);
}


.order-info-grid span,
.order-info-grid strong {
    display: block;
}


.order-info-grid span {
    margin-bottom: 5px;

    color: var(--muted-2);

    font-size: 9px;
}


.order-info-grid strong {
    color: #dce9f0;

    font-size: 11px;
}


.order-card-footer {
    margin-top: 18px;
}


.order-card-footer code {
    color: var(--muted-2);

    font-size: 10px;
}


.order-card-footer .secondary-button {
    min-width: 105px;
}


.order-modal-actions {
    margin-top: 20px;
}


.order-manage-button {
    width: 100%;
    min-height: 46px;
}


@media (max-width: 1080px) {

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


@media (max-width: 620px) {

    .order-info-grid {
        grid-template-columns: 1fr;
    }
}


/* ===================================================== */
/* ACCOUNT SETTINGS — temporary functional UI */
/* ===================================================== */

.account-settings-grid {
    display: grid;
    gap: 14px;
}


.settings-card {
    padding: 22px;

    border: 1px solid var(--line);
    border-radius: 20px;

    background:
        rgba(255,255,255,.025);
}


.settings-card-heading {
    margin-bottom: 20px;
}


.settings-label {
    display: block;

    margin-bottom: 6px;

    color: var(--accent);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}


.settings-card h3 {
    margin: 0;

    font-size: 17px;
}


.profile-form {
    display: grid;
    gap: 16px;
}


.profile-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}


.profile-field {
    display: grid;
    gap: 7px;
}


.profile-field > span {
    color: var(--muted);

    font-size: 10px;
}


.profile-field input {
    width: 100%;
    box-sizing: border-box;

    min-height: 44px;

    padding: 0 13px;

    border: 1px solid var(--line);
    border-radius: 11px;

    color: #eaf7fc;
    background: rgba(255,255,255,.035);

    outline: none;
}


.profile-field input:focus {
    border-color:
        rgba(54,215,255,.45);
}


.profile-field input[readonly] {
    color: var(--muted);
}


.email-field-wrap {
    position: relative;
}


.email-field-wrap input {
    padding-right: 100px;
}


.verified-badge {
    position: absolute;
    top: 50%;
    right: 10px;

    transform: translateY(-50%);

    padding: 4px 8px;

    border-radius: 999px;

    color: #79edbd;
    background:
        rgba(55,230,161,.08);

    font-size: 9px;
    font-weight: 800;
}


.verified-badge.not-verified {
    color: #ffbd68;
    background:
        rgba(255,180,70,.08);
}


.account-info-list {
    display: grid;
}


.account-info-list > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    padding: 13px 0;

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


.account-info-list > div:last-child {
    border-bottom: 0;
}


.account-info-list span {
    color: var(--muted);

    font-size: 10px;
}


.account-info-list strong,
.account-info-list code {
    color: #dce9f0;

    font-size: 11px;
}


.security-card {
    display: grid;
    gap: 0;
}


.security-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 16px 0;

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


.security-action strong {
    display: block;

    margin-bottom: 5px;

    font-size: 12px;
}


.security-action p {
    margin: 0;

    max-width: 500px;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.6;
}


.danger-button {
    min-width: 120px;
    min-height: 40px;

    padding: 0 15px;

    border:
        1px solid rgba(255,90,90,.25);
    border-radius: 10px;

    color: #ff8f8f;
    background:
        rgba(255,70,70,.06);

    cursor: pointer;
}


.settings-message {
    margin-top: 14px;

    padding: 10px 12px;

    border-radius: 10px;

    font-size: 10px;
}


.settings-message.success {
    color: #79edbd;
    background:
        rgba(55,230,161,.07);
}


.settings-message.error {
    color: #ff9494;
    background:
        rgba(255,70,70,.07);
}


@media (max-width: 700px) {

    .profile-field-row {
        grid-template-columns: 1fr;
    }


    .security-action {
        align-items: stretch;
        flex-direction: column;
    }


    .security-action button {
        width: 100%;
    }


    .account-info-list > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}
