.mhal-wrap {
    width: 100%;
    direction: inherit;
}

.mhal-title {
    margin: 0 0 18px;
    text-align: center;
}

.mhal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mhal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mhal-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
}

.mhal-input {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    padding: 10px 12px;
    font: inherit;
    background: #ffffff;
    color: #222222;
}

.mhal-input:focus {
    outline: 2px solid transparent;
    border-color: #3977c1;
    box-shadow: 0 0 0 2px rgba(57,119,193,.15);
}

.mhal-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.mhal-button {
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: #2672b8;
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}

.mhal-button:hover {
    background: #15568f;
    color: #ffffff;
}

.mhal-button:disabled {
    opacity: .7;
    cursor: wait;
}

.mhal-notice {
    border-radius: 5px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.6;
}

.mhal-notice[hidden] {
    display: none !important;
}

.mhal-notice.is-error {
    background: #fff0f0;
    border: 1px solid #e7bbbb;
    color: #942727;
}

.mhal-notice.is-success {
    background: #edf9ef;
    border: 1px solid #b8d9bf;
    color: #246b34;
}

.mhal-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.mhal-links a {
    font-size: 14px;
    text-decoration: underline;
}

.mhal-links a:focus-visible,
.mhal-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}