body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9; 
    margin: 0;
    padding: 0;
}

.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #007bff;
}

.login-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 350px;
    width: 90%;
}

.login-container h1 { color: #007bff; margin-top: 0; }
.login-container input { width: 90%; padding: 10px; margin: 10px 0; border: 1px solid #ddd; border-radius: 5px; }
.login-container button { background-color: #38c172; color: white; padding: 10px 15px; border: none; border-radius: 5px; cursor: pointer; width: 95%; margin-top: 10px; }
.login-container a { color: #007bff; text-decoration: none; }

.app-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* --- টপ বার স্টাইল --- */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #007bff;
    color: white;
    font-size: 18px;
}

.app-title { font-weight: bold; }
.right-icons i { margin-left: 15px; }

/* --- ব্যালেন্স কার্ড স্টাইল --- */
.balance-cards {
    padding: 10px;
    background-color: #007bff;
    color: white;
}

.card-row {
    display: flex;
    margin-bottom: 10px;
    gap: 10px;
}

.card {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.2); 
}

.card p { margin: 0 0 5px 0; font-size: 14px; }
.card .amount { font-size: 18px; font-weight: bold; }

.third-row .card {
    background-color: #f4f4f9; 
    color: #333;
    padding: 10px;
}

/* --- অ্যাকশন ফর্ম এবং বাটন স্টাইল --- */
.action-form {
    padding: 15px 10px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.action-form h2 {
    font-size: 16px;
    text-align: center;
    color: #007bff;
    margin-top: 0;
}

.add-expense-form {
    display: grid;
    gap: 10px;
}

.add-expense-form input, .add-expense-form select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.add-expense-form button.submit-btn {
    background-color: #38c172; 
    color: white;
    padding: 15px 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

/* --- পরিসংখ্যান নেভিগেশন --- */
.stats-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
}

.nav-item {
    text-align: center;
    padding: 8px 0;
    flex: 1;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.nav-item.active {
    color: #007bff;
    border-bottom: 3px solid #007bff;
    font-weight: bold;
}

/* --- অন্যান্য হিসাব আইকন --- */
.other-reports {
    padding: 15px 10px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.other-reports h2 { font-size: 16px; color: #555; margin-top: 0; margin-bottom: 10px; }

.report-icons {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.icon-item i {
    font-size: 24px;
    color: #007bff;
    padding: 10px;
    background-color: #e0f2ff;
    border-radius: 50%;
    margin-bottom: 5px;
}

.icon-item p { font-size: 12px; margin: 0; color: #333; }

/* --- আয়-ব্যয় হিস্টরি তালিকা --- */
.history-list {
    padding: 15px 10px;
}

.history-list h2 { font-size: 16px; color: #555; margin-top: 0; margin-bottom: 10px; }

.list-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.icon-box {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.expense-icon { background-color: #f8d7da; color: #e3342f; }
.income-icon { background-color: #d4edda; color: #38c172; }

.details { flex-grow: 1; }
.details .category { font-weight: bold; margin: 0; color: #333; }
.details .date { font-size: 12px; color: #888; margin: 0; }

.amount-box { text-align: right; margin-right: 10px; }
.amount-box p { margin: 0; font-size: 14px; }

.expense-amount .amount { color: #e3342f; font-weight: bold; }
.income-amount .amount { color: #38c172; font-weight: bold; }

.more-options { color: #ccc; }
