/* Paginator */
.pagination {
    gap: 8px;
}

.page-link.page-circle {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    color: #1A3F36;
    transition: all 0.3s;
}

@media (max-width: 575.98px) {
    .page-link.page-circle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .page-item:not(.active):not(:first-child):not(:last-child) {
        display: none;
    }

    .pagination {
        gap: 4px;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .page-link.page-circle {
        width: 38px;
        height: 38px;
    }
}

.page-link.page-circle:hover {
    background-color: #f8f9fa;
    border-color: #198754;
}

.page-item.active .page-circle {
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: white !important;
}

.page-item.disabled .page-circle {
    color: #6c757d;
    opacity: 0.6;
}

.page-link.page-circle svg {
    vertical-align: middle;
}

.page-link.page-circle[disabled] {
    cursor: default;
    background-color: transparent !important;
    border-color: #dee2e6 !important;
    color: #6c757d !important;
}

.page-link.page-circle[disabled]:hover {
    background-color: transparent !important;
}

/* Blog posts */
.comments .card-title {
    color: var(--heading-color)
}

.card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-img-top {
    flex-shrink: 0;
}

.card-body {
    flex: 1 1 auto;
}

.img-container {
    height: 200px;
    overflow: hidden;
}

.experience-card {
    background-color: rgba(40, 117, 78, .114);
}
/* Comments */
.comment-form {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.comments-list {
    margin-top: 2rem;
}
/* SURVEY STILYNG  */
.sd-container-modern {
    /* Usar !important es necesario si el framework los añade en línea o con alta especificidad */
    background-color: #fff !important;
    box-shadow: none !important;
    border: none !important;
}

.sd-container-modern .sd-row.sd-clearfix.sd-page__row {
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
}

/* 2. ESTILOS BASE DE LOS BOTONES DE NAVEGACIÓN (Propiedades comunes con alta especificidad) */
/* Aplicar estilo de fuente y borde a TODOS los botones de navegación */
#surveyContainer .sd-btn.sd-navigation__next-btn,
#surveyContainer .sd-btn.sd-navigation__prev-btn,
#surveyContainer .sd-btn.sd-btn--action.sd-navigation__complete-btn {
    border-radius: 8px !important;
    font-size: 16px !important;
    color: white !important;
}

/* 3. ESTILOS ESPECÍFICOS: Botón Siguiente y Completar (Fondo Verde) */
#surveyContainer .sd-btn.sd-navigation__next-btn,
#surveyContainer .sd-btn.sd-btn--action.sd-navigation__complete-btn {
    background-color: #28754E !important; /* Verde Aboca */
    color: white !important; /* Asegurar que el texto sea blanco, aunque se definió antes */
}

/* 4. ESTILOS ESPECÍFICOS: Botón Anterior (Fondo Blanco) */
#surveyContainer .sd-btn.sd-navigation__prev-btn {
    background-color: white !important;
    color: #28754E !important;
}
