/* ==================================================================
   PAGINATION COMPONENT
   Elegant and simple pagination controls for search results and reviews
   ================================================================== */

.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1.5rem 1rem;
    border-top: 1px solid var(--border);
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--surface);
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 53, 177, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--surface-alt);
}

.pagination-btn i {
    font-size: 1.25rem;
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-indicator {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.page-indicator strong {
    color: var(--primary);
    font-weight: 700;
}

/* Scroll to top button for pagination */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(94, 53, 177, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top-btn.show {
    display: flex;
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(94, 53, 177, 0.4);
}

.scroll-top-btn i {
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination-btn {
        width: 100%;
        justify-content: center;
    }
    
    .scroll-top-btn {
        width: 44px;
        height: 44px;
        bottom: 1rem;
        right: 1rem;
    }
}

/* Dark Theme Support */
[data-theme="dark"] .pagination-btn {
    background: var(--surface);
    border-color: var(--border);
}

[data-theme="dark"] .pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
}
