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

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

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

.empty-column {
    flex: 1;
    background-color: #f5f5f5;
}
.content-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
}

.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: 2rem;
    background-color: #ffffff;
    overflow-y: auto;
}

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

.logo-container img {
    max-width: 200px;
    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;
}

.hidden-section {
    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;
}

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


.img-tamano {
    width: 42px;
    height: auto;
    top: 10px;
    position: relative;
}
.button-style {
    float: left;
    background-color: #ffffff;
    margin: 20px 20px 20px auto;
    width: 200px;
    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: 320px;
    height: auto;
}

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

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

.hidden-btn {
    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: #00a651;
    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;
    overflow: hidden;
}
.form-login-error::before {
    padding: 0;
    background: #cc2424
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .image-column {
        display: none;
    }

    .login-column {
        padding: 1rem;
        justify-content: flex-start;
    }

    .login-form {
        box-shadow: none;
        padding: 1rem;
    }
    .boton_ninos {
        left: 55% !important;
    }

    .login-column {
        overflow-y: visible;
    }
}

/* Estilos para el mensaje de recuperación */
.recover-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    animation: slideDown 0.3s ease-out;
    text-align: center;
}

.recover-message-success {
    background-color: #179327;
    color: white;
}

.recover-message-error {
    background-color: red;
    color: white;
}

.recover-message-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.recover-message-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

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