*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

.todo-container{
    max-width:1300px;
    margin:auto;
    padding:20px;
}

/* HERO */

.hero{
    position:relative;
    text-align:center;
    padding:90px 20px 60px;
}

.hero-glow{
    position:absolute;
    width:420px;
    height:420px;
    background:#3b82f6;
    filter:blur(140px);
    opacity:.18;
    top:-120px;
    left:50%;
    transform:translateX(-50%);
    z-index:0;
}

.hero h1{
    position:relative;
    z-index:1;
    font-size:58px;
    font-weight:800;
    margin-bottom:18px;
    letter-spacing:-1px;
			color:black !important;		
}

.hero h1 span{
    background:linear-gradient(135deg,#3b82f6,#8b5cf6);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    position:relative;
    z-index:1;
    max-width:760px;
    margin:auto;
    color:black !important;
    font-size:18px;
    line-height:1.7;
}

/* GLASS CARD */

.glass-card{
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,0.12);
    box-shadow:0 8px 32px rgba(0,0,0,0.25);
    border-radius:24px;
}

/* TOP SECTION */

.top-section{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    margin-bottom:24px;
}

.card{
    padding:28px;
    margin-bottom:24px;
}

/* HEADERS */

.section-header{
    margin-bottom:22px;
}

.section-header h2{
    font-size:28px;
    margin-bottom:8px;
    color:black;
}

.section-header p{
    color:#5a5a5a !important;
    line-height:1.6;
}

/* INPUTS */

input,
select,
textarea{
    width:100%;
    height:54px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,0.08);
    background:rgba(255,255,255,0.06);
    color:#5a5a5a !important;
    padding:0 16px;
    outline:none;
    font-size:15px;
    margin-bottom:16px;
}

textarea{
    height:250px;
    padding:16px;
    resize:none;
}

input::placeholder,
textarea::placeholder{
    color:#94a3b8;
}

input:focus,
select:focus,
textarea:focus{
    border-color:#3b82f6;
    box-shadow:0 0 0 4px rgba(59,130,246,.15);
}

/* BUTTONS */

.primary-btn{
    border:none;
    height:54px;
    padding:0 24px;
    border-radius:14px;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    transition:.25s ease;
    background:linear-gradient(135deg,#3b82f6,#6366f1);
    color:#fff;
    box-shadow:0 10px 24px rgba(59,130,246,.25);
}

.primary-btn:hover{
    transform:translateY(-2px);
}

/* TASK ITEM */

.task-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
    padding:18px;
    border-radius:18px;
    margin-bottom:16px;
    flex-wrap:wrap;
}

.task-left{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

.task-left input[type="checkbox"]{
    width:20px;
    height:20px;
    margin:0;
    accent-color:#3b82f6;
}

.task-text{
    color:#fff;
    font-size:16px;
    font-weight:600;
}

.completed{
    text-decoration:line-through;
    opacity:.6;
}

input[type="date"]{
	color:black !important;
}


.task-date{
/*     color:#cbd5e1; */
    font-size:14px;
}

/* PRIORITY */

.priority{
    padding:6px 12px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
    color:#fff;
}

.Low{
    background:#16a34a;
}

.Medium{
    background:#f59e0b;
}

.High{
    background:#ef4444;
}

/* DELETE BUTTON */

.delete-btn{
    border:none;
    width:42px;
    height:42px;
    border-radius:12px;
    background:#ef4444;
    color:#fff;
    cursor:pointer;
    font-size:18px;
    transition:.25s ease;
}

.delete-btn:hover{
    transform:scale(1.05);
}

/* STATS */

.stats-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.stat-card{
    padding:24px;
    text-align:center;
}

.stat-title{
    color:black;
    font-size:15px;
    margin-bottom:10px;
}

.stat-number{
    font-size:34px;
    font-weight:800;
/*     color:; */
}

/* MOBILE */

@media(max-width:900px){

    .top-section{
        grid-template-columns:1fr;
    }

    .stats-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){

    .hero h1{
        font-size:40px;
    }

    .section-header h2{
        font-size:24px;
    }

    .task-item{
        flex-direction:column;
        align-items:flex-start;
    }
}