/* Estilos para el header_top */
.header_top {
    background-color: #007bff;
    /* Color de fondo primario */
    color: white;
    /* Color del texto */
    font-size: 14px;
    /* Tamaño de fuente base */
}

/* Estilos para los íconos */
.header_top .icofont {
    font-size: 1.2em;
    /* Tamaño de los íconos */
    vertical-align: middle;
    /* Alineación vertical */
}

/* Estilos para los botones */
.header_top .btn {
    padding: 0.25rem 0.5rem;
    /* Espaciado interno */
    font-size: 0.9em;
    /* Tamaño de fuente */
    border-radius: 4px;
    /* Bordes redondeados */
}

/* Estilos para el contador de visitas */
.header_top img {
    height: 20px;
    /* Altura de la imagen del contador */
    width: auto;
    /* Ancho automático */
}

/* Estilos para el texto del nombre */
.texto_nombre {
    font-weight: 500;
    /* Grosor de la fuente */
}

/* Estilos para el horario de atención */
.top_right_menu_text {
    font-weight: 500;
    /* Grosor de la fuente */
}


/*  NOMBRE PRINCIPAL */

.nombre-principal {
    font-size: 1.2em;
    /* Tamaño de la fuente */
    font-weight: bold;
    /* Grosor de la fuente */
    color: #345834;
    /* Verde eléctrico */
    text-shadow:
        0 0 2px #3c503c,
        /* Sombra verde */
        0 0 3px #b33bb8,
        /* Sombra verde más grande */
        0 0 4px #3c503c,
        /* Sombra verde aún más grande */
        0 0 5px #3c503c,
        /* Sombra verde más difuminada */
        0 0 6px #ffffff;
    /* Sombra verde muy difuminada */
    position: relative;
    /* Para el efecto de líneas paralelas */
    display: inline-block;
    /* Para que el efecto no ocupe todo el ancho */
    padding: 0 10px;
    /* Espaciado interno */
    transition: all 0.3s ease;
    /* Transición suave */
    animation: brillo 2s infinite alternate;
    /* Animación de brillo */
}

/* Animación de brillo */
@keyframes brillo {
    0% {
        text-shadow:
            0 0 2px #f7c8f3,
            0 0 3px #f7c8f3,
            0 0 4px #f7c8f3,
            0 0 5px #f7c8f3,
            0 0 6px #f7c8f3;
    }

    100% {
        text-shadow:
            0 0 2px #ffffff,
            0 0 3px #ffffff,
            0 0 4px #ffffff,
            0 0 5px #ffffff,
            0 0 6px #ffffff;
    }
}

/* Efecto de líneas paralelas al pasar el cursor */
.nombre-principal::before,
.nombre-principal::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    /* Grosor de las líneas */
    background-color: #800080;
    /* Color morado */
    transform: scaleX(0);
    /* Inicialmente sin ancho */
    transition: transform 0.3s ease;
    /* Transición suave */
}

.nombre-principal::before {
    top: 0;
    /* Línea superior */
    transform-origin: left;
}

.nombre-principal::after {
    bottom: 0;
    /* Línea inferior */
    transform-origin: right;
}

/* Efecto al pasar el cursor */
.nombre-principal:hover::before,
.nombre-principal:hover::after {
    transform: scaleX(1);
    /* Líneas completas */
}




/* ////////////////////////  HORARIO*/


/* Estilo para el contenedor */
.horario-atencion {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(145deg, #232129, #160a35);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

/* Efecto de fondo con gradiente animado */
.horario-atencion::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            rgba(199, 195, 207, 0.1) 0%,
            rgba(125, 85, 200, 0) 20%,
            rgba(125, 85, 200, 0) 80%,
            rgba(125, 85, 200, 0.1) 100%);
    animation: shimmer 3s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Animación del fondo */
@keyframes shimmer {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Estilo para el icono del reloj */
.horario-atencion .icono-reloj {
    position: relative;
    margin-right: 12px;
    color: #ffffff;
    animation: rotate-clock 6s linear infinite;
    transform-origin: center center;
    display: inline-block;
    z-index: 2;
}

/* Animación de rotación para el reloj */
@keyframes rotate-clock {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(90deg);
    }

    50% {
        transform: rotate(180deg);
    }

    75% {
        transform: rotate(270deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Estilo para el texto del horario */
.horario-atencion .texto-horario {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    /* Color principal morado */
    position: relative;
    z-index: 2;

    /* Efecto de texto con profundidad */
    text-shadow:
        0 1px 0 #d2a3ec,
        0 2px 0 #4a148c,
        0 3px 0 #4a148c,
        0 4px 0 rgba(0, 0, 0, 0.4),
        0 5px 5px rgba(0, 0, 0, 0.5);
}

/* Destacar el horario */
.horario-atencion .texto-horario strong {
    color: #ffffff;
    font-weight: 700;
    position: relative;
}

/* Efecto de brillo en hover */
.horario-atencion:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.horario-atencion:hover .icono-reloj {
    color: #c2c2c2;
    animation: rotate-clock 2s linear infinite;
}

.horario-atencion:hover .texto-horario {
    color: #a7a7a7;
    text-shadow:
        0 1px 0 #7b1fa2,
        0 2px 0 #6a1b9a,
        0 3px 0 #4a148c,
        0 4px 0 rgba(0, 0, 0, 0.5),
        0 5px 8px rgba(0, 0, 0, 0.6);
}

/* Para asegurar compatibilidad en diferentes navegadores */
@media (prefers-reduced-motion: reduce) {

    .horario-atencion::before,
    .horario-atencion .icono-reloj {
        animation: none !important;
    }
}


/* menu principal*/



/* Estilo para la rotación horizontal lenta del logo */

/* Contenedor para mantener el espacio del logo mientras gira */
.logo-rotation-container {
    perspective: 1000px;
    /* Añade perspectiva para un efecto 3D más natural */
    display: inline-block;
    width: 180px;
    height: 60px;
}

/* Aplicar rotación al logo */
.main_logo img {
    transform-style: preserve-3d;
    /* Mantiene el aspecto 3D durante la rotación */
    animation: slow-rotate 60s linear infinite;
    /* 30 segundos, velocidad constante, infinito */
    transform-origin: center center;
    /* Gira desde el centro */
    backface-visibility: visible;
    /* Hace visible la parte trasera durante la rotación */
}

/* Definición de la animación de rotación */
@keyframes slow-rotate {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(180deg);
    }
}

/* Estilo adicional para mejorar la apariencia durante la rotación */
.main_logo:hover img {
    animation-play-state: paused;
    /* Pausa la animación al pasar el mouse por encima */
}

/* Para evitar que el logo se vea plano al girar, se puede añadir un suave efecto de sombra */
.main_logo img {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.main_logo:hover img {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}



/* SLIDES*/

/* Estilos para el slider */
.slider_area {
    position: relative;
    overflow: hidden;
}

.inner_slider_area {
    background-size: cover;
    background-position: center;
    height: 80vh;

    /* Altura del slider */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* Capa de transparencia */
}

.inner_slider_content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.inner_slider_content h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

.pdf-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pdf-list a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

.pdf-list a:hover {
    color: #192e19;
    /* Color al pasar el cursor */
}

/* Efecto de zoom en la imagen de fondo */
.inner_slider_area {
    transition: transform 0.5s ease;
}

.inner_slider_area:hover {
    transform: scale(1.1);
    /* Zoom in al pasar el cursor */
}

/* Estilo para enlace Zoom */
.zoom-link .btn {
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.zoom-link .icofont-video {
    margin-right: 8px;
    font-size: 1.2em;
}

/* Estilos para items de puntos */
.punto-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.punto-num {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 700;
    color: #182b18;
    min-width: 80px;
    text-align: center;
}

/* Efecto de brillo para .punto-title */

.punto-title {
    font-size: 0.7em;
    color: #fff;
    transition: all 0.5s ease;
    flex-grow: 1;
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.5),
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 15px rgba(255, 255, 255, 0.2),
        0 0 20px rgba(72, 118, 255, 0.4),
        0 0 35px rgba(72, 118, 255, 0.2);
    animation: text-glow 2s ease-in-out infinite alternate;
    letter-spacing: 0.5px;
    position: relative;
}

/* Animación de brillo pulsante */
@keyframes text-glow {
    from {
        text-shadow:
            0 0 5px rgba(255, 255, 255, 0.5),
            0 0 10px rgba(255, 255, 255, 0.3),
            0 0 15px rgba(255, 255, 255, 0.2),
            0 0 20px rgba(72, 118, 255, 0.4),
            0 0 35px rgba(72, 118, 255, 0.2);
    }

    to {
        text-shadow:
            0 0 5px rgba(255, 255, 255, 0.8),
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 15px rgba(255, 255, 255, 0.3),
            0 0 20px rgba(72, 118, 255, 0.7),
            0 0 35px rgba(72, 118, 255, 0.5),
            0 0 45px rgba(72, 118, 255, 0.3);
    }
}

/* Efecto al pasar el cursor */
.punto-title:hover {
    text-shadow:
        0 0 5px rgba(255, 255, 255, 1),
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 15px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(72, 118, 255, 1),
        0 0 35px rgba(72, 118, 255, 0.8),
        0 0 45px rgba(72, 118, 255, 0.6),
        0 0 60px rgba(72, 118, 255, 0.4);
    color: #ffffff;
    transform: scale(1.02);
}

/* Efecto adicional de línea brillante (opcional) */
.punto-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.8) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.punto-title:hover::after {
    opacity: 1;
}

.punto-title:hover {
    color: #00ff00;
    text-decoration: none;
}




/*  ingreso */


/* Estilos para el modal */
.iq-login-from .modal-content {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.iq-login-from .modal-header {
    border-bottom: none;
    padding: 1.5rem;
}

.iq-login-from .modal-body {
    padding: 1.5rem;
}

.iq-login-from .modal-footer {
    border-top: none;
    padding: 1rem 1.5rem;
}

/* Estilos para el formulario */
.iq-login-from .form-label {
    font-weight: 500;
    color: #333;
}

.iq-login-from .form-control {
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease;
}

.iq-login-from .form-control:focus {
    border-color: #16814b;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Estilos para la tabla de resultados */
#div_cargasaldos table {
    width: 100%;
    border-collapse: collapse;
}

#div_cargasaldos th,
#div_cargasaldos td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    text-align: left;
}

#div_cargasaldos th {
    background-color: #f8f9fa;
    font-weight: 600;
}

#div_cargasaldos tr:hover {
    background-color: #f1f1f1;
}


/* Ocultar formulario y expandir resultados */
.modal-body.hide-login .login-column {
    display: none;
}

.modal-body.hide-login .results-column {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Ajustes para tablas dinámicas */
.table-responsive {
    max-height: 60vh;
    overflow-y: auto;
}

.wrap-table100-nextcols {
    overflow-x: auto;
}

.row100.head th {
    background-color: #16814b;
    color: rgb(0, 0, 0);
    position: sticky;
    top: 0;
    z-index: 2;
}

.cell100 {
    padding: 12px;
    min-width: 120px;
}

/* Estilos para filas de datos */
.row {
    margin-bottom: 10px;
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.row .col-sm-3 {
    font-weight: 600;
    color: #16814b;
}

/* Enlaces PDF */
a[target="blank"] {
    color: #16814b;
    text-decoration: none;
}

a[target="blank"]:hover {
    text-decoration: underline;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 10px;
    }

    .cell100 {
        min-width: 100px;
        font-size: 0.9em;
    }
}




.toggle-password {
    cursor: pointer;
}


.login-column {
    display: block !important;
}

/* Opcional: Estilo para cuando hay resultados */
.modal-body.show-results .login-column {
    width: 100%;
}