/* =====================================================
   MOGALIEN - PREMIUM WHITE & SKY BLUE UI
   Complete Stylesheet (Auth + Dashboard + Products)
   ===================================================== */

:root {
    /* White System */
    --bg-body: #F4F7F6;
    --bg-card: #FFFFFF;
    --bg-input: #F1F5F9;
    --bg-input-focus: #FFFFFF;
    --border-subtle: #E2E8F0;
    --border-input: #CBD5E1;
    --border-input-focus: #0EA5E9;

    /* Sky Blue System */
    --sky: #0EA5E9;
    --sky-light: #38BDF8;
    --sky-dark: #0284C7;
    --sky-glow: rgba(14, 165, 233, 0.15);
    --sky-glow-strong: rgba(14, 165, 233, 0.4);
    --sky-subtle-bg: rgba(14, 165, 233, 0.05);

    /* Text */
    --text-main: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    /* Status */
    --success: #10B981;
    --danger: #EF4444;
    --info: #3B82F6;
    --warning: #F59E0B;

    /* Sizing */
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
}

*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: var(--sky-dark); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--sky); }

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

.auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg-body);
    padding: 24px 16px;
    position: relative;
}

/* Decorative Sky Blue Lights */
.auth-body::before {
    content: '';
    position: fixed;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(14,165,233,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.auth-body::after {
    content: '';
    position: fixed;
    bottom: -150px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(56,189,248,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1;
    animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- LOGO --- */
.auth-logo {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo .logo-text {
    font-size: 38px;
    font-weight: 900;
    color: var(--sky-dark);
    letter-spacing: 8px;
    text-transform: uppercase;
    display: inline-block;
    text-shadow: 0 0 40px rgba(14,165,233,0.2);
}

/* --- CARD --- */
.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Sky Blue top line decoration */
.auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 5%, var(--sky) 50%, transparent 95%);
    opacity: 0.8;
}

/* Subtle corner glow */
.auth-card::after {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 60px;
    background: linear-gradient(180deg, rgba(14,165,233,0.03) 0%, transparent 100%);
    pointer-events: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.auth-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text-main);
}

.auth-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
    font-weight: 400;
}

/* --- FORM --- */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.form-input {
    width: 100%;
    padding: 14px 14px;
    background: var(--bg-input);
    border: 1.5px solid var(--border-input);
    border-radius: var(--radius);
    color: var(--text-main);
    font-size: 14px;
    font-family: var(--font);
    font-weight: 500;
    transition: all 0.25s ease;
    outline: none;
}

.form-input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.form-input:focus {
    border-color: var(--sky);
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 3px var(--sky-glow);
}

.form-input.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

.form-error {
    font-size: 11px;
    color: var(--danger);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

/* --- PASSWORD --- */
.password-field {
    position: relative;
}

.password-field .form-input {
    padding-right: 48px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 16px;
    padding: 2px;
    transition: 0.25s;
    display: flex;
    align-items: center;
}

.toggle-password:hover {
    color: var(--sky);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 24px;
    font-size: 14px;
    font-weight: 800;
    font-family: var(--font);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none;
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sky) 0%, var(--sky-dark) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(14,165,233,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    width: 100%;
    font-size: 14px;
    padding: 16px 24px;
    margin-top: 8px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--sky-light) 0%, var(--sky) 100%);
    box-shadow: 0 8px 30px rgba(14,165,233,0.45), inset 0 1px 0 rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(14,165,233,0.25);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Ripple */
.ripple {
    position: absolute;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: rippleAnim 0.6s linear;
    pointer-events: none;
}

@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* --- REFERRAL --- */
.referral-section { margin-top: 4px; }

.referral-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    font-family: var(--font);
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.referral-toggle:hover { color: var(--sky-dark); }

.referral-input {
    display: none;
    margin-top: 10px;
    animation: fadeIn 0.3s ease;
}

.referral-input.visible { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- AUTH FOOTER --- */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-footer a {
    font-weight: 700;
    color: var(--sky-dark);
}

/* =====================================================
   FLASH MESSAGES
   ===================================================== */

.flash-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 500;
    animation: flashIn 0.4s ease;
}

@keyframes flashIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.flash-success { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); color: #059669; }
.flash-error { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: #DC2626; }
.flash-warning { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); color: #D97706; }
.flash-info { background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.2); color: #2563EB; }

.flash-message i:first-child { font-size: 16px; flex-shrink: 0; }
.flash-message span { flex: 1; line-height: 1.4; }

.flash-close {
    background: none; border: none; color: inherit; cursor: pointer;
    opacity: 0.4; transition: 0.3s; padding: 2px; font-size: 12px;
}
.flash-close:hover { opacity: 1; }

/* --- LOADING --- */
.btn-loading {
    position: relative; pointer-events: none; color: transparent !important;
}
.btn-loading::after {
    content: ''; position: absolute; width: 20px; height: 20px;
    border: 2.5px solid transparent; border-top-color: #FFF; border-right-color: #FFF;
    border-radius: 50%; animation: spin 0.6s linear infinite;
    top: 50%; left: 50%; margin: -10px 0 0 -10px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================
   DASHBOARD STYLES - PREMIUM FINTECH UI
   ===================================================== */

.dash-body {
    background: var(--bg-body);
    min-height: 100vh;
    padding-bottom: 90px; /* space for bottom nav */
    font-family: var(--font);
    color: var(--text-main);
}

/* Override Bootstrap card backgrounds */
.card {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 20px !important;
    box-shadow: var(--shadow-sm) !important;
}

/* --- Top Bar --- */
.dash-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-logo {
    font-size: 22px;
    font-weight: 900;
    color: var(--sky-dark);
    letter-spacing: 4px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 18px;
    color: var(--sky);
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-username {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.topbar-avatar {
    width: 38px; height: 38px;
    background: var(--sky-subtle-bg);
    border: 1px solid var(--sky);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sky-dark);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(14,165,233,0.1);
}

.topbar-avatar:hover {
    background: var(--sky);
    color: #FFFFFF;
    transform: scale(1.05);
}

/* --- Main Content --- */
.dash-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 16px;
}

/* --- Announcements --- */
.announce-bar {
    background: linear-gradient(90deg, rgba(14,165,233,0.05) 0%, rgba(14,165,233,0.1) 50%, rgba(14,165,233,0.05) 100%);
    border: 1px solid rgba(14,165,233,0.2);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 14px;
    margin-bottom: 20px;
    overflow: hidden;
}

.announce-bar i {
    color: var(--sky-dark);
    font-size: 14px;
    flex-shrink: 0;
}

.announce-scroll {
    flex: 1;
    white-space: nowrap;
    animation: scrollText 15s linear infinite;
}

.announce-scroll span {
    color: var(--sky-dark);
    font-size: 12px;
    font-weight: 600;
    margin-right: 80px;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* --- Banner Slider --- */
.banner-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    aspect-ratio: 16/7;
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
}

.banner-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

.banner-slide {
    min-width: 100%;
    height: 100%;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.banner-dots .dot {
    width: 8px; height: 8px;
    background: rgba(0,0,0,0.15);
    border-radius: 50%;
    transition: 0.4s;
}

.banner-dots .dot.active {
    background: var(--sky);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 8px var(--sky-glow);
}

.placeholder-slide {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    gap: 10px;
    font-size: 14px;
    background: var(--sky-subtle-bg);
}
.placeholder-slide i { font-size: 40px; color: var(--sky); }

/* --- Balance Card --- */
.card-balance {
    background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 24px !important;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md) !important;
}

/* Decorative Sky Blue Top Line */
.card-balance::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 10%, var(--sky) 50%, transparent 90%);
    opacity: 0.6;
}

.balance-item {
    padding: 24px;
    position: relative;
}

.balance-item:first-child {
    border-right: 1px solid var(--border-subtle);
}

.balance-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.main-bal .balance-icon {
    background: var(--sky-subtle-bg);
    color: var(--sky-dark);
    box-shadow: 0 0 15px rgba(14,165,233,0.1);
}

.avail-bal .balance-icon {
    background: rgba(16,185,129,0.08);
    color: #059669;
    box-shadow: 0 0 15px rgba(16,185,129,0.1);
}

.balance-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.balance-amount {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

/* --- Quick Actions Grid --- */
.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.action-btn {
    background: var(--bg-card); 
    border-radius: 14px; 
    padding: 16px 4px 12px; 
    text-align: center; 
    box-shadow: var(--shadow-sm); 
    text-decoration: none; 
    color: var(--text-muted); 
    font-size: 10px; 
    font-weight: 800; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--border-subtle); 
    transition: all 0.2s ease-out; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 8px; 
    position: relative; 
    overflow: hidden; 
}

.action-btn:active {
    transform: scale(0.95); 
    box-shadow: none; 
    border-color: var(--sky); 
}

.action-icon {
    font-size: 20px; 
    width: 46px;  
    height: 46px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    background: linear-gradient(135deg, var(--sky-dark), var(--sky)); 
    color: #FFFFFF; 
    box-shadow: 0 4px 10px var(--sky-glow); 
    transition: all 0.2s;
}

.action-btn:active .action-icon {
    background: linear-gradient(135deg, var(--sky), var(--sky-light)); 
    color: #FFFFFF; 
    box-shadow: 0 0 15px var(--sky-glow-strong);
}

.action-btn span {
    color: var(--text-secondary);
}

/* --- Transaction Card --- */
.card-tx {
    border-radius: 24px !important;
}

.card-tx .card-header {
    border-bottom: 1px solid var(--border-subtle) !important;
}

.view-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--sky-dark);
    text-decoration: none;
    transition: 0.3s;
}

.view-all:hover {
    color: var(--sky);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}
.empty-state i { font-size: 40px; margin-bottom: 12px; display: block; }
.empty-state p { font-size: 14px; font-weight: 500; }

.transaction-list {
    display: flex;
    flex-direction: column;
}

.tx-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
}

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

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

.tx-positive { background: rgba(16,185,129,0.08); color: #059669; }
.tx-negative { background: rgba(239,68,68,0.08); color: #DC2626; }

.tx-details { flex: 1; display: flex; flex-direction: column; }
.tx-type { font-size: 14px; font-weight: 600; color: var(--text-main); }
.tx-date { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.tx-amount { font-size: 15px; font-weight: 800; text-align: right; }

.amount-positive { color: #059669; }
.amount-negative { color: #DC2626; }

/* --- Bottom Navigation --- */
.dash-bottomnav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-around;
    padding: 10px 0 20px; /* Extra bottom padding for mobile safe area */
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.03);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-light);
    text-decoration: none;
    padding: 6px 16px;
    transition: 0.3s;
    position: relative;
    border-radius: 12px;
}

.nav-item i { font-size: 22px; transition: 0.3s; }
.nav-item span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

.nav-item.active { color: var(--sky-dark); }
.nav-item.active i { filter: drop-shadow(0 0 6px var(--sky-glow)); }
.nav-item:hover { color: var(--sky); }

.nav-item.active::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--sky);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 0 10px var(--sky-glow);
}

/* =====================================================
   PRODUCTS & INVESTMENTS STYLES
   ===================================================== */

.product-card {
    border-radius: 20px !important;
    overflow: hidden;
}

.product-header {
    padding: 20px 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.product-price-badge {
    background: var(--sky-subtle-bg);
    color: var(--sky-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid rgba(14,165,233,0.2);
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding: 15px 20px;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 0;
}

.detail-box {
    text-align: center;
    padding: 5px;
    border-right: 1px solid var(--border-subtle);
}

.detail-box:last-child { border-right: none; }

.detail-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-main);
}

.btn-invest {
    background: linear-gradient(135deg, var(--sky-dark), var(--sky));
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 800;
    padding: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 0 0 20px 20px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(14,165,233,0.2);
}

.btn-invest:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--sky), var(--sky-light));
    box-shadow: 0 8px 25px rgba(14,165,233,0.4);
}

.btn-invest:disabled {
    background: #E2E8F0;
    color: #94A3B8;
    cursor: not-allowed;
    box-shadow: none;
}

/* --- Active Investment Card --- */
.active-investment-card {
    border: 1px solid rgba(14,165,233,0.2) !important;
    border-radius: 20px !important;
}

.inv-header {
    padding: 18px 20px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
}

.inv-name { font-size: 15px; font-weight: 700; color: var(--text-main); }

.inv-status-badge {
    background: var(--sky-subtle-bg); color: var(--sky-dark);
    padding: 4px 10px; border-radius: 6px; font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px; border: 1px solid rgba(14,165,233,0.2);
}

.inv-status-badge.completed {
    background: rgba(16,185,129,0.08); color: #059669; border-color: rgba(16,185,129,0.2);
}

.inv-details { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 15px 20px; }
.inv-col { display: flex; flex-direction: column; gap: 4px; }
.inv-label { font-size: 10px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.inv-val { font-size: 14px; font-weight: 800; color: var(--text-main); }
.inv-progress-section { padding: 0 20px 18px; }

.completed-investment-card { opacity: 0.6; border-radius: 20px !important; }

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

@media (max-width: 480px) {
    .auth-card { padding: 28px 20px; border-radius: 16px; }
    .auth-logo .logo-text { font-size: 30px; letter-spacing: 5px; }
    .auth-title { font-size: 20px; }
    .btn-primary { padding: 14px 20px; }
}

@media (min-width: 768px) {
    .dash-content { padding: 24px; }
    .balance-amount { font-size: 24px; }
}

/* =====================================================
   UTILITIES
   ===================================================== */
.text-center { text-align: center; }
.text-gold { color: var(--sky-dark); } /* Kept class name for compatibility, changed color */
.text-success { color: #059669; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }