
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #eef4ae, #ebe11f);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

}

.container{
    width: 520px;
    padding: 25px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: black;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

#taskInput {
    width: 70%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
}

/* Add Button */
#addTask {
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    background: #00c9a7;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
}

#addTask:hover {
    background: #00a98f;
    transform: scale(1.05);
}

/* Task List */
ul {
    list-style: none;
    margin-top: 20px;
}

/* Task Item */
li {
    background: rgba(90, 85, 85, 0.2);
    margin: 8px 0;
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s ease;
}

li:hover {
    background: rgba(57, 54, 54, 0.3);
}

/* Completed Task */
.completed {
    text-decoration: line-through;
    opacity: 0.6;
}

/* Delete Button */
.delete {
    background: #ff4b5c;
    border: none;
    padding: 5px 8px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
}

.delete:hover {
    background: #d63041;
    transform: scale(1.1);
}

/* Filter Buttons */
.filters {
    margin-top: 15px;
    text-align: center;
}

.filters button {
    padding: 6px 12px;
    border-radius: 20px;
    border: none;
    margin: 5px;
    cursor: pointer;
    background: white;
    color: #c09021;
    font-weight: bold;
    transition: 0.3s ease;
}

.filters button:hover {
    background: #c09021;
    color: white;
}

/* Remaining Counter */
p {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}