body {
    background: #f5f7fb;
    color: #212529;
    font-family: "Noto Sans Bengali", Arial, sans-serif;
}


/* Header */

.main-header {
    background: linear-gradient(135deg, #6f42c1, #8e44ad);
    color: white;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.20);
}

.main-header h3 {
    font-weight: 700;
}

.header-icon {
    font-size: 45px;
    opacity: 0.85;
}


/* Summary Cards */

.summary-card {
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: white;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    min-height: 105px;
}

.summary-card small {
    color: #6c757d;
    font-size: 13px;
}

.summary-card h4 {
    margin: 5px 0 0;
    font-weight: 700;
    font-size: 20px;
}

.summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}


/* Card colors */

.people-card .summary-icon {
    background: #e7f1ff;
    color: #0d6efd;
}

.income-card .summary-icon {
    background: #e5f8ed;
    color: #198754;
}

.expense-card .summary-icon {
    background: #ffe8e8;
    color: #dc3545;
}

.balance-card .summary-icon {
    background: #fff3cd;
    color: #997404;
}


/* Buttons */

.action-btn {
    padding: 13px;
    font-weight: 600;
    border-radius: 10px;
}


/* Search */

.search-box {
    position: relative;
    width: 280px;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 10px;
    color: #777;
}

.search-box input {
    padding-left: 35px;
    border-radius: 9px;
}


/* Tables */

.table thead th {
    background: #f8f9fa;
    color: #555;
    font-size: 13px;
    white-space: nowrap;
}

.table td {
    font-size: 14px;
}

.table tbody tr {
    cursor: default;
}


/* Person */

.person-name {
    font-weight: 600;
    color: #343a40;
}

.amount-positive {
    color: #198754;
    font-weight: 700;
}

.amount-negative {
    color: #dc3545;
    font-weight: 700;
}


/* Mobile */

@media (max-width: 576px) {

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .main-header {
        padding: 17px;
        border-radius: 14px;
    }

    .main-header h3 {
        font-size: 20px;
    }

    .header-icon {
        font-size: 32px;
    }

    .summary-card {
        padding: 13px;
        min-height: 90px;
    }

    .summary-card h4 {
        font-size: 16px;
    }

    .summary-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .search-box {
        width: 100%;
    }

    .card {
        border-radius: 12px;
    }

}
