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

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

:root {
    --bg: #667eea;
    --card: rgba(255,255,255,0.15);
    --text: #fff;
}

.dark {
    --bg: #0f172a;
    --card: #1e293b;
    --text: #f8fafc;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg), #764ba2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text);
}

.container {
    width: 400px;
    background: var(--card);
    backdrop-filter: blur(15px);
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#themeToggle {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}

.summary {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.income, .expense {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.income {
    background: linear-gradient(135deg, #00c9a7, #92fe9d);
    color: #003f3f;
}

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

.balance {
    text-align: center;
    margin: 20px 0;
}

#balance {
    font-size: 2.2rem;
    color: #00f2fe;
}

form input, select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 10px;
    border: none;
}

form button, .export {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    font-weight: 600;
    cursor: pointer;
}

.budget {
    margin-bottom: 10px;
}

.budget p {
    margin: 6px 0;
    font-size: 0.9rem;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    background: rgba(255,255,255,0.2);
    padding: 10px;
    margin: 8px 0;
    border-radius: 10px;
}

li.plus { border-left: 5px solid #00ffb3; }
li.minus { border-left: 5px solid #ff1744; }

li span {
    font-weight: 600;
}
#search {
    width: 100%;
    padding: 14px 16px;          /* size increased */
    margin: 15px 0;
    border-radius: 14px;
    border: none;
    font-size: 1rem;             /* text size bigger */
    font-weight: 500;
    outline: none;

    /* Color & effect */
    background: linear-gradient(135deg, #ffffff, #e0f7ff);
    color: #333;

    box-shadow: 0 6px 18px rgba(0, 242, 254, 0.35);
    transition: all 0.3s ease;
}

#search::placeholder {
    color: #666;
    font-weight: 400;
}

/* Focus effect */
#search:focus {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.6);
    background: linear-gradient(135deg, #e0f7ff, #ffffff);
}
#type {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    margin: 8px 0;
    border: none;
    font-weight: 500;
}
