.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.table-row-selected {
    background-color: #f0f8ff; /* Light blue background for selected rows */
    transition: background-color 0.3s;
}

/* Align checkbox and "Check All" text */
#select-all-checkbox {
    vertical-align: middle;
    margin: 0;
}

label[for="select-all-checkbox"] {
    font-size: 14px;
    cursor: pointer;
}

label[for="select-all-checkbox"] input[type="checkbox"] {
    cursor: pointer;
}


/* Wrapper for 'Check All' checkbox */
.soko-check-all {
    display: flex;
    align-items: center; /* Vertical alignment */
    gap: 8px; /* Space between checkbox and text */
    justify-content: center; /* Center content */
    font-size: 14px;
    font-weight: 600;
    color: #333; /* Text color */
}

/* Style for checkbox */
.soko-check-all input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Style for label text */
.soko-check-all label {
    cursor: pointer;
    margin: 0; /* Remove default margins */
    display: inline-block;
    line-height: 1; /* Align text properly */
}

/* Additional hover effect for better UI */
.soko-check-all:hover label {
    color: #0073aa; /* WordPress blue */
}

.soko-success-message {
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    display: none;
}

.soko-success-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.soko-success-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

