
body {
    background-color: red;
}
body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #e6f7f5, #f4fcfb);
    color: #333;
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: #0fb9b1 !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: white !important;
}

.navbar a {
    color: white !important;
    font-weight: 500;
}

.navbar a:hover {
    color: #e0fdfb !important;
}
.hero {
    height: 100vh;
    background: url('../images/hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
}

.hero .container {
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #0f766e;
}
.hero p {
    font-size: 1.2rem;
    color: #444;
}

.btn-start {
    background-color: #0fb9b1;
    color: white;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    transition: 0.3s ease;
    box-shadow: 0 8px 20px rgba(15, 185, 177, 0.3);
}

.btn-start:hover {
    background-color: #0d9c95;
    transform: translateY(-3px);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}


.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #e0f2f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
}

.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.15);
}

button.btn {
    background-color: #0fb9b1;
    color: white;
    border-radius: 20px;
    border: none;
}

button.btn:hover {
    background-color: #0d9c95;
}

/* Edit Button */
.btn-warning {
    background-color: #fbbf24;
    border: none;
    border-radius: 8px;
    color: #000;
}

.btn-warning:hover {
    background-color: #f59e0b;
}

/* Delete Button */
.btn-danger {
    background-color: #ef4444;
    border: none;
    border-radius: 8px;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.filter-btn {
    margin: 5px;
    border-radius: 20px;
    padding: 6px 14px;
    border: 1px solid #0fb9b1;
    background-color: white;
    transition: 0.3s;
}

.filter-btn:hover {
    background-color: #0fb9b1;
    color: white;
}

#total-amount {
    font-size: 24px;
    font-weight: 700;
    color: #0f766e;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .card {
        margin-bottom: 15px;
    }

    h2 {
        font-size: 20px;
    }
}
#expenseChart {
  height: 350px !important;
}

.btn-primary-custom {
    background-color: #4e73df;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #2e59d9;
    transform: translateY(-2px);
}
/* Expense Card Hover Effect */

#expense-list > div {
    transition: all 0.3s ease;
}

#expense-list > div:hover {
    transform: translateY(-6px);
}
/*  Expense Amount */

#expense-list p strong:last-child,
#expense-list p:last-child {
    font-size: 18px;
    font-weight: 600;
}
/* Expense Amount */

.expense-amount {
    font-size: 18px;
    font-weight: 700;
    color: #dc3545;   
}
/* Improve  Card Spacing */

#expense-list > div > div {
    padding: 20px;
    border-radius: 12px;
}
/* Empty State Styling */

#no-expense-message {
    font-size: 18px;
    opacity: 0.7;
    margin-top: 30px;
}
/* Dark Mode Styles */

body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

body.dark-mode .card {
    background-color: #1e1e1e;
    color: #ffffff;
}

body.dark-mode .navbar {
    background-color: #1e1e1e !important;
}

body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: #2a2a2a;
    color: #ffffff;
    border-color: #444;
}

body.dark-mode .btn {
    border-color: #555;
}
/* Dark mode text fixes */

body.dark-mode input::placeholder {
    color: #bbbbbb;
}

body.dark-mode input,
body.dark-mode select {
    color: #ffffff;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #ffffff;
}

body.dark-mode label,
body.dark-mode p {
    color: #dddddd;
}

/* Dark mode background  */

body.dark-mode {
    background-color: #121212;
}

body.dark-mode section,
body.dark-mode .hero,
body.dark-mode .feature-card,
body.dark-mode .card,
body.dark-mode .navbar {
    background-color: #1e1e1e !important;
}

body.dark-mode .hero::before {
    background: rgba(0, 0, 0, 0.6);
}
/* Dark mode feature */

body.dark-mode .feature-card {
    background-color: #1f1f1f !important;
}

body.dark-mode .feature-card h5 {
    color: #ffffff;
}

body.dark-mode .feature-card p {
    color: #d6d6d6;
}

/* Fix light background  */

body.dark-mode section {
    background-color: #121212 !important;
}