.header-button a[aria-busy="true"],
.mobilemenu__button a[aria-busy="true"] {
    cursor: progress;
    opacity: .65;
}

.header-button a.mh-bill-session-active,
.mobilemenu__button a.mh-bill-session-active {
    position: relative;
    overflow: visible;
    box-shadow: 0 0 0 2px rgb(29 151 91 / 20%);
}

.mh-bill-session-active .mh-bill-session-indicator {
    box-sizing: border-box;
    position: absolute;
    top: -4px;
    right: -4px;
    display: block;
    width: 17px;
    height: 17px;
    margin: 0;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #1d975b;
    box-shadow: 0 1px 4px rgb(17 84 51 / 15%);
}

.mh-bill-session-active .mh-bill-session-indicator::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 7px;
    height: 4px;
    border-left: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(-45deg);
}

.mh-bill-login {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    width: calc(100% - 32px);
    max-width: 460px;
    max-height: calc(100% - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #e3e9f5;
    border-radius: 24px;
    background: #fff;
    color: #202635;
    box-shadow: 0 24px 80px rgb(22 38 74 / 22%);
    font-family: inherit;
    text-align: left;
    color-scheme: light;
}

.mh-bill-login:not([open]) { display: none; }
.mh-bill-login::backdrop { background: rgb(15 28 51 / 48%); }
html.mh-bill-login-open,
html.mh-bill-login-open body { overflow: hidden !important; }
.mh-bill-login * { box-sizing: border-box; }
.mh-bill-login__content { position: relative; padding: 36px; }

.mh-bill-login button {
    margin: 0;
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mh-bill-login__close,
.mh-bill-login__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #758098;
}

.mh-bill-login__close { position: absolute; top: 14px; right: 14px; }
.mh-bill-login__close:hover,
.mh-bill-login__toggle:hover { color: #365ee8; background: #f0f4ff; }
.mh-bill-login__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: #edf2ff;
    color: #365ee8;
}

.mh-bill-login .mh-bill-login__title {
    margin: 0 0 10px;
    color: #202635;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.mh-bill-login .mh-bill-login__description {
    margin: 0 0 28px;
    color: #758098;
    font-size: 15px;
    line-height: 1.5;
}

.mh-bill-login__form { margin: 0; padding: 0; }
.mh-bill-login .mh-bill-login__label {
    display: block;
    margin: 0 0 9px;
    color: #202635;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.mh-bill-login .mh-bill-login__input {
    display: block;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid #d7deed;
    border-radius: 10px;
    background: #fff;
    color: #202635;
    box-shadow: none;
    font: inherit;
    font-size: 16px;
    line-height: normal;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.mh-bill-login .mh-bill-login__input::placeholder { color: #8b95a8; opacity: 1; }
.mh-bill-login .mh-bill-login__input:focus {
    border-color: #365ee8;
    box-shadow: 0 0 0 3px rgb(54 94 232 / 12%);
}

.mh-bill-login__password-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.mh-bill-login .mh-bill-login__link {
    color: #365ee8;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.mh-bill-login .mh-bill-login__link:hover { color: #244acb; text-decoration: underline; }
.mh-bill-login__password { position: relative; }
.mh-bill-login .mh-bill-login__password .mh-bill-login__input { padding-right: 52px; }
.mh-bill-login__toggle { position: absolute; top: 4px; right: 4px; }
.mh-bill-login__eye-slash { display: none; }
.mh-bill-login__toggle[aria-pressed="true"] .mh-bill-login__eye-slash { display: block; }

.mh-bill-login .mh-bill-login__submit {
    display: block;
    width: 100%;
    min-height: 52px;
    margin-top: 24px;
    padding: 13px 18px;
    border: 1px solid #365ee8;
    border-radius: 10px;
    background: #365ee8;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    transition: background .15s;
}

.mh-bill-login .mh-bill-login__submit:hover { background: #244acb; border-color: #244acb; }
.mh-bill-login .mh-bill-login__submit:disabled { cursor: wait; opacity: .7; }
.mh-bill-login .mh-bill-login__register {
    margin: 24px 0 0;
    color: #758098;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

.mh-bill-login button:focus-visible,
.mh-bill-login a:focus-visible { outline: 2px solid #365ee8; outline-offset: 3px; }

@media (max-width: 480px) {
    .mh-bill-login { border-radius: 20px; }
    .mh-bill-login__content { padding: 28px 22px; }
    .mh-bill-login .mh-bill-login__title { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .mh-bill-login .mh-bill-login__input,
    .mh-bill-login .mh-bill-login__submit { transition: none; }
}
