#div_popup.popup-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 35px 15px;
    box-sizing: border-box;
}

/* Fondo claro difuminado */
.popup-fondo {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 13, 33, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Posición del contenido */
#div_popup > center {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    margin: 35px auto;
}

#div_popup .popup-columna {
    position: relative;
    z-index: 1;
    float: none;
    width: 100%;
    max-width: 850px;
    margin-right: auto;
    margin-left: auto;
}

/* Ventanas premium: estilos compartidos */
.popup-ventana,
.ventana_premium {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 25px 25px 30px;
    border: 1px solid rgba(6, 201, 185, 0.25);
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(8, 127, 224, 0.12),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #111D35 0%,
            #0B1429 50%,
            #060D21 100%
        );

    color: #FFFFFF;

    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.015),
        0 20px 70px rgba(0, 0, 0, 0.18),
        0 0 35px rgba(6, 201, 185, 0.08);

    animation: popupPremiumEntrada 0.35s ease;
}

/* Línea superior gris */
.popup-ventana::before,
.ventana_premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    width: 76%;
    height: 2px;
    border-radius: 50%;

    background: linear-gradient(
        90deg,
        transparent,
        #06C9B9,
        #087FE0,
        #06C9B9,
        transparent
    );
}

/* Botón cerrar */
#btn_cerrar_pop_UP {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    z-index: 5 !important;

    display: flex !important;
    width: 38px !important;
    height: 38px !important;

    align-items: center;
    justify-content: center;

    padding: 0 !important;

    border: 1px solid rgba(6, 201, 185, 0.28) !important;
    border-radius: 10px !important;

    background: rgba(6, 201, 185, 0.08) !important;
    color: #DCE4F0 !important;

    box-shadow: none !important;

    font-size: 21px !important;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

#btn_cerrar_pop_UP:hover {
    transform: rotate(90deg);
    border-color: #087FE0 !important;
    background: linear-gradient(
        135deg,
        #06C9B9,
        #087FE0
    ) !important;
    color: #111D35 !important;
}

/* Contenido del popup */
#div_content_popup {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 5px 10px 15px;
    box-sizing: border-box;
    color: #DCE4F0;

    scrollbar-width: thin;
    scrollbar-color: #7F8DA5 #192943;
}


/* =====================================================
   POPUP INFORMACION - CLARO
===================================================== */

#div_win_informacion.popup-info-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 35px 15px;
    color: #FFFFFF;
    box-sizing: border-box;
}

/* Centro compartido por ventanas de información */
#div_win_informacion .popup-info-centro {
    position: relative;
    z-index: 1;
    margin: 35px auto;
}

/* Marco gris */
#div_win_informacion .popup-info-panel {
    position: relative;
    z-index: 1;
    float: none;
    margin-right: auto;
    margin-left: auto;
    padding: 3px;

    border: 1px solid rgba(6, 201, 185, 0.28);
    border-radius: 18px;

    background: linear-gradient(
        135deg,
        #087FE0 0%,
        #087FE0 25%,
        #06C9B9 55%,
        #192943 85%,
        #087FE0 100%
    );

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.18),
        0 0 35px rgba(8, 127, 224, 0.08);

    animation: popupPremiumEntrada 0.35s ease;
}

/* Interior claro */
#div_win_informacion .popup-info-interior {
    position: relative;
    width: 100%;
    padding: 25px 25px 20px;

    border: 1px solid rgba(6, 201, 185, 0.04);
    border-radius: 15px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(8, 127, 224, 0.10),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #111D35,
            #0B1429
        );

    color: #FFFFFF;
    box-sizing: border-box;
}

/* Botón cerrar información */
#cerrar_div_content_inf.popup-info-cerrar {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;

    display: flex;
    width: 38px;
    height: 38px;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(6, 201, 185, 0.28);
    border-radius: 10px;

    background: rgba(6, 201, 185, 0.08);
    color: #DCE4F0;

    font-size: 25px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

#cerrar_div_content_inf.popup-info-cerrar:hover {
    transform: rotate(90deg);
    border-color: #087FE0;
    background: linear-gradient(
        135deg,
        #06C9B9,
        #087FE0
    );
    color: #111D35;
}

/* Contenido claro */
#div_content_informacion.popup-info-contenido {
    position: relative;
    width: 100%;
    color: #DCE4F0;
    box-sizing: border-box;

    scrollbar-width: thin;
    scrollbar-color: #7F8DA5 #192943;
}


/* =====================================================
   FORMULARIO PREMIUM CLARO
===================================================== */

#div_content_informacion .formulario-premium {
    padding: 20px;

    border: 1px solid rgba(6, 201, 185, 0.25);
    border-radius: 12px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(8, 127, 224, 0.08),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #111D35,
            #0B1429
        );

    color: #DCE4F0;

    box-shadow:
        inset 0 1px 0 rgba(0, 0, 0, 0.025);
}

/* Títulos y etiquetas */
#div_content_informacion .formulario-premium h1,
#div_content_informacion .formulario-premium h2,
#div_content_informacion .formulario-premium h3,
#div_content_informacion .formulario-premium label {
    color: #06C9B9;
}

#div_content_informacion .formulario-premium h1,
#div_content_informacion .formulario-premium h2,
#div_content_informacion .formulario-premium h3 {
    margin-bottom: 14px;
}

/* Campos */
#div_content_informacion .formulario-premium input,
#div_content_informacion .formulario-premium select,
#div_content_informacion .formulario-premium textarea {
    border: 1px solid rgba(6, 201, 185, 0.30);
    border-radius: 8px;
    background: #111D35;
    color: #FFFFFF;
}

#div_content_informacion .formulario-premium input:focus,
#div_content_informacion .formulario-premium select:focus,
#div_content_informacion .formulario-premium textarea:focus {
    border-color: #087FE0;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(6, 201, 185, 0.13);
}

#div_content_informacion .formulario-premium input::placeholder,
#div_content_informacion .formulario-premium textarea::placeholder {
    color: #7F8DA5;
}

/* Botones */
#div_content_informacion .formulario-premium button,
#div_content_informacion .formulario-premium input[type="submit"] {
    border: 1px solid #087FE0;
    border-radius: 8px;
    background: linear-gradient(
        110deg,
        #087FE0,
        #D5AD55,
        #087FE0
    );
    color: #111D35;
    font-weight: 700;
}


/* =====================================================
   INPUT PREMIUM
===================================================== */

.content_input_premium {
    display: flex;
    width: 100%;
    min-height: 50px;

    align-items: center;
    gap: 12px;

    padding: 6px 14px;

    border: 1px solid rgba(6, 201, 185, 0.30);
    border-radius: 9px;

    background: linear-gradient(
        145deg,
        #111D35,
        #0B1429
    );

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.content_input_premium:focus-within {
    border-color: #087FE0;
    box-shadow: 0 0 0 3px rgba(6, 201, 185, 0.12);
}

.content_input_premium .ico_form {
    position: static !important;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    object-fit: contain;
    opacity: 0.9;
}

.content_input_premium input.form-control_login {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 36px;

    margin: 0;
    padding: 0;

    border: 0 !important;
    outline: 0;

    background: transparent !important;
    color: #FFFFFF !important;

    box-shadow: none !important;
    font-size: 15px;
}

.content_input_premium input.form-control_login::placeholder {
    color: #7F8DA5;
    opacity: 1;
}

.content_input_premium input.form-control_login:focus {
    border: 0 !important;
    outline: 0;
    background: transparent !important;
    box-shadow: none !important;
}


/* =====================================================
   BOTONES CON RESPLANDOR
===================================================== */
/* Propiedades compartidas */
.boton_sitio_guardar,
.boton_sitio_advertencia,
.boton_sitio_info {
    position: relative;
    z-index: 1;

    min-width: 170px !important;
    min-height: 54px !important;
    padding: 0 28px !important;

    border-radius: 3px !important;
    font-size: 15px !important;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        filter 0.22s ease;
}

/* Guardar - Verde Bootstrap suave */
.boton_sitio_guardar {
    background: #06C9B9 !important;
    background-image: none !important;
    border: 1px solid #06C9B9 !important;
    color: #111D35 !important;

    box-shadow:
        0 0 0 1px rgba(6, 201, 185, 0.20),
        0 0 14px rgba(6, 201, 185, 0.16),
        0 5px 14px rgba(0, 0, 0, 0.10) !important;
}

/* Advertencia - Naranja rojizo suave */
.boton_sitio_advertencia {
    background: #D5AD55 !important;
    background-image: none !important;
    border: 1px solid #D5AD55 !important;
    color: #111D35 !important;

    box-shadow:
        0 0 0 1px rgba(213, 173, 85, 0.22),
        0 0 16px rgba(213, 173, 85, 0.17),
        0 5px 14px rgba(0, 0, 0, 0.10) !important;
}

/* Información - Azul marino celeste */
.boton_sitio_info {
    background: #087FE0 !important;
    background-image: none !important;
    border: 1px solid #087FE0 !important;
    color: #111D35 !important;

    box-shadow:
        0 0 0 1px rgba(8, 127, 224, 0.22),
        0 0 16px rgba(8, 127, 224, 0.17),
        0 5px 14px rgba(0, 0, 0, 0.10) !important;
}

/* Hover guardar */
.boton_sitio_guardar:hover {
    transform: translateY(-2px) scale(1.06);
    filter: brightness(1.08);

    box-shadow:
        0 0 0 1px rgba(6, 201, 185, 0.35),
        0 0 25px rgba(6, 201, 185, 0.30),
        0 8px 18px rgba(0, 0, 0, 0.13) !important;
}

/* Hover advertencia */
.boton_sitio_advertencia:hover {
    transform: translateY(-2px) scale(1.06);
    filter: brightness(1.08);

    box-shadow:
        0 0 0 1px rgba(213, 173, 85, 0.38),
        0 0 28px rgba(213, 173, 85, 0.30),
        0 8px 18px rgba(0, 0, 0, 0.13) !important;
}

/* Hover información */
.boton_sitio_info:hover {
    transform: translateY(-2px) scale(1.06);
    filter: brightness(1.08);

    box-shadow:
        0 0 0 1px rgba(8, 127, 224, 0.38),
        0 0 26px rgba(8, 127, 224, 0.30),
        0 8px 18px rgba(0, 0, 0, 0.13) !important;
}
/* =====================================================
   POPUP INFORMACION - FONDO BLANCO
===================================================== */

#div_win_informacion.popup-info-blanco-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 35px 15px;
    box-sizing: border-box;
}

/* Marco gris */
#div_win_informacion .popup-info-blanco-panel {
    position: relative;
    z-index: 1;
    float: none;
    margin-right: auto;
    margin-left: auto;
    padding: 3px;

    border: 1px solid rgba(6, 201, 185, 0.35);
    border-radius: 18px;

    background: linear-gradient(
        135deg,
        #087FE0 0%,
        #087FE0 25%,
        #06C9B9 55%,
        #192943 85%,
        #087FE0 100%
    );

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.16),
        0 0 28px rgba(8, 127, 224, 0.10);

    animation: popupPremiumEntrada 0.35s ease;
}

/* Interior blanco */
#div_win_informacion .popup-info-interior-fondo-blanco {
    position: relative;
    width: 100%;
    padding: 25px 25px 20px;

    border: 1px solid #24334C;
    border-radius: 15px;

    background: linear-gradient(
        145deg,
        #111D35,
        #0B1429
    );

    color: #FFFFFF;
    box-sizing: border-box;
}

/* Contenido blanco */
#div_win_informacion .popup-info-blanco-contenido {
    position: relative;
    width: 100%;
    color: #FFFFFF;
    box-sizing: border-box;
}

#div_win_informacion .popup-info-blanco-contenido h1,
#div_win_informacion .popup-info-blanco-contenido h2,
#div_win_informacion .popup-info-blanco-contenido h3,
#div_win_informacion .popup-info-blanco-contenido label {
    color: #06C9B9;
}


/* =====================================================
   SCROLLBARS COMPARTIDOS
===================================================== */

#div_content_popup::-webkit-scrollbar,
.popup-ventana::-webkit-scrollbar,
.ventana_premium::-webkit-scrollbar,
#div_content_informacion.popup-info-contenido::-webkit-scrollbar {
    width: 6px;
}

#div_content_popup::-webkit-scrollbar-track,
.popup-ventana::-webkit-scrollbar-track,
.ventana_premium::-webkit-scrollbar-track,
#div_content_informacion.popup-info-contenido::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #192943;
}

#div_content_popup::-webkit-scrollbar-thumb,
.popup-ventana::-webkit-scrollbar-thumb,
.ventana_premium::-webkit-scrollbar-thumb,
#div_content_informacion.popup-info-contenido::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: linear-gradient(#087FE0, #06C9B9);
}

/* Scrollbar contenido información */
#div_content_informacion.popup-info-contenido::-webkit-scrollbar {
    width: 6px;
}


/* =====================================================
   ANIMACION COMPARTIDA
===================================================== */

@keyframes popupPremiumEntrada {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =====================================================
   RESPONSIVE - MOVILES
===================================================== */

@media (max-width: 600px) {

    /* Popup principal */
    #div_popup.popup-overlay {
        padding: 15px 10px;
    }

    #div_popup > center {
        margin: 20px auto;
    }

    .popup-ventana,
    .ventana_premium {
        max-height: calc(100vh - 40px);
        padding: 22px 15px 25px;
        border-radius: 14px;
    }

    #btn_cerrar_pop_UP {
        top: 10px !important;
        right: 10px !important;
    }

    #div_content_popup {
        padding: 5px 5px 15px;
    }

    /* Popup información */
    #div_win_informacion.popup-info-overlay,
    #div_win_informacion.popup-info-blanco-overlay {
        padding: 15px 10px;
    }

    #div_win_informacion .popup-info-centro {
        margin: 20px auto;
    }

    #div_win_informacion .popup-info-interior,
    #div_win_informacion .popup-info-interior-fondo-blanco {
        padding: 22px 15px 18px;
    }

    #cerrar_div_content_inf.popup-info-cerrar {
        top: 10px;
        right: 10px;
    }
}



/* ======================================
   OCTAGAIN - MENU PREMIUM DARK
====================================== */

.menu-item-premium {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 9px 12px;

    font-size: 14px;
    font-weight: 500;

    color: #DCE4F0;

    text-decoration: none;
    white-space: nowrap;

    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;

    cursor: pointer;

    transition: all .25s ease;

    position: relative;
}

/* ICONOS */

.menu-item-premium img {

    width: 19px;
    height: 19px;

    object-fit: contain;

    filter:
        brightness(0)
        saturate(100%)
        invert(88%);

    transition: all .25s ease;
}

/* LINEA INFERIOR */

.menu-item-premium::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 2px;

    background: linear-gradient(
        90deg,
        #087FE0,
        #06C9B9,
        #D5AD55
    );

    transform: translateX(-50%);

    transition: width .25s ease;
}

/* HOVER */

.menu-item-premium:hover {

    color: #06C9B9;

    background: rgba(6, 201, 185, 0.10);

    border-color: rgba(6, 201, 185, 0.30);

    text-shadow:
        0 0 8px rgba(6, 201, 185, 0.30),
        0 0 16px rgba(6, 201, 185, 0.12);
}

.menu-item-premium:hover img {

    filter:
        brightness(0)
        saturate(100%)
        invert(68%)
        sepia(65%)
        saturate(650%)
        hue-rotate(125deg);
}

.menu-item-premium:hover::after {
    width: 75%;
}

/* ======================================
   ELEMENTO SELECCIONADO
====================================== */

.menu-item-premium.active {

    color: #FFFFFF;

    background: linear-gradient(
        135deg,
        rgba(6, 201, 185, 0.15),
        rgba(8, 127, 224, 0.10)
    );

    border-color: rgba(213, 173, 85, 0.42);

    text-shadow:
        0 0 8px rgba(6, 201, 185, 0.28),
        0 0 16px rgba(213, 173, 85, 0.12);

    box-shadow:
        0 0 8px rgba(6, 201, 185, 0.10),
        0 0 16px rgba(213, 173, 85, 0.08),
        inset 0 0 12px rgba(6, 201, 185, 0.07);
}

/* LINEA DEL SELECCIONADO */

.menu-item-premium.active::after {

    width: 75%;

    box-shadow:
        0 0 6px rgba(6, 201, 185, 0.55),
        0 0 14px rgba(213, 173, 85, 0.35);
}

/* ICONO SELECCIONADO */

.menu-item-premium.active img {

    filter:
        brightness(0)
        saturate(100%)
        invert(83%)
        sepia(45%)
        saturate(650%)
        hue-rotate(115deg)
        drop-shadow(0 0 5px rgba(6, 201, 185, .40));
}


/* ======================================
   OCTAGAIN - MENU PREMIUM LIGHT
====================================== */

.menu-item-premium-claro {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 9px 12px;

    font-size: 14px;
    font-weight: 600;

    color: #192943;

    text-decoration: none;
    white-space: nowrap;

    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;

    cursor: pointer;

    transition: all .25s ease;

    position: relative;
}

/* ICONOS */

.menu-item-premium-claro img {

    width: 19px;
    height: 19px;

    object-fit: contain;

    filter:
        brightness(0)
        saturate(100%)
        invert(16%)
        sepia(18%)
        saturate(1200%)
        hue-rotate(180deg);

    transition: all .25s ease;
}

/* LINEA INFERIOR */

.menu-item-premium-claro::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 2px;

    background: linear-gradient(
        90deg,
        #087FE0,
        #06A99E,
        #D5AD55
    );

    transform: translateX(-50%);

    transition: width .25s ease;
}

/* HOVER */

.menu-item-premium-claro:hover {

    color: #087F80;

    background: rgba(6, 169, 158, 0.07);

    border-color: rgba(6, 169, 158, 0.25);

    text-shadow:
        0 0 5px rgba(6, 169, 158, 0.12);
}

.menu-item-premium-claro:hover img {

    filter:
        brightness(0)
        saturate(100%)
        invert(37%)
        sepia(65%)
        saturate(850%)
        hue-rotate(125deg);
}

.menu-item-premium-claro:hover::after {

    width: 75%;
}

/* ======================================
   ELEMENTO SELECCIONADO
====================================== */

.menu-item-premium-claro.active {

    color: #0B1429;

    background: linear-gradient(
        135deg,
        rgba(6, 201, 185, 0.12),
        rgba(8, 127, 224, 0.07)
    );

    border-color: rgba(6, 169, 158, 0.32);

    text-shadow:
        0 0 5px rgba(6, 169, 158, 0.10);

    box-shadow:
        0 0 7px rgba(6, 169, 158, 0.08),
        inset 0 0 10px rgba(6, 169, 158, 0.06);
}

/* LINEA DEL SELECCIONADO */

.menu-item-premium-claro.active::after {

    width: 75%;

    box-shadow:
        0 0 5px rgba(6, 169, 158, 0.35),
        0 0 12px rgba(213, 173, 85, 0.20);
}

/* ICONO HOVER Y SELECCIONADO */

.menu-item-premium-claro:hover img,
.menu-item-premium-claro.active img {

    filter:
        brightness(0)
        saturate(100%)
        invert(37%)
        sepia(65%)
        saturate(850%)
        hue-rotate(125deg)
        drop-shadow(0 0 3px rgba(6, 169, 158, 0.20));
}
