
    /* Table Styling */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin: 25px 0;
    font-size: 16px;
    text-align: left;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

.styled-table th, .styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.styled-table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Pagination Links */
.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a {
    color: #009879;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #dddddd;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #009879;
    color: white;
}

.pagination strong {
    padding: 8px 16px;
    border: 1px solid #dddddd;
    background-color: #009879;
    color: white;
    border-radius: 5px;
}

/* Modal overlay to block interaction */
#spinner-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 1000; /* Ensure it's above everything else */
}

#loading-message {
    z-index:1001 !important;
}

/* Center the spinner in the middle of the screen */
#spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner-border {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2); /* Light transparent border */
    border-top: 4px solid #3498db; /* Blue color for the animated part */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

