/* Sign-in and password screens. Logical properties: one file for both directions. */

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; color: #18213D; background: #F6F7FA; -webkit-font-smoothing: antialiased; }
a { color: #1A7940; }

.au-auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }

.au-auth__brand { position: relative; overflow: hidden; background: #166938; color: #fff; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.au-auth__brand::after { content: ''; position: absolute; inset-inline-start: -10%; inset-block-end: -30%; width: 130%; height: 40%; border-radius: 50% 50% 0 0; border-top: 22px solid #B7862B; box-shadow: 0 -38px 0 -10px rgba(255, 255, 255, .16); opacity: .9; pointer-events: none; }
.au-auth__pitch h2 { font-size: 34px; line-height: 1.25; margin: 0 0 12px; max-width: 460px; }
.au-auth__pitch p { font-size: 16px; line-height: 1.7; opacity: .85; margin: 0; max-width: 460px; }
.au-auth__pillars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.au-auth__pillars li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.au-auth__pillars span { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; padding: 5px 0; border-radius: 9px; font-weight: 700; font-size: 13px; }
.au-auth__pillars .au-dot { min-width: 0; width: 12px; height: 12px; padding: 0; border-radius: 50%; flex: none; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.au-auth__org { position: relative; z-index: 1; margin: 0; font-size: 13px; opacity: .8; }

.au-auth__panel { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #fff; }
.au-form { width: 100%; max-width: 400px; }
.au-form__title { font-size: 28px; margin: 0 0 6px; color: #18213D; }
.au-form__title span { color: #166938; }
.au-form__lead { color: #6E7690; margin: 0 0 26px; line-height: 1.6; }

.au-field { margin-bottom: 16px; }
.au-field__label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.au-field__wrap { position: relative; }
.au-input { width: 100%; padding: 12px 14px; border: 1.5px solid #D5DAE5; border-radius: 11px; font: inherit; font-size: 15px; color: #18213D; background: #fff; }
.au-input:focus { outline: none; border-color: #1A7940; box-shadow: 0 0 0 3px rgba(22, 105, 56, .15); }
.au-input.is-invalid { border-color: #C00000; }
.au-input--password { padding-inline-end: 46px; }
.au-reveal { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 6px; cursor: pointer; color: #6E7690; }
.au-error { display: block; color: #C00000; font-size: 13px; margin-top: 5px; }
.au-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 20px; font-size: 14px; }
.au-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.au-link { font-weight: 600; text-decoration: none; }
.au-link:hover { text-decoration: underline; }
.au-submit { width: 100%; padding: 13px; border: 0; border-radius: 11px; background: #166938; color: #fff; font: inherit; font-weight: 700; font-size: 15.5px; cursor: pointer; }
.au-submit:hover { background: #0F4F29; }
.au-submit:disabled { opacity: .7; cursor: wait; }
.au-back { text-align: center; margin-top: 18px; }
.au-note, .au-alert { border-radius: 11px; padding: 11px 14px; margin-bottom: 16px; font-size: 14px; }
.au-note { background: #E3F5EE; color: #146C4E; }
.au-alert { background: #FCE8E8; color: #9A1010; }
.au-foot { margin-top: 30px; text-align: center; color: #6E7690; font-size: 12.5px; }
.au-foot a { color: inherit; }

@media (max-width: 860px) {
    .au-auth { grid-template-columns: 1fr; }
    .au-auth__brand { padding: 28px 24px 70px; gap: 22px; }
    .au-auth__pitch h2 { font-size: 24px; }
    .au-auth__pillars { display: none; }
}

/* the two logos on a white card at the top of the brand panel */
.au-logos { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 18px; background: #fff; border-radius: 16px; padding: 14px 20px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); align-self: flex-start; }
.au-logos img { display: block; width: auto; }
.au-logos__main { height: 58px; }
.au-logos__sep { width: 1px; align-self: stretch; background: #DDE3DF; }
.au-logos__exec { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.au-logos__exec small { color: #5B5E5E; font-size: 11px; font-weight: 600; }
.au-logos__exec img { height: 44px; }
@media (max-width: 860px) { .au-logos__main { height: 44px; } .au-logos__exec img { height: 34px; } }
