/* Encuesta de rendición de cuentas (participa/encuesta-rendicion-cuentas.html) */

.form-header-custom { background-color: #fff; }
.section-title { 
    background-color: #f8f9fa; 
    color: #164443; 
    padding: 10px 15px; 
    border-left: 5px solid #069681; 
    margin: 25px 0 15px 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.question-group { margin-bottom: 20px; padding: 10px; border-radius: 8px; transition: background 0.3s; }
.question-group:hover { background-color: #f0f7f6; }
.question-text { font-weight: 600; color: #333; display: block; margin-bottom: 10px; }
.option { display: block; margin-bottom: 5px; cursor: pointer; }
.form-card { border: none; border-top: 5px solid #069681; }

/* Mejora para el contenedor de la tabla en móviles */
.table-responsive { border: none; margin-bottom: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Ajustes de responsividad para pantallas muy pequeñas (ej. Moto G4) */
@media (max-width: 575.98px) { /* Bootstrap's 'sm' breakpoint */
    .zona-principal.container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-top: 2rem !important;
    }
    .card-body {
        padding: 1.25rem 0.75rem !important; /* Reduce padding lateral para ganar espacio */
    }
    .table-header-institutional td {
        padding: 4px 2px !important; /* Celdas más compactas */
    }
    .table.table-bordered {
        font-size: 0.6rem !important; /* Fuente mínima para evitar desbordes */
    }
    .table.table-bordered img {
        max-height: 60px !important; /* Logo más pequeño en móviles */
    }
    .section-title {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
    .question-text { font-size: 0.95rem; }
    .option { font-size: 0.9rem; }
}
