/* =========================================================
   COOMULTRASAP
   MÓDULO DE PRÉSTAMOS
   SOLICITUD DE PRÉSTAMO INDIVIDUAL POR LIBRANZA
   ESTILO PREMIUM INSTITUCIONAL
   ========================================================= */

:root {
    --verde-950: #153507;
    --verde-900: #1C4508;
    --verde-850: #24560A;
    --verde-800: #2E6A08;
    --verde-700: #337602;
    --verde-600: #4F8A2A;
    --verde-500: #4F8A2A;
    --verde-100: #F1F6EC;
    --verde-50: #F8FBF5;

    --dorado-700: #8F7400;
    --dorado-600: #8F7400;
    --dorado-500: #8F7400;
    --dorado-300: #FFE24D;
    --dorado-100: #FFF9E0;

    --gris-950: #153507;
    --gris-900: #1C4508;
    --gris-800: #3B4535;
    --gris-700: #5F6A58;
    --gris-600: #5F6A58;
    --gris-500: #848E7D;
    --gris-400: #A9B2A2;
    --gris-300: #DDE3D6;
    --gris-200: #E4EFDB;
    --gris-100: #F1F6EC;
    --gris-50: #F8FBF5;

    --blanco: #ffffff;

    --rojo: #c62828;
    --rojo-suave: #fff1f1;

    --sombra-suave:
        0 10px 30px rgba(21,53,7, .07);

    --sombra-media:
        0 18px 45px rgba(21,53,7, .10);

    --sombra-hover:
        0 20px 50px rgba(21,53,7, .14);

    --radio-grande: 20px;
    --radio-medio: 14px;
    --radio-pequeno: 10px;
}


/* =========================================================
   RESET GLOBAL
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;

    scroll-behavior: smooth;

    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0 30px 30px;

    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(143,116,0, .08),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 10%,
            rgba(51,118,2, .08),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #F1F6EC 0%,
            #F8FBF5 45%,
            #F1F6EC 100%
        );

    color: var(--gris-900);

    font-family:
        var(--ct-f-texto);

    font-size: 14px;
    line-height: 1.5;

    overflow-x: hidden;

    -webkit-text-size-adjust: 100%;
}

/* Barra común: ocupa todo el ancho sobre el formulario */
body > .ct-barra { width: auto; margin: 0 -30px 0 !important; }
body > .ct-avance { margin: 0 -30px 30px !important; }



/* =========================================================
   CONTENEDOR PRINCIPAL
   ========================================================= */

.contenedor {
    position: relative;

    width: 100%;
    max-width: 1120px;

    margin: 0 auto;

    background: rgba(255, 255, 255, .98);

    padding: 42px 48px 45px;

    border:
        1px solid
        rgba(36,86,10, .10);

    border-radius: 24px;

    box-shadow:
        0 30px 80px rgba(21,53,7, .12),
        0 5px 20px rgba(21,53,7, .05);

    overflow: hidden;
}

.contenedor::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--verde-950),
            var(--verde-700) 45%,
            var(--dorado-500) 75%,
            var(--dorado-700)
        );
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.encabezado {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 28px;

    width: 100%;
    min-width: 0;

    padding:
        8px
        10px
        25px;

    border-bottom:
        1px solid
        var(--gris-200);
}


/* =========================================================
   LOGO
   ========================================================= */

.logo-area {
    width: 150px;
    min-width: 150px;

    display: flex;

    justify-content: center;
    align-items: center;

    padding: 8px;
}

.logo-coomultrasap {
    display: block;

    width: 130px;
    max-width: 100%;

    height: auto;
    max-height: 95px;

    object-fit: contain;
    object-position: center;

    border: none;

    background: transparent;

    filter:
        drop-shadow(
            0 5px 8px rgba(21,53,7, .08)
        );

    transition:
        transform .25s ease,
        filter .25s ease;
}

.logo-coomultrasap:hover {
    transform: translateY(-2px);

    filter:
        drop-shadow(
            0 8px 14px rgba(21,53,7, .14)
        );
}


/* =========================================================
   DATOS COOPERATIVA
   ========================================================= */

.datos-cooperativa {
    flex: 1 1 auto;

    width: 100%;
    min-width: 0;

    text-align: center;

    padding: 5px 10px;
}

.nombre-cooperativa {
    width: 100%;

    font-size: 18px;

    font-weight: 800;

    line-height: 1.35;

    letter-spacing: .3px;

    color: var(--verde-900);

    overflow-wrap: anywhere;
}

.sigla {
    display: inline-block;

    max-width: 100%;

    margin-top: 9px;

    padding: 5px 13px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            var(--verde-900),
            var(--verde-700)
        );

    color: #fff;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1.4px;

    box-shadow:
        0 5px 12px rgba(28,69,8, .14);

    overflow-wrap: anywhere;
}

.nit {
    margin-top: 8px;

    color: var(--gris-600);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: .4px;
}


/* =========================================================
   TÍTULO DOCUMENTO
   ========================================================= */

.titulo-documento {
    position: relative;

    width: 100%;
    max-width: 100%;

    text-align: center;

    margin: 32px 0 28px;

    padding: 18px 20px;

    border:
        1px solid
        rgba(143,116,0, .25);

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #fbfdfc 0%,
            #F1F6EC 65%,
            #FFF9E0 100%
        );

    color: var(--verde-900);

    font-size: 21px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: .7px;

    box-shadow:
        0 8px 24px rgba(21,53,7, .05);

    overflow-wrap: anywhere;
}

.titulo-documento::after {
    content: "";

    display: block;

    width: 70px;

    height: 3px;

    margin: 10px auto 0;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--verde-700),
            var(--dorado-500)
        );
}


/* =========================================================
   BLOQUES
   ========================================================= */

.bloque {
    position: relative;

    width: 100%;
    min-width: 0;
    max-width: 100%;

    border:
        1px solid
        var(--gris-200);

    border-radius: var(--radio-grande);

    padding: 25px;

    margin-bottom: 24px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fbfcfb 100%
        );

    box-shadow: var(--sombra-suave);

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;

    overflow: hidden;
}

.bloque:hover {
    border-color:
        rgba(51,118,2, .18);

    box-shadow:
        var(--sombra-media);
}


/* =========================================================
   TÍTULOS SECCIÓN
   ========================================================= */

.bloque h2 {
    position: relative;

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;

    font-size: 14px;

    margin: 0 0 22px;

    padding-bottom: 12px;

    border-bottom:
        1px solid
        var(--gris-200);

    color: var(--verde-900);

    font-weight: 900;

    letter-spacing: .6px;

    overflow-wrap: anywhere;
}

.bloque h2::before {
    content: "";

    width: 5px;
    min-width: 5px;

    height: 20px;

    flex: 0 0 5px;

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            var(--verde-700),
            var(--dorado-500)
        );
}


/* =========================================================
   IDENTIFICACIÓN
   ========================================================= */

.bloque-identificacion {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 18px;

    align-items: start;

    background:
        linear-gradient(
            135deg,
            #F8FBF5,
            #ffffff
        );
}


/* =========================================================
   CAMPOS
   ========================================================= */

.campo {
    width: 100%;
    min-width: 0;

    margin-bottom: 17px;
}

.campo label,
.persona-firma > label {
    display: block;

    width: 100%;

    margin-bottom: 7px;

    color: var(--gris-800);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: .45px;

    text-transform: uppercase;

    overflow-wrap: anywhere;
}


/* =========================================================
   INPUTS
   ========================================================= */

.campo input {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    height: 43px;

    border:
        1px solid
        var(--gris-300);

    border-radius: var(--radio-pequeno);

    padding: 9px 12px;

    font-family:
        var(--ct-f-texto);

    font-size: 14px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #F8FBF5
        );

    color: var(--gris-900);

    box-shadow:
        inset 0 1px 2px rgba(21,53,7, .025);

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease,
        transform .2s ease;
}

.campo input:hover {
    border-color:
        #A9B2A2;

    background: #fff;
}

.campo input:focus {
    outline: none;

    border-color:
        var(--verde-600);

    background: #fff;

    box-shadow:
        0 0 0 4px rgba(79,138,42, .10),
        0 5px 12px rgba(21,53,7, .05);
}

.campo input::placeholder {
    color: #A9B2A2;
}


/* =========================================================
   CAMPOS GENERADOS
   ========================================================= */

.campo-generado {
    background:
        linear-gradient(
            135deg,
            #F1F6EC,
            #F9FAF7
        ) !important;

    border-color:
        #CFE2C0 !important;

    font-weight: 800;

    color: var(--verde-800);

    cursor: not-allowed;

    letter-spacing: .3px;
}


/* =========================================================
   AYUDA CAMPOS
   ========================================================= */

.campo small {
    display: block;

    color: var(--gris-500);

    font-size: 10px;

    margin-top: 5px;

    line-height: 1.4;

    overflow-wrap: anywhere;
}


/* =========================================================
   CAMPOS NUMÉRICOS
   ========================================================= */

.campo input[type="number"] {
    appearance: textfield;
}

.campo input[type="number"]::-webkit-inner-spin-button,
.campo input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}


/* =========================================================
   FECHA
   ========================================================= */

.campo input[type="date"] {
    color: var(--gris-800);

    font-weight: 600;
}


/* =========================================================
   GRID
   ========================================================= */

.grid-1 {
    display: grid;

    width: 100%;
    min-width: 0;

    grid-template-columns: minmax(0, 1fr);

    gap: 2px;
}

.grid-2 {
    display: grid;

    width: 100%;
    min-width: 0;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 0 22px;
}


/* =========================================================
   SELECT
   ========================================================= */

.inline-select {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    height: 43px;

    padding:
        7px
        38px
        7px
        12px;

    border:
        1px solid
        var(--gris-300);

    border-radius: var(--radio-pequeno);

    background-color: #fff;

    color: var(--gris-900);

    font-family:
        var(--ct-f-texto);

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.inline-select:hover {
    border-color:
        #A9B2A2;
}

.inline-select:focus {
    outline: none;

    border-color:
        var(--verde-600);

    box-shadow:
        0 0 0 4px rgba(79,138,42, .10);
}


/* =========================================================
   AUTORIZACIÓN
   ========================================================= */

.autorizacion {
    width: 100%;
    min-width: 0;
}

.autorizacion p {
    width: 100%;
    max-width: 100%;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 14px;

    line-height: 1.72;

    text-align: justify;

    margin: 0 0 16px;

    color: #2B3426;

    overflow-wrap: anywhere;
}

.autorizacion p:last-child {
    margin-bottom: 0;
}

.autorizacion strong {
    font-weight: 700;

    color: var(--verde-900);
}

.inline-input {
    width: 260px;
    max-width: 100%;

    border: none;

    border-bottom:
        2px solid
        var(--gris-400);

    outline: none;

    font-size: 14px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    background: transparent;

    padding: 2px 5px;

    transition:
        border-color .2s ease;
}

.inline-input:focus {
    border-bottom-color:
        var(--verde-600);
}


/* =========================================================
   FIRMAS DIGITALES
   ========================================================= */

.firmas-digitales {
    display: grid;

    width: 100%;
    min-width: 0;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 26px;
}

.persona-firma {
    width: 100%;
    min-width: 0;

    padding: 22px;

    border:
        1px solid
        var(--gris-200);

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #F8FBF5
        );

    box-shadow:
        0 7px 20px rgba(21,53,7, .045);

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;

    overflow: hidden;
}

.persona-firma:hover {
    border-color:
        rgba(51,118,2, .20);

    box-shadow:
        0 12px 28px rgba(21,53,7, .08);

    transform: translateY(-1px);
}

.persona-firma h2 {
    margin-bottom: 16px;
}


/* =========================================================
   CANVAS FIRMA
   ========================================================= */

.canvas-firma {
    display: block;

    width: 100%;
    max-width: 100%;

    height: 135px;

    border:
        2px dashed
        #CFE2C0;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #fbfdfc
        );

    touch-action: none;

    cursor: crosshair;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.canvas-firma:hover {
    border-color:
        var(--verde-600);

    background: #fff;
}

.canvas-firma:focus {
    outline: none;

    border-color:
        var(--verde-600);

    box-shadow:
        0 0 0 4px rgba(79,138,42, .10);
}


/* =========================================================
   LIMPIAR FIRMA
   ========================================================= */

.btn-limpiar {
    display: inline-block;

    max-width: 100%;

    margin: 9px 0 20px;

    border:
        1px solid
        var(--gris-300);

    background:
        #fff;

    color:
        var(--gris-700);

    padding:
        7px 12px;

    border-radius:
        8px;

    cursor: pointer;

    font-size: 11px;

    font-weight: 700;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.btn-limpiar:hover {
    background:
        var(--verde-50);

    border-color:
        #A9CB91;

    color:
        var(--verde-800);

    transform:
        translateY(-1px);
}


/* =========================================================
   FIRMAS FÍSICAS
   ========================================================= */

.firmas-fisicas {
    display: grid;

    width: 100%;
    min-width: 0;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 70px;

    padding-top: 38px;
    padding-bottom: 48px;

    background:
        linear-gradient(
            135deg,
            #fbfcfb,
            #ffffff
        );
}

.firma-fisica {
    width: 100%;
    min-width: 0;
    min-height: 105px;

    text-align: center;

    padding-top: 35px;
}

.linea-firma {
    position: relative;

    width: 100%;

    border-top:
        1px solid
        var(--gris-700);

    margin-bottom: 10px;
}

.linea-firma::before {
    content: "";

    position: absolute;

    left: 50%;

    top: -4px;

    transform: translateX(-50%);

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background:
        var(--dorado-500);
}

.firma-fisica strong {
    display: block;

    font-size: 12px;

    letter-spacing: .6px;

    color: var(--verde-900);

    overflow-wrap: anywhere;
}

.firma-fisica span {
    display: block;

    margin-top: 6px;

    color: var(--gris-500);

    font-size: 10px;

    overflow-wrap: anywhere;
}


/* =========================================================
   ACCIONES
   ========================================================= */

.acciones {
    display: flex;

    justify-content: flex-end;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    width: 100%;

    padding-top: 7px;
    padding-bottom: 3px;
}


/* =========================================================
   BOTONES
   ========================================================= */

.btn {
    position: relative;

    max-width: 100%;

    border: 0;

    border-radius: 11px;

    padding:
        13px 21px;

    font-family:
        var(--ct-f-texto);

    font-weight: 800;

    font-size: 12px;

    letter-spacing: .35px;

    cursor: pointer;

    transition:
        background-color .2s ease,
        transform .18s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.btn:hover {
    transform:
        translateY(-2px);
}

.btn:active {
    transform:
        translateY(0);
}


/* =========================================================
   BOTÓN PRINCIPAL
   ========================================================= */

.btn-principal {
    background:
        linear-gradient(
            135deg,
            var(--verde-900),
            var(--verde-700)
        );

    color: #fff;

    box-shadow:
        0 8px 18px
        rgba(28,69,8, .22);
}

.btn-principal::before {
    content: "✓";

    margin-right: 7px;

    font-size: 12px;
}

.btn-principal:hover {
    background:
        linear-gradient(
            135deg,
            var(--verde-950),
            var(--verde-800)
        );

    box-shadow:
        0 12px 25px
        rgba(28,69,8, .28);
}


/* =========================================================
   BOTÓN SECUNDARIO
   ========================================================= */

.btn-secundario {
    background:
        #fff;

    color:
        var(--gris-700);

    border:
        1px solid
        var(--gris-300);

    box-shadow:
        0 4px 10px
        rgba(21,53,7, .04);
}

.btn-secundario:hover {
    background:
        var(--gris-50);

    border-color:
        var(--gris-400);

    color:
        var(--gris-900);
}


/* =========================================================
   OBLIGATORIOS
   ========================================================= */

.obligatorio {
    color:
        var(--rojo);

    font-weight:
        900;

    margin-left: 2px;
}


/* =========================================================
   VALIDACIÓN
   ========================================================= */

.campo input:required:invalid,
.campo select:required:invalid {
    border-color:
        var(--gris-300);
}

.campo input:required:valid,
.campo select:required:valid {
    border-color:
        var(--gris-300);
}

.campo input:focus:invalid,
.campo select:focus:invalid {
    border-color:
        #dc3545;

    box-shadow:
        0 0 0 4px
        rgba(220, 53, 69, .09);
}


/* =========================================================
   MENSAJES ERROR
   ========================================================= */

.mensaje-error {
    display: none;

    width: 100%;

    margin-top: 5px;

    color:
        #b02a37;

    font-size: 11px;

    font-weight: 600;

    overflow-wrap: anywhere;
}

.campo.error .mensaje-error {
    display: block;
}

.campo.error input,
.campo.error select {
    border-color:
        #dc3545;
}


/* =========================================================
   INFORMACIÓN
   ========================================================= */

.info {
    width: 100%;
    max-width: 100%;

    padding:
        14px 17px;

    margin-bottom:
        20px;

    border:
        1px solid
        #E4EFDB;

    border-left:
        5px solid
        var(--verde-700);

    border-radius:
        10px;

    background:
        linear-gradient(
            135deg,
            #F1F6EC,
            #F8FBF5
        );

    color:
        var(--gris-700);

    font-size:
        12px;

    overflow-wrap: anywhere;
}


/* =========================================================
   ESTADO SOLICITUD
   ========================================================= */

.estado {
    display: inline-flex;

    align-items: center;

    max-width: 100%;

    padding:
        6px 11px;

    border-radius:
        999px;

    font-size:
        10px;

    font-weight:
        800;

    text-transform:
        uppercase;
}

.estado-pendiente {
    background:
        #FFF9E0;

    color:
        #8F7400;
}

.estado-aprobado {
    background:
        #F1F6EC;

    color:
        #24560A;
}

.estado-rechazado {
    background:
        #fdeaea;

    color:
        #842029;
}


/* =========================================================
   CAMPOS DINERO
   ========================================================= */

.campo-peso {
    position: relative;

    display: flex;

    align-items: center;

    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.campo-peso .simbolo-peso {
    position: absolute;

    left: 14px;
    top: 50%;

    transform:
        translateY(-50%);

    font-size:
        17px;

    font-weight:
        900;

    color:
        var(--verde-700);

    z-index:
        2;

    pointer-events:
        none;
}

.campo-peso input {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    height: 43px;

    padding-left:
        34px !important;

    padding-right:
        12px;

    text-align:
        right;

    font-weight:
        700;

    letter-spacing:
        .4px;

    box-sizing:
        border-box;
}

.campo-peso input:focus {
    outline:
        none;

    border-color:
        var(--verde-600);

    box-shadow:
        0 0 0 4px
        rgba(79,138,42, .10);
}

.ayuda-peso {
    display: block;

    width: 100%;

    margin-top:
        5px;

    color:
        var(--gris-500);

    font-size:
        11px;

    overflow-wrap: anywhere;
}


/* =========================================================
   DOCUMENTOS
   Complementa los estilos inline existentes
   ========================================================= */

.documentos-requeridos {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    border-color:
        rgba(51,118,2, .16) !important;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #F8FBF5
        ) !important;

    box-shadow:
        0 15px 38px
        rgba(21,53,7, .08) !important;
}

.documentos-requeridos:hover {
    border-color:
        rgba(51,118,2, .25) !important;
}

.documentos-encabezado {
    position: relative;

    width: 100%;
    min-width: 0;
}

.documentos-titulo {
    max-width: 100%;

    letter-spacing:
        .6px !important;

    overflow-wrap: anywhere;
}

.documentos-icono {
    box-shadow:
        0 6px 15px
        rgba(51,118,2, .08);
}

.documentos-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.documento-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fbfdfc
        ) !important;

    box-shadow:
        0 6px 18px
        rgba(21,53,7, .045);

    overflow: hidden;
}

.documento-card:hover {
    transform:
        translateY(-3px) !important;

    box-shadow:
        0 14px 28px
        rgba(51,118,2, .10) !important;
}

.documento-card input[type="file"] {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    cursor: pointer;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.documento-card input[type="file"]:hover {
    border-color:
        #A9CB91;

    background:
        #F8FBF5;
}

.documento-card input[type="file"]:focus {
    border-color:
        var(--verde-600) !important;

    box-shadow:
        0 0 0 4px
        rgba(79,138,42, .09) !important;
}

.documento-nombre {
    max-width: 100%;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.documentos-nota {
    width: 100%;
    max-width: 100%;

    border-left-color:
        var(--dorado-500) !important;

    background:
        linear-gradient(
            135deg,
            #FFFCF0,
            #FFFCF0
        ) !important;

    overflow-wrap: anywhere;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        padding: 0 20px 20px;
    }

    body > .ct-barra { margin: 0 -20px 0 !important; }
    body > .ct-avance { margin: 0 -20px 20px !important; }

    .contenedor {
        width: 100%;
        max-width: 100%;

        padding:
            35px
            32px
            38px;
    }

    .bloque-identificacion {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);
    }

    .firmas-digitales {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 22px;
    }

    .firmas-fisicas {
        gap: 35px;
    }

    .campo,
    .persona-firma,
    .bloque {
        min-width: 0;
    }

    .campo input,
    .campo-peso,
    .campo-peso input,
    .inline-select,
    textarea {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 800px) {

    html {
        width: 100% !important;
        max-width: 100% !important;

        overflow-x: hidden !important;
    }

    body {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        padding: 10px !important;

        overflow-x: hidden !important;
    }

    .contenedor {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 auto !important;

        padding:
            24px
            16px
            28px !important;

        border-radius: 18px;

        overflow: hidden;
    }


    /* =====================================================
       ENCABEZADO
       ===================================================== */

    .encabezado {
        width: 100% !important;
        max-width: 100%;

        display: flex !important;

        flex-direction: column !important;

        align-items: center;

        gap: 13px;

        text-align: center;

        padding:
            5px
            5px
            20px;
    }

    .logo-area {
        width: 100% !important;
        min-width: 0 !important;

        padding: 5px;
    }

    .logo-coomultrasap {
        width: 125px !important;
        max-width: 125px !important;

        max-height: 90px;
    }

    .datos-cooperativa {
        width: 100% !important;
        min-width: 0 !important;

        padding: 5px 0;
    }

    .nombre-cooperativa {
        width: 100% !important;

        font-size: 15px;

        line-height: 1.4;

        overflow-wrap: anywhere;
        word-break: normal;
    }

    .sigla {
        max-width: 100%;

        font-size: 12px;

        line-height: 1.35;

        white-space: normal;
    }

    .nit {
        font-size: 12px;
    }


    /* =====================================================
       TÍTULO
       ===================================================== */

    .titulo-documento {
        width: 100% !important;
        max-width: 100% !important;

        margin:
            22px
            0
            20px;

        padding:
            15px
            12px;

        font-size: 17px;

        line-height: 1.35;

        overflow-wrap: anywhere;
        word-break: normal;
    }


    /* =====================================================
       BLOQUES
       ===================================================== */

    .bloque {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        padding: 18px;

        margin-bottom: 18px;

        border-radius: 15px;

        overflow: hidden;
    }

    .bloque h2 {
        width: 100%;
        max-width: 100%;

        font-size: 13px;

        line-height: 1.4;

        overflow-wrap: anywhere;
    }


    /* =====================================================
       IDENTIFICACIÓN
       ===================================================== */

    .bloque-identificacion {
        display: grid !important;

        width: 100% !important;
        min-width: 0 !important;

        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 0 !important;
    }


    /* =====================================================
       GRIDS
       ===================================================== */

    .grid-1,
    .grid-2 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 0 !important;
    }


    /* =====================================================
       CAMPOS
       ===================================================== */

    .campo {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-bottom: 16px;
    }

    .campo label,
    .persona-firma > label {
        width: 100%;

        font-size: 11px;

        line-height: 1.4;

        overflow-wrap: anywhere;
    }

    .campo input,
    .campo input[type="text"],
    .campo input[type="tel"],
    .campo input[type="email"],
    .campo input[type="number"],
    .campo input[type="date"] {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: 43px;

        font-size: 16px !important;

        box-sizing: border-box !important;
    }


    /* =====================================================
       SELECT
       ===================================================== */

    .inline-select {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: 44px;

        margin-top: 7px;

        padding:
            7px
            38px
            7px
            12px;

        font-size: 16px !important;

        box-sizing: border-box !important;
    }


    /* =====================================================
       CAMPOS DINERO
       ===================================================== */

    .campo-peso {
        position: relative;

        display: flex;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .campo-peso input {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: 43px;

        font-size: 16px !important;

        padding-left:
            34px !important;
    }

    .campo-peso .simbolo-peso {
        left: 12px;

        font-size: 16px;
    }


    /* =====================================================
       AUTORIZACIÓN
       ===================================================== */

    .autorizacion {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .autorizacion p {
        width: 100% !important;
        max-width: 100% !important;

        margin-bottom: 15px;

        font-size: 13px;

        line-height: 1.7;

        text-align: left;

        overflow-wrap: anywhere;
        word-break: normal;
    }

    .inline-input {
        display: inline-block;

        width: 100% !important;
        max-width: 100% !important;

        margin-top: 3px;
    }


    /* =====================================================
       FIRMAS DIGITALES
       ===================================================== */

    .firmas-digitales {
        display: grid !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 20px;
    }

    .persona-firma {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        padding: 18px;

        overflow: hidden;
    }

    .persona-firma h2 {
        font-size: 13px;
    }


    /* =====================================================
       CANVAS
       ===================================================== */

    .canvas-firma {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        height: 145px;

        box-sizing: border-box !important;

        touch-action: none;
    }


    /* =====================================================
       LIMPIAR
       ===================================================== */

    .btn-limpiar {
        width: auto;
        max-width: 100%;

        margin:
            9px
            0
            20px;
    }


    /* =====================================================
       FIRMAS FÍSICAS
       ===================================================== */

    .firmas-fisicas {
        display: grid !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 25px;

        padding:
            20px
            18px
            30px;
    }

    .firma-fisica {
        width: 100% !important;
        max-width: 100%;

        min-width: 0;

        padding-top: 25px;
    }


    /* =====================================================
       DOCUMENTOS
       ===================================================== */

    .documentos-requeridos {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        padding: 18px !important;

        overflow: hidden !important;
    }

    .documentos-encabezado {
        width: 100% !important;
        max-width: 100%;

        min-width: 0;

        display: flex !important;

        align-items: flex-start;

        gap: 11px !important;
    }

    .documentos-encabezado > div:last-child {
        width: 100%;
        min-width: 0;

        flex: 1 1 auto;
    }

    .documentos-icono {
        width: 44px;
        height: 44px;

        min-width: 44px;

        font-size: 21px;
    }

    .documentos-titulo {
        max-width: 100%;

        font-size: 17px !important;

        line-height: 1.35;

        overflow-wrap: anywhere;
    }

    .documentos-descripcion,
    .documentos-aviso {
        width: 100%;
        max-width: 100%;

        overflow-wrap: anywhere;
    }

    .documentos-grid {
        display: grid !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 15px;
    }

    .documento-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        padding: 16px !important;

        overflow: hidden !important;
    }

    .documento-card label {
        max-width: 100%;

        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .documento-card input[type="file"] {
        display: block;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        font-size: 13px;
    }

    .documento-nombre {
        max-width: 100%;

        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .documentos-nota {
        width: 100% !important;
        max-width: 100%;

        overflow-wrap: anywhere;
    }


    /* =====================================================
       ACCIONES
       ===================================================== */

    .acciones {
        display: flex !important;

        flex-direction: column !important;

        align-items: stretch !important;

        width: 100% !important;
        max-width: 100% !important;

        gap: 10px;
    }

    .btn {
        display: block;

        width: 100% !important;
        max-width: 100% !important;

        min-height: 46px;

        padding:
            13px
            15px;

        font-size: 12px;
    }
}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 480px) {

    body {
        padding: 0 5px 5px !important;
    }

    body > .ct-barra { margin: 0 -5px 0 !important; }
    body > .ct-avance { margin: 0 -5px 10px !important; }

    .contenedor {
        width: 100% !important;
        max-width: 100% !important;

        padding:
            17px
            12px
            22px !important;

        border-radius: 15px;
    }

    .encabezado {
        padding:
            3px
            2px
            18px;
    }

    .logo-coomultrasap {
        width: 115px !important;
        max-width: 115px !important;
        max-height: 85px;
    }

    .nombre-cooperativa {
        font-size: 14px;
    }

    .sigla {
        font-size: 11px;

        padding:
            5px
            11px;
    }

    .nit {
        font-size: 11px;
    }

    .titulo-documento {
        font-size: 15px;

        line-height: 1.35;

        padding:
            14px
            10px;
    }

    .bloque {
        padding: 14px;

        border-radius: 13px;
    }

    .bloque h2 {
        font-size: 13px;

        line-height: 1.35;

        letter-spacing: .4px;
    }

    .campo input,
    .campo input[type="text"],
    .campo input[type="tel"],
    .campo input[type="email"],
    .campo input[type="number"],
    .campo input[type="date"],
    .inline-select {
        height: 42px;

        font-size: 16px !important;
    }

    .canvas-firma {
        width: 100% !important;
        max-width: 100% !important;

        height: 135px;
    }

    .autorizacion p {
        font-size: 12px;

        line-height: 1.65;
    }

    .documentos-requeridos {
        padding: 15px !important;
    }

    .documentos-encabezado {
        gap: 9px !important;
    }

    .documentos-icono {
        width: 40px;
        height: 40px;

        min-width: 40px;

        font-size: 19px;
    }

    .documentos-titulo {
        font-size: 16px !important;
    }

    .documentos-descripcion {
        font-size: 12px;

        line-height: 1.5;
    }

    .documentos-aviso {
        font-size: 12px;
    }

    .documento-card {
        padding: 14px !important;
    }

    .documento-card input[type="file"] {
        font-size: 12px;
    }

    .campo-peso input {
        height: 42px;

        font-size: 16px !important;
    }

    .campo-peso .simbolo-peso {
        left: 12px;

        font-size: 16px;
    }
}


/* =========================================================
   MÓVIL MUY PEQUEÑO
   ========================================================= */

@media (max-width: 360px) {

    body {
        padding: 3px !important;
    }

    .contenedor {
        padding:
            14px
            9px
            20px !important;

        border-radius: 13px;
    }

    .bloque {
        padding: 12px;

        border-radius: 12px;
    }

    .titulo-documento {
        font-size: 14px;

        padding:
            13px
            8px;
    }

    .nombre-cooperativa {
        font-size: 13px;
    }

    .logo-coomultrasap {
        width: 105px !important;
        max-width: 105px !important;
    }

    .persona-firma {
        padding: 14px;
    }

    .canvas-firma {
        height: 125px;
    }

    .documentos-requeridos {
        padding: 12px !important;
    }

    .documento-card {
        padding: 12px !important;
    }

    .documentos-titulo {
        font-size: 15px !important;
    }

    .documentos-icono {
        width: 38px;
        height: 38px;

        min-width: 38px;

        font-size: 18px;
    }
}


/* =========================================================
   SEGURIDAD EXTRA CONTRA DESBORDAMIENTO
   ========================================================= */

@media (max-width: 800px) {

    input,
    select,
    textarea,
    button,
    img,
    canvas {
        max-width: 100%;
    }

    table {
        max-width: 100%;
    }

    pre,
    code {
        max-width: 100%;

        overflow-x: auto;
    }

    .bloque,
    .campo,
    .grid-1,
    .grid-2,
    .firmas-digitales,
    .firmas-fisicas,
    .persona-firma,
    .documentos-requeridos,
    .documentos-grid,
    .documento-card {
        overflow-wrap: anywhere;
        word-wrap: break-word;
    }
}


/* =========================================================
   IMPRESIÓN
   ========================================================= */

@media print {

    @page {
        size:
            letter;

        margin:
            15mm;
    }

    html,
    body {
        width: 100%;
        max-width: none;

        background:
            #fff;

        padding:
            0;

        color:
            #000;

        overflow: visible;
    }

    .contenedor {
        max-width:
            none;

        width:
            100%;

        margin:
            0;

        padding:
            10px;

        box-shadow:
            none;

        border-radius:
            0;

        border:
            none;

        overflow: visible;
    }

    .contenedor::before {
        display:
            none;
    }

    .acciones,
    .btn-limpiar {
        display:
            none !important;
    }

    .bloque {
        box-shadow:
            none;

        break-inside:
            avoid;
    }

    .encabezado {
        break-inside:
            avoid;
    }

    .firmas-digitales,
    .firmas-fisicas {
        break-inside:
            avoid;
    }

    .persona-firma {
        box-shadow:
            none;
    }

    .campo input,
    .inline-select {
        color:
            #000;

        background:
            #fff;

        box-shadow:
            none;
    }

    .canvas-firma {
        border:
            1px solid #5F6A58;
    }

    .logo-coomultrasap {
        width:
            125px;

        max-width:
            125px;

        max-height:
            90px;

        filter:
            none;
    }

    .titulo-documento {
        box-shadow:
            none;

        background:
            #fff;

        border:
            1px solid #A9B2A2;
    }

    .campo-peso .simbolo-peso {
        color:
            #000;
    }

    .documento-card,
    .documentos-requeridos {
        box-shadow:
            none !important;
    }
}