/**
 * Tech Repair Service - Pagination Styles
 *
 * @package Tech_Repair_Service
 */

/* Pagination Container */
.tech-repair-pagination {
    margin: 30px 0;
    text-align: center;
    clear: both;
}

/* Navigation Links Container */
.tech-repair-pagination .nav-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

/* Page Numbers */
.tech-repair-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background-color: #f5f5f5;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Current Page */
.tech-repair-pagination .page-numbers.current {
    background-color: #3498db;
    color: #fff;
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.2);
}

/* Next/Prev Links */
.tech-repair-pagination .next.page-numbers,
.tech-repair-pagination .prev.page-numbers {
    padding: 0 15px;
}

/* Hover State */
.tech-repair-pagination .page-numbers:not(.current):hover {
    background-color: #e0e0e0;
    color: #000;
}

/* Focus State for Accessibility */
.tech-repair-pagination .page-numbers:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Responsive Styles */
@media screen and (max-width: 480px) {
    .tech-repair-pagination .page-numbers {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
        padding: 0 10px;
    }
    
    .tech-repair-pagination .next.page-numbers,
    .tech-repair-pagination .prev.page-numbers {
        padding: 0 12px;
    }
}

/* Standard WordPress Pagination Support */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 30px 0;
}

.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links .page-numbers.current {
    background-color: #3498db;
    color: #fff;
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.2);
}

.nav-links .next.page-numbers,
.nav-links .prev.page-numbers {
    padding: 0 15px;
}



.nav-links .page-numbers:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

@media screen and (max-width: 480px) {
    .nav-links .page-numbers {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
        padding: 0 10px;
    }
    
    .nav-links .next.page-numbers,
    .nav-links .prev.page-numbers {
        padding: 0 12px;
    }
}
