body {
    background: #f0f4f8;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 700px;
    margin: 60px auto;
    background: #fff;
    padding: 40px 40px 30px 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.input-section {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#task-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

#add-btn {
    padding: 10px 18px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

#add-btn:hover {
    background: #0056b3;
}

#task-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#task-list li {
    background: #f8f9fa;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    font-size: 16px;
}

#task-list li .delete-btn {
    background: #fff;
    color: #dc3545;
    border: none;
    border-radius: 3px;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 18px;
    margin-left: 10px;
    transition: background 0.2s;
}

#task-list li .delete-btn:hover {
    background: #f8d7da;
}

.done-btn {
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    transition: background 0.2s;
}

.done-btn:hover {
    background: #1e7e34;
}

.notes-toggle-btn {
    background: #ffc107;
    color: #333;
    border: none;
    border-radius: 3px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    transition: background 0.2s;
}

.notes-toggle-btn:hover {
    background: #e0a800;
}

#task-list li textarea {
    margin-top: 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 15px;
    padding: 6px;
    box-sizing: border-box;
    background: #f8f9fa;
    color: #333;
}

.toggle-notes-btn {
    background: #e9ecef;
    color: #333;
    border: none;
    border-radius: 3px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 18px;
    margin-right: 10px;
    transition: background 0.2s;
}

.toggle-notes-btn:hover {
    background: #ced4da;
}

.streak-btn {
    background: #fff3cd;
    color: #d35400;
    border: none;
    border-radius: 3px;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
    transition: background 0.2s;
}

.streak-btn:hover {
    background: #ffe8a1;
}
