html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-login {
    background: linear-gradient(to top, #005632, #005632);
    color: white;
    height: 100vh;
    max-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 1rem;
    display: flex;
    gap: 1rem;
}
.qr-section {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.logo-login{
    width: 100%;
    padding: 1rem;
    text-align: center;
    margin: 1rem 0;
    img {
        width: 100%;
        height: auto;
        max-width: 400px;
    }
}
.contenedor-qr{
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#contenedorQR{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 1rem;
    img {
        width: 100%;
        height: auto;
        max-width: 256px;
    }
}

.formulario-section {
    color: #07204A;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-title {
    font-size: 2.2rem;
    text-align: center;
    color: #07204A;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.2;
    margin: 2.5rem 0;
}

.formulario-login {
    width: 100%;
    height: 100%;
    max-width: 550px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.input-login {
    border: 2px solid #07204A;
    border-radius: 0.5rem;
    color: #07204A;
}
.link-password {
    color: #07204A;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
    margin: 1rem 0;
}

.link-password:hover {
    color: #013794;
}

.btn-login {
    background-color: #07204A;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-login:hover {
    background-color: #013794;
    color: white;
}
.logo-login-footer {
    width: 100%;
    max-width: 80px;
    height: auto;
    margin-bottom: 0.5rem;
}
.text-footer {
    color: #07204A;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .page-login {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        height: 100vh;
        max-height: 100vh;
        width: 100%;
        max-width: 100%;
        overflow-y: auto;
    }
    .qr-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .logo-login{
        width: 100%;
        padding: 1rem;
        text-align: center;
        margin: 1rem 0;
        img {
            width: 100%;
            height: auto;
            max-width: 400px;
        }
    }
    .contenedor-qr{
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    #contenedorQR{
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: white;
        padding: 1rem;
        img {
            width: 100%;
            height: auto;
            max-width: 256px;
        }
    }
    .formulario-section {
        color: #07204A;
        border-radius: 0.5rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .login-title {
        font-size: 2.2rem;
        text-align: center;
        color: #07204A;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        line-height: 1.2;
        margin: 2.5rem 0;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border-radius: 10px;
    animation: animate__animated animate__fadeInUp;
    font-family:sans-serif;
}

.modal-content .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal-content .close:hover,
.modal-content .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content input {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px;
    width: calc(100% - 6px);
}

.modal-content button {
    background-color: #07204A;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
}

.modal-content button:hover {
    background-color: '#0d6ef';
}

.modal-backdrop {
    display: none !important;
}

.modal.show {
    background-color: rgba(0, 0, 0, 0.5);
    display: block;
}
