
@charset "utf-8";
/* CSS Document */

/* =====================================================
   DRTC HUANCAVELICA
   SECCIÓN: ACCESO A LA INFORMACIÓN PÚBLICA
   ACTIWEB 2.0
   METODOLOGÍA BEM
===================================================== */


/* =====================================================
   01. CONTENEDOR PRINCIPAL
===================================================== */

.drtc-acceso {
    width: 100%;
    padding: 10px 0 35px;
    color: #173b65;
    font-family: inherit;
}


/* =====================================================
   02. INTRODUCCIÓN
===================================================== */

.drtc-acceso__introduccion {
    margin-bottom: 18px;
    padding: 12px 16px;
    background: linear-gradient(110deg, #e8f3fd, #f2f8fe);
    border-radius: 7px;
    border-left: 3px solid #0876cf;
}

.drtc-acceso__introduccion p {
    margin: 0;
    color: #294d75;
    font-size: 15px;
    line-height: 1.5;
}


/* =====================================================
   03. FORMULARIO
===================================================== */

.drtc-acceso__formulario {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}


/* =====================================================
   04. BLOQUES
===================================================== */

.drtc-acceso__bloque {
    min-width: 0;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #d7e6f8;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(22, 76, 130, .045);
    transition: border-color .25s ease,
                box-shadow .25s ease;
}

.drtc-acceso__bloque:hover {
    border-color: #c4dcf5;
    box-shadow: 0 4px 15px rgba(22, 76, 130, .07);
}


/* =====================================================
   05. TÍTULO DE LOS BLOQUES
===================================================== */

.drtc-acceso__bloque-titulo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 35px;
    margin-bottom: 10px;
    padding: 4px 7px;
    background: linear-gradient(100deg, #dceeff, #b9dcf8);
    border-radius: 6px;
}

.drtc-acceso__numero {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(145deg, #168ce5, #0861b5);
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0, 90, 170, .15);
}

.drtc-acceso__bloque-titulo h2 {
    margin: 0;
    color: #104781;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}


/* =====================================================
   06. CAMPOS DEL FORMULARIO
===================================================== */

.drtc-acceso__campo {
    min-width: 0;
    margin-bottom: 9px;
}

.drtc-acceso__campo:last-child {
    margin-bottom: 0;
}

.drtc-acceso__campo label {
    display: block;
    margin-bottom: 4px;
    color: #294563;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.drtc-acceso__obligatorio {
    color: #df3434;
    font-weight: 700;
}


/* =====================================================
   07. INPUTS Y TEXTAREAS
===================================================== */

.drtc-acceso .form-control {
    width: 100%;
    min-height: 36px;
    padding: 6px 10px;
    color: #294563;
    background-color: #ffffff;
    border: 1px solid #cbd8e7;
    border-radius: 5px;
    box-shadow: none;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color .2s ease,
                box-shadow .2s ease;
}

.drtc-acceso .form-control:focus {
    border-color: #2387d6;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(22, 126, 210, .11);
}

.drtc-acceso textarea.form-control {
    min-height: 85px;
    resize: vertical;
}

.drtc-acceso input::placeholder,
.drtc-acceso textarea::placeholder {
    color: #9baec1;
}


/* =====================================================
   08. DISTRIBUCIÓN CORREO Y TELÉFONO
===================================================== */

.drtc-acceso__contacto {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 12px;
    align-items: start;
}

.drtc-acceso__contacto .drtc-acceso__campo {
    margin-bottom: 0;
}


/* =====================================================
   09. DISTRIBUCIÓN DISTRITO / PROVINCIA / DEPARTAMENTO
===================================================== */

.drtc-acceso__ubicacion {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 9px;
}

.drtc-acceso__ubicacion .drtc-acceso__campo {
    margin-bottom: 0;
}


/* =====================================================
   10. DISTRIBUCIÓN DE LAS COLUMNAS CENTRALES
===================================================== */

.drtc-acceso__columnas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

.drtc-acceso__columnas > .drtc-acceso__bloque {
    min-width: 0;
}


/* =====================================================
   11. CONTENIDO INTERIOR
===================================================== */

.drtc-acceso__contenido {
    padding: 0 4px;
}


/* =====================================================
   12. OPCIONES RADIO Y CHECKBOX
===================================================== */

.drtc-acceso__opciones {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.drtc-acceso__opciones legend {
    float: none;
    width: 100%;
    margin: 0 0 7px;
    color: #294563;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.drtc-acceso__opciones-lista {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
}

.drtc-acceso__opciones-lista--vertical {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.drtc-acceso__opcion {
    display: inline-flex;
    align-items: flex-start;
    gap: 7px;
    margin: 0;
    color: #354d68;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    cursor: pointer;
}

.drtc-acceso__opcion input {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin: 2px 0 0;
    accent-color: #0875ce;
    cursor: pointer;
}

.drtc-acceso__opcion span {
    min-width: 0;
}


/* =====================================================
   13. DATOS DE PERSONA AUTORIZADA
===================================================== */

.drtc-acceso__autorizado {
    margin-top: 10px;
    padding: 9px;
    background: #edf6ff;
    border: 1px solid #c7e1f9;
    border-radius: 7px;
}

.drtc-acceso__autorizado-titulo {
    margin: -9px -9px 9px;
    padding: 7px 10px;
    color: #104781;
    background: linear-gradient(100deg, #dceeff, #b9dcf8);
    border-radius: 6px 6px 0 0;
    font-size: 13px;
    font-weight: 700;
}


/* =====================================================
   14. DECLARACIÓN
===================================================== */

.drtc-acceso__bloque--declaracion {
    padding: 12px;
}

.drtc-acceso__bloque--declaracion .drtc-acceso__contenido {
    padding: 0 7px;
}

.drtc-acceso__bloque--declaracion textarea.form-control {
    min-height: 75px;
}


/* =====================================================
   15. BOTÓN DE ENVÍO
===================================================== */

.drtc-acceso__acciones {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #dce7f3;
}

.drtc-acceso__boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 160px;
    min-height: 40px;
    padding: 9px 22px;
    color: #ffffff;
    background: linear-gradient(135deg, #168de6, #075bb4);
    border: 0;
    border-radius: 6px;
    box-shadow: 0 3px 9px rgba(0, 91, 180, .2);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease,
                box-shadow .2s ease,
                background .2s ease;
}

.drtc-acceso__boton:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #0877cf, #064b9b);
    box-shadow: 0 5px 13px rgba(0, 91, 180, .28);
    transform: translateY(-2px);
}

.drtc-acceso__boton:focus-visible {
    outline: 3px solid rgba(22, 126, 210, .3);
    outline-offset: 3px;
}

.drtc-acceso__boton i {
    font-size: 15px;
}


/* =====================================================
   16. TABLETS
   Hasta 991.98px
===================================================== */

@media (max-width: 991.98px) {

    .drtc-acceso__columnas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .drtc-acceso__bloque-titulo h2 {
        font-size: 15px;
    }

}


/* =====================================================
   17. MÓVILES
   Hasta 767.98px
===================================================== */

@media (max-width: 767.98px) {

    .drtc-acceso {
        padding: 5px 0 25px;
    }

    .drtc-acceso__columnas {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .drtc-acceso__ubicacion {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .drtc-acceso__bloque {
        padding: 10px;
    }

    .drtc-acceso__bloque-titulo h2 {
        font-size: 15px;
    }

}


/* =====================================================
   18. MÓVILES PEQUEÑOS
   Hasta 480px
===================================================== */

@media (max-width: 480px) {

    .drtc-acceso__introduccion {
        padding: 10px 12px;
    }

    .drtc-acceso__introduccion p {
        font-size: 13px;
    }

    .drtc-acceso__ubicacion {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .drtc-acceso__contacto {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .drtc-acceso__bloque-titulo {
        gap: 8px;
        padding: 4px 5px;
    }

    .drtc-acceso__numero {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
        font-size: 16px;
    }

    .drtc-acceso__bloque-titulo h2 {
        font-size: 14px;
    }

    .drtc-acceso__campo label,
    .drtc-acceso__opciones legend {
        font-size: 13px;
    }

    .drtc-acceso .form-control {
        font-size: 14px;
    }

    .drtc-acceso__boton {
        width: 100%;
        max-width: 260px;
    }

}


/* =====================================================
   19. ACCESIBILIDAD
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .drtc-acceso *,
    .drtc-acceso *::before,
    .drtc-acceso *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }

}
