body {
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    background: #fff200;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 420px;
    margin: 48px auto 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 24px 20px 24px;
}

h1 {
    color: #ee2e08;
    font-size: 2rem;
    margin: 0 0 20px 0;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
}

form {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #ffd180;
    border-radius: 22px;
    font-size: 1rem;
    background: #fffbe6;
    transition: border-color 0.2s;
}

input[type="text"]:focus {
    border-color: #ff9800;
    outline: none;
}


button, .btn {
    padding: 10px 22px;
    border: none;
    border-radius: 22px;
    background: linear-gradient(135deg, #ff9800, #ffb300);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 168, 0, 0.08);
    transition: background 0.3s, box-shadow 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

button:hover, .btn:hover {
    background: linear-gradient(135deg, #ffb300, #ff9800);
    box-shadow: 0 4px 16px rgba(255, 168, 0, 0.12);
    transform: translateY(-2px);
}

#download-todos {
    margin-top: 10px;
    width: 100%;
    background: linear-gradient(135deg, #43a047, #00c853);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(67,160,71,0.10);
    transition: background 0.3s, box-shadow 0.2s, transform 0.2s;
}
#download-todos:hover {
    background: linear-gradient(135deg, #00c853, #43a047);
    box-shadow: 0 4px 16px rgba(67,160,71,0.16);
    transform: translateY(-2px);
}

#clear-all {
    width: 100%;
    margin-top: 12px;
    background: linear-gradient(135deg, #ff7043, #d84315);
}

#clear-all:hover {
    background: linear-gradient(135deg, #d84315, #ff7043);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

li {
    display: flex;
    align-items: center;
    background: #fff3e0;
    margin-bottom: 10px;
    padding: 10px 14px;
    border-radius: 9px;
    box-shadow: 0 1px 4px rgba(255, 168, 0, 0.04);
}

li .todo-text {
    flex: 1;
    font-size: 1.18rem;
    color: #ff1744;
    user-select: text;
    font-weight: 500;
}

li.completed .todo-text {
    text-decoration: line-through;
    color: #bdbdbd;
}

.custom-checkbox {
    margin-right: 12px;
    accent-color: #ff9800;
    width: 18px;
    height: 18px;
}

.delete-btn {
    background: none;
    border: none;
    color: #ff7043;
    font-size: 1.1rem;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 50%;
    padding: 4px 7px;
    transition: background 0.2s, color 0.2s;
}

.delete-btn:hover {
    background: #ffe0b2;
    color: #d84315;
}