/* ============================================
   SERVICES TABLE STYLES - Extracted from templates
   ============================================ */

/* ========== TABLE SORTING ========== */

/* Sortable columns hover */
#servicesTable thead th[data-sortable]:hover {
    background-color: #f8f9fa;
}

#servicesTable thead th.sorted-asc i::before {
    content: "\f0de"; /* sort-up */
    color: #667eea;
}

#servicesTable thead th.sorted-desc i::before {
    content: "\f0dd"; /* sort-down */
    color: #667eea;
}

/* Table loader */
#servicesTable tbody:empty::after {
    content: "Loading services...";
    display: block;
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

/* ========== PAGINATION STYLES ========== */

.pagination-custom {
    display: flex;
    gap: 8px;
    margin: 0;
}

.pagination-custom .page-link {
    background: #fff;
    border-radius: 8px;
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.pagination-custom .page-link:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
    transform: translateY(-2px);
}

.pagination-custom .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: #fff;
}

.pagination-custom .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== SELECT2 CUSTOM STYLES ========== */

.select2-container--default .select2-selection--single {
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    color: #495057;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #667eea;
}

.select2-dropdown {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

.select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
}

.select2-container {
    width: 100% !important;
}
