/* Estilos del módulo de auditoría — cargado globalmente vía base.html */
.form-control:disabled {
    background-color: rgba(31,43,77,.07);
    opacity: 1;
}

.justificado {
    text-align: justify;
}

/* Altura fija para elementos tipo botón — legítimo mantenerse global */
.btn-submit, .btn-delete {
    height: 38px;
}
/* min-height en vez de height para no colapsar textareas ni date-pickers */
.form-control {
    min-height: 38px;
}

.btn-submit, .btn-delete {
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-submit {
    background-color: #30398D;
    color: white;
    border-radius: 8px;
}

.btn-delete {
    background-color: #b42318;
    color: white;
    border-radius: 8px;
}

.group-block {
    padding: 10px;
    background: #fff;
    border: 1px solid rgba(31,43,77,.14);
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Espaciado entre filas consecutivas — legado global de formularios de auditoría */
/* Pendiente: acotar con wrapper .audit-form en una fase posterior */
.row + .row {
    margin-top: 15px;
}

.question-row:nth-child(odd) {
    background-color: rgba(48,57,141,.025);
}

.question-row:nth-child(even) {
    background-color: #ffffff;
}

/* h3 global eliminado — global_styles.css es la única fuente de verdad para h3 */
/* h4 global — legado de formularios de auditoría. Pendiente: acotar con scope */
h4 {
    color: #30398d;
    font-size: var(--lp-2xl, 1.3rem);
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.custom-file-input {
    display: none;
}

.custom-file-label {
    padding: 10px;
    background-color: #fff;
    border: 1px solid rgba(48,57,141,.14);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
}

.custom-file-label::before {
    content: "\f0c6";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.custom-file-label::after {
    content: none;
}

.file-name {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
    color: #5d6389;
}

/* Estilos específicos para coso_business.html */
#formularioCoso .container-fluid {
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(31,43,77,.08);
    max-width: 800px;
    margin: 3% auto;
}

@media (max-width: 768px) {
    #formularioCoso .container-fluid {
        max-width: 95%;
        margin: auto;
    }
}

#formularioCoso .btn {
    max-width: 100%;
    width: auto;
}

#formularioCoso input, #formularioCoso textarea {
    width: 100%;
}

#formularioCoso .justificado {
    text-align: justify;
    text-justify: inter-word;
}

#formularioCoso textarea {
    width: 100%;
    height: auto;
    min-height: 38px;
}

#formularioCoso input[type="file"] {
    border: none;
    background: none;
}

