body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 95%;
    max-width: 1200px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.center-text {
    text-align: left;
}

.section-divider {
    margin: 40px 0;
    border: none;
    height: 2px;
    background-color: #e0e0e0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th.sortable {
    cursor: pointer;
    user-select: none;
}

.sort-indicator {
    font-size: 0.8em;
}

.filter-row input {
    width: 90%;
    padding: 6px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    background-color: #28a745;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

button:disabled {
    background-color: #6c757d;
}

/* Custom Confirmation Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
}

.modal-content label {
    display: block;
    margin: 10px 0 5px;
}

.modal-content input[type="email"] {
    width: 90%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.error-message {
    color: red;
    font-size: 0.9em;
    height: 1.2em;
}

.modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

.modal-buttons button {
    width: 80px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
}

.checkbox-group label {
    display: flex;
    align-items: center;
}

.success-message {
    color: green;
    font-size: 0.9em;
    height: 1.2em;
}

#error-message {
    color: red;
    font-size: 0.9em;
    height: 1.2em;
}

.btn-activate {
    background-color: #007bff;
    margin-left: 5px;
}

.btn-deactivate {
    background-color: #dc3545;
    margin-left: 5px;
}

.btn-activate:hover {
    background-color: #0069d9;
}

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