.lemont-login,
.lemont-login input,
.lemont-login button,
.lemont-login label,
footer {
    font-family: "Google Sans", Lato, Helvetica, sans-serif;
}

.lemont-login {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 64px);
    padding: 1.75rem 2rem 2.5rem;
    overflow: hidden;
}

.lemont-login::before,
.lemont-login::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.65;
    pointer-events: none;
}

.lemont-login::before {
    top: 12%;
    left: -5%;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(72, 126, 255, 0.22) 0%, rgba(72, 126, 255, 0) 72%);
}

.lemont-login::after {
    right: -4%;
    bottom: 10%;
    width: 20rem;
    height: 20rem;
    background: radial-gradient(circle, rgba(142, 164, 255, 0.18) 0%, rgba(142, 164, 255, 0) 72%);
}

.lemont-login__brandbar {
    position: relative;
    z-index: 2;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.lemont-login__brand {
    display: inline-flex;
    align-items: center;
    margin-left: 0.35rem;
    text-decoration: none;
}

.lemont-login__brand img {
    display: block;
    width: clamp(10.5rem, 14vw, 18rem);
    height: auto;
}

.lemont-login__body {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 84rem;
    margin: 0 auto;
    gap: clamp(2.5rem, 5vw, 4.5rem);
}

.lemont-login__panel,
.lemont-login__illustration {
    flex: 1 1 0;
}

.lemont-login__panel {
    display: flex;
    justify-content: flex-end;
}

.lemont-login__card {
    width: 100%;
    max-width: 31rem;
    min-height: 31rem;
    padding: 3rem 2.8rem 2.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(219, 226, 239, 0.85);
    border-radius: 1.15rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(14px);
}

.lemont-login__title {
    margin: 0 0 2.35rem;
    color: #1b2360;
    font-size: clamp(2rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.lemont-login__alert {
    margin-bottom: 1.15rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(248, 113, 113, 0.35);
    border-radius: 0.9rem;
    background: rgba(254, 242, 242, 0.98);
    color: #b42318;
    font-size: 0.95rem;
    line-height: 1.5;
}

.lemont-login__alert.is-hidden {
    display: none;
}

.lemont-login__field + .lemont-login__field {
    margin-top: 1.65rem;
}

.lemont-login__label {
    display: block;
    margin-bottom: 0.55rem;
    color: #1f2937;
    font-size: 0.98rem;
    font-weight: 500;
}

.lemont-login__input-wrap {
    position: relative;
}

.lemont-login__input {
    width: 100%;
    padding: 0.25rem 2.65rem 0.6rem 0;
    border: 0;
    border-bottom: 2px solid #DBDADE;
    border-radius: 0;
    background: transparent;
    color: #1f2937;
    font-size: 1.08rem;
    font-weight: 500;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.lemont-login__input::placeholder {
    color: #98a2b3;
    font-weight: 400;
}

.lemont-login__input:focus {
    border-bottom-color: #0066FF;
}

.lemont-login__input.is-invalid {
    border-bottom-color: #ef4444;
}

.lemont-login__toggle-password {
    position: absolute;
    right: 0;
    bottom: 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8b95a7;
    cursor: pointer;
}

.lemont-login__toggle-password:hover,
.lemont-login__toggle-password:focus {
    color: #0066FF;
    outline: none;
}

.lemont-login__icon {
    width: 1.2rem;
    height: 1.2rem;
}

.lemont-login__icon.is-hidden {
    display: none;
}

.lemont-login__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 2.75rem;
}

.lemont-login__actions .btn {
    min-width: 12rem;
}

.lemont-login__illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lemont-login__illustration-shell {
    position: relative;
    width: 100%;
    max-width: 34rem;
    padding: 1.25rem;
    border-radius: 2rem;
}

.lemont-login__illustration-shell::before {
    content: '';
    position: absolute;
    inset: 8% 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.07) 0%, rgba(0, 102, 255, 0) 70%);
}

.lemont-login__illustration img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 24px 40px rgba(68, 92, 153, 0.14));
}

@media (max-width: 991.98px) {
    .lemont-login {
        min-height: auto;
        padding: 1.5rem 1.25rem 2rem;
    }

    .lemont-login__brandbar {
        margin-bottom: 1.75rem;
    }

    .lemont-login__body {
        display: block;
    }

    .lemont-login__panel {
        justify-content: center;
    }

    .lemont-login__card {
        max-width: 100%;
        min-height: auto;
        padding: 2.25rem 1.75rem 2rem;
    }

    .lemont-login__illustration {
        display: none;
    }

    .lemont-login__actions {
        justify-content: flex-start;
    }

    .lemont-login__actions .btn {
        width: 100%;
        min-width: 0;
    }
}
