html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.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: 1rem;
}

.contenedor-principal {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.btn-new {
    background-color: #071726;
    border-color: #071726;
    font-family: 'Metropolis', sans-serif;
    font-weight: 800;
    border-radius: 40px;
    width: 100%;
    max-width: 250px;
    color: white;
    padding: 10px 20px;
    margin: 1rem auto;
    display: block;
}

.card-login {
    font-family: 'Metropolis', sans-serif;
    background-color: #fff;
    border: solid #eff0f2;
    border-radius: 40px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.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 {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-alcaldia img {
    width: 130px;
    max-width: 100%;
    height: auto;
}

.seccion-superior {
    padding: 1rem 0;
}

.lado-izquierdo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.imagen-visor {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.seccion-central {
    text-align: center;
    margin: 1rem 0;
}

.imagen-evolucionamos {
    max-width: 100%;
    height: auto;
}

.text-card {
    color: black;
    margin-bottom: 0.3rem;
    text-align: center;
}

.form-login::placeholder {
    color: black;
    opacity: 1;
}

.input-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.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: 12px 15px 12px 55px;
    border: 2px solid #000000;
    border-radius: 12px;
    font-size: 16px;
    color: #000000;
    background-color: #fff;
}

.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;
}

.row {
    margin: 0 -0.5rem;
}

.row > [class^="col-"] {
    padding: 0 0.5rem;
}

@media (max-width: 768px) {
    .auth-content-container {
        padding: 0.5rem;
    }

    .card-login {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .btn-new {
        width: 100%;
        max-width: 100%;
    }

    .input-wrapper {
        margin-bottom: 1rem;
    }

    .row > [class^="col-"] {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .card-login {
        padding: 1rem;
    }

    .form-login {
        padding: 10px 15px 10px 50px;
    }

    .input-icon {
        width: 45px;
    }
}

/* Estilos para el modal de términos */
#termsModal .modal-content {
    border-radius: 20px;
    border: none;
}

#termsModal .modal-header {
    background-color:  #cfdd56;
    color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

#termsModal .modal-title {
    font-weight: 800;
}

#termsModal .modal-body {
    padding: 2rem;
}

#termsModal .modal-body h6 {
    color: #071726;
    margin-top: 1.5rem;
    font-weight: 600;
}

#termsModal .modal-body p {
    color: #333;
    text-align: justify;
}

#termsModal .btn-close {
    filter: #071726;
}