*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Segoe UI;
}

body{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
background:linear-gradient(135deg,#667eea,#764ba2);
}

.app{
width:550px;
background:rgb(165, 142, 142);
padding:30px;
border-radius:15px;
box-shadow:0 20px 50px rgba(0,0,0,0.2);
}

h1{
text-align:center;
margin-bottom:20px;
}

.task-input{
display:flex;
gap:10px;
margin-bottom:15px;
}

input{
padding:10px;
border-radius:6px;
border:1px solid #d8d4d4;
flex:1;
}

button{
background:#2b2ef4;
color:rgb(21, 21, 21);
border:none;
padding:10px;
border-radius:6px;
cursor:pointer;
font-weight: 600;
}

button:hover{
background:#063376;
}

ul{
list-style:none;
margin-top:15px;
}

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

.completed{
text-decoration:line-through;
color:rgb(9, 8, 26);
}

.actions button{
margin-left:6px;
padding:5px 8px;
font-size:12px;
}

.complete{
background:#f1ee26;
color: #0c0c0c;
font-weight: 600;
}

.edit{
background:#02d891;
color: #0c0c0c;
font-weight: 600;
}

.delete{
background:#f40909;
color: #0c0c0c;
font-weight: 600;
}

/* progress bar */

.progressBox{
width:100%;
height:8px;
background:#eee;
border-radius:5px;
margin-top:10px;
}

#progressBar{
height:100%;
width:0%;
background:#10b981;
border-radius:5px;
}