
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    padding: 20px;
    border-right: 1px solid #e8eaed;
}

.logo {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8eaed;
}
span {
    color: black;
    font-size: 23px;
}


.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #2d7e43;
    letter-spacing: 2px;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-title {
    font-size: 11px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-left: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #333;
}

    .nav-item.active {
        background-color: #2d7e43;
        color: white;
        font-weight: 600;
    }

    .nav-item:hover:not(.active) {
        background-color: #f0f0f0;
    }

    .nav-item.collapsible {
        justify-content: space-between;
    }

        .nav-item.collapsible::after {
            content: '?';
            font-size: 10px;
        }

.nav-icon {
    margin-right: 12px;
    font-size: 16px;
}

.logout-item {
    margin-top: 40px;
    border-top: 1px solid #e8eaed;
    padding-top: 20px;
}

/* Header */
.header {
    background: white;
    padding: 15px 30px;
    border-bottom: 1px solid #e8eaed;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-menu {
    cursor: pointer;
    font-size: 24px;
}

.header-user {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px;
    display: flex;
    gap: 40px;
}

.content-left {
    flex: 1;
}

.content-right {
    width: 350px;
}

.page-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

    .card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

    .card-icon.income {
        background-color: #e8f5e9;
        color: #2d7e43;
    }

    .card-icon.expense {
        background-color: #ffebee;
        color: #c62828;
    }

    .card-icon.refund {
        background-color: #fff3e0;
        color: #f57c00;
    }

    .card-icon.charges {
        background-color: #f3e5f5;
        color: #6a1b9a;
    }

.card-value {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Complete Summary Grid */
.complete-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.yearly-stats {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.stat-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Wallet Balance Card */
.wallet-card {
    background: linear-gradient(135deg, #2d7e43 0%, #1e5a2f 100%);
    color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(45, 126, 67, 0.3);
    margin-bottom: 30px;
}

.wallet-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.wallet-title {
    font-size: 18px;
    font-weight: 600;
}

.wallet-icon {
    font-size: 20px;
}

.wallet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
}

.wallet-label {
    font-weight: 500;
}

.wallet-amount {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.eye-icon {
    cursor: pointer;
    opacity: 0.7;
}

.refresh-btn {
    text-align: right;
    margin-top: 15px;
    cursor: pointer;
    font-size: 12px;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1200px) {
    .main-content {
        gap: 30px;
    }

    .content-right {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

        .sidebar.active {
            transform: translateX(0);
        }

    .main-content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .content-right {
        width: 100%;
    }

    .cards-grid,
    .complete-grid {
        grid-template-columns: 1fr;
    }
}

