/* Loaded only by the Arabic password-reset request view. */
body.login {
    margin: 0;
    background: #f2f5f3;
    color: #101828;
}

body.login .center-container {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 100vh;
    padding: 32px 18px;
}
body.login .center-container > .row { width: 100%; max-width: 568px; margin: 0; }
body.login .center-container > .row > .col,
body.login .login-container > .col,
body.login .login-container .body-section > #formux { min-width: 0; padding: 0 !important; }
body.login .login-container {
    margin: 0;
    width: 100%;
    border: 1px solid #d6e3db;
    border-top: 4px solid #14573a;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(16, 69, 49, .08);
}
body.login .login-container .logo-section { display: none; }
body.login .login-container .body-section { margin: 0; }
body.login .loginFooter { padding-top: 13px; margin: 0; text-align: center; text-transform: none; }
body.login .loginFooter p { margin: 0; direction: ltr; color: #475467; font-size: 12px; }

.hamza-reset-request {
    direction: rtl;
    color: #101828;
    font: 16px/1.65 'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif;
    text-align: right;
}
.hamza-request-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 72px;
    box-sizing: border-box;
    padding: 12px 17px;
    border-bottom: 1px solid #d6e3db;
    border-radius: 8px 8px 0 0;
    background: #f6faf7;
    color: #104531;
    font-size: 19px;
    font-weight: 700;
    text-align: center;
}
.hamza-request-brand img { flex: 0 0 auto; width: 44px; height: 44px; }
.hamza-request-content { max-width: 510px; margin: 0 auto; padding: 26px 28px 28px; }
.hamza-reset-request h1 {
    margin: 0 0 14px;
    color: #104531;
    font: 700 clamp(22px, 4vw, 27px)/1.42 'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif;
    text-align: center;
    overflow-wrap: anywhere;
}
.hamza-request-intro { margin: 0 0 16px; color: #344054; }
.hamza-request-intro:has(+ .hamza-request-invitation) { margin-bottom: 5px; }
.hamza-request-invitation, .hamza-request-captcha-hint { margin: 0 0 16px; color: #475467; font-size: .9375em; }
.hamza-request-invitation { text-wrap: balance; }
.hamza-request-tip { margin: 0; color: #344054; }
.hamza-reset-request #frm { margin: 0; }
.hamza-reset-request fieldset { margin: 0 0 14px; padding: 7px 9px 9px; border: 1px solid #d6e3db; border-radius: 6px; min-width: 0; }
.hamza-reset-request fieldset.hidden { display: none; }
.hamza-reset-request legend { float: none; width: auto; margin: 0; padding: 0 6px; color: #344054; font: inherit; font-weight: 700; }
.hamza-request-roles { display: flex; flex-wrap: wrap; gap: 7px; }
.hamza-request-roles label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-sizing: border-box;
    min-height: 44px;
    padding: 4px 10px;
    border: 1px solid #d6e3db;
    border-radius: 6px;
    background: #f7fbf9;
}
.hamza-request-roles input { margin: 0; accent-color: #14573a; }
.hamza-request-field { margin: 0 0 14px; }
.hamza-request-field label, .hamza-request-captcha > label { display: block; margin: 0 0 6px; padding: 0; font-weight: 700; }
.hamza-reset-request #userName, .hamza-reset-request #captcha {
    box-sizing: border-box;
    max-width: none;
    min-height: 48px;
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #667b70;
    border-radius: 6px;
    background: #ffffff;
    color: #101828;
    font: inherit;
    direction: ltr;
    text-align: left;
}
.hamza-reset-request :is(#userName, #captcha)::placeholder { color: #475467; opacity: 1; }
.hamza-request-captcha {
    display: grid;
    justify-items: center;
    min-width: 0;
    margin: 0;
    text-align: center;
}
.hamza-request-captcha > label { margin-bottom: 0; }
.hamza-request-captcha-hint { margin: 2px 0 9px; }
.hamza-request-captcha .captchaContainer { max-width: 100%; }
.hamza-request-captcha img { display: block; max-width: 100%; }
.hamza-request-captcha > br { display: none; }
.hamza-reset-request .hamza-request-captcha input#captcha {
    position: static;
    width: min(100%, 14.65rem);
    margin: 0;
    text-align: center;
}
.hamza-reset-request .newCaptcha, .hamza-request-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: #104531;
    font-weight: 700;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hamza-reset-request :is(#msgArea, #msgArea2) {
    margin: 8px 0 0;
    padding: 8px 11px;
    text-align: center;
    border: 1px solid #f5aaa3;
    border-radius: 6px;
    background: #fef3f2;
    color: #912018;
    overflow-wrap: anywhere;
}
.hamza-reset-request :is(#msgArea, #msgArea2):empty { display: none; }
.hamza-request-actions { display: grid; justify-items: center; gap: 4px; margin-top: 12px; }
.hamza-reset-request .hamza-request-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid #14573a;
    border-radius: 6px;
    background: #14573a;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.hamza-reset-request .hamza-request-primary:hover:not(:disabled) { background: #104531; color: #ffffff; }
.hamza-reset-request .hamza-request-primary:disabled { opacity: .7; }
.hamza-reset-request :is(a, button, input):focus-visible { outline: 3px solid #14573a; outline-offset: 2px; }

@media (max-width: 480px) {
    body.login .center-container { align-items: flex-start; padding: 12px; }
    .hamza-request-content { padding: 18px 17px 21px; }
}
