:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #ec4899;
    --success: #10b981;
    --danger: #ef4444;
    --bg-light: #f8fafc;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    padding-bottom: 80px; /* Space for bottom nav */
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--card-shadow);
}

.summary-card {
    transition: transform 0.2s;
}

.summary-card:hover {
    transform: translateY(-5px);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #cb2d3e 0%, #ef473a 100%);
    color: white;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
    z-index: 1000;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

/* Section Management */
.section {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.section.active {
    display: block;
}

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

/* Floating Action Button (Alternative) */
.fab {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
    z-index: 999;
    font-size: 1.5rem;
}

.member-list-item {
    border-bottom: 1px solid #f1f5f9;
    padding: 15px 0;
}

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

.badge-deposit { background-color: #dcfce7; color: #166534; }
.badge-withdrawal { background-color: #fee2e2; color: #991b1b; }

@media print {
    .bottom-nav, .fab, .btn, .nav-item, header, .container > .d-flex {
        display: none !important;
    }
    body {
        background: white !important;
        padding: 0 !important;
    }
    .glass-card {
        box-shadow: none !important;
        border: 1px solid #eee !important;
        background: white !important;
        backdrop-filter: none !important;
    }
    .section {
        display: none !important;
    }
    #section-statement {
        display: block !important;
    }
    .bg-gradient-primary {
        background: #f8fafc !important;
        color: black !important;
        border: 1px solid #ddd !important;
    }
    .text-success { color: #166534 !important; }
    .text-danger { color: #991b1b !important; }
}
