/* ===== ESTILOS COMPLETOS PARA DIVRI - VERSIÓN ESTABLE ===== */

/* ===== VARIABLES DE COLOR ===== */
:root {
    --aym_tone_1: #1F4081; /* DIVRI Blue */
    --aym_tone_2: #FFA900;
    --aym_tone_3: #41015B;
    --aym_tone_4: #DB3535;
    --aym_tone_5: #2F60C5;
    --aym_tone_6: #F6B939;
    --aym_tone_7: #9D85A7;
    --aym_tone_8: #ffa200;
    --aym_tone_9: #919191;
    --aym_tone_10: #3366CC;
    --aym_tone_11: #1A4F99;
    --aym_tone_12: #3063CA;
    --aym_tone_13: #414141;
    --aym_tone_14: #2C60CD; /* Menu background */
    --aym_tone_15: #214389;
    --aym_tone_16: #113A68;
    --aym_letter: #6A6A6A;
    --aym_gray: #E1E1E1;
    --aym_black: #000000;
    --aym_white: #FFFFFF;
    --aym_ui_1: #e7effe;
    --aym_ui_2: #3366cc; /* Footer Gov.co background */
    --aym_ui_3: #bababa;
    --aym_ui_4: #4B4B4B;
    --aym_ui_5: #004884;
    --aym_ui_6: #FBBC08;
}

/* ===== RESET BÁSICO ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--aym_letter);
    overflow-x: hidden;
}

/* ===== HEADER GOV.CO (PRIMERA FILA) ===== */
.header-govco {
    background: var(--aym_ui_2) !important; /* AZUL COMPLETO DE LADO A LADO */
    border-bottom: 1px solid #E9ECEF;
    padding: 5px 0;
    width: 100%;
}

.container-divri {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-govco .logo {
    background: var(--aym_ui_2);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 3px;
}

.header-govco .logo figure {
    margin: 0;
}

.header-govco .logo img {
    height: 30px;
    width: auto;
}

/* ===== HEADER PRINCIPAL (SEGUNDA FILA) ===== */
#aym_wrap_header {
    background: var(--aym_white) !important; /* FONDO BLANCO */
    padding: 15px 0;
}

#aym_wrap_header article {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column; /* LOGOS ARRIBA, MENU ABAJO */
    align-items: stretch; /* MENU TOMA TODO EL ANCHO */
    gap: 15px;
}

.aym_wrap_logo {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* LOGOS A LA IZQUIERDA */
}

.aym_wrap_logo img {
    max-height: 60px;
    width: auto;
}

/* ===== MENÚ PRINCIPAL ===== */
#aym_wrap_menu {
    width: 100vw; /* ANCHO COMPLETO DE LA PANTALLA */
    margin-left: calc(-50vw + 50%); /* CENTRAR Y EXTENDER */
    background: var(--aym_tone_14);
    border-radius: 5px 5px 0 0;
    position: relative;
    z-index: 100;
}

#aym_wrap_menu::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #73b9af; /* LÍNEA CELESTE */
}

/* ===== NAVEGACIÓN - ESTILOS ORIGINALES ===== */
.nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-items: center;
    justify-content: center;
    border-bottom-width: 3px;
    border-color: #73b9af !important;
    border-bottom-style: inset;
}

.nav > li {
    position: relative;
    margin-right: 2rem;
}

.nav > li > a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    display: block;
    transition: background-color 0.3s;
}

.nav > li > a:hover {
    color: white !important;
    background-color: rgb(60 135 180 / 1) !important;
    height: 100%;
}

/* ===== SUBMENÚS - ESTILOS ORIGINALES ===== */
.submenu {
    display: none;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: 300;
    padding-top: .25rem;
    padding-right: .25rem;
    padding-bottom: .25rem;
    position: absolute;
    z-index: 1;
    background-color: rgb(246 248 249 / 1) !important;
    width: 18rem;
    border-color: #73b9af;
    border-bottom-right-radius: .375rem;
    border-bottom-left-radius: .375rem;
    border-bottom-width: 3px;
    border-color: rgb(71 85 105 / 1);
}

.submenu li {
    width: 100%;
}

.submenu li a {
    color: rgb(51 65 85 / 1) !important;
    padding: 0.5rem;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s;
}

.submenu li a:hover {
    background-color: rgb(60 135 180 / 1) !important;
    color: #003366 !important;
}

.nav > li:hover .submenu {
    display: block;
}

/* ===== TOGGLE MENÚ MÓVIL ===== */
.aym_toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: var(--aym_tone_1);
    border-radius: 4px;
    position: absolute;
    top: 15px;
    right: 20px;
}

.aym_toggle span {
    width: 25px;
    height: 3px;
    background: var(--aym_white);
    margin: 3px 0;
    transition: 0.3s;
    position: relative;
}

.aym_toggle span::before,
.aym_toggle span::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--aym_white);
    transition: 0.3s;
}

.aym_toggle span::before {
    top: -8px;
}

.aym_toggle span::after {
    top: 8px;
}

/* ===== CONTENIDO PRINCIPAL ===== */
#aym_wrap_group_divri {
    min-height: 400px;
    padding: 40px 0;
}

.container-sm {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== FOOTER - ESTILOS ORIGINALES DE DIVRI.CSS ===== */
#aym_wrap_footer {
    background-color: rgb(60, 135, 180) !important;
    margin: 150px 0 0 !important;
}

#aym_wrap_footer .aym_content_footer {
    margin: auto !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    background: rgb(60, 135, 180) !important;
}

#aym_wrap_footer .aym_content_footer .aym_wrap_info {
    width: 80% !important;
    max-width: 1280px !important;
    padding: 60px !important;
    margin: -100px 0 50px !important;
    background: var(--aym_white) !important;
    display: flex !important;
    flex-flow: wrap !important;
    justify-content: space-between !important;
    box-shadow: 0px 0px 11px #0000002B !important;
    border-radius: .5rem !important;
}

#aym_wrap_footer .aym_content_footer .aym_wrap_info figure {
    width: 25% !important;
    height: fit-content !important;
    text-align: right !important;
    padding: .5rem !important;
}

#aym_wrap_footer .aym_content_footer .aym_wrap_info figure a {
    width: 80% !important;
    margin-bottom: 20px !important;
    text-align: left !important;
}

#aym_wrap_footer .aym_content_footer .aym_wrap_info figure a img {
    width: auto !important;
    margin: auto !important;
    height: 48px !important;
}

#aym_wrap_footer .aym_content_footer .aym_wrap_info .aym_info {
    width: 50% !important;
}

#aym_wrap_footer .aym_content_footer .aym_wrap_info .aym_info h3 {
    color: rgb(0 72 132 / 1) !important;
    font-family: Work Sans,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji" !important;
    font-size: 1.5em !important;
    margin-bottom: 20px !important;
    font-weight: 600 !important;
    line-height: 2rem !important;
}

#aym_wrap_footer .aym_content_footer .aym_wrap_info .aym_info div {
    margin-bottom: 10px !important;
}

#aym_wrap_footer .aym_content_footer .aym_wrap_info .aym_info a {
    text-decoration-line: underline !important;
    color: rgb(0 72 132 / 1) !important;
}

#aym_wrap_footer .aym_content_footer .aym_wrap_info .aym_info strong {
    font-family: Work Sans,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji" !important;
    color: rgb(0 72 132 / 1) !important;
    margin-bottom: 5px !important;
    letter-spacing: 0 !important;
    font-size: 1em !important;
    display: flex !important;
}

#aym_wrap_footer .aym_content_footer .aym_wrap_info .aym_info p {
    color: #373737 !important;
    font-family: Work Sans,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji" !important;
    font-size: 1em !important;
    margin-bottom: 10px !important;
    letter-spacing: 0 !important;
}

#aym_wrap_footer .aym_content_footer .aym_wrap_info .aym_social_media_footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 2rem !important;
    padding: .5rem !important;
    width: 100% !important;
}

#aym_wrap_footer .aym_content_footer .aym_wrap_info .aym_social_media_footer .aym_wrap_social_links {
    display: flex !important;
    align-items: center !important;
    margin-right: auto !important;
}

#aym_wrap_footer .aym_content_footer .aym_wrap_info .aym_social_media_footer .aym_wrap_social_links a {
    flex-direction: row !important;
    font-size: 1em !important;
    font-family: Work Sans, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
    color: rgb(0 72 132 / 1) !important;
    display: flex !important;
    align-items: center !important;
    margin-right: 1rem !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

#aym_wrap_footer .aym_content_footer .aym_wrap_info .aym_social_media_footer .aym_link_legal {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    padding-left: 25% !important;
}

#aym_wrap_footer .aym_content_footer .aym_wrap_info .aym_social_media_footer .aym_link_legal a {
    text-decoration: underline !important;
    color: rgb(0 72 132 / 1) !important;
    font-family: Work Sans,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji" !important;
    margin-right: 10px !important;
    white-space: nowrap !important;
}

/* ===== SECCIÓN GOV.CO INFERIOR ===== */
.aym_footer_gov {
    display: flex !important;
    align-items: center !important;
    background: var(--aym_ui_2) !important;
    padding: 10px 10% !important;
}

.aym_footer_gov .aym_co {
    padding-right: 10px !important;
    border-right: 1px solid white !important;
    margin-right: 10px !important;
}

.aym_footer_gov .aym_co img {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover !important;
}

.aym_footer_gov .aym_gov,
.aym_footer_gov .aym_gov a {
    display: flex !important;
}

.aym_footer_gov .aym_gov img {
    height: 30px !important;
    width: auto !important;
}

/* ===== RESPONSIVIDAD ===== */
@media screen and (max-width: 768px) {
    /* ===== TOGGLE MENÚ MÓVIL ===== */
    .aym_toggle {
        display: flex;
        position: absolute;
        top: 15px;
        right: 20px;
    }

    /* ===== HEADER MÓVIL ===== */
    #aym_wrap_header article {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    .aym_wrap_logo {
        margin-bottom: 15px;
    }

    #aym_wrap_menu {
        margin-left: 0;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 999;
        background: var(--aym_tone_1); /* FONDO AZUL OSCURO EN MÓVIL */
    }

    #aym_wrap_menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav {
        flex-direction: column;
        width: 100%;
    }

    .nav > li {
        width: 100%;
        display: block;
    }

    .nav > li > a {
        width: 100%;
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .submenu {
        position: static;
        width: 100%;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.1);
        border-left: none;
        border-radius: 0;
    }

    .submenu li a {
        padding: 10px 30px;
        color: var(--aym_white);
    }

    .submenu li a:hover {
        background: rgba(255,255,255,0.1);
        color: var(--aym_white);
    }

    /* ===== FOOTER MÓVIL ===== */
    .aym_wrap_info {
        flex-direction: column;
        gap: 20px;
    }

    .aym_footer_gov {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .container-divri,
    .container-sm {
        padding: 0 15px;
    }

    /* ===== TOGGLE MÓVIL PEQUEÑO ===== */
    .aym_toggle {
        padding: 8px;
    }

    .aym_toggle span,
    .aym_toggle span::before,
    .aym_toggle span::after {
        width: 20px;
    }

    .nav > li > a {
        font-size: 13px;
        padding: 12px 15px;
    }

    .submenu li a {
        font-size: 12px;
        padding: 8px 25px;
    }
} 


.custom-button-answer-rs::before {
    font-family: 'FabricMDL2Icons'; /* Fuente de iconos de Fluent UI */
    color: #0078d4; /* Color del icono (RGB 0,120,212) */
    background: none; /* Elimina cualquier imagen de fondo */
    line-height: inherit;
    vertical-align: initial;
    content: '\e7f4'; /* CÃ³digo del icono */
    font-size: 70px;
    height: 16px;
    display: contents !important
}
.custom-button-verify-document::before  {
    font-family: 'FabricMDL2Icons'; /* Fuente de iconos de Fluent UI */
    color: #0078d4; /* Color del icono (RGB 0,120,212) */
    background: none; /* Elimina cualquier imagen de fondo */
    line-height: inherit;
    vertical-align: initial;
    content: '\F28B'; /* CÃ³digo del icono */
    font-size: 70px;
    height: 16px;
    display: contents !important
}
.custom-button-request-check::before  {
    font-family: 'FabricMDL2Icons'; /* Fuente de iconos de Fluent UI */
    color: #0078d4; /* Color del icono (RGB 0,120,212) */
    background: none; /* Elimina cualquier imagen de fondo */
    line-height: inherit;
    vertical-align: initial;
    content: '\EF6C'; /* CÃ³digo del icono */
    font-size: 70px;
    height: 16px;
    display: contents !important
}
.custom-button-anonymous-request-check::before  {
    font-family: 'FabricMDL2Icons'; /* Fuente de iconos de Fluent UI */
    color: #0078d4; /* Color del icono (RGB 0,120,212) */
    background: none; /* Elimina cualquier imagen de fondo */
    line-height: inherit;
    vertical-align: initial;
    content: '\F09A'; /* CÃ³digo del icono */
    font-size: 70px;
    height: 16px;
    display: contents !important
}
