/* Basic styling for the table, compatible with Astra/Spectra */
.guest-post-websites-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.guest-post-websites-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: 'Inter', sans-serif; /* Using Inter font */
    border-radius: 8px; /* Rounded corners for the table */
    overflow: hidden; /* Ensures rounded corners are visible */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
.guest-post-websites-table th,
.guest-post-websites-table td {
    border: 1px solid #e2e8f0; /* Light border color */
    padding: 12px 15px;
    text-align: left;
}
.guest-post-websites-table th {
    background-color: #f8fafc; /* Light header background */
    font-weight: 600;
    color: #2d3748; /* Darker text for headers */
    text-transform: uppercase;
    font-size: 0.9em;
    cursor: pointer; /* Indicate sortable headers */
    position: relative;
    padding-right: 25px; /* Make space for the icon */
}
.guest-post-websites-table th .sort-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    color: #a0aec0; /* Neutral color for unsorted */
}
/* Default sort icon (neutral state) */
/*.guest-post-websites-table th[data-sort-type] .sort-icon::before {
    content: '↕';
    opacity: 0.6;
}
.guest-post-websites-table th.asc .sort-icon::before {
    content: '▲';
    color: #3b82f6;
    opacity: 1;
}
.guest-post-websites-table th.desc .sort-icon::before {
    content: '▼'; 
    color: #3b82f6; 
    opacity: 1;
}
*/
.guest-post-websites-table tr:nth-child(even) {
    background-color: #fbfdfe; /* Slightly different background for even rows */
}
.guest-post-websites-table tr:hover {
    background-color: #eff6ff; /* Hover effect */
}
.guest-post-websites-table a {
    color: #3b82f6; /* Link color */
    text-decoration: none;
}
.guest-post-websites-table a:hover {
    text-decoration: underline;
}
.gpb-pagination-controls {
    display: flex; /* Use flexbox */
    justify-content: space-between; /* Space items to ends */
    align-items: center;
    margin-top: 15px;
    gap: 10px; /* Gap between the two main divs */
}
.gpb-pagination-controls .gpb-pagination-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    width:25%; /* Added width for better alignment */
}
.gpb-pagination-controls .gpb-pagination-selector label {
    width:50%; /* Added width for better alignment */
}
.gpb-pagination-controls .gpb-pagination-selector select {
    width:50%; /* Added width for better alignment */
    height: 35px;
    padding:6px 10px !important;
}
.gpb-pagination-controls .gpb-pagination-buttons {
    display: flex;
    align-items: center;
    gap: 5px; /* Gap between buttons */
}
.gpb-pagination-controls #gpb-page-numbers{
    display:flex;
    gap:5px;
}
.gpb-pagination-controls button {
    background-color: #4299e1;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
}
.gpb-pagination-controls button:disabled {
    background-color: #cbd5e0;
    cursor: not-allowed;
}
.gpb-pagination-controls select {
    padding: 7px;
    border-radius: 5px;
    border: 1px solid #e2e8f0;
}
.gpb-pagination-controls .page-number-btn {
    background-color: #e2e8f0;
    color: #2d3748;
}
.gpb-pagination-controls .page-number-btn.active {
    background-color: #3b82f6;
    color: white;
}
.gpb-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 8px;
}
.gpb-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #4299e1;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
