*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Segoe UI;
}

body{
background:#0f172a;
color:white;
}

/* HEADER */
.header{
padding:20px;
text-align:center;
background:linear-gradient(90deg,#f97316,#ef4444);
}

/* BACK NAV */
.navbar{
position:fixed;
top:15px;
left:15px;
}

.back-btn{
background:#f97316;
color:white;
padding:8px 12px;
border-radius:8px;
text-decoration:none;
font-size:13px;
font-weight:bold;
}

/* LAYOUT */
.container{
display:flex;
gap:20px;
padding:30px;
justify-content:center;
flex-wrap:wrap;
}

.task-section{
display:flex;
gap:20px;
padding:20px;
flex-wrap:wrap;
justify-content:center;
}

/* CARD */
.card{
background:#1e293b;
padding:20px;
border-radius:12px;
width:350px;
box-shadow:0 5px 20px rgba(0,0,0,0.4);
}

/* FORM */
form{
display:flex;
flex-direction:column;
gap:10px;
}

input,select{
padding:10px;
border:none;
border-radius:6px;
background:#0f172a;
color:white;
}

/* BUTTON */
button{
padding:10px;
border:none;
border-radius:6px;
background:#f97316;
color:white;
cursor:pointer;
}

button:hover{
background:#ea580c;
}

/* LIST */
ul{
list-style:none;
padding:0;
}

li{
background:#0f172a;
padding:10px;
margin-bottom:10px;
border-radius:8px;
display:flex;
justify-content:space-between;
align-items:center;
}

/* ACTION BUTTONS */
.task-actions{
display:flex;
gap:8px;
}

.task-actions button{
padding:5px 8px;
font-size:12px;
}

/* PRIORITY COLORS */
.priority-high{
color:#ef4444;
font-weight:bold;
}

.priority-medium{
color:#f97316;
font-weight:bold;
}

.priority-low{
color:#22c55e;
font-weight:bold;
}