body {
    font-family: 'Cairo', sans-serif;
    background-color: #f8f9fa; /* Light gray background */
    color: #343a40; /* Dark gray text */
}

.container {
    max-width: 800px; /* Limit container width for better readability */
}

.task-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    margin-bottom: 1rem;
    transition: transform 0.2s ease-in-out; /* Smooth hover effect */
}

.task-card:hover {
    transform: translateY(-5px);
}

.task-card-body {
    padding: 1.5rem;
}

.task-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.task-due-date {
    color: #6c757d; /* Gray color for due date */
    margin-bottom: 0.5rem;
}

.task-actions {
    text-align: right;
}

.delete-button {
    cursor: pointer;
    color: #dc3545; /* Red color for delete */
    margin-left: 10px;
     transition: color 0.2s ease-in-out;
}
.delete-button:hover {
    color: #721c24;
}

/* Task Status Colors */
.task-completed {
    background-color: #d4edda; /* Light green */
    border-left: 5px solid #28a745; /* Green border */
}

.task-overdue {
    background-color: #f8d7da; /* Light red */
    border-left: 5px solid #dc3545; /* Red border */
}

.task-near-deadline {
    background-color: #fff3cd; /* Light yellow */
    border-left: 5px solid #ffc107; /* Yellow border */
}

.task-upcoming {
    background-color: #e2e3e5;
    border-left: 5px solid #6c757d;
}

/* Bootstrap overrides (optional) */
.btn-primary {
    background-color: #007bff; /* Bootstrap primary color */
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}