@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
}

/* App Container */
.app {
    max-width: 420px;
    margin: auto;
    padding: 20px;
}

/* Title */
h1 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Dashboard Cards */
.dashboard {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.card {
    flex: 1;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0px 5px 20px rgba(0,0,0,0.4);
    transition: 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

/* Gradient Cards */
.income {
    background: linear-gradient(135deg, #00c853, #69f0ae);
}

.expense {
    background: linear-gradient(135deg, #ff1744, #ff8a80);
}

.balance {
    background: linear-gradient(135deg, #2979ff, #82b1ff);
}

/* Form Box */
.form {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.4);
}

/* Inputs */
input, select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 10px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.2);
    color: white;
}

/* Button */
button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.05);
}

/* Expense List */
ul {
    margin-top: 20px;
}

li {
    list-style: none;
    background: rgba(255,255,255,0.1);
    margin: 10px 0;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

/* Delete Button */
li button {
    background: #ff1744;
    padding: 5px 10px;
    border-radius: 6px;
}

/* Mobile Feel */
@media (max-width: 500px) {
    .app {
        padding: 15px;
    }
}