* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none; /* removes underline from link */
}

.body {
    height: 100vh;
    display: flex;
    background-color: #fff;
    overflow: hidden;
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
}

.empty-column {
    flex: 1;
    background-color: #f5f5f5;
}
.text-button{
    font-size: 75%;
}
.content-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
}
.centrar-texto{
    text-align: center;
}
.button-container {
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    /*padding: 20px 0;*/
    flex-wrap: wrap;
}

/* Columna del formulario */
.login-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.5%;
    background-color: #ffffff;
    overflow-y: auto;
}

.logo-container {
    margin-bottom: 0rem;
    text-align: center;
}

.logo-container img {
    max-width: 66%;
    height: auto;
}

.login-form {
    width: 320px;
    max-width: 400px;
    padding: 0.6rem;
    border-radius: 17px;
    background: #003876;
}

.form-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 12px;
    transition: all 0.3s;
    color: #333;
}

.form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.checkbox-group input {
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-group label {
    color: #fff;
}
.custom-checkbox{
    display: flex;
}

.hidden-section, .hidden-section_correo {
    display: none;
    border-radius: 5px;
    text-align: center;
    animation: fadeIn 0.3s ease-out;
}

/* Oculta el checkbox nativo */
.custom-checkbox input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

/* Estilo del checkbox personalizado */
.custom-checkbox .checkmark {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 4px; /* Bordes redondeados */
    cursor: pointer;
    transition: all 0.3s;
}

/* Estilo cuando el checkbox está marcado */
.custom-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: #FFA500; /* Fondo naranja */
    border-color: #FFA500;
}

/* Creación del símbolo de check (inicialmente oculto) */
.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid white; /* Color blanco */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Mostrar el símbolo cuando el checkbox está marcado */
.custom-checkbox input[type="checkbox"]:checked + .checkmark:after {
    display: block;
}

.custom-checkbox a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
}

.boton_ninos {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}


.img-tamano {
    width: 30px;
    height: auto;
    top: 10px;
    position: relative;
}

.button-style {
    float: left;
    background-color: #ffffff;
    margin: 1%;
    width: 14em;
    height: 70px;
    font: 12px / 50px 'Source Code Pro', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #457B9D;
    text-align: center;
    border-radius: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-style a {
    color: #457b9d;
    text-decoration: none;
}

.login-column .logo_svg {
    width: 40%;
    height: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden-buttons, .hidden-buttons_correo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1rem;
}

.hidden-btn, .hidden-btn_correo {
    padding: 10px;
    background-color: #0071BD;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hidden-btn:hover {
    background-color: #3a7bc8;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: #3a7bc8;
}

.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    color: #4a90e2;
}


/* Columna de la imagen */
.image-column {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.social-icons {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: #4a90e2;
    color: white;
    transform: translateY(-3px);
}

.form-login-error {
    display: none;
    background: #ee0000;
    color: #ffffff;
    padding: 5px;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-bottom: 30px;
}

.form-login-error::before {
    padding: 0;
    background: #cc2424
}

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-modal-content {
    position: relative;
    background: #000;
    padding: 10px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
}

.video-player {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
}

/*estilos del tab */

/* Contenedor principal de las pestañas */
.tabs-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    border-bottom: 2px solid #003876;
}

/* Botones de las pestañas */
.tab-button {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    color: #003876;
    position: relative;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.tab-button:hover,
.tab-button.active {
    color: #0071BD;
}

/* Animación de la línea inferior de la pestaña */
.tab-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    height: 2px;
    width: 0;
    background-color: #0071BD;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.tab-button.active::after {
    width: 100%;
}

/* Contenido de las pestañas */
.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    transform: translateY(30px);
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Estilos para el tooltip */
.form-group {
    position: relative; /* Es necesario para que el tooltip se posicione correctamente */
}

.form-group i[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif; /* Aquí puedes cambiar la fuente */
    font-weight: normal;
}

/* Estilos para el contenedor */
.password-container {
    position: relative; /* Indispensable para que los elementos hijos se posicionen dentro de él */
}

/* Ajusta el padding para que el texto no se oculte detrás del botón */
.password-container .form-control {
    padding-right: 40px; /* Crea un espacio a la derecha */
}

/* Estilos para el botón del ojo */
.toggle-password {
    position: absolute !important; /* Forzamos la posición absoluta */
    top: 50% !important; /* Forzamos el centrado vertical */
    right: 50px !important; /* Forzamos la posición a la derecha */
    transform: translateY(-50%) !important; /* Forzamos el ajuste de centrado */
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    z-index: 2;
}

.button_guia_img {
    top: 5px;
}

.button_guia_span {
    margin-top: 10px;
    line-height: 1.2;
}


/* Agregar una animación de entrada para las pestañas */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .boton_ninos {
        gap: 10px;
    }

    .button-style {
        width: 150px;
        font-size: 10px;
    }
}

/* Vista Tablet (768px a 968px) */
@media (max-width: 1024px) {
    .container {
        flex-direction: column; /* Apila las columnas */
    }

    .content-column {
        flex: 0;
        padding: 0;
        height: auto;
    }

    /* Esconde la columna de la imagen */
    .image-column {
        display: none;
    }

    .login-column {
        width: 100%; /* Se expande al 100% */
        height: 100px;
        padding: 20px; /* Ajusta el espacio */
        /*overflow-y: visible;*/
    }

    .login-form {
        width: 90%; /* Reduce el ancho del formulario */
        max-width: 600px; /* Evita que sea demasiado grande */
        padding: 1.5rem; /* Añade espacio interno */
        margin: 0 auto; /* Centra el formulario */
    }

    .boton_ninos {
        left: 50%; /* Centra los botones */
        transform: translateX(-50%);
        width: 100%;
        bottom: 30px; /* Ajusta la posición inferior */
    }

    .button-style {
        width: 100%; /* El botón ocupa el ancho disponible */
        margin: 10px 0; /* Espacio entre botones */
        font-size: 12px;
    }
}

/* Vista móvil pequeña (iPhone SE, 375x667) */
@media (max-width: 480px) {

    .boton_ninos {
        position: static;
        bottom: auto;
        left: auto;
        transform: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px;
        padding: 15px 10px;
        width: 100%;
    }

    .button-style {
        width: 100px;
        height: 95px;
        font-size: 11px;
        flex: 1 1 30%;
        border-radius: 15px;
        padding: 8px;
    }

    .button-style a {
        text-align: center;
    }

    .img-tamano {
        width: 20px;
        height: 20px;
        margin-bottom: 10px;
    }

    .text-button {
        line-height: 1.2;
        word-break: break-word;
    }

    .logo_svg {
        width: 60%;
        margin-top: 100px;
    }

    .button_guia_span {
        margin-bottom: 5px;
    }

    .button_guia_img {
        top: 15px;
    }
}
