* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

/* Card Design */
.card {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

/* Balance Card Specific */
.balance-card {
    text-align: center;
    background: #2c3e50;
    color: #ffffff;
}

.balance-card .amount {
    font-size: 2.5em;
    font-weight: bold;
    margin-top: 10px;
    color: #2ecc71; /* Green color for money */
}

/* Grid Layout for Forms */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Forms Styling */
form label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    font-size: 14px;
}

form input, form select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

form button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: #2ecc71;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease;
}

form button:hover {
    background: #27ae60;
}

form .btn-blue {
    background: #3498db;
}

form .btn-blue:hover {
    background: #2980b9;
}

/* Target Tracker Styling */
.target-item {
    margin-top: 20px;
}

.target-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
}

.progress-bar {
    background: #e0e0e0;
    border-radius: 10px;
    height: 15px;
    width: 100%;
    overflow: hidden;
}

.progress {
    background: #3498db;
    height: 100%;
    transition: width 0.5s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    } /* <-- Yeh bracket .grid-2 ko close kar raha hai */
} /* <-- Yeh bracket @media query ko close kar raha hai (Aksar yeh miss ho jata hai) */