/*بـسـم الله الـرحـمـن الـرحـیـم*/







*{
    margin: 0;
    padding: 0;
    font-family: vazir;
}


/* ============ Daily Page ============ */

.daily-page{
    width:min(1400px,95%);
    margin:40px auto;
    display:flex;
    flex-direction:column;
    gap:28px;
}

.task-form textarea{

    width: 100%;

    background:#020617;

    color:white;

    border:1px solid rgba(255,255,255,.08);

    border-radius:14px;

    padding:15px;

    min-height:100px;

    resize:none;

    outline:none;

    font-family:inherit;

}


.task-form textarea:focus{

    border-color:#22c55e;

}

.task-actions{

    display:flex;

    align-items:center;

    gap:12px;

}



.delete-task{

    width:34px;

    height:34px;

    border-radius:10px;

    border:1px solid rgba(239,68,68,.3);

    background:rgba(239,68,68,.1);

    color:#ef4444;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.3s;

    font-size:15px;

}



.delete-task:hover{

    background:#ef4444;

    color:white;

    transform:scale(1.1);

    box-shadow:0 5px 20px rgba(239,68,68,.3);

}


/* ================= Header ================= */

.daily-header{
    margin-top: 30px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:28px;

    background:linear-gradient(145deg,#07111d,#020617);

    border:1px solid rgba(34,197,94,.15);

    border-radius:22px;

    box-shadow:0 20px 45px rgba(0,0,0,.25);

}

.header-info h1{

    color:#fff;

    font-size:34px;

    margin-bottom:8px;

}

.header-info p{

    color:#94a3b8;

    font-size:15px;

}

.clock-box{

    min-width:170px;

    text-align:center;

    background:rgba(34,197,94,.08);

    border:1px solid rgba(34,197,94,.25);

    color:#22c55e;

    padding:18px;

    border-radius:18px;

}

.clock-box span{

    font-size:34px;

    font-weight:700;

}

#addTaskBtn{
    height: 70px;
    width: 100%;
    font-family: vazir;
    font-size: 17px;
}

/* ================= Statistics ================= */

.daily-stats{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}

.stat-card{

    background:#07111d;

    border:1px solid rgba(34,197,94,.15);

    border-radius:20px;

    padding:28px;

    transition:.3s;

}

.stat-card:hover{

    transform:translateY(-6px);

    border-color:#22c55e;

    box-shadow:0 15px 40px rgba(34,197,94,.15);

}

.stat-card h2{

    color:#22c55e;

    font-size:38px;

    margin-bottom:10px;

}

.stat-card span{

    color:#94a3b8;

}

.success h2{

    color:#10b981;

}

.warning h2{

    color:#f59e0b;

}



/* ================= Progress ================= */

.progress-card{

    background:#07111d;

    border-radius:20px;

    border:1px solid rgba(34,197,94,.15);

    padding:24px;

}

.progress-top{

    display:flex;

    justify-content:space-between;

    margin-bottom:16px;

    color:white;

}

.progress-bar{

    width:100%;

    height:12px;

    background:#0f172a;

    border-radius:20px;

    overflow:hidden;

}

.progress-fill{

    height:100%;

    background:linear-gradient(90deg,#16a34a,#22c55e);

    border-radius:20px;

    transition:.4s;

}



/* ================= Add Task ================= */

.add-task-card{

    background:#07111d;

    border-radius:20px;

    border:1px solid rgba(34,197,94,.15);

    padding:28px;



}

.add-task-card h2{

    color:white;

    margin-bottom:22px;

}

.task-form{

    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;

}


.task-form > div {
    width: 100%;
    gap: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.task-form input
 {

    background:#020617;

    color:white;

    border:1px solid rgba(255,255,255,.08);

    border-radius:14px;

    padding:15px;

    outline:none;

    transition:.3s;

    width: 100%;
    position: relative;

}

.task-form input:focus,
.task-form {

    border-color:#22c55e;

}

.task-form button{

    background:#22c55e;

    color:#02140a;

    border:none;

    border-radius:14px;

    cursor:pointer;

    font-weight:700;

    transition:.3s;

}

.task-form button:hover{

    transform:translateY(-3px);

    background:#16a34a;

}



/* ================= Timeline ================= */

.timeline-card{

    background:#07111d;

    border-radius:22px;

    border:1px solid rgba(34,197,94,.15);

    padding:28px;

}

.card-title{

    margin-bottom:24px;

}

.card-title h2{

    color:white;

}

.timeline{

    position:relative;

}

.timeline::before{

    content:"";

    position:absolute;

    right:18px;

    top:0;

    bottom:0;

    width:3px;

    background:#1e293b;

}

.timeline-item{

    display:flex;

    align-items:center;

    gap:22px;

    position:relative;

    margin-bottom:28px;

}

.timeline-dot{

    width:18px;

    height:18px;

    border-radius:50%;

    background:#334155;

    flex-shrink:0;

    position:relative;

    z-index:2;

}

.timeline-dot.done{

    background:#22c55e;

    box-shadow:0 0 18px rgba(34,197,94,.5);

}

.timeline-content{

    flex:1;

    background:#020617;

    border:1px solid rgba(255,255,255,.05);

    border-radius:18px;

    padding:18px 22px;

    transition:.3s;

}

.timeline-content:hover{

    border-color:#22c55e;

    transform:translateY(-3px);

}

.timeline-head{

    display:flex;

    justify-content:space-between;

    margin-bottom:10px;

}

.timeline-head h3{

    color:white;

}

.timeline-head span{

    color:#22c55e;

    font-weight:700;

}

.timeline-content p{

    color:#94a3b8;

    line-height:1.7;

}

.task-check{

    width:48px;

    height:48px;

    border-radius:50%;

    border:none;

    background:#22c55e;

    color:#02140a;

    font-size:20px;

    cursor:pointer;

    transition:.3s;

}

.task-check:hover{

    transform:scale(1.08);

}



/* ================= Floating ================= */

.floating-add{

    position:fixed;

    left:35px;

    bottom:35px;

    width:68px;

    height:68px;

    border:none;

    border-radius:50%;

    background:#22c55e;

    color:#02140a;

    font-size:36px;

    cursor:pointer;

    box-shadow:0 15px 40px rgba(34,197,94,.35);

    transition:.3s;

}

.floating-add:hover{

    transform:rotate(90deg) scale(1.08);

}



/* ================= Responsive ================= */

@media(max-width:1100px){

.daily-stats{

grid-template-columns:repeat(2,1fr);

}

.task-form{

grid-template-columns:1fr 1fr;

}

}



@media(max-width:768px){

.daily-header{

flex-direction:column;

gap:18px;

text-align:center;

}

.clock-box{

width:100%;

}

.task-form{

grid-template-columns:1fr;

}

.timeline-head{

flex-direction:column;

gap:8px;

}

.timeline-item{

align-items:flex-start;

}

.task-check{

width:42px;

height:42px;

}

}



@media(max-width:520px){

.daily-page{

width:94%;

}

.daily-stats{

grid-template-columns:1fr;

}

.header-info h1{

font-size:28px;

}

.clock-box span{

font-size:28px;

}

.stat-card h2{

font-size:30px;

}

.floating-add{

width:58px;

height:58px;

font-size:30px;

left:20px;

bottom:20px;

}

}