body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}
.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.form-background {
    background-color: #e3f2fd;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.form-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 400px;
}
button, .btn {
    margin: 5px;
}
.form-control {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
}
/* Basic container and heading styles */
.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

h2 {
    font-family: 'Arial', sans-serif;
    color: #333;
    font-size: 2em;
    margin-bottom: 20px;
}

/* Table Styling */
.task-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.task-table th, .task-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
}

.task-table th {
    background-color: #007bff;
    color: white;
    font-size: 1.1em;
}

.task-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.task-table tr:hover {
    background-color: #f1f1f1;
}

.task-table td {
    font-size: 1em;
}

/* Button Styling */
.btn {
    text-decoration: none;
    padding: 8px 12px;
    margin: 5px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
}

.btn-primary {
    background-color: #007bff;
}

.btn-warning {
    background-color: #ff9800;
}

.btn-danger {
    background-color: #f44336;
}

.btn:hover {
    opacity: 0.8;
}

/* Responsiveness */
@media (max-width: 768px) {
    .task-table th, .task-table td {
        font-size: 0.9em;
        padding: 10px;
    }

    h2 {
        font-size: 1.6em;
    }
}
/* Flexbox for action buttons */
.action-buttons {
    display: flex;
    gap: 10px;  /* Adds spacing between buttons */
}

@media (max-width: 600px) {
    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

