* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --background: #000430;
    --secondaryBackground: #171c48;
    --text: #fff;
    --purple: #828dff;
    --teal: #24feee;    
}
body {
    background-color: var(--background);
    color: var(--text);
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 60px auto 0 auto;
    max-width: 90%;
    padding: 0 10px; 
}
.stats-container{
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--purple);
    display: flex;
    gap: 50px;
    width: 100%;
    justify-content: space-between;
}
.details{
    width: 100%;
}
#progressBar {
    width: 100%;
    height: 10px;
    background-color: var(--secondaryBackground);
    border-radius: 5px;
    margin-top: 20px;
}
#progress{
    width: 0%;
    height: 10px;
    background-color: var(--teal);
    border-radius: 10px;
    transition: all 0.35s ease;
}
#numbers {
    width: 100px;
    height: 100px;
    background-color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 30px;
    font-weight: bold;
}
form {
    margin-top: 60px;
    width: 100%;
    display: flex;
    gap: 10px;
}
input {
    flex: 1;
    padding: 16px;
    background-color: var(--secondaryBackground);
    border: 1px solid var(--purple);
    border-radius: 10px;
    outline: none;
    color: var(--text);
}
button {
    width: 50px;
    padding: 16px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--purple);
    color: var(--text);
    font-size: 30px;
    font-weight: bold;
    outline: none;
}
ul.task-list li {
    background: linear-gradient(135deg, #171c48, #2a2a72); /* deep blue gradient */
    color: var(--text);
    padding: 14px 16px;
    margin-top: 15px;
    border-radius: 12px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
ul.task-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
ul.task-list li.done {
    text-decoration: line-through;
    opacity: 0.7;
    background: linear-gradient(135deg, #2e2e3e, #3e3e5e);
}
.delete-btn {
    background-color: transparent;
    border: none;
    color: #ff6b6b;
    font-size: 18px;
    cursor: pointer;
    margin-left: 10px;
    transition: transform 0.2s ease;
}

/* Mobile Screen */
@media(max-width: 600px){
    .stats-container{
        flex-direction: column; /*stack items */
        gap: 20px;
        text-align: center;
    }

    #numbers {
        width: 70px;
        height: 70px;
        font-size: 20px;
    }

    form {
        flex-direction: column; /* input above button*/
    }

    input {
        width: 100%;
    }

    button {
        width: 100%;
        border-radius: 10px;
        height: auto;
        font-size: 14px;
        padding: 12px;
    }
    ul.task-list li {
        font-size: 14px;
        padding: 10px;
    }
}