/**
 * BFHT Theme - Modern Pagination Styles
 * Independent implementation matching Directory styles.
 * Prefix: bfht-p-
 */

.bfht-p-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.bfht-p-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: transparent;
    border-radius: 0;
    border: none;
}

/* Pagination Item (Link/Span) */
/* Shared basic styles */
.bfht-p-link,
.bfht-p-current,
.bfht-p-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    /* Soft square */
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #4a5568;
    background: transparent;
    border: none;
}

/* Normal Link Hover */
.bfht-p-link:hover {
    background: #f7fafc;
    color: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Active Page */
.bfht-p-current {
    background: linear-gradient(135deg, #00E2C1 0%, #757DFE 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 226, 193, 0.4);
}

/* Prev/Next Buttons - Wider */
.bfht-p-prev,
.bfht-p-next {
    width: auto;
    padding: 0 16px;
    font-weight: 600;
    color: #2d3748;
}

.bfht-p-prev:hover,
.bfht-p-next:hover {
    background: #f7fafc;
    color: #1a202c;
}

/* Disabled Prev/Next (if we render them disabled) */
.bfht-p-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 480px) {

    .bfht-p-link,
    .bfht-p-current,
    .bfht-p-dots {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 8px;
    }

    .bfht-p-nav {
        gap: 4px;
        padding: 6px;
    }
}