#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(30, 30, 30, 0.48);
    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(135, 135, 135, 0.25);
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(180, 180, 180, 0.12),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fafafa 50%,
            #f3f3f3 100%
        );

    color: #383838;

    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(120, 120, 120, 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,
        #a5a5a5,
        #dedede,
        #a5a5a5,
        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(140, 140, 140, 0.28) !important;
    border-radius: 10px !important;

    background: rgba(150, 150, 150, 0.08) !important;
    color: #666666 !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: #999999 !important;
    background: linear-gradient(
        135deg,
        #bcbcbc,
        #888888
    ) !important;
    color: #ffffff !important;
}

/* Contenido del popup */
#div_content_popup {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 5px 10px 15px;
    box-sizing: border-box;
    color: #444444;

    scrollbar-width: thin;
    scrollbar-color: #aaaaaa #eeeeee;
}


/* =====================================================
   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: #383838;
    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(140, 140, 140, 0.28);
    border-radius: 18px;

    background: linear-gradient(
        135deg,
        #999999 0%,
        #dedede 25%,
        #a5a5a5 55%,
        #eeeeee 85%,
        #999999 100%
    );

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.18),
        0 0 35px rgba(130, 130, 130, 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(0, 0, 0, 0.04);
    border-radius: 15px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(180, 180, 180, 0.10),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #f5f5f5
        );

    color: #383838;
    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(140, 140, 140, 0.28);
    border-radius: 10px;

    background: rgba(150, 150, 150, 0.08);
    color: #666666;

    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: #999999;
    background: linear-gradient(
        135deg,
        #bcbcbc,
        #888888
    );
    color: #ffffff;
}

/* Contenido claro */
#div_content_informacion.popup-info-contenido {
    position: relative;
    width: 100%;
    color: #444444;
    box-sizing: border-box;

    scrollbar-width: thin;
    scrollbar-color: #aaaaaa #eeeeee;
}


/* =====================================================
   FORMULARIO PREMIUM CLARO
===================================================== */

#div_content_informacion .formulario-premium {
    padding: 20px;

    border: 1px solid rgba(140, 140, 140, 0.25);
    border-radius: 12px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(180, 180, 180, 0.08),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #f5f5f5
        );

    color: #444444;

    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: #555555;
}

#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(150, 150, 150, 0.30);
    border-radius: 8px;
    background: #ffffff;
    color: #383838;
}

#div_content_informacion .formulario-premium input:focus,
#div_content_informacion .formulario-premium select:focus,
#div_content_informacion .formulario-premium textarea:focus {
    border-color: #999999;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(150, 150, 150, 0.13);
}

#div_content_informacion .formulario-premium input::placeholder,
#div_content_informacion .formulario-premium textarea::placeholder {
    color: #aaaaaa;
}

/* Botones */
#div_content_informacion .formulario-premium button,
#div_content_informacion .formulario-premium input[type="submit"] {
    border: 1px solid #999999;
    border-radius: 8px;
    background: linear-gradient(
        110deg,
        #888888,
        #c4c4c4,
        #999999
    );
    color: #ffffff;
    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(150, 150, 150, 0.30);
    border-radius: 9px;

    background: linear-gradient(
        145deg,
        #ffffff,
        #f5f5f5
    );

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.content_input_premium:focus-within {
    border-color: #999999;
    box-shadow: 0 0 0 3px rgba(150, 150, 150, 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: #383838 !important;

    box-shadow: none !important;
    font-size: 15px;
}

.content_input_premium input.form-control_login::placeholder {
    color: #aaaaaa;
    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: #198754 !important;
    background-image: none !important;
    border: 1px solid #198754 !important;
    color: #ffffff !important;

    box-shadow:
        0 0 0 1px rgba(25, 135, 84, 0.20),
        0 0 14px rgba(25, 135, 84, 0.16),
        0 5px 14px rgba(0, 0, 0, 0.10) !important;
}

/* Advertencia - Naranja rojizo suave */
.boton_sitio_advertencia {
    background: #E76F51 !important;
    background-image: none !important;
    border: 1px solid #E76F51 !important;
    color: #ffffff !important;

    box-shadow:
        0 0 0 1px rgba(225, 105, 80, 0.22),
        0 0 16px rgba(225, 105, 80, 0.17),
        0 5px 14px rgba(0, 0, 0, 0.10) !important;
}

/* Información - Azul marino celeste */
.boton_sitio_info {
    background: #3977A8 !important;
    background-image: none !important;
    border: 1px solid #3977A8 !important;
    color: #ffffff !important;

    box-shadow:
        0 0 0 1px rgba(65, 125, 175, 0.22),
        0 0 16px rgba(65, 125, 175, 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(25, 135, 84, 0.35),
        0 0 25px rgba(25, 135, 84, 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(225, 105, 80, 0.38),
        0 0 28px rgba(225, 105, 80, 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(65, 125, 175, 0.38),
        0 0 26px rgba(65, 125, 175, 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(145, 145, 145, 0.35);
    border-radius: 18px;

    background: linear-gradient(
        135deg,
        #999999 0%,
        #dedede 25%,
        #a5a5a5 55%,
        #eeeeee 85%,
        #999999 100%
    );

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.16),
        0 0 28px rgba(130, 130, 130, 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 #e8e8e8;
    border-radius: 15px;

    background: linear-gradient(
        145deg,
        #ffffff,
        #f8f8f8
    );

    color: #383838;
    box-sizing: border-box;
}

/* Contenido blanco */
#div_win_informacion .popup-info-blanco-contenido {
    position: relative;
    width: 100%;
    color: #383838;
    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: #555555;
}


/* =====================================================
   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: #eeeeee;
}

#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(#c8c8c8, #999999);
}

/* 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;
    }
}



/* ======================================
   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: #C8C8C8;

    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(80%);

    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,
        #777777,
        #D5D5D5,
        #777777
    );

    transform: translateX(-50%);

    transition: width .25s ease;
}

/* HOVER */

.menu-item-premium:hover {

    color: #F0F0F0;

    background: rgba(190, 190, 190, 0.07);

    border-color: rgba(200, 200, 200, 0.22);

    text-shadow:
        0 0 8px rgba(220, 220, 220, 0.18);
}

.menu-item-premium:hover::after {
    width: 75%;
}

/* ======================================
   ELEMENTO SELECCIONADO
====================================== */

.menu-item-premium.active {

    color: #FFFFFF;

    background: rgba(190, 190, 190, 0.12);

    border-color: rgba(210, 210, 210, 0.28);

    text-shadow:
        0 0 8px rgba(220, 220, 220, 0.25),
        0 0 15px rgba(220, 220, 220, 0.10);

    box-shadow:
        0 0 5px rgba(200, 200, 200, 0.10),
        inset 0 0 10px rgba(200, 200, 200, 0.04);
}

/* LINEA DEL SELECCIONADO */

.menu-item-premium.active::after {

    width: 75%;

    box-shadow:
        0 0 5px rgba(220, 220, 220, 0.45),
        0 0 12px rgba(220, 220, 220, 0.20);
}

/* ICONO SELECCIONADO */

.menu-item-premium.active img {

    filter:
        brightness(0)
        saturate(100%)
        invert(100%)
        drop-shadow(0 0 4px rgba(220, 220, 220, .35));
}

/* ======================================
   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: #555555;

    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(36%);

    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,
        #888888,
        #444444,
        #888888
    );

    transform: translateX(-50%);

    transition: width .25s ease;
}

/* HOVER */

.menu-item-premium-claro:hover {

    color: #292929;

    background: rgba(100, 100, 100, 0.06);

    border-color: rgba(110, 110, 110, 0.20);

    text-shadow:
        0 0 5px rgba(100, 100, 100, 0.10);
}

.menu-item-premium-claro:hover::after {

    width: 75%;
}

/* ======================================
   ELEMENTO SELECCIONADO
====================================== */

.menu-item-premium-claro.active {

    color: #292929;

    background: linear-gradient(
        135deg,
        rgba(170, 170, 170, 0.15),
        rgba(120, 120, 120, 0.05)
    );

    border-color: rgba(110, 110, 110, 0.28);

    text-shadow:
        0 0 5px rgba(100, 100, 100, 0.10);

    box-shadow:
        0 0 5px rgba(100, 100, 100, 0.08),
        inset 0 0 10px rgba(100, 100, 100, 0.04);
}

/* LINEA DEL SELECCIONADO */

.menu-item-premium-claro.active::after {

    width: 75%;

    box-shadow:
        0 0 5px rgba(100, 100, 100, 0.35),
        0 0 12px rgba(100, 100, 100, 0.15);
}

/* ICONO HOVER Y SELECCIONADO */

.menu-item-premium-claro:hover img,
.menu-item-premium-claro.active img {

    filter:
        brightness(0)
        saturate(100%)
        invert(20%)
        drop-shadow(0 0 3px rgba(100, 100, 100, 0.20));
}