:root {
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --bg-color: #f7f6e0;
    --card-bg: #ffffffcc;
    --text-color: #1c1e21;
    --button-bg: #007AFF;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

.darkMode {
    --bg-gradient: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    --bg-color: #232424;
    --card-bg: #5656569a;
    --text-color: #e4e6eb;
    --button-bg: #2d88ff;
    --shadow-color: rgba(161, 167, 170, 0.1);
}

body {
    /* 2. Apply the gradient bucket here */
    background: var(--bg-color); 
    margin: 0;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    color: var(--text-color); 
    transition: 0.4s;
}

.tabContainer {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: .4s;
}

.tab-btn.active {
    background: var(--button-bg);
    color: white;
    font-weight: bold;
}

input, button {
    margin-top: 10px;
    padding: 12px;
    border-radius: 8px;
    border: 0px solid #ddd;
    box-shadow: 0px 0px 30px var(--shadow-color);
}

input {
    background: var(--card-bg); /*rgba(255, 255, 255, .75); White with 70% transparency */
    backdrop-filter: blur(10px); /* This blurs whatever is behind the card */
    color: var(--text-color);
    border: #e4e6eb;
    border-width: 1px;
}

button {
    background-color: var(--button-bg);
    font-weight: bold;
    cursor: pointer;
}

ul {
    list-style: none;
    padding: 0;
    width: 300px;
}

li {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    margin-top: 10px;
    padding: 10px;
    border: 1px solid var(--text-color);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0px 0px 30px var(--shadow-color);
}