body {
    margin: 0;
    background: linear-gradient(135deg,#667eea, #764ba2);
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}
.app {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 20px; 
    width: 380px;
}
h1 {
    margin-top: 0;
    color: #2d3436;
    font-size: 24px;
    text-align: center;
    margin-bottom: 25px;
}
.add-section {
    display: flex;
    gap: 10px; 
    margin-bottom: 25px;
}
.add-section input {
    flex: 1;
    padding: 14px;
    border: 2px solid transparent;
    border-radius: 12px;
    outline: none;
    font-size: 14px;
    border-color: #667eea;
}
.add-btn {
    background: green; 
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.add-btn:hover {
    background: #2ecc71; 
    transform: scale(1.05); 
}
.todo-list {
    list-style: none;
    padding: 0;
}
.todo-list li {
    padding: 15px;
    background: #f4f6fb;
    margin-bottom: 12px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}
.todo-list li:hover {
    transform: translateX(5px); 
    background: #f1f2f6;
}
.todo-list li span {
    font-size: 15px;
}
.delete-btn {
    background: #ff6b6b; 
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.delete-btn:hover {
    color: white;
}
.edit-btn {
    background: #f39c12; 
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    margin-right: 8px; 
    transition: all 0.3s ease;
}
.edit-btn:hover{
    color: white;
}
.todo-list li input {
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 5px;
    font-family: inherit;
    width: 60%;
}
