/* =========================================
   GRAND CHASE BANKING - MAIN STYLESHEET
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #e0f2fe;
    --secondary: #06b6d4;
    --accent: #38bdf8;
    --gradient: linear-gradient(135deg, #0284c7 0%, #06b6d4 50%, #0ea5e9 100%);
    --gradient-card: linear-gradient(145deg, #0369a1 0%, #0ea5e9 60%, #22d3ee 100%);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --purple: #8b5cf6;

    --bg: #f0f9ff;
    --bg-card: #ffffff;
    --bg-sidebar: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow: 0 4px 24px rgba(14, 165, 233, 0.08);
    --shadow-md: 0 8px 32px rgba(14, 165, 233, 0.12);
    --shadow-lg: 0 16px 48px rgba(14, 165, 233, 0.16);

    --sidebar-width: 260px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== PAGE LOADER ========== */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--gradient-card);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: logoPulse 1.5s ease-in-out infinite;
}

.loader-tagline {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.2);
    border-radius: 100px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    background: white;
    border-radius: 100px;
    animation: loaderFill 1.8s ease-in-out forwards;
}

.loader-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.loader-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    animation: dotBounce 1.2s ease-in-out infinite;
}
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}
@keyframes loaderFill {
    0% { width: 0; }
    30% { width: 40%; }
    60% { width: 70%; }
    85% { width: 92%; }
    100% { width: 100%; }
}
@keyframes dotBounce {
    0%, 80%, 100% { transform: translateY(0); background: rgba(255,255,255,0.4); }
    40% { transform: translateY(-10px); background: white; }
}

/* ========== AUTH PAGES ========== */
.auth-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-left {
    background: var(--gradient-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -100px; left: -100px;
}
.auth-left::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    bottom: -80px; right: -60px;
}

.auth-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.auth-hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin: 24px 0 12px;
    position: relative;
    z-index: 1;
}

.auth-hero-subtitle {
    color: rgba(255,255,255,0.8);
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 360px;
    position: relative;
    z-index: 1;
}

.auth-features {
    list-style: none;
    margin-top: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 0.88rem;
    background: rgba(255,255,255,0.08);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}

.auth-features li i {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    min-width: 20px;
}

.auth-right {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    overflow-y: auto;
}

.auth-form-container {
    width: 100%;
    max-width: 420px;
}

.auth-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.auth-form-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

/* ========== FORM ELEMENTS ========== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--danger);
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
}

.input-wrapper .eye-toggle {
    left: auto;
    right: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

.input-wrapper .eye-toggle:hover { color: var(--primary); }

.form-control {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text);
    background: #f8fafc;
    transition: all 0.2s;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.form-control::placeholder { color: var(--text-light); }

.form-control.no-icon { padding-left: 14px; }

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-lg { padding: 14px 28px; font-size: 0.95rem; }
.btn-block { width: 100%; }

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ========== DASHBOARD LAYOUT ========== */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

/* ========== SIDEBAR ========== */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.sidebar-header {
    padding: 24px 20px 16px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.sidebar-brand-icon {
    width: 36px; height: 36px;
    background: var(--gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-brand-icon i { color: white; font-size: 1rem; }

.sidebar-user {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.user-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.user-avatar.large {
    width: 56px; height: 56px;
    font-size: 1.1rem;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.user-id {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.kyc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    background: #fef2f2;
    color: var(--danger);
    border: 1px solid #fecaca;
    cursor: pointer;
    transition: all 0.2s;
}

.kyc-badge.verified {
    background: #f0fdf4;
    color: var(--success);
    border-color: #bbf7d0;
}

.kyc-badge i { font-size: 0.75rem; }

.sidebar-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.sidebar-actions .btn {
    flex: 1;
    padding: 7px 12px;
    font-size: 0.78rem;
}

.sidebar-nav {
    padding: 12px 12px;
    flex: 1;
}

.nav-section-title {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    padding: 8px 8px 4px;
    margin-top: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    margin-bottom: 2px;
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--text-light);
}

.nav-item:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.nav-item:hover i { color: var(--primary); }

.nav-item.active {
    background: var(--gradient);
    color: white;
}

.nav-item.active i { color: white; }

.sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--border-light);
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
}

.sidebar-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--success);
    font-size: 0.78rem;
    font-weight: 500;
}

/* ========== MAIN CONTENT ========== */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: between;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 90;
}

.topbar-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex: 1;
}

.topbar-date i { color: var(--primary); }

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.topbar-balance {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
}

.topbar-bell {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
    position: relative;
}

.topbar-bell:hover { background: var(--primary-light); color: var(--primary); }

.topbar-bell .badge {
    position: absolute;
    top: 6px; right: 6px;
    width: 8px; height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 1.5px solid white;
}

.topbar-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 0.82rem;
    cursor: pointer;
    position: relative;
}

.topbar-menu-btn {
    display: none;
    width: 38px; height: 38px;
    border: none;
    background: var(--bg);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-muted);
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    min-width: 200px;
    box-shadow: var(--shadow-md);
    z-index: 200;
    display: none;
}

.dropdown-menu.show { display: block; animation: dropIn 0.15s ease; }

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-header {
    padding: 8px 12px 12px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 4px;
}

.dropdown-header .name { font-weight: 600; font-size: 0.9rem; }
.dropdown-header .id { font-size: 0.75rem; color: var(--text-muted); }

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s;
}

.dropdown-item:hover { background: var(--bg); color: var(--text); }
.dropdown-item.danger { color: var(--danger); }
.dropdown-item.danger:hover { background: #fef2f2; }

/* ========== PAGE CONTENT ========== */
.page-content {
    padding: 28px;
    flex: 1;
}

.page-header {
    margin-bottom: 24px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: 0.6rem; }

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

/* ========== STATS CARDS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s;
}

.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }

.stat-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-icon.blue { background: #e0f2fe; color: var(--primary); }
.stat-icon.green { background: #f0fdf4; color: var(--success); }
.stat-icon.red { background: #fef2f2; color: var(--danger); }
.stat-icon.purple { background: #f5f3ff; color: var(--purple); }
.stat-icon.yellow { background: #fffbeb; color: var(--warning); }

.stat-info { flex: 1; min-width: 0; }

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 2px;
}

/* ========== BALANCE CARD ========== */
.balance-card {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    color: white;
    position: relative;
    overflow: hidden;
    grid-column: span 2;
}

.balance-card::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    top: -60px; right: -40px;
}

.balance-card::after {
    content: '';
    position: absolute;
    width: 150px; height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    bottom: -50px; right: 60px;
}

.balance-card-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 6px;
}

.balance-greeting { font-size: 0.88rem; opacity: 0.8; }
.balance-name { font-size: 1.1rem; font-weight: 600; }
.balance-time { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.balance-date { font-size: 0.78rem; opacity: 0.7; }

.balance-label {
    font-size: 0.8rem;
    opacity: 0.75;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.balance-amount {
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

.balance-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.balance-account {
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-account-label {
    font-size: 0.75rem;
    opacity: 0.7;
}

.balance-account-num {
    font-size: 0.95rem;
    font-weight: 600;
}

.account-status-badge {
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.account-status-badge.active {
    background: rgba(16, 185, 129, 0.25);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.3);
}

.balance-btns {
    display: flex;
    gap: 8px;
}

.balance-btn {
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: rgba(255,255,255,0.15);
    color: white;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.balance-btn:hover { background: rgba(255,255,255,0.25); }

/* ========== QUICK ACTIONS ========== */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.quick-action {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.quick-action:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quick-action-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.quick-action:hover .quick-action-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

.quick-action span {
    font-size: 0.82rem;
    font-weight: 500;
}

/* ========== CARDS ========== */
.card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.card-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title i { color: var(--primary); }

.card-link {
    font-size: 0.82rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-link:hover { color: var(--primary-dark); }

.card-body { padding: 20px; }

/* ========== TRANSACTIONS TABLE ========== */
.table-responsive { overflow-x: auto; }

table.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 12px 16px;
    text-align: left;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.88rem;
    color: var(--text);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #fafbfe; }

.amount-credit { color: var(--success); font-weight: 600; }
.amount-debit { color: var(--danger); font-weight: 600; }

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
}

.status-processed { background: #f0fdf4; color: #16a34a; }
.status-pending { background: #fffbeb; color: #d97706; }
.status-failed { background: #fef2f2; color: #dc2626; }
.status-cancelled { background: #f8fafc; color: var(--text-muted); }

.type-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 100px; font-size: 0.72rem; font-weight: 600; }
.type-credit { background: #f0fdf4; color: var(--success); }
.type-debit { background: #fef2f2; color: var(--danger); }

.tx-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.tx-icon.credit { background: #f0fdf4; color: var(--success); }
.tx-icon.debit { background: #fef2f2; color: var(--danger); }

/* ========== VIRTUAL CARD ========== */
.virtual-card-display {
    width: 100%;
    max-width: 380px;
    height: 220px;
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 24px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.3);
}

.virtual-card-display::before {
    content: '';
    position: absolute;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    top: -60px; right: -40px;
}

.vc-chip {
    width: 40px; height: 30px;
    background: rgba(255,255,255,0.3);
    border-radius: 6px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.vc-number {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
    position: relative;
    z-index: 1;
}

.vc-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

.vc-label { font-size: 0.65rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.1em; }
.vc-value { font-size: 0.9rem; font-weight: 600; margin-top: 2px; }

/* ========== TRANSFER FORMS ========== */
.transfer-card {
    max-width: 680px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.transfer-header {
    background: var(--gradient-card);
    padding: 28px 32px;
    color: white;
    text-align: center;
}

.transfer-header i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    opacity: 0.9;
}

.transfer-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.transfer-header p { font-size: 0.85rem; opacity: 0.8; }

.transfer-body { padding: 32px; }

.available-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.available-balance .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.available-balance .value {
    font-weight: 700;
    color: var(--text);
    font-size: 1rem;
}

.amount-input-group {
    position: relative;
    margin-bottom: 8px;
}

.amount-currency {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
}

.amount-input {
    width: 100%;
    padding: 18px 18px 18px 42px;
    font-size: 1.6rem;
    font-weight: 700;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    transition: all 0.2s;
}

.amount-input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.amount-shortcuts {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.amount-shortcut {
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--bg);
    border: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
}

.amount-shortcut:hover, .amount-shortcut.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.form-section {
    margin-bottom: 20px;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.form-section-number {
    width: 24px; height: 24px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}

.form-section-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.secure-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f0fdf4;
    border-radius: var(--radius-sm);
    color: var(--success);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 16px;
    border: 1px solid #bbf7d0;
}

.transfer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

/* ========== PIN SCREEN ========== */
.pin-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.pin-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    margin: 20px;
    box-shadow: var(--shadow-lg);
}

.pin-header {
    background: var(--gradient-card);
    padding: 28px;
    text-align: center;
    color: white;
}

.pin-header i { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.pin-header h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.pin-header p { font-size: 0.85rem; opacity: 0.8; }

.pin-body {
    padding: 32px;
    text-align: center;
}

.pin-user { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; }
.pin-user-name { font-weight: 600; font-size: 1rem; }
.pin-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }

.pin-input {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5em;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    font-family: var(--font-body);
    transition: all 0.2s;
}

.pin-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1); }

/* ========== INTERNATIONAL TRANSFER METHODS ========== */
.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.method-card {
    padding: 18px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.method-card:hover { border-color: var(--primary); background: var(--primary-light); }

.method-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}

.method-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 10px;
    background: var(--bg);
}

.method-card.selected .method-icon { background: white; }

.method-name { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.method-desc { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }

/* ========== SETTINGS ========== */
.settings-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
}

.settings-sidebar {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.settings-profile {
    background: var(--gradient-card);
    padding: 28px 20px;
    text-align: center;
    color: white;
}

.settings-nav { padding: 8px; }

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: all 0.2s;
}

.settings-nav-item:hover { background: var(--bg); color: var(--text); }
.settings-nav-item.active { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }
.settings-nav-item i { width: 20px; text-align: center; }

.settings-content { background: white; border-radius: var(--radius); border: 1px solid var(--border); }

.settings-content-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.settings-content-body { padding: 28px 24px; }

.profile-field {
    margin-bottom: 18px;
}

.profile-field-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 6px;
}

.profile-field-value {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text);
}

.profile-field-value i { color: var(--text-muted); font-size: 0.9rem; }

.copy-btn {
    margin-left: auto;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

.copy-btn:hover { color: var(--primary); }

/* ========== REGISTRATION ========== */
.register-steps {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    position: relative;
}

.register-steps::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0 auto 6px;
    transition: all 0.3s;
    color: var(--text-muted);
}

.step.active .step-circle {
    background: var(--gradient);
    border-color: transparent;
    color: white;
}

.step.done .step-circle {
    background: var(--success);
    border-color: transparent;
    color: white;
}

.step-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.step.active .step-label { color: var(--primary-dark); font-weight: 600; }

.register-progress-bar {
    height: 3px;
    background: var(--border);
    border-radius: 100px;
    margin-bottom: 28px;
    overflow: hidden;
}

.register-progress-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 100px;
    transition: width 0.4s ease;
}

/* ========== LOAN TYPES ========== */
.loan-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.loan-type-card {
    padding: 16px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.loan-type-card:hover, .loan-type-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}

.loan-type-icon {
    font-size: 1.3rem;
    margin-bottom: 6px;
    color: var(--primary);
}

.loan-type-name { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.loan-type-desc { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/* ========== ALERTS ========== */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.alert i { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* ========== EMPTY STATES ========== */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-state i {
    font-size: 2.5rem;
    color: var(--border);
    display: block;
    margin-bottom: 12px;
}

.empty-state h4 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.empty-state p { font-size: 0.85rem; color: var(--text-muted); max-width: 300px; margin: 0 auto 16px; }

/* ========== RIGHT PANEL ========== */
.right-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.account-stats-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 20px;
}

.account-stats-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.stat-item:last-child { border-bottom: none; }

.stat-item-icon {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.stat-item-value { font-size: 1rem; font-weight: 700; color: var(--text); }
.stat-item-label { font-size: 0.75rem; color: var(--text-muted); }

.quick-transfer-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.quick-transfer-card .card-header { padding: 16px 18px; }
.quick-transfer-card .card-title { font-size: 0.92rem; }

.quick-transfer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.quick-transfer-item:last-child { border-bottom: none; }
.quick-transfer-item:hover { background: var(--bg); }

.quick-transfer-info h5 { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.quick-transfer-info p { font-size: 0.75rem; color: var(--success); }

.quick-transfer-icon {
    width: 38px; height: 38px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

/* ========== MOBILE MENU OVERLAY ========== */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99;
    backdrop-filter: blur(2px);
}

/* ========== BANKING MENU MODAL ========== */
.banking-menu-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    backdrop-filter: blur(4px);
    display: none;
}

.banking-menu-modal.show { display: flex; }

.banking-menu-card {
    background: white;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 24px 20px 32px;
    width: 100%;
    max-width: 460px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.banking-menu-close {
    float: right;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.banking-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.bm-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--text-muted);
}

.bm-item:hover { background: var(--bg); color: var(--text); }

.bm-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.bm-icon.blue { background: #dbeafe; color: #2563eb; }
.bm-icon.teal { background: #ccfbf1; color: #0d9488; }
.bm-icon.green { background: #dcfce7; color: var(--success); }
.bm-icon.cyan { background: #cffafe; color: var(--secondary); }
.bm-icon.purple { background: #f5f3ff; color: var(--purple); }
.bm-icon.orange { background: #fff7ed; color: #ea580c; }
.bm-icon.yellow { background: #fefce8; color: var(--warning); }
.bm-icon.pink { background: #fdf2f8; color: #db2777; }
.bm-icon.red { background: #fef2f2; color: var(--danger); }

.bm-item span { font-size: 0.78rem; font-weight: 500; text-align: center; }

/* ========== BOTTOM NAV (MOBILE) ========== */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    z-index: 95;
}

.bottom-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    transition: all 0.2s;
    min-width: 60px;
}

.bn-item i { font-size: 1.2rem; }
.bn-item.active { color: var(--primary); }

.bn-center {
    width: 52px; height: 52px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-top: -20px;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
    cursor: pointer;
    transition: transform 0.2s;
}

.bn-center:hover { transform: scale(1.08); }

/* ========== BSB PAGE ========== */
.bsb-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
}

.bsb-result {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    margin-top: 16px;
}

.bsb-result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.bsb-bank-icon {
    width: 48px; height: 48px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.bsb-detail {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.bsb-field { padding: 12px 14px; background: white; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.bsb-field-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; margin-bottom: 3px; }
.bsb-field-value { font-size: 0.88rem; font-weight: 600; color: var(--text); }

/* ========== SEARCH / FILTER ========== */
.search-wrapper {
    position: relative;
}

.search-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input {
    padding: 10px 14px 10px 38px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    outline: none;
    font-family: var(--font-body);
    width: 100%;
    transition: all 0.2s;
    background: var(--bg);
}

.search-input:focus { border-color: var(--primary); background: white; }

/* ========== TOAST ========== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: white;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    border-left: 3px solid var(--primary);
    min-width: 280px;
    animation: toastIn 0.3s ease;
    cursor: pointer;
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

/* ========== FOOTER ========== */
.dashboard-footer {
    background: white;
    border-top: 1px solid var(--border);
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--primary); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    :root { --sidebar-width: 240px; }
    .method-grid { grid-template-columns: repeat(2, 1fr); }
    .settings-layout { grid-template-columns: 220px 1fr; }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.mobile-open {
        transform: translateX(0);
    }

    .mobile-overlay.show { display: block; }

    .main-content { margin-left: 0; }

    .topbar-menu-btn { display: flex; }

    .auth-wrapper { grid-template-columns: 1fr; }
    .auth-left { display: none; }
    .auth-right { padding: 40px 24px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-actions { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }

    .page-content { padding: 20px 16px; }
    .topbar { padding: 12px 16px; }

    .bottom-nav { display: block; }
    .main-content { padding-bottom: 70px; }

    .dashboard-footer { display: none; }

    .balance-card { grid-column: span 1; }

    .settings-layout { grid-template-columns: 1fr; }
    .method-grid { grid-template-columns: repeat(2, 1fr); }
    .loan-types-grid { grid-template-columns: repeat(2, 1fr); }
    .transfer-actions { grid-template-columns: 1fr; }
    .bsb-detail { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .quick-actions { grid-template-columns: repeat(2, 1fr); }
    .auth-right { padding: 32px 20px; }
    .balance-amount { font-size: 1.8rem; }
    .method-grid { grid-template-columns: repeat(2, 1fr); }
    .loan-types-grid { grid-template-columns: 1fr 1fr; }
}

/* ========== CHECKBOX ========== */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-wrapper label {
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    margin: 0;
}

/* ========== LINK ========== */
.link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.link:hover { color: var(--primary-dark); text-decoration: underline; }

/* ========== ACCOUNT STATUS ========== */
.status-inactive { color: var(--danger); }
.status-active { color: var(--success); }
.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
}
.status-dot.active { background: var(--success); }
.status-dot.inactive { background: var(--danger); }

/* ========== DIVIDER ========== */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 16px 0;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ========== GRID LAYOUTS ========== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.main-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

@media (max-width: 1024px) {
    .main-grid { grid-template-columns: 1fr; }
    .right-panel { order: -1; }
}