/**
 * Estilos de Paginación para Sears Wedding Registry
 * Version: 1.0.0
 */

/* === Contenedor de Paginación === */
.swr-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

/* === Enlaces de Página === */
.swr-page-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: white;
    color: #003b71;
    border: 2px solid #003b71;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.swr-page-link:hover {
    background: #003b71;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 59, 113, 0.2);
}

/* === Números de Página === */
.swr-page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.swr-page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: #003b71;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.swr-page-number:hover {
    background: #f8f9fa;
    border-color: #003b71;
    transform: scale(1.1);
}

.swr-page-number.current {
    background: #003b71;
    color: white;
    border-color: #003b71;
    cursor: default;
}

.swr-page-dots {
    color: #6c757d;
    padding: 0 5px;
    font-weight: bold;
}

/* === Información de Página === */
.swr-page-info {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 20px;
}

/* === Responsive === */
@media (max-width: 768px) {
    .swr-pagination {
        flex-direction: column;
        gap: 10px;
    }

    .swr-page-numbers {
        order: 2;
    }

    .swr-page-link {
        order: 1;
        width: 100%;
        justify-content: center;
    }

    .swr-page-prev {
        order: 0;
    }

    .swr-page-next {
        order: 3;
    }

    .swr-page-info {
        order: 4;
        width: 100%;
        text-align: center;
    }

    .swr-page-number {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }
}

/* === Integración con tabla === */
.swr-wishlist-table {
    margin-bottom: 0;
}

.swr-wishlist-table + .swr-pagination {
    margin-top: 0;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
