/* style.css */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e0f7fa, #fce4ec);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 12px;
    width: 400px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.container:hover {
    transform: scale(1.01);
}

h1 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    color: #333;
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

input[type="text"],
input[type="datetime-local"],
button {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

input:focus {
    border-color: #007bff;
    outline: none;
}

button {
    background: #007bff;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease;
}

button:hover {
    background: #0056b3;
}

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

li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: background 0.3s ease;
}

li:hover {
    background: #f1f1f1;
}

.completed {
    text-decoration: line-through;
    color: #888;
}

li button {
    margin-left: 8px;
    padding: 6px 10px;
    font-size: 13px;
    border: none;
    border-radius: 6px;
    background: #dc3545;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

li button:hover {
    background: #c82333;
}

li button:first-of-type {
    background: #ffc107;
    color: #333;
}

li button:first-of-type:hover {
    background: #e0a800;
}

