/* ============================================================
   NOVA WALLET — Shared Design System
   ============================================================ */

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

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #000000;
    --surface: #111111;
    --surface2: #1a1a1a;
    --input-bg: #1c1c1c;
    --border: #2a2a2a;
    --green: #3DFF20;
    --green-dim: #1f8a0e;
    --green-glow: rgba(61, 255, 32, .35);
    --white: #ffffff;
    --muted: #888888;
    --muted2: #aaaaaa;
    --error: #ff4d4d;
    --radius-card: 16px;
    --radius-btn: 50px;
    --radius-input: 12px;
    --font: 'Outfit', system-ui, sans-serif;
    --transition: .2s cubic-bezier(.4, 0, .2, 1);
}

html,
body {
    height: 100%;
    background: #0a0a0a;
    font-family: var(--font);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* ── Phone Frame (desktop wrapper) ───────────────────────── */
body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #0a0a0a;
}

.phone-frame {
    width: 390px;
    min-height: 844px;
    height: 844px;
    background: var(--bg);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 40px 100px rgba(61, 255, 32, .08),
        0 0 0 1px #222;
    display: flex;
    flex-direction: column;
}

/* On real mobile — full screen, no frame */
@media (max-width: 430px) {
    body {
        background: #000;
        display: block;
    }

    .phone-frame {
        width: 100vw;
        min-height: 100dvh;
        height: 100dvh;
        border-radius: 0;
        box-shadow: none;
    }
}

/* ── Scrollable screen content ────────────────────────────── */
.screen {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    position: relative;
    /* hide scrollbar but keep scroll */
    scrollbar-width: none;
}

.screen::-webkit-scrollbar {
    display: none;
}

/* ── Typography ───────────────────────────────────────────── */
h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
}

p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    border-radius: var(--radius-btn);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    outline: none;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn:hover {
    transform: scale(1.02);
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--green);
    color: #000;
    box-shadow: 0 4px 24px rgba(61, 255, 32, .3);
}

.btn-primary:hover {
    box-shadow: 0 6px 32px rgba(61, 255, 32, .5);
    filter: brightness(1.05);
}

.btn-primary:disabled {
    background: #1a4d10;
    color: #3a6b30;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, .25);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .04);
}

.btn-sm {
    padding: 12px 20px;
    font-size: 14px;
}

.btn-half {
    width: calc(50% - 6px);
    flex-shrink: 0;
}

/* ── Inputs ───────────────────────────────────────────────── */
.input-wrap {
    position: relative;
    width: 100%;
}

.input-wrap .icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 16px;
    pointer-events: none;
}

.input-wrap .icon-right {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 16px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.nova-input {
    width: 100%;
    background: var(--input-bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-input);
    color: var(--white);
    font-family: var(--font);
    font-size: 15px;
    padding: 14px 16px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.nova-input.has-icon {
    padding-left: 44px;
}

.nova-input.has-icon-right {
    padding-right: 44px;
}

.nova-input::placeholder {
    color: var(--muted);
}

.nova-input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(61, 255, 32, .12);
}

.nova-input:focus+.icon,
.input-wrap:focus-within .icon {
    color: var(--green);
}

/* select */
.nova-select {
    width: 100%;
    background: var(--input-bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-input);
    color: var(--white);
    font-family: var(--font);
    font-size: 15px;
    padding: 14px 16px;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: border-color var(--transition);
}

.nova-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(61, 255, 32, .12);
}

.nova-select option {
    background: #1c1c1c;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
    background: var(--surface);
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    padding: 20px;
}

.card-2 {
    background: var(--surface2);
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    padding: 20px;
}

/* ── Modal Card (floating over screen) ───────────────────── */
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-end;
    z-index: 50;
}

.modal-card {
    width: 100%;
    background: var(--surface);
    border-radius: 24px 24px 0 0;
    border: 1px solid var(--border);
    border-bottom: none;
    padding: 24px 24px 36px;
    animation: slideUp .3s cubic-bezier(.4, 0, .2, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

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

/* ── Top Nav Bar ──────────────────────────────────────────── */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 12px;
    flex-shrink: 0;
}

.top-nav .back-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    font-size: 14px;
    text-decoration: none;
    transition: background var(--transition);
    flex-shrink: 0;
}

.top-nav .back-btn:hover {
    background: var(--surface2);
}

.top-nav-title {
    text-align: center;
    flex: 1;
}

.top-nav-title h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.top-nav-title p {
    font-size: 11px;
    color: var(--muted);
    margin: 0;
}

/* ── Progress Dots ────────────────────────────────────────── */
.progress-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    padding: 8px 0 20px;
}

.progress-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: background var(--transition), width var(--transition);
}

.progress-dots .dot.active {
    background: var(--green);
    width: 24px;
    border-radius: 4px;
}

/* ── Divider with text ────────────────────────────────────── */
.divider-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    margin: 4px 0;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ── Bottom Nav ───────────────────────────────────────────── */
.bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 10px 0 14px;
    flex-shrink: 0;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    transition: color var(--transition);
    padding: 4px 12px;
}

.bottom-nav a svg,
.bottom-nav a i {
    font-size: 20px;
}

.bottom-nav a.active {
    color: var(--green);
}

.bottom-nav a:hover {
    color: var(--muted2);
}

.bottom-nav a.active i {
    filter: drop-shadow(0 0 6px var(--green));
}

/* ── OTP digit boxes ──────────────────────────────────────── */
.otp-row {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.otp-box {
    width: 46px;
    height: 56px;
    background: var(--input-bg);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    font-family: var(--font);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    caret-color: var(--green);
}

.otp-box:focus {
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .08);
}

.otp-box.filled {
    border-color: var(--green);
    box-shadow: 0 0 0 2px rgba(61, 255, 32, .15);
}

.otp-box.error {
    border-color: var(--error);
    box-shadow: 0 0 0 2px rgba(255, 77, 77, .15);
}

/* ── PIN dots ─────────────────────────────────────────────── */
.pin-dots {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--muted);
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.pin-dot.filled {
    background: var(--green);
    border-color: var(--green);
    box-shadow: 0 0 8px var(--green-glow);
}

/* ── Checkbox ─────────────────────────────────────────────── */
.nova-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--muted2);
}

.nova-checkbox input[type=checkbox] {
    display: none;
}

.nova-checkbox .cb-box {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1.5px solid var(--border);
    background: var(--input-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), border-color var(--transition);
}

.nova-checkbox input:checked+.cb-box {
    background: var(--green);
    border-color: var(--green);
}

.nova-checkbox input:checked+.cb-box::after {
    content: '✓';
    font-size: 12px;
    font-weight: 800;
    color: #000;
    line-height: 1;
}

.nova-checkbox a {
    color: var(--green);
    text-decoration: none;
}

/* ── Feature Row ──────────────────────────────────────────── */
.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(61, 255, 32, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.feature-text h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}

.feature-text p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

/* ── Legal text ───────────────────────────────────────────── */
.legal-text {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    line-height: 1.5;
}

.legal-text a {
    color: var(--muted2);
}

/* ── Error message ────────────────────────────────────────── */
.error-msg {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--error);
    font-size: 13px;
    font-weight: 500;
}

/* ── Notification ─────────────────────────────────────────── */
.notify {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .7);
}

.notify-success {
    background: #0d2b0d;
    color: #3DFF20;
    border: 1px solid rgba(61, 255, 32, .45);
}

.notify-error {
    background: #2a0d0d;
    color: #ff6b6b;
    border: 1px solid rgba(255, 77, 77, .45);
}

.notify-info {
    background: #0d1a2b;
    color: #7ab8ff;
    border: 1px solid rgba(80, 160, 255, .4);
}

/* ── Utility ──────────────────────────────────────────────── */
.text-green {
    color: var(--green);
}

.text-muted {
    color: var(--muted);
}

.text-muted2 {
    color: var(--muted2);
}

.text-error {
    color: var(--error);
}

.text-center {
    text-align: center;
}

.text-bold {
    font-weight: 700;
}

.mt-4 {
    margin-top: 4px;
}

.mt-8 {
    margin-top: 8px;
}

.mt-12 {
    margin-top: 12px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.mb-4 {
    margin-bottom: 4px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-24 {
    margin-bottom: 24px;
}

.gap-12 {
    gap: 12px;
}

.gap-16 {
    gap: 16px;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.full-w {
    width: 100%;
}

/* ── Page fade-in ─────────────────────────────────────────── */
.fade-in {
    animation: fadeInUp .45s cubic-bezier(.4, 0, .2, 1) both;
}

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

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

.delay-1 {
    animation-delay: .08s;
}

.delay-2 {
    animation-delay: .16s;
}

.delay-3 {
    animation-delay: .24s;
}

.delay-4 {
    animation-delay: .32s;
}

/* ── Glow pulse (icon decorations) ───────────────────────── */
@keyframes glowPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 16px rgba(61, 255, 32, .6));
    }

    50% {
        filter: drop-shadow(0 0 36px rgba(61, 255, 32, 1));
    }
}

.glow-pulse {
    animation: glowPulse 2.5s ease-in-out infinite;
}

/* ── Asset row (dashboard) ────────────────────────────────── */
.asset-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background var(--transition);
}

.asset-row:last-child {
    border-bottom: none;
}

.asset-row:active {
    background: rgba(255, 255, 255, .03);
}

.asset-coin {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #000;
    flex-shrink: 0;
}

.asset-info {
    flex: 1;
    min-width: 0;
}

.asset-info .name {
    font-size: 15px;
    font-weight: 600;
}

.asset-info .holds {
    font-size: 12px;
    color: var(--muted);
}

.asset-vals {
    text-align: right;
}

.asset-vals .usd {
    font-size: 15px;
    font-weight: 700;
}

.asset-vals .coin {
    font-size: 12px;
    color: var(--muted);
}

/* ── Coin colors ──────────────────────────────────────────── */
.coin-eth {
    background: #627EEA;
}

.coin-btc {
    background: #F7931A;
}

.coin-sol {
    background: #9945FF;
}

.coin-trx {
    background: #E50915;
}

.coin-usdt {
    background: #26A17B;
}

/* ── Action buttons (dashboard) ──────────────────────────── */
.action-row {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
    font-family: var(--font);
}

.action-btn:hover {
    background: var(--surface2);
    transform: translateY(-2px);
}

.action-btn:active {
    transform: scale(0.96);
}

.action-btn .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(61, 255, 32, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--green);
}

.action-btn span {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

/* ── Tab bar ──────────────────────────────────────────────── */
.tab-bar {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}

.tab-bar button {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--muted);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    transition: color var(--transition);
}

.tab-bar button.active {
    color: var(--white);
}

.tab-bar button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}

/* ── Promo card ───────────────────────────────────────────── */
.promo-card {
    background: linear-gradient(135deg, #0d2b0d, #111);
    border: 1px solid rgba(61, 255, 32, .2);
    border-radius: var(--radius-card);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.promo-card p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.promo-card a {
    font-size: 12px;
    font-weight: 600;
    color: var(--green);
    text-decoration: none;
    white-space: nowrap;
    margin-left: 12px;
}

.promo-icon {
    font-size: 36px;
    margin-left: 12px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(61, 255, 32, .5));
}

/* ── Settings list ────────────────────────────────────────── */
.settings-group {
    margin-bottom: 24px;
}

.settings-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 0 4px 8px;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background var(--transition);
}

.settings-item:first-of-type {
    border-radius: 14px 14px 0 0;
}

.settings-item:last-of-type {
    border-radius: 0 0 14px 14px;
    border-bottom: none;
}

.settings-item:only-of-type {
    border-radius: 14px;
    border-bottom: none;
}

.settings-item:hover {
    background: var(--surface2);
}

.settings-item .left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-item .left i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.settings-item .left .item-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
}

.settings-item .right {
    color: var(--muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.settings-item .right i {
    font-size: 12px;
}

/* Toggle switch */
.toggle {
    width: 44px;
    height: 24px;
    background: var(--border);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background var(--transition);
    flex-shrink: 0;
}

.toggle.on {
    background: var(--green);
}

.toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: left var(--transition);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

.toggle.on::after {
    left: 22px;
}

/* ── QR container ─────────────────────────────────────────── */
.qr-wrap {
    width: 160px;
    height: 160px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 8px;
}

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

/* ── Address box ──────────────────────────────────────────── */
.address-box {
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 12px;
    color: var(--muted2);
    word-break: break-all;
    font-family: 'Courier New', monospace;
    letter-spacing: .3px;
}

/* ── Send / confirm form ──────────────────────────────────── */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted2);
}

/* ── Tx list ──────────────────────────────────────────────── */
.tx-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.tx-row:last-child {
    border-bottom: none;
}

.tx-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.tx-icon.out {
    background: rgba(255, 77, 77, .12);
    color: var(--error);
}

.tx-icon.in {
    background: rgba(61, 255, 32, .12);
    color: var(--green);
}

.tx-info {
    flex: 1;
    min-width: 0;
}

.tx-info .tx-type {
    font-size: 14px;
    font-weight: 600;
}

.tx-info .tx-addr {
    font-size: 12px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tx-vals {
    text-align: right;
}

.tx-vals .tx-amount {
    font-size: 14px;
    font-weight: 700;
}

.tx-vals .tx-amount.out {
    color: var(--error);
}

.tx-vals .tx-amount.in {
    color: var(--green);
}

.tx-vals .tx-date {
    font-size: 11px;
    color: var(--muted);
}

/* ── Dashboard header ─────────────────────────────────────── */
.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 12px;
}

.dash-header .account {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.dash-header .account i {
    font-size: 10px;
    color: var(--muted);
}

.dash-header .icons {
    display: flex;
    gap: 16px;
}

.dash-header .icons a {
    font-size: 18px;
    color: var(--muted2);
    text-decoration: none;
    transition: color var(--transition);
}

.dash-header .icons a:hover {
    color: var(--white);
}

/* ── Balance section ──────────────────────────────────────── */
.balance-section {
    text-align: center;
    padding: 0 24px 20px;
}

.balance-amount {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
}

.balance-change {
    font-size: 13px;
    color: var(--green);
    margin-top: 4px;
    font-weight: 500;
}

/* ── Empty state ──────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--muted);
    font-size: 14px;
}

.empty-state i {
    font-size: 40px;
    color: var(--border);
    display: block;
    margin-bottom: 12px;
}

/* ── Utilities ────────────────────────────────────────────── */
.pb-20 {
    padding-bottom: 20px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-32 {
    margin-bottom: 32px;
}

/* ── Notification toasts ──────────────────────────────────── */
.notify {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .7);
    animation: fadeInUp .3s ease both;
}

.notify-success {
    background: #0d2b0d;
    border: 1px solid rgba(61, 255, 32, .45);
    color: #3DFF20;
}

.notify-error {
    background: #2a0d0d;
    border: 1px solid rgba(255, 77, 77, .45);
    color: #ff6b6b;
}

.notify-info {
    background: #0d1a2b;
    border: 1px solid rgba(80, 160, 255, .4);
    color: #7ab8ff;
}

/* ── Settings helpers ─────────────────────────────────────── */
.settings-group {
    margin-bottom: 24px;
}

.settings-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0 4px;
    margin-bottom: 8px;
}

.settings-item .left i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.settings-item .right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── nova-select ──────────────────────────────────────────── */
.nova-select {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    color: var(--white);
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 15px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.nova-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(61, 255, 32, .15);
}

/* ── Address display box ──────────────────────────────────── */
.address-box {
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    font-family: monospace;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    letter-spacing: .04em;
}

/* ── Top nav ──────────────────────────────────────────────── */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 8px;
    flex-shrink: 0;
}

.back-btn {
    width: 36px;
    height: 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.back-btn:hover {
    border-color: var(--green);
    color: var(--green);
}

.top-nav-title h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

/* ── Error message block ──────────────────────────────────── */
.error-msg {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 77, 77, .1);
    border: 1px solid rgba(255, 77, 77, .25);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--error);
}

/* ── Responsive: mobile ───────────────────────────────────── */
@media (max-width: 430px) {
    .phone-frame {
        width: 100% !important;
        height: 100dvh !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}