#register_window .registration-field-label {
    display: block;
    margin: 0 0 0.08rem;
    color: #fff;
    font-size: clamp(12px, 0.24rem, 15px);
    font-weight: 600;
    line-height: 1.4;
    white-space: normal;
}

#register_window .registration-field-help,
#register_window .registration-field-error {
    box-sizing: border-box;
    max-width: 100%;
    margin: 0.1rem 0 0;
    font-size: clamp(12px, 0.22rem, 14px);
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
}

#register_window .registration-field-help {
    color: rgba(255, 255, 255, 0.9);
}

#register_window .registration-field-error {
    padding: 0.08rem 0.12rem;
    border-left: 3px solid #ffb8b8;
    border-radius: 3px;
    color: #fff0f0;
    background: rgba(112, 0, 17, 0.42);
}

#register_window .registration-field-error[hidden] {
    display: none !important;
}

#register_window .registration-has-error .ant-input-affix-wrapper {
    border-color: #ffb8b8 !important;
    box-shadow: 0 0 0 1px rgba(255, 184, 184, 0.3);
}

#register_window .registration-has-error .ant-input {
    border-color: #ffb8b8 !important;
}

#register_window.registration-help-ready .site-registration-field {
    min-width: 0;
    line-height: normal;
}

#register_window.registration-help-ready .ant-form-item {
    margin-bottom: 0.26rem;
}

#register_window.registration-help-ready .formModel {
    max-height: none !important;
    overflow: visible !important;
}

#register_window.registration-help-ready .ant-modal-wrap {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

#register_window.registration-help-ready .ant-modal {
    width: min(6rem, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px);
}

#register_window.registration-help-ready .ant-modal-content {
    max-height: calc(100vh - 90px);
    max-height: calc(100dvh - 90px);
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

#register_window.registration-help-ready .ant-modal-body {
    max-height: none !important;
}

#register_window.registration-help-ready .ant-input,
#register_window.registration-help-ready .ant-input-affix-wrapper,
#register_window.registration-help-ready .ant-form-item-control-wrapper {
    min-width: 0;
}

#register_window.registration-help-ready input {
    scroll-margin: 0.28rem;
}

