*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}
.container{
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #153677, #4e085f);
    padding: 10px;
}
.todo-app{
    width: 100%;
    max-width: 540px;
    margin: 100px auto 20px;
    background: #fff;
    margin: 50px auto;
    border-radius: 10px;
    padding: 40px 30px 70px;
}
.todo-app h2{
    color: #002765;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.todo-app h2 img{
    width: 70px;
    height: 50px;
    margin-left: 10px;
}
.row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #edeef0;
    border-radius: 30px;
    padding-left: 20px;
    margin-bottom: 25px;
}
input{
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
    font-size: 14px;
}
button{
    border: none;
    outline: none;
    padding: 16px 50px;
    color: #fff;
    background: #ff5945;
    font-size: 15px;
    cursor: pointer;
    border-radius: 40px;
}
ul li{
    list-style: none;
    font-size: 18px;
    padding: 12px 8px 12px 50px;
    cursor: pointer;
    user-select: none;
    position: relative;
}
ul li::before{
    content: '';
    position: absolute;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background-image: url(img/listcircle.avif);
    background-size: cover;
    background-position: center;
    top: 12px;
    left: 8px;
}
ul li.checked{
    color: #555;
    text-decoration: line-through;
}
ul li.checked::before{
    background-image: url(img/checked.png);
}
ul li span{
    position: absolute;
    right: 0px;
    top: 5px;
    width: 40px;
    height: 40px;
    font-size: 22px;
    color: #555;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
}
ul li span:hover{
    background: #edeef0;
}

.todo-app {
    margin: 50px auto;
    padding: 40px 30px;
}
.todo-app h1 {
    color: #002765;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.todo-app h1 img {
    width: 54px;
    height: 42px;
    object-fit: contain;
    margin-left: 10px;
}
.task-form,
.task-options {
    display: grid;
    gap: 12px;
}
.task-options {
    grid-template-columns: auto 1fr auto 1fr;
    align-items: center;
    color: #425466;
    font-size: 14px;
}
.task-form input,
.task-form select {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px;
    font-size: 15px;
}
.row {
    justify-content: flex-start;
    gap: 10px;
    background: transparent;
    padding-left: 0;
    margin-bottom: 0;
}
.row button {
    padding: 12px 20px;
    border-radius: 8px;
}
.secondary-button,
.filter,
.edit-task,
.delete-task {
    background: #e9eef7;
    color: #1d3557;
}
.task-summary,
.filters {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 22px 0 14px;
    color: #52616b;
    font-size: 14px;
}
.filters { margin-top: 0; }
.filter { padding: 8px 12px; }
.filter.active { background: #153677; color: #fff; }
#list { display: grid; gap: 10px; }
.task-item {
    list-style: none;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: default;
}
.task-item::before { content: none; }
.task-item input {
    width: 18px;
    height: 18px;
    accent-color: #153677;
}
.task-details { display: grid; gap: 4px; }
.task-meta {
    position: static;
    width: auto;
    height: auto;
    color: #64748b;
    background: transparent;
    font-size: 13px;
    line-height: normal;
    text-align: left;
    text-transform: capitalize;
}
.task-item .task-meta:hover { background: transparent; }
.task-item.checked strong { color: #64748b; text-decoration: line-through; }
.task-actions { display: flex; gap: 8px; }
.task-actions button { padding: 8px 10px; font-size: 13px; }
.delete-task { color: #a61b1b; }
.empty-state { color: #64748b; text-align: center; padding: 24px; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
footer { text-align: center; color: #fff; margin-bottom: 20px; }
@media (max-width: 540px) {
    .todo-app { margin: 20px 10px; padding: 28px 18px; }
    .task-options { grid-template-columns: 1fr; }
    .task-item { grid-template-columns: auto 1fr; }
    .task-actions { grid-column: 2; }
}
footer{
    background-color: #153677;
    text-align: center;
    color: #c6c2c7;
    margin-top: auto;
}
