.login-page {
    align-items: center;
    background-color: #f4f6fc;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(91, 115, 232, 0.13) 1px, transparent 0),
        linear-gradient(135deg, rgba(244, 247, 255, 0.98) 0%, rgba(235, 240, 255, 0.96) 48%, rgba(248, 250, 253, 0.98) 100%);
    background-size: 27px 27px, auto;
    display: flex;
    isolation: isolate;
    min-height: 100vh;
    overflow: hidden;
    padding: 42px 0;
    position: relative;
}

.login-page::before,
.login-page::after {
    border-radius: 50%;
    content: "";
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.login-page::before {
    background: rgba(91, 115, 232, 0.13);
    filter: blur(4px);
    height: 340px;
    left: -145px;
    top: -120px;
    width: 340px;
}

.login-page::after {
    background: rgba(80, 165, 241, 0.12);
    bottom: -170px;
    height: 410px;
    right: -125px;
    width: 410px;
}

.login-page__container {
    position: relative;
    z-index: 1;
}

.login-shell {
    background: #ffffff;
    border: 1px solid rgba(137, 150, 186, 0.18);
    border-radius: 26px;
    box-shadow: 0 30px 80px rgba(35, 49, 89, 0.16);
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.94fr);
    margin: 0 auto;
    max-width: 1100px;
    min-height: 660px;
    overflow: hidden;
}

.login-showcase {
    background: linear-gradient(145deg, #4058c9 0%, #5b73e8 52%, #5b96ea 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    padding: 44px 50px 22px;
    position: relative;
}

.login-showcase::before {
    background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.25px, transparent 1.25px);
    background-size: 24px 24px;
    content: "";
    inset: 0;
    mask-image: linear-gradient(135deg, #000 0%, transparent 64%);
    opacity: 0.75;
    pointer-events: none;
    position: absolute;
}

.login-showcase::after {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    bottom: -170px;
    content: "";
    height: 430px;
    pointer-events: none;
    position: absolute;
    right: -170px;
    width: 430px;
}

.login-brand {
    align-items: center;
    display: flex;
    gap: 13px;
    position: relative;
    z-index: 2;
}

.login-brand__mark {
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    display: inline-flex;
    flex: 0 0 46px;
    font-size: 25px;
    height: 46px;
    justify-content: center;
}

.login-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.login-brand__text strong {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.login-brand__text small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    margin-top: 4px;
}

.login-showcase__copy {
    margin-top: 56px;
    max-width: 470px;
    position: relative;
    z-index: 2;
}

.login-eyebrow {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    display: inline-flex;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    padding: 7px 12px;
    text-transform: uppercase;
}

.login-showcase__copy h2 {
    color: #ffffff;
    font-size: clamp(30px, 3.1vw, 42px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin: 22px 0 15px;
}

.login-showcase__copy > p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    max-width: 430px;
}

.login-benefits {
    display: grid;
    gap: 11px;
    list-style: none;
    margin: 25px 0 0;
    padding: 0;
}

.login-benefits li {
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    font-size: 13px;
    gap: 10px;
}

.login-benefits i {
    color: #dfe7ff;
    font-size: 18px;
}

.login-showcase__illustration {
    align-items: flex-end;
    display: flex;
    flex: 1;
    justify-content: center;
    min-height: 190px;
    position: relative;
    z-index: 2;
}

.login-showcase__image {
    filter: drop-shadow(0 18px 22px rgba(30, 38, 89, 0.2));
    height: auto;
    margin-bottom: -5px;
    max-width: 470px;
    width: 94%;
}

.login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 54px 56px 34px;
}

.login-brand--mobile {
    display: none;
}

.login-form-heading__eyebrow {
    color: #5b73e8;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.login-form-heading h1 {
    color: #242a3a;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0 0 10px;
}

.login-form-heading p {
    color: #7b8190;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

.login-form-content {
    margin-top: 32px;
}

.login-alert {
    align-items: flex-start;
    border: 0;
    border-radius: 12px;
    display: flex;
    font-size: 13px;
    gap: 9px;
    line-height: 1.5;
    padding: 12px 14px;
}

.login-alert > i {
    flex: 0 0 auto;
    font-size: 19px;
    line-height: 1.2;
}

.login-alert--validation ul {
    margin-top: 4px;
}

.login-field-group {
    margin-bottom: 21px;
}

.login-field-group .form-label {
    color: #3f4656;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-input-group {
    border: 1px solid #dfe3ec;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.login-input-group:focus-within {
    border-color: rgba(91, 115, 232, 0.75);
    box-shadow: 0 0 0 4px rgba(91, 115, 232, 0.1);
}

.login-input-group .input-group-text {
    background: #f8f9fc;
    border: 0;
    color: #8b93a5;
    font-size: 20px;
    padding: 0 0 0 16px;
}

.login-input-group .form-control {
    background: #f8f9fc;
    border: 0;
    box-shadow: none;
    color: #242a3a;
    font-size: 14px;
    min-height: 52px;
    padding: 13px 14px 13px 12px;
}

.login-input-group .form-control::placeholder {
    color: #a4aaba;
}

.login-input-group .form-control.is-invalid {
    background-image: none;
}

.login-password-toggle {
    background: #f8f9fc;
    border: 0;
    border-radius: 0;
    box-shadow: none !important;
    color: #7c8496;
    font-size: 20px;
    min-width: 50px;
}

.login-password-toggle:hover,
.login-password-toggle:focus-visible {
    background: #f1f3f9;
    color: #5b73e8;
}

.login-field-group .invalid-feedback {
    font-size: 12px;
    margin: 6px 2px 0;
}

.login-submit-wrap {
    margin-top: 29px;
}

.login-submit {
    align-items: center;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(91, 115, 232, 0.25);
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    justify-content: center;
    min-height: 52px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.login-submit:hover:not(:disabled) {
    box-shadow: 0 13px 28px rgba(91, 115, 232, 0.32);
    transform: translateY(-1px);
}

.login-submit .submit-label i {
    font-size: 18px;
    margin-left: 7px;
    vertical-align: -1px;
}

.login-security-note {
    align-items: center;
    color: #8a91a0;
    display: flex;
    font-size: 12px;
    gap: 7px;
    justify-content: center;
    margin-top: 22px;
}

.login-security-note i {
    color: #5b73e8;
    font-size: 17px;
}

.login-copyright {
    color: #9aa0ae;
    font-size: 11px;
    margin: auto 0 0;
    padding-top: 26px;
    text-align: center;
}

@media (max-width: 991.98px) {
    .login-page {
        padding: 28px 0;
    }

    .login-shell {
        display: block;
        max-width: 610px;
        min-height: 0;
    }

    .login-showcase {
        display: none;
    }

    .login-form-panel {
        min-height: 650px;
        padding: 46px 54px 32px;
    }

    .login-brand--mobile {
        color: #293044;
        display: flex;
        margin-bottom: 50px;
    }

    .login-brand--mobile .login-brand__mark {
        background: rgba(91, 115, 232, 0.1);
        border-color: rgba(91, 115, 232, 0.15);
        color: #5b73e8;
    }

    .login-brand--mobile .login-brand__text small {
        color: #8a91a0;
    }
}

@media (max-width: 575.98px) {
    .login-page {
        align-items: stretch;
        padding: 0;
    }

    .login-page__container {
        padding: 0;
    }

    .login-shell {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
    }

    .login-form-panel {
        min-height: 100vh;
        padding: 30px 24px 24px;
    }

    .login-brand--mobile {
        margin-bottom: 44px;
    }

    .login-brand__mark {
        border-radius: 12px;
        flex-basis: 42px;
        font-size: 22px;
        height: 42px;
    }

    .login-brand__text strong {
        font-size: 17px;
    }

    .login-form-heading h1 {
        font-size: 26px;
    }

    .login-form-content {
        margin-top: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-input-group,
    .login-submit {
        transition: none;
    }
}
