:root {
    --navy-950: #061528;
    --navy-900: #0a203c;
    --navy-800: #102c50;
    --navy-700: #173b67;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e5eaf2;
    --surface: #f3f6fb;
    --card: #ffffff;
    --green: #16a34a;
    --green-dark: #15803d;
    --green-soft: #dcfce7;
    --red: #dc2626;
    --red-soft: #fee2e2;
    --amber: #b45309;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 40px -24px rgba(15, 23, 42, 0.35);
    --radius-lg: 20px;
    --radius-md: 14px;
    --sidebar-width: 272px;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--surface);
    color: var(--ink);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

.eyebrow {
    display: inline-block;
    color: var(--green-dark);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* ---------- App shell ---------- */
.app-shell {
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    width: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 1.25rem;
    color: #fff;
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(34, 197, 94, 0.14), transparent 55%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
    overflow-y: auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
}

.brand:hover {
    color: #fff;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    color: #04231a;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #4ade80, #0d9488);
    box-shadow: 0 10px 24px -12px rgba(34, 197, 94, 0.8);
}

.brand-name {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.brand-tag {
    display: block;
    margin-top: 0.15rem;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.nav-label {
    margin: 0 0.75rem 0.5rem;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.side-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.93rem;
    font-weight: 500;
    transition: background 0.18s ease, color 0.18s ease;
}

.side-link i {
    width: 20px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.05rem;
    text-align: center;
    transition: color 0.18s ease;
}

.side-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.side-link:hover i {
    color: rgba(255, 255, 255, 0.8);
}

.side-link.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.05));
    box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.24);
}

.side-link.active i {
    color: #4ade80;
}

.sidebar-card {
    margin-top: auto;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
}

.sidebar-card-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 0.65rem;
    border-radius: 10px;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.12);
}

.sidebar-card-title {
    margin: 0 0 0.25rem;
    font-size: 0.84rem;
    font-weight: 700;
}

.sidebar-card-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.75rem;
    line-height: 1.5;
}

.side-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.78);
    background: transparent;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease;
}

.side-logout:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1035;
    background: rgba(2, 6, 23, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

body.sidebar-open .sidebar-backdrop {
    opacity: 1;
    visibility: visible;
}

.main-area {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-left: var(--sidebar-width);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 2rem;
    color: #fff;
    background: linear-gradient(90deg, var(--navy-950), var(--navy-800));
    box-shadow: 0 14px 30px -24px rgba(2, 6, 23, 0.9);
}

.topbar .eyebrow {
    color: #4ade80;
}

.page-heading h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.icon-btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 1.15rem;
}

.icon-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #04231a;
    background: linear-gradient(135deg, #4ade80, #0d9488);
    font-size: 0.88rem;
    font-weight: 800;
}

.user-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.user-name {
    font-size: 0.88rem;
    font-weight: 600;
}

.user-email {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
}

.content {
    flex: 1;
    padding: 2rem;
}

/* ---------- Cards ---------- */
.card {
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.card-header h2 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.card-header p {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.balance-hero .card-body {
    padding: 2rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.pill-light {
    border: 1px solid #bbf7d0;
    color: #047857;
    background: #ecfdf5;
}

.welcome-title {
    margin: 0.9rem 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.welcome-copy {
    max-width: 44ch;
    margin: 0 0 1.25rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.account-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    padding: 0.75rem 0.9rem;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
}

.account-label {
    display: block;
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.account-value {
    display: block;
    margin-top: 0.1rem;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.65rem;
    border: 0;
    border-radius: 10px;
    color: var(--ink);
    background: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease;
}

.copy-btn:hover {
    background: #cbd5e1;
}

.copy-btn.copied {
    color: var(--green-dark);
    background: var(--green-soft);
}

.balance-panel {
    padding: 1.5rem;
    border-radius: 18px;
    color: #fff;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(34, 197, 94, 0.25), transparent 55%),
        linear-gradient(135deg, var(--navy-900), var(--navy-700));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.balance-label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.balance-icon {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.15rem;
}

.balance-value {
    margin-top: 0.35rem;
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

/* ---------- Buttons ---------- */
.btn {
    border-radius: 12px;
    font-weight: 600;
}

.btn-primary {
    --bs-btn-bg: var(--navy-800);
    --bs-btn-border-color: var(--navy-800);
    --bs-btn-hover-bg: var(--navy-700);
    --bs-btn-hover-border-color: var(--navy-700);
    --bs-btn-active-bg: var(--navy-700);
    --bs-btn-active-border-color: var(--navy-700);
    --bs-btn-disabled-bg: var(--navy-700);
    --bs-btn-disabled-border-color: var(--navy-700);
}

.btn-accent {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 12px 24px -16px rgba(22, 163, 74, 0.9);
}

.btn-accent:hover,
.btn-accent:focus {
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.btn-ghost {
    border: 1px solid var(--line);
    color: #334155;
    background: #f1f5f9;
}

.btn-ghost:hover,
.btn-ghost:focus {
    color: var(--ink);
    background: #e2e8f0;
    border-color: #cbd5e1;
}

/* ---------- Tables ---------- */
.bank-table {
    margin: 0;
    --bs-table-bg: transparent;
}

.bank-table thead th {
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    background: #f8fafc;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    white-space: nowrap;
}

.bank-table tbody td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.bank-table tbody tr:last-child td {
    border-bottom: 0;
}

.bank-table tbody tr:hover {
    background: #f8fafc;
}

.txn-date {
    font-size: 0.87rem;
    font-weight: 600;
}

.txn-time {
    color: var(--muted);
    font-size: 0.74rem;
}

.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.type-badge.credit {
    color: var(--green-dark);
    background: var(--green-soft);
}

.type-badge.debit {
    color: #b91c1c;
    background: var(--red-soft);
}

.counterparty {
    color: #334155;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.82rem;
}

.amount {
    font-weight: 700;
    white-space: nowrap;
}

.amount-credit {
    color: var(--green);
}

.amount-debit {
    color: var(--red);
}

.status-badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
}

.status-badge.success {
    color: #047857;
    background: #ecfdf5;
}

.status-badge.pending {
    color: var(--amber);
    background: #fffbeb;
}

.status-badge.failed {
    color: #b91c1c;
    background: var(--red-soft);
}

.empty-state {
    padding: 3rem 1.5rem;
    color: var(--muted);
    text-align: center;
}

.empty-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    color: #94a3b8;
    background: #f1f5f9;
    font-size: 1.4rem;
}

.empty-state h3 {
    margin: 0 0 0.35rem;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
}

.empty-state p {
    font-size: 0.86rem;
}

.count-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    color: #334155;
    background: #eef2f7;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ---------- Forms ---------- */
.form-label {
    margin-bottom: 0.45rem;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 600;
}

.form-control,
.input-group-text {
    border-color: #dbe3ee;
}

.form-control {
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    color: var(--ink);
}

.form-control::placeholder {
    color: #a3afc2;
}

.form-control:focus {
    border-color: #34d399;
    box-shadow: 0 0 0 0.2rem rgba(52, 211, 153, 0.16);
}

.form-control.is-invalid {
    border-color: var(--red);
    background-image: none;
}

.form-control.is-invalid:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.12);
}

.form-control.is-valid {
    border-color: #34d399;
    background-image: none;
}

.input-group-text {
    color: var(--muted);
    background: #f8fafc;
}

.input-group-lg > .form-control,
.input-group-lg > .input-group-text {
    font-size: 1rem;
}

.field-error {
    margin-top: 0.4rem;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 500;
}

.form-hint {
    color: var(--muted);
    font-size: 0.78rem;
}

.password-toggle {
    padding: 0 1rem;
    border: 1px solid #dbe3ee;
    border-left: 0;
    border-radius: 0 12px 12px 0;
    color: var(--muted);
    background: #f8fafc;
}

.password-toggle:hover {
    color: var(--ink);
    background: #eef2f7;
}

/* ---------- Alerts ---------- */
.alert {
    border: 0;
    border-radius: 12px;
    font-size: 0.86rem;
}

.alert-danger {
    color: #991b1b;
    background: var(--red-soft);
}

.alert-success {
    color: #166534;
    background: var(--green-soft);
}

.alert-info {
    color: #075985;
    background: #e0f2fe;
}

/* ---------- Transfer page ---------- */
.page-title {
    margin: 0.35rem 0 0.4rem;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.page-subtitle {
    margin-bottom: 1.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.side-info-card {
    height: 100%;
    background:
        radial-gradient(120% 100% at 100% 0%, rgba(34, 197, 94, 0.08), transparent 60%),
        #fff;
}

.side-info-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    border-radius: 14px;
    color: var(--green-dark);
    background: var(--green-soft);
    font-size: 1.2rem;
}

.side-info-title {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.tip-list {
    display: grid;
    gap: 0.9rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.tip-list li {
    display: flex;
    gap: 0.6rem;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.55;
}

.tip-list i {
    flex: 0 0 auto;
    margin-top: 0.1rem;
    color: var(--green);
}

.security-note {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    color: #334155;
    background: #f1f5f9;
    font-size: 0.78rem;
}

.security-note i {
    margin-top: 0.1rem;
    color: var(--green-dark);
}

/* ---------- Profile page ---------- */
.profile-card .card-body {
    padding: 2rem 1.5rem;
}

.profile-avatar {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    margin: 0 auto 1rem;
    border-radius: 28px;
    color: #04231a;
    background: linear-gradient(135deg, #4ade80, #0d9488);
    box-shadow: 0 18px 34px -20px rgba(13, 148, 136, 0.9);
    font-size: 1.8rem;
    font-weight: 800;
}

.profile-name {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.role-badge {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    color: var(--navy-800);
    background: #e8eef7;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-account {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.profile-account .account-value {
    margin-top: 0.2rem;
    letter-spacing: 0.08em;
}

.detail-list {
    padding: 0.25rem 0;
}

.detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.detail-row:last-child {
    border-bottom: 0;
}

.detail-label {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 500;
}

.detail-value {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

.detail-value.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: 0.04em;
}

.security-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--green-dark);
    font-size: 0.84rem;
    font-weight: 700;
}

.security-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

/* ---------- Auth pages ---------- */
.auth-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 100vh;
}

.auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 2.75rem;
    color: #fff;
    background:
        radial-gradient(90% 80% at 100% 0%, rgba(34, 197, 94, 0.18), transparent 55%),
        radial-gradient(80% 70% at 0% 100%, rgba(13, 148, 136, 0.16), transparent 55%),
        linear-gradient(155deg, var(--navy-900), var(--navy-950));
}

.auth-visual::before {
    position: absolute;
    top: -140px;
    right: -140px;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(74, 222, 128, 0.16);
    border-radius: 50%;
    content: "";
}

.auth-visual::after {
    position: absolute;
    right: -60px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    content: "";
}

.auth-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
}

.auth-visual-main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 540px;
    margin: 3rem 0;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 999px;
    color: #86efac;
    background: rgba(34, 197, 94, 0.08);
    font-size: 0.72rem;
    font-weight: 600;
}

.auth-headline h1 {
    max-width: 13ch;
    margin: 0 0 1rem;
    font-size: 2.9rem;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.auth-headline p {
    max-width: 46ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
    line-height: 1.65;
}

.auth-visual-card {
    max-width: 340px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.auth-visual-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-visual-card > .d-flex i {
    color: #4ade80;
}

.auth-visual-balance {
    margin: 0.45rem 0 0.25rem;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.auth-visual-meta {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.76rem;
}

.auth-features {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    line-height: 1.5;
}

.auth-features i {
    flex: 0 0 auto;
    margin-top: 0.1rem;
    color: #4ade80;
}

.auth-copyright {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.75rem;
}

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background:
        radial-gradient(60% 60% at 100% 0%, rgba(34, 197, 94, 0.06), transparent 60%),
        var(--surface);
}

.auth-panel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 480px;
}

.auth-card {
    width: 100%;
    padding: 2rem;
}

.auth-title {
    margin: 0.3rem 0 0.4rem;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.auth-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.auth-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    padding: 0.3rem;
    border-radius: 12px;
    background: #f1f5f9;
}

.auth-tabs .nav-link {
    flex: 1;
    padding: 0.55rem 0.75rem;
    border-radius: 9px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.auth-tabs .nav-link:hover {
    color: var(--ink);
}

.auth-tabs .nav-link.active {
    color: var(--ink);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.auth-footer {
    margin: 1.25rem 0 0;
    color: var(--muted);
    font-size: 0.76rem;
    text-align: center;
}

.auth-mobile-brand {
    display: none;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.auth-mobile-brand .brand-name {
    color: var(--ink);
}

.auth-mobile-brand .brand-tag {
    color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.24s ease;
        box-shadow: 24px 0 48px -24px rgba(2, 6, 23, 0.65);
    }

    body.sidebar-open .sidebar {
        transform: translateX(0);
    }

    body.sidebar-open {
        overflow: hidden;
    }

    .main-area {
        margin-left: 0;
    }

    .topbar {
        padding: 1rem 1.25rem;
    }

    .content {
        padding: 1.25rem;
    }

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

    .auth-visual {
        display: none;
    }

    .auth-mobile-brand {
        display: flex;
    }
}

@media (max-width: 767.98px) {
    .balance-hero .card-body {
        padding: 1.5rem;
    }

    .welcome-title {
        font-size: 1.5rem;
    }

    .balance-value {
        font-size: 2rem;
    }

    .bank-table thead th,
    .bank-table tbody td {
        padding: 0.85rem 1rem;
    }
}

@media (max-width: 575.98px) {
    .topbar-user .user-meta {
        display: none;
    }

    .page-heading h1 {
        font-size: 1.15rem;
    }

    .content {
        padding: 1rem;
    }

    .card-header {
        padding: 1.25rem;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        padding: 0.9rem 1.25rem;
    }

    .detail-value {
        text-align: left;
    }

    .auth-panel {
        padding: 1.25rem;
    }

    .auth-card {
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.4rem;
    }

    .auth-tabs .nav-link {
        padding: 0.55rem 0.45rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }
}
