
.center-box{
    width:380px;
    background:#ffffff;
    padding:30px 25px;
    text-align:center;
    margin:auto;
    margin-top:8%;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.center-box h2{
    color:#1e293b;
    margin-bottom:20px;
}

.center-box input{
    width:90%;
    padding:12px;
    margin:10px 0;
    border:1px solid #94a3b8;
    border-radius:8px;
    font-size:14px;
}

.center-box button{
    width:95%;
    padding:12px;
    margin-top:12px;
    border:none;
    background:#3b82f6;
    color:white;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    transition: 0.3s;
}

.center-box button:hover{
    background:#2563eb;
}


#taskPage{
    padding:20px;
}

.top-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 20px;
    background:#1e3a8a;
    color:white;
    border-radius:10px;
    margin-bottom:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.logout{
    background:#ef4444;
    color:white;
    border:none;
    padding:8px 18px;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
}

.logout:hover{
    background:#b91c1c;
}


.task-container{
    display:flex;
    gap:20px;
}


.pending, .completed{
    flex:1;
    background:#f1f5f9;
    padding:15px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
    min-height:60vh;
    overflow:auto;
}

.pending h3{
    color:#dc2626;
    margin-bottom:12px;
}

.completed h3{
    color:#16a34a;
    margin-bottom:12px;
}


li{
    background:#ffffff;
    padding:12px 15px;
    margin:10px 0;
    border-radius:12px;
    list-style:none;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
    display:flex;
    justify-content: space-between;
    align-items: center;
    transition:0.3s;
}

li:hover{
    transform: translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.taskBtns{
    display:flex;
    gap:5px;
}

.taskBtns button{
    padding:6px 10px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-size:13px;
    transition:0.2s;
}

.edit{ background:#f59e0b; color:white; }
.edit:hover{ background:#d97706; }

.done{ background:#22c55e; color:white; }
.done:hover{ background:#16a34a; }

.delete{ background:#ef4444; color:white; }
.delete:hover{ background:#b91c1c; }


.addTaskBtn{
    position:fixed;
    bottom:25px;
    right:25px;
    background:#3b82f6;
    padding:18px 22px;
    color:white;
    border:none;
    border-radius:50px;
    font-size:22px;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
    transition:0.3s;
}

.addTaskBtn:hover{
    background:#2563eb;
    transform: translateY(-3px);
}


.popup{
    display:none;
    position:fixed;
    top:0; left:0;
    width:100%; height:100%;
    background:rgba(0,0,0,0.5);
    z-index:1000;
}

.popup-box{
    width:400px;
    background:#ffffff;
    padding:25px;
    margin:auto;
    margin-top:120px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.popup-box h3{
    color:#1e293b;
    margin-bottom:15px;
}

.popup-box input, .popup-box textarea{
    width:90%;
    padding:12px;
    margin:10px 0;
    border:1px solid #94a3b8;
    border-radius:10px;
    font-size:14px;
}

.popup-box button{
    padding:10px 18px;
    margin:8px 5px 0 5px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-size:14px;
    transition:0.3s;
}

.popup-box button:hover{
    opacity:0.9;
}

.cancel{
    background:#6b7280;
    color:white;
}

.cancel:hover{
    background:#4b5563;
}
