/* Custom styles for the todo app */

body {
    background: linear-gradient(135deg, #667eea 0%, #5163ba 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border-radius: 15px;
    border: none;
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
    padding: 20px;
}

.card-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
}

/* Style for todo items */
.todo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    transition: background-color 0.2s;
}

.todo-item:hover {
    background-color: #f8f9fa;
}

.todo-text {
    flex-grow: 1;
    font-size: 1rem;
    color: #333;
}

/* Delete button styling */
.delete-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

/* Empty state message */
.empty-message {
    text-align: center;
    color: #6c757d;
    padding: 20px;
    font-style: italic;
}

/* Input focus effect */
#todoInput:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

#clearBtn{
    margin-top: 10px;
    height: auto;
    width: 90px;
}