/* Modern and cool To-Do List styles */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    padding: 40px 30px 30px 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h1 {
    margin-bottom: 20px;
    color: #5f2c82;
    letter-spacing: 2px;
}

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

#todo-input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #f3f3f3;
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.2s;
}

#todo-input:focus {
    box-shadow: 0 0 0 2px #764ba2;
}

#add-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 18px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

#add-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.1);
}

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

.todo-item {
    background: #f3f3f3;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(118, 75, 162, 0.05);
}

.todo-item.completed {
    text-decoration: line-through;
    color: #aaa;
    background: #e0e0e0;
}

.todo-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: none;
    border: none;
    color: #764ba2;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 4px;
    padding: 4px 6px;
    transition: background 0.2s;
}

.action-btn:hover {
    background: #e0e0e0;
}

.footer-copyright {
    margin-top: 40px;
    text-align: center;
    color: #888;
    font-size: 0.95rem;
    width: 100vw;
    position: fixed;
    left: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    padding: 10px 0 6px 0;
    z-index: 10;
    letter-spacing: 1px;
    box-shadow: 0 -2px 8px rgba(118, 75, 162, 0.05);
}