@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark-navy: #0F172A;
    --emerald-primary: #10B981;
    --emerald-dark: #059669;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --card-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: #1E293B;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
    padding-bottom: 90px;
    box-shadow: 0 0 30px rgba(0,0,0,0.05);
}

/* Splash Screen & Loader */
#splash-screen {
    position: fixed;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 500px; height: 100vh;
    background: var(--bg-dark-navy);
    z-index: 9999;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: opacity 0.5s ease;
}

/* Top Sticky Header */
.app-header {
    background: var(--bg-dark-navy);
    color: white;
    padding: 18px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Premium Dashboard Card */
.balance-card {
    background: linear-gradient(135deg, var(--bg-dark-navy) 0%, #1E293B 100%);
    color: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.stat-card {
    background: white;
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease;
}
.stat-card:active {
    transform: scale(0.97);
}

/* ==================== BOTTOM NAVIGATION - SMOOTH & MODERN ==================== */
.bottom-nav {
    position: fixed;
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%);
    width: 100%; 
    max-width: 500px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.1);
    display: flex; 
    justify-content: space-around;
    padding: 12px 8px 8px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    z-index: 1030;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.bottom-nav-item {
    text-align: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    flex: 1;
    padding: 8px 4px 4px;
    border-radius: 12px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.bottom-nav-item i {
    font-size: 1.45rem;
    display: block;
    margin-bottom: 3px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav-item:hover {
    color: var(--emerald-primary);
    transform: translateY(-3px);
}

.bottom-nav-item.active {
    color: var(--emerald-primary);
    font-weight: 600;
    background: rgba(16, 185, 129, 0.08);
}

.bottom-nav-item.active i {
    transform: scale(1.18) translateY(-2px);
}

/* Floating Action Button */
.fab-btn {
    position: fixed;
    bottom: 95px; 
    right: calc(50% - 230px);
    background: var(--emerald-primary);
    color: white; 
    width: 54px; 
    height: 54px;
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    z-index: 1020; 
    text-decoration: none;
    transition: all 0.3s ease;
}

.fab-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.5);
}

@media (max-width: 500px) {
    .fab-btn { right: 20px; }
}

/* Form & UI Utilities */
.form-control, .form-select {
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #E2E8F0;
}
.form-control:focus, .form-select:focus {
    border-color: var(--emerald-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.btn-premium {
    background: var(--emerald-primary);
    color: white; 
    border-radius: 12px; 
    padding: 12px; 
    font-weight: 600;
}
.btn-premium:hover, .btn-premium:active {
    background: var(--emerald-dark); 
    color: white;
}
.empty-state img {
    max-width: 140px; 
    opacity: 0.7;
}

:root{
            --emerald-primary:#10b981;
            --emerald-dark:#047857;
            --emerald-soft:#ecfdf5;
            --text-dark:#111827;
            --text-muted:#6b7280;
        }

        body{
            background:#f5f7fb;
        }

        /* ===== NAVBAR ===== */
        .top-navbar{
            position:sticky;
            top:0;
            z-index:1050;
            backdrop-filter: blur(14px);
            background:rgba(255,255,255,.92);
            border-bottom:1px solid rgba(0,0,0,.05);
            padding:14px 18px;
        }

        .navbar-wrapper{
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:14px;
        }

        .brand-box{
            display:flex;
            align-items:center;
            gap:12px;
        }

        .brand-logo{
            width:46px;
            height:46px;
            border-radius:16px;
            background:linear-gradient(135deg,var(--emerald-primary),var(--emerald-dark));
            display:flex;
            align-items:center;
            justify-content:center;
            color:#fff;
            font-size:22px;
            box-shadow:0 8px 20px rgba(16,185,129,.25);
        }

        .brand-title{
            margin:0;
            font-size:1rem;
            font-weight:700;
            color:var(--text-dark);
            line-height:1.2;
        }

        .brand-subtitle{
            margin:0;
            font-size:.76rem;
            color:var(--text-muted);
        }

        .navbar-action{
            display:flex;
            align-items:center;
            gap:10px;
        }

        .nav-icon-btn{
            width:42px;
            height:42px;
            border:none;
            border-radius:14px;
            background:#fff;
            color:var(--text-dark);
            display:flex;
            align-items:center;
            justify-content:center;
            font-size:1.1rem;
            box-shadow:0 4px 14px rgba(0,0,0,.06);
            transition:.25s ease;
        }

        .nav-icon-btn:hover{
            background:var(--emerald-primary);
            color:#fff;
            transform:translateY(-2px);
        }

        .profile-mini{
            width:42px;
            height:42px;
            border-radius:14px;
            background:linear-gradient(135deg,#34d399,#059669);
            color:#fff;
            font-weight:700;
            display:flex;
            align-items:center;
            justify-content:center;
            box-shadow:0 6px 16px rgba(16,185,129,.25);
        }

        main{
            padding-top:8px;
            padding-bottom:90px;
        }

        .profile-mini{
            width:42px;
            height:42px;
            border-radius:14px;
            background:linear-gradient(135deg,#34d399,#059669);
            color:#fff;
            font-size:18px;
            display:flex;
            align-items:center;
            justify-content:center;
            box-shadow:0 6px 16px rgba(16,185,129,.25);
        }


        .fab-btn{
    position:fixed;
    left:50%;
    transform:translateX(-50%);
    bottom:130px;

    width:64px;
    height:64px;
    border-radius:22px;

    background:linear-gradient(135deg,#10b981,#047857);

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;
    text-decoration:none;

    box-shadow:0 14px 30px rgba(16,185,129,.28);
    z-index:1050;

    transition:.25s ease;
}

.fab-btn:hover{
    transform:translateX(-50%) scale(1.05);
    color:#fff;
}