.portal-page-registration .register-form {
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 450px;
    margin: 18px auto;
    padding: 22px;
    border: 1px solid #d2b896;
    border-radius: 8px;
    background: linear-gradient(#fff7e9, #f5e7d1);
    box-shadow: 0 2px 4px #78553615;
}

.portal-page-registration .register-form .form-group { margin-bottom: 13px; }
.portal-page-registration .register-form label {
    display: block;
    margin-bottom: 5px;
    color: #6b472c;
    font-size: 13px;
    font-weight: 600;
}
.portal-page-registration .register-form .form-group input {
    box-sizing: border-box;
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #c5a57e;
    border-radius: 4px;
    background: #fffdf7;
    color: #493821;
    font: inherit;
    font-size: 14px;
}
.portal-page-registration .register-form .form-group input:focus-visible {
    outline: 2px solid #a37b46;
    outline-offset: 2px;
}
.portal-page-registration .register-form small {
    display: block;
    margin-top: 4px;
    color: #81694c;
    font-size: 11px;
}
.portal-page-registration .registration-submit {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #9b723d;
    border-radius: 5px;
    background: linear-gradient(#d7b785, #bd9158);
    box-shadow: inset 0 1px #fff4d6, 0 2px 3px #5d402626;
    color: #452e19;
    cursor: pointer;
    font: 700 14px Tahoma, "Segoe UI", Arial, sans-serif;
    text-shadow: 0 1px #f5ddb6;
}
.portal-page-registration .registration-submit:hover:not(:disabled) { filter: brightness(1.06); }
.portal-page-registration .registration-submit:disabled { cursor: wait; opacity: .65; }
.portal-page-registration .registration-message {
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid;
    border-radius: 5px;
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.5;
}
.portal-page-registration .registration-message.success { border-color: #a7bf95; background: #e4eed9; color: #355529; }
.portal-page-registration .registration-message.error { border-color: #d7aca0; background: #f7e5df; color: #8a3527; }
.portal-page-registration .register-form .login-link {
    margin-top: 16px;
    color: #6b472c;
    text-align: center;
    font-size: 12px;
}
.portal-page-registration .register-form .login-link a { color: #81542d; font-weight: 600; }
.portal-page-registration .registration-captcha-container {
    display: flex;
    justify-content: center;
    min-height: 78px;
    margin-top: 18px;
}
.portal-page-registration .registration-captcha-status {
    margin: 5px 0;
    color: #81694c;
    text-align: center;
    font-size: 11px;
}
.portal-page-registration .registration-captcha-retry {
    display: block;
    margin: 5px auto 0;
    border: 0;
    background: transparent;
    color: #81542d;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    text-decoration: underline;
}
.portal-page-registration .registration-captcha-retry[hidden] { display: none; }

@media (max-width: 500px) {
    .portal-page-registration .register-form { width: calc(100% - 20px); margin: 12px auto; padding: 12px; }
    .portal-page-registration .registration-captcha-container { min-height: 67px; }
    .portal-page-registration #registrationCaptcha { flex-shrink: 0; transform: scale(.84); transform-origin: center top; }
}
@media (max-width: 360px) {
    .portal-page-registration .registration-captcha-container { min-height: 57px; }
    .portal-page-registration #registrationCaptcha { transform: scale(.72); }
}
