*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    min-height:100vh;
    background:linear-gradient(135deg,#667eea,#764ba2);
    font-family:'Segoe UI',sans-serif;
}

.card{
    overflow:hidden;
}

h1{
    font-weight:700;
}

.stats-card{
    padding:20px;
    border-radius:15px;
    text-align:center;
}

.stats-card h2{
    margin-top:10px;
    font-weight:bold;
}

#taskList .list-group-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:10px;
    border-radius:12px;
    transition:.3s;
}

#taskList .list-group-item:hover{
    transform:translateY(-2px);
}

.task-text{
    flex:1;
    word-break:break-word;
    font-size:16px;
}

.completed .task-text{
    text-decoration:line-through;
    color:gray;
}

.task-actions{
    display:flex;
    gap:8px;
}

.task-actions button{
    width:40px;
    height:40px;
}

/* Mobile */
@media(max-width:576px){

    h1{
        font-size:1.5rem;
    }

    .input-group{
        flex-direction:column;
    }

    .input-group .form-control{
        width:100%;
        margin-bottom:10px;
        border-radius:10px !important;
    }

    .input-group .btn{
        width:100%;
        border-radius:10px !important;
    }

    #taskList .list-group-item{
        flex-direction:column;
        align-items:flex-start;
    }

    .task-actions{
        width:100%;
        justify-content:flex-end;
    }
}