*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background: #f4f7fb;
    color: #222;
}

/* NAVBAR */

.custom-navbar{
    background: linear-gradient(90deg, #198754, #157347);
}

.navbar-brand{
    font-size: 1.4rem;
}

.nav-link{
    color: white !important;
    font-weight: 500;
    margin-left: 10px;
    transition: 0.3s;
}

.nav-link:hover{
    opacity: 0.8;
}

/* CARD */

.card{
    border: none;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.card-body{
    padding: 25px;
}

/* BUTTONS */

.btn{
    border-radius: 12px;
    font-weight: 500;
    padding: 10px 18px;
}

/* TABLE */

.table{
    border-radius: 16px;
    overflow: hidden;
    background: white;
}

.table th{
    font-weight: 600;
}

.table td{
    vertical-align: middle;
}

/* FORM */

.form-control,
.form-select{
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #dce3ea;
}

.form-control:focus,
.form-select:focus{
    box-shadow: none;
    border-color: #198754;
}

/* SUMMARY CARDS */

.summary-card{
    border-radius: 18px;
    color: white;
    padding: 25px;
}

.summary-income{
    background: linear-gradient(135deg, #198754, #20c997);
}

.summary-expense{
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
}

.summary-profit{
    background: linear-gradient(135deg, #0d6efd, #4dabf7);
}

/* MOBILE */

@media(max-width: 768px){

    .navbar-nav{
        padding-top: 10px;
    }

    .nav-link{
        margin-left: 0;
        margin-bottom: 8px;
    }

    .table{
        font-size: 14px;
    }

    .card-body{
        padding: 18px;
    }

    h3{
        font-size: 22px;
    }

}

.dark-mode{
    background: #121212;
    color: white;
}

.dark-mode .card{
    background: #1e1e1e;
    color: white;
}

.dark-mode .table{
    color: white;
}

.dark-mode .table th,
.dark-mode .table td{
    background: #1e1e1e;
    color: white;
}

.dark-mode .form-control,
.dark-mode .form-select{
    background: #2c2c2c;
    color: white;
    border: 1px solid #444;
}

.dark-mode .form-control::placeholder{
    color: #bbb;
}

.dark-mode .navbar{
    background: #111 !important;
}

.landing-hero{
    min-height: 100vh;
    background:
        linear-gradient(rgba(25,135,84,0.12), rgba(25,135,84,0.05)),
        radial-gradient(circle at top right, #b7f7d0, transparent 35%),
        radial-gradient(circle at bottom left, #dff7e8, transparent 35%);
}

.landing-hero h1{
    color: #14532d;
}

.landing-hero .lead{
    color: #374151;
}

.landing-hero{
    padding-top: 80px;
}


.card{
    transition: 0.3s;
}

.card:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}