
/* =====================================
   PARKGO - INICIO DE SESIÓN
   ===================================== */

.login-contenedor {
    min-height: calc(100vh - 78px);

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;
    gap: 60px;

    padding: 50px 8%;
}

/* PRESENTACIÓN */

.login-presentacion {
    max-width: 520px;
}

.login-etiqueta {
    display: inline-block;

    background: var(--fondo-etiqueta);
    color: var(--texto-etiqueta);

    padding: 9px 13px;

    border-radius: 8px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;

    margin-bottom: 25px;
}

.login-presentacion h2 {
    font-size: clamp(35px, 4vw, 55px);
    line-height: 1.15;
    letter-spacing: -1.5px;

    margin-bottom: 22px;
}

.login-presentacion h2 span {
    display: block;
    color: var(--verde);
}

.login-presentacion > p {
    color: var(--gris);

    font-size: 16px;
    line-height: 1.8;

    max-width: 450px;
}

.login-beneficios {
    display: flex;
    flex-direction: column;
    gap: 18px;

    margin-top: 35px;
}

.login-beneficios div {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--texto);
    font-size: 14px;
}

.login-beneficios span {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    background: var(--fondo-etiqueta);
    border-radius: 11px;
}

/* FORMULARIO */

.login-formulario {
    width: 100%;
    max-width: 440px;

    margin: auto;

    padding: 35px;

    background: var(--blanco);

    border: 1px solid var(--borde);
    border-radius: 22px;

    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.06);
}

.formulario-encabezado {
    text-align: center;
    margin-bottom: 30px;
}

.formulario-icono {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    margin: 0 auto 18px;

    background: var(--verde);
    color: white;

    border-radius: 16px;

    font-size: 28px;
    font-weight: 800;
}

.formulario-encabezado h2 {
    font-size: 24px;
    letter-spacing: -0.5px;

    margin-bottom: 9px;
}

.formulario-encabezado p {
    color: var(--gris);
    font-size: 13px;
}

/* CAMPOS */

.campo {
    margin-bottom: 20px;
}

.campo label {
    display: block;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 9px;
}

.campo input {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    background: var(--fondo-input);
    color: var(--texto);

    border: 1px solid var(--borde);
    border-radius: 11px;

    font-size: 14px;

    outline: none;
}

.campo input:focus {
    border-color: var(--verde);

    box-shadow:
        0 0 0 3px rgba(16, 185, 129, 0.10);
}

.campo input::placeholder {
    color: var(--gris);
}

/* CONTRASEÑA */

.campo-contrasena {
    display: flex;
    align-items: center;

    border: 1px solid var(--borde);
    border-radius: 11px;

    background: var(--fondo-input);
}

.campo-contrasena:focus-within {
    border-color: var(--verde);
}

.campo-contrasena input {
    border: none;
    background: transparent;

    box-shadow: none !important;
}

.campo-contrasena button {
    border: none;
    background: transparent;

    color: var(--verde);

    font-weight: 700;
    font-size: 12px;

    padding: 12px;

    cursor: pointer;
}

/* BOTÓN PRINCIPAL */

.btn-login {
    width: 100%;
    height: 49px;

    border: none;
    border-radius: 11px;

    background: var(--verde);
    color: white;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition: 0.2s;
}

.btn-login:hover {
    background: var(--verde-oscuro);
}

/* MENSAJES */

.mensaje-login {
    font-size: 12px;
    text-align: center;

    margin-top: 12px;

    color: var(--gris);
}

/* CAMBIAR ENTRE LOGIN Y REGISTRO */

.cambiar-formulario {
    display: flex;
    flex-wrap: wrap;

    justify-content: center;
    align-items: center;

    gap: 7px;

    margin-top: 25px;

    font-size: 12px;
    color: var(--gris);
}

.cambiar-formulario button {
    background: transparent;
    border: none;

    color: var(--verde);

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;
}

/* VOLVER AL MAPA */

.volver {
    text-decoration: none;

    color: var(--texto);

    font-size: 13px;
    font-weight: 700;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .login-contenedor {
        grid-template-columns: 1fr;

        padding: 35px 20px;

        gap: 40px;
    }

    .login-presentacion {
        text-align: center;
        margin: auto;
    }

    .login-presentacion > p {
        margin: auto;
    }

    .login-beneficios {
        align-items: center;
    }

}

@media (max-width: 500px) {

    .login-formulario {
        padding: 25px 20px;
    }

    .login-presentacion h2 {
        font-size: 35px;
    }

}
