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

body{
    background: #1f1f1f;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container{
    background: #2c2c2c;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px #00ffcc;
    width: 350px;
}

h1{
    text-align: center;
    margin-bottom: 20px;
    color: #00ffcc;
}

.input-container{
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

input[type="text"] {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    outline: none;
}

button{
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    background: #00ffcc;
    color: #000;
    cursor: pointer;
    font-weight: bold;
}

button:hover{
    background: #00d6ad;
}

#taskCount{
    margin-bottom: 15px;
    font-size: 14px;
    color: #00ffcc;
    text-align: center;
}

ul{
    list-style-type: none;
}

li{
    background: #3a3a3a;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

li.completed{
    text-decoration: line-through;
    opacity: 0.6;
}

li span{
    flex: 1;
    cursor: pointer;
}

.delete-btn{
    background: #ff4c4c;
    border: none;
    padding: 5px 10px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}