.has-login-gate {
    overflow: hidden !important;
}

.login-gate {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    padding: 24px;
    background: rgba(30, 37, 48, .72);
    backdrop-filter: blur(8px) saturate(.75);
    -webkit-backdrop-filter: blur(8px) saturate(.75);
}

.login-gate__panel {
    width: min(100%, 410px);
    box-sizing: border-box;
    padding: 32px;
    overflow: hidden;
    position: relative;
    text-align: center;
    color: #102644;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(4, 18, 38, .34), 0 4px 18px rgba(4, 18, 38, .12);
}

.login-gate__panel::before {
    content: '';
    position: absolute;
    width: 210px;
    height: 210px;
    top: -130px;
    right: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35, 139, 255, .18), rgba(35, 139, 255, 0) 70%);
    pointer-events: none;
}

.login-gate__icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 17px;
    color: #0878ec;
    border-radius: 20px;
    background: linear-gradient(145deg, #eef7ff, #dceeff);
    border: 1px solid #cde5ff;
    box-shadow: 0 10px 28px rgba(8, 120, 236, .16);
}

.login-gate__icon svg {
    width: 29px;
    height: 29px;
    stroke-width: 1.8;
}

.login-gate__eyebrow {
    margin: 0 0 7px;
    color: #0878ec;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.login-gate__panel h2 {
    margin: 0;
    color: #0b2343;
    font-size: clamp(24px, 5vw, 30px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.035em;
}

.login-gate__description {
    max-width: 310px;
    margin: 10px auto 24px;
    color: #647894;
    font-size: 14px;
    line-height: 1.55;
}

.login-gate__form {
    text-align: left;
}

.login-gate__form > label {
    display: block;
    margin: 0 0 8px;
    color: #203a5d;
    font-size: 13px;
    font-weight: 750;
}

.login-gate__input {
    height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border: 1px solid #cfdaea;
    border-radius: 16px;
    background: #f8fbff;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.login-gate__input:focus-within {
    background: #fff;
    border-color: #238bff;
    box-shadow: 0 0 0 4px rgba(35, 139, 255, .12);
}

.login-gate__input.is-invalid {
    border-color: #e65062;
}

.login-gate__input > svg {
    width: 20px;
    flex: 0 0 auto;
    color: #7890ae;
}

.login-gate__input input {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0;
    color: #102644;
    font: inherit;
    font-size: 15px;
    letter-spacing: .04em;
    border: 0;
    outline: 0;
    background: transparent;
}

.login-gate__input input::placeholder {
    color: #9aabc0;
    letter-spacing: 0;
}

.login-gate__input button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    color: #7890ae;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.login-gate__input button:hover {
    color: #0878ec;
    background: #eaf4ff;
}

.login-gate__input button svg {
    width: 19px;
}

.login-gate__error {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 8px 2px 0;
    color: #cf3046;
    font-size: 12px;
    font-weight: 650;
}

.login-gate__error svg {
    width: 15px;
    height: 15px;
}

.login-gate__submit {
    width: 100%;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 16px;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(105deg, #168cf5, #0862df);
    box-shadow: 0 13px 28px rgba(8, 98, 223, .23);
    cursor: pointer;
}

.login-gate__submit:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.login-gate__submit svg {
    width: 18px;
}

.login-gate__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 20px 0 0;
    color: #8494a9;
    font-size: 11px;
}

.login-gate__secure svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 520px) {
    .login-gate {
        align-items: end;
        padding: 12px;
    }

    .login-gate__panel {
        padding: 28px 22px calc(24px + env(safe-area-inset-bottom));
        border-radius: 26px;
    }
}
