/* A shared Arabic filing desk. The stacked customer folders are the signature.
   Paper #fff, mist #f4f6fb, ink #192b50, blue #2449a6,
   folder #c3d0f0, muted #64718b. Display: Noto Kufi; body: Plex Arabic. */
:root {
  --login-paper: #ffffff;
  --login-mist: #f4f6fb;
  --login-ink: #192b50;
  --login-blue: #2449a6;
  --login-folder: #c3d0f0;
  --login-muted: #64718b;
  --login-body: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  --login-display: "Noto Kufi Arabic", "Segoe UI", sans-serif;
  --login-utility: "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--login-mist); color: var(--login-ink); font: 15px/1.7 var(--login-body); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a, button, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--login-folder); }
:focus-visible { outline: 3px solid var(--login-blue); outline-offset: 4px; }
.login-skip { position: absolute; top: -80px; right: 20px; padding: 10px 16px; background: var(--login-paper); color: var(--login-blue); z-index: 10; }
.login-skip:focus { top: 16px; }
.login-shell { max-width: 1400px; min-height: 100svh; margin: auto; padding: 0 64px; display: flex; flex-direction: column; }
.login-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }
.login-brand { display: flex; align-items: center; gap: 12px; color: var(--login-ink); text-decoration: none; font: 600 17px/1.6 var(--login-display); }
.login-mark { width: 44px; height: 48px; border-radius: 12px; background: var(--login-blue); color: white; display: grid; place-items: center; }
.login-mark svg { width: 27px; height: 27px; }
.login-brand small { display: block; font: 500 10px/1.6 var(--login-utility); letter-spacing: .25em; color: var(--login-muted); }
.workspace-label { display: flex; align-items: center; gap: 9px; color: var(--login-muted); font-size: 13px; }
.workspace-label > span { width: 7px; height: 7px; background: var(--login-blue); border-radius: 50%; }
.login-layout { display: grid; grid-template-columns: 1fr 1fr; flex: 1; min-height: 580px; max-height: 800px; border-radius: 24px; background: var(--login-paper); overflow: hidden; border: 1px solid #e1e6f0; }
.login-panel { padding: 32px 48px 24px; display: flex; flex-direction: column; justify-content: center; }
.login-form-wrap { max-width: 360px; width: 100%; margin: auto; }
.login-eyebrow { color: var(--login-blue); font-weight: 600; font-size: 14px; }
.login-panel h1 { margin: 8px 0 12px; font: 600 clamp(27px, 2.7vw, 36px)/1.5 var(--login-display); letter-spacing: -.045em; }
.login-intro { margin: 0 0 24px; font-size: 16px; color: var(--login-muted); line-height: 1.9; }
.login-form { display: grid; gap: 16px; }
.login-field label { display: block; margin-bottom: 7px; font-weight: 600; font-size: 14px; }
.login-field input { width: 100%; height: 52px; border: 1px solid #d6deec; background: var(--login-paper); border-radius: 8px; padding: 10px 15px; color: var(--login-ink); font-size: 16px; transition: border-color .15s; }
.login-field input::placeholder { text-align: right; direction: rtl; font-size: 14px; color: #77839a; }
.login-field input:focus { border-color: var(--login-blue); }
.password-field { position: relative; }
.password-field input { padding-right: 51px; }
.password-toggle { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: var(--login-muted); border-radius: 5px; }
.password-toggle:hover, .password-toggle[aria-pressed="true"] { background: var(--login-mist); color: var(--login-blue); }
.password-toggle svg { width: 20px; height: 20px; }
.login-submit { min-height: 52px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 8px; padding: 12px 19px; margin-top: 4px; background: var(--login-blue); color: white; font-weight: 600; transition: background .15s; }
.login-submit:hover { background: #1c3983; }
.login-submit:disabled { opacity: .7; cursor: wait; }
.login-submit svg { width: 21px; height: 21px; }
.login-help { margin: 25px 0 12px; font-size: 13px; color: var(--login-muted); line-height: 1.9; }
.shared-note { margin: 24px auto 0; max-width: 360px; width: 100%; padding-top: 18px; border-top: 1px solid #e7ebf3; display: flex; align-items: center; gap: 9px; color: var(--login-muted); font-size: 12px; }
.shared-note svg { flex-shrink: 0; width: 19px; height: 19px; }
.login-error { background: #fff2f1; color: #a52d33; border: 1px solid #f1c9ca; padding: 11px 14px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.login-story { background: #e9eef9; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 43px 48px 26px; overflow: hidden; }
.story-heading { position: relative; z-index: 2; }
.story-eyebrow { font-size: 12px; font-weight: 500; color: var(--login-blue); }
.story-heading h2 { margin: 15px 0 13px; font: 600 clamp(30px, 3vw, 43px)/1.65 var(--login-display); letter-spacing: -.055em; }
.story-heading p { color: var(--login-muted); margin: 0; font-size: 15px; line-height: 1.9; }
.filing-scene { position: relative; width: 350px; height: 260px; max-width: 100%; margin: 40px auto 17px; direction: rtl; isolation: isolate; }
.archive-folder { position: absolute; width: 300px; height: 165px; left: 16px; bottom: 0; border-radius: 0 10px 10px 10px; transform-origin: bottom center; }
.folder-tab { position: absolute; top: -29px; right: 0; height: 30px; padding: 5px 17px; border-radius: 9px 9px 0 0; font-size: 11px; font-weight: 600; white-space: nowrap; }
.folder-face { height: 100%; border-radius: 0 9px 9px 9px; padding: 30px 23px 18px; }
.folder-back { bottom: 53px; left: 7px; transform: rotate(-9deg); z-index: 0; }
.folder-back .folder-face, .folder-back .folder-tab { background: #a5b9e5; }
.folder-middle { bottom: 26px; left: 28px; transform: rotate(5deg); z-index: 1; }
.folder-middle .folder-face, .folder-middle .folder-tab { background: var(--login-folder); }
.folder-middle .folder-tab { right: 97px; }
.folder-front { z-index: 3; left: 18px; transform: rotate(-2deg); box-shadow: 0 18px 26px -20px #2449a663; }
.folder-front .folder-face, .folder-front .folder-tab { background: var(--login-blue); color: white; }
.folder-caption { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 19px; font-weight: 600; }
.folder-caption svg { width: 30px; height: 34px; }
.folder-caption small { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; color: #d6e1fb; }
.folder-spine { position: absolute; left: 23px; bottom: 18px; font: 400 9px/1.5 var(--login-utility); letter-spacing: .12em; color: #d6e1fb; }
.invoice-sheet { position: absolute; z-index: 2; width: 217px; height: 224px; left: 64px; bottom: 32px; padding: 20px; background: white; border-radius: 4px; transform: rotate(9deg); box-shadow: 0 0 0 1px #192b5010; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; margin-bottom: 15px; }
.sheet-mark { font: 500 19px var(--login-utility); color: var(--login-blue); }
.sheet-line { height: 4px; border-radius: 4px; background: #dce3f0; margin: 7px 0; }
.sheet-line.wide { width: 65%; }.sheet-line.short { width: 40%; }
.sheet-table { border-top: 1px solid #dce3f0; margin-top: 16px; }
.sheet-table span { display: block; height: 19px; border-bottom: 1px solid #e9eef9; }
.sheet-total { display: flex; align-items: center; justify-content: space-between; font-size: 9px; margin-top: 13px; }
.sheet-total .sheet-line { width: 38px; }
.story-footer { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--login-muted); font-size: 11px; position: relative; z-index: 4; }
.login-footer { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 11px; color: var(--login-muted); }
@media (min-width: 1400px) { .login-shell { padding-top: 25px; padding-bottom: 25px; } }
@media (max-width: 1000px) { .login-shell { padding: 0 28px; } .login-panel { padding: 35px 32px 24px; } .login-story { padding: 38px 30px 26px; } .filing-scene { transform: scale(.88); transform-origin: center; margin-top: 25px; } }
@media (max-width: 720px) { .login-shell { max-width: 520px; padding: 0 22px; } .login-header { padding: 27px 0; } .login-brand { font-size: 14px; } .login-mark { width: 38px; height: 42px; } .workspace-label { font-size: 11px; } .login-layout { display: block; min-height: auto; max-height: none; border-radius: 18px; flex: none; } .login-panel { min-height: 560px; padding: 36px 27px 25px; } .login-panel h1 { font-size: 31px; } .login-story { display: none; } .login-intro { font-size: 15px; } .shared-note { font-size: 11px; margin-top: 29px; } .login-footer { margin-top: auto; gap: 10px; } }
@media (max-width: 360px) { .login-shell { padding: 0 14px; } .login-panel { padding: 30px 21px 24px; } .workspace-label { display: none; } .desktop-break { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
