html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    overflow-y: hidden; 
}

.auth-container {
    height: 100vh;
    min-height: -webkit-fill-available; 
    overflow-y: auto; 
}

.auth-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.auth-bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.auth-bg-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, var(--overlay-opacity));
}

.auth-content-container {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.contenedor-principal {
    height: auto;
    min-height: unset; 
    max-height: none;   
}

.btn-new {
    background-color:  #071726;
    border-color: #071726;
    font-family: 'Metropolis', sans-serif;
    font-weight: 800; 
    border-radius: 40px;
    width: 35% !important;
    color: white;
    text-align: center;
    vertical-align: middle;
}

.card-login {
    font-family: 'Metropolis', sans-serif;
    font-weight: 600px; 
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: solid #eff0f2;
    border-radius: 40px;
    width: 80%;
    max-width: 400px;
    margin-left: 20px;
}

.cont-green{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #cfdd56;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-check-input:checked {
    background-color: #cfdd56;
    border-color: #cfdd56;
}

.logo-alcaldia {
    position: absolute;
    top: 40px;
    right: 40px;
}

.logo-alcaldia img {
    width: 200px;
    height: auto;
    max-width: 20vw; 
    margin: 60px 30px 0px 60px;
}

.seccion-superior {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px 40px 30px 40px;
}

.lado-izquierdo {
    display: flex;
    flex-direction: row; 
    align-items: center;
    gap: 10px; 
}

.imagen-visor {
    max-height: 300px;
    width: auto;
    height: auto;
    max-width: 25vw;
    margin: 80px 0px 0px 40px;
}

.seccion-central {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.imagen-evolucionamos {
    max-width: 65%;
    width: 65%;
    height: auto;
    padding-left: 2rem;
}

.text-card {
    color: black;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background-color: #cfdd56;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border: 2px solid #000000;
    border-right: none; 
}

.input-icon .mdi {
    font-size: 25px; 
}

.form-login {
    width: 100%;
    padding-left: 55px; 
    padding-top: 10px;
    padding-bottom: 10px;
    border: 2px solid #000000;
    border-radius: 12px;
    font-size: 16px;
    color: #000000;
}

.show-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media (max-width: 768px) {

    .contenedor-principal {
        grid-template-rows: auto auto auto;
        aspect-ratio: auto; 
        height: auto; 
        padding: 1rem;
    }

    .card-login {
        margin-left: 0px;
    }

    .logo-alcaldia {
        position: relative;
        top: 0;
        right: 0;
        margin: 0 auto 10px auto;
        display: flex;
        justify-content: center;
    }

    .logo-alcaldia img {
        width: 130px;
        max-width: 60%;
        margin: 0px 50px 0px 50px;
    }

    .seccion-superior {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 20px 10px 20px;
    }

    .lado-izquierdo {
        flex-direction: column; 
        align-items: center;
    }

    .imagen-visor {
        max-width: 75%;
        max-height: none;
        margin: 10px 0;
    }

    .seccion-central {
        flex-direction: column;
    }

    .card-login {
        width: 100%;
        padding: 0.25rem;
        border-radius: 20px;
    }

    .btn-new {
        width: 55% !important;
        margin-top: 0.25rem;
    }

    .imagen-evolucionamos {
        width: 100%;
        max-width: 300px;
        padding-left: 0;
        margin-top: 5px;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .logo-alcaldia {
        position: relative;
        top: 0;
        right: 0;
        display: flex;
        justify-content: center;
        margin: 0 auto 0px auto;
    }

    .logo-alcaldia img {
        width: 160px;
        max-width: 25vw;
        margin: 0 auto;
    }

    .seccion-superior {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0px 0px;
    }

    .lado-izquierdo {
        flex-direction: column;
        align-items: center;
        margin: 0px 0px;
    }

    .imagen-visor {
        max-width: 30vw;
        height: auto;
        margin: 0px 0;
    }

    .imagen-evolucionamos {
        width: 85%;
        padding-left: 0;
        margin-top: 10px;
    }
    .btn-new {
        width: 50% !important;
        margin-top: 0.25rem;
    }
}