:root{--auth-font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;--auth-page-bg: #f3f5f7;--auth-panel-bg: #ffffff;--auth-text: #111827;--auth-muted: #4b5563;--auth-border: #cbd5e1;--auth-border-strong: #94a3b8;--auth-control-bg: #ffffff;--auth-control-hover: #f1f5f9;--auth-primary: #1d4ed8;--auth-primary-hover: #1e40af;--auth-primary-text: #ffffff;--auth-focus: #2563eb;--auth-danger-bg: #fef2f2;--auth-danger-border: #fca5a5;--auth-danger-text: #991b1b;--auth-shadow: 0 18px 45px -32px rgba(15, 23, 42, .38)}html[data-theme=dark]{color-scheme:dark;--auth-page-bg: #090f1c;--auth-panel-bg: #111827;--auth-text: #f8fafc;--auth-muted: #cbd5e1;--auth-border: #475569;--auth-border-strong: #64748b;--auth-control-bg: #0f172a;--auth-control-hover: #1e293b;--auth-primary: #3b82f6;--auth-primary-hover: #60a5fa;--auth-primary-text: #07111f;--auth-focus: #60a5fa;--auth-danger-bg: #3f151b;--auth-danger-border: #b91c1c;--auth-danger-text: #fecaca;--auth-shadow: 0 22px 52px -34px rgba(0, 0, 0, .88)}html{min-height:100%;background:var(--auth-page-bg);color:var(--auth-text);font-family:var(--auth-font-family)}html[lang^=ar]{--auth-font-family: "Cairo", ui-sans-serif, system-ui, sans-serif}body.auth-page{min-width:320px;min-height:100vh;min-height:100svh;margin:0;background:var(--auth-page-bg);color:var(--auth-text);font-family:var(--auth-font-family);letter-spacing:0}.auth-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100%;min-height:100vh;min-height:100svh}.auth-toolbar{padding:1rem max(1rem,env(safe-area-inset-right)) 0}.auth-toolbar__inner{display:flex;align-items:center;justify-content:flex-end;gap:.625rem;width:min(100%,440px);margin-inline:auto}.auth-locales{display:inline-grid;grid-auto-flow:column;grid-auto-columns:minmax(5.25rem,auto);min-width:0;padding:.1875rem;border:1px solid var(--auth-border);border-radius:8px;background:var(--auth-panel-bg)}.auth-locale-link{display:inline-flex;min-height:38px;align-items:center;justify-content:center;padding:.4rem .75rem;border-radius:5px;color:var(--auth-muted);font-size:.875rem;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap}.auth-locale-link:hover{background:var(--auth-control-hover);color:var(--auth-text)}.auth-locale-link.is-active{background:var(--auth-primary);color:var(--auth-primary-text)}.auth-theme-toggle{display:inline-flex;width:44px;height:44px;flex:0 0 44px;align-items:center;justify-content:center;border:1px solid var(--auth-border);border-radius:8px;background:var(--auth-panel-bg);color:var(--auth-text);font-size:1rem}.auth-theme-toggle:hover{border-color:var(--auth-border-strong);background:var(--auth-control-hover)}.auth-theme-icon--light,html[data-theme=dark] .auth-theme-icon--dark{display:none}html[data-theme=dark] .auth-theme-icon--light{display:inline-block}.auth-main{display:flex;width:100%;align-items:center;justify-content:center;padding:1.5rem 1rem}.auth-panel{width:min(100%,440px);padding:2rem;border:1px solid var(--auth-border);border-radius:8px;background:var(--auth-panel-bg);box-shadow:var(--auth-shadow)}.auth-brand{display:flex;width:fit-content;max-width:100%;flex-direction:column;align-items:center;gap:.625rem;margin:0 auto 1.75rem;color:var(--auth-text);text-align:center;text-decoration:none}.auth-brand:hover{color:var(--auth-text)}.auth-brand-logo{display:block;width:56px;height:56px;padding:.375rem;border:1px solid var(--auth-border);border-radius:8px;background:var(--auth-control-bg);object-fit:contain}.auth-brand-name{overflow-wrap:anywhere;font-size:1rem;font-weight:700;line-height:1.25}.auth-content{min-width:0}.auth-intro{margin-bottom:1.5rem;text-align:center}.auth-intro h1{margin:0;color:var(--auth-text);font-size:1.75rem;font-weight:700;line-height:1.2}.auth-intro p{max-width:32rem;margin:.625rem auto 0;color:var(--auth-muted);font-size:.9375rem;line-height:1.55}.auth-section-label{margin:0 0 .75rem;color:var(--auth-muted);font-size:.875rem;font-weight:600;text-align:center}.auth-provider-list{display:grid;gap:.625rem}.auth-panel .btn-oauth,.auth-email-toggle{display:inline-flex;width:100%;min-height:48px;align-items:center;justify-content:center;gap:.75rem;padding:.65rem 1rem;border:1px solid var(--auth-border-strong);border-radius:6px;background:var(--auth-control-bg);color:var(--auth-text);font-size:1rem;font-weight:600;line-height:1.25;text-decoration:none}.auth-panel .btn-oauth:hover,.auth-email-toggle:hover{border-color:var(--auth-focus);background:var(--auth-control-hover);color:var(--auth-text)}.auth-provider-icon{width:1.25rem;flex:0 0 1.25rem;text-align:center}.auth-email-toggle{margin-top:1rem}.auth-email-toggle__chevron{margin-inline-start:auto;font-size:.75rem}.auth-panel .form-label{margin-bottom:.4rem;color:var(--auth-text);font-size:.875rem;font-weight:600}.auth-panel .form-control{min-height:48px;border:1px solid var(--auth-border-strong);border-radius:6px;background:var(--auth-control-bg);color:var(--auth-text);font-size:1rem}.auth-panel .form-control::placeholder{color:var(--auth-muted);opacity:1}.auth-panel .form-control:focus{border-color:var(--auth-focus);background:var(--auth-control-bg);color:var(--auth-text);box-shadow:0 0 0 .2rem rgba(37,99,235,.2);box-shadow:0 0 0 .2rem color-mix(in srgb,var(--auth-focus) 24%,transparent)}.auth-panel .form-control.is-invalid{border-color:#dc2626}.auth-panel .invalid-feedback{color:var(--auth-danger-text)}.auth-panel .form-check{display:flex;min-height:44px;align-items:center;gap:.625rem;margin:0;padding-inline-start:0}.auth-panel .form-check-input{width:1.125rem;height:1.125rem;flex:0 0 1.125rem;margin:0;border-color:var(--auth-border-strong)}.auth-panel .form-check-label{color:var(--auth-text);font-size:.9375rem}.auth-panel .btn-primary{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:.625rem;border-color:var(--auth-primary);border-radius:6px;background:var(--auth-primary);color:var(--auth-primary-text);font-size:1rem;font-weight:700}.auth-panel .btn-primary:hover,.auth-panel .btn-primary:active{border-color:var(--auth-primary-hover);background:var(--auth-primary-hover);color:var(--auth-primary-text)}.auth-panel .btn-outline-light{min-height:48px;border-color:var(--auth-border-strong);border-radius:6px;color:var(--auth-text)}.auth-panel .btn-outline-light:hover{border-color:var(--auth-focus);background:var(--auth-control-hover);color:var(--auth-text)}.auth-panel .text-secondary,.auth-panel .text-muted{color:var(--auth-muted)!important}.auth-panel .text-light{color:var(--auth-text)!important}.auth-panel .alert{border-radius:6px}.auth-panel .alert-danger{border:1px solid var(--auth-danger-border);background:var(--auth-danger-bg);color:var(--auth-danger-text)}.auth-no-methods{margin:0;padding:.875rem 1rem;border:1px solid var(--auth-border);border-radius:6px;background:var(--auth-control-hover);color:var(--auth-text);text-align:center}.auth-footer{display:flex;align-items:center;justify-content:center;gap:.625rem;padding:0 1rem max(1.25rem,env(safe-area-inset-bottom));color:var(--auth-muted);font-size:.8125rem}.auth-footer a,.auth-footer .btn-link{min-height:32px;color:var(--auth-muted);font-size:inherit;line-height:32px;text-decoration-thickness:1px;text-underline-offset:.2rem}.auth-footer a:hover,.auth-footer .btn-link:hover{color:var(--auth-text)}.auth-locale-link:focus-visible,.auth-theme-toggle:focus-visible,.auth-brand:focus-visible,.auth-panel .btn:focus-visible,.auth-panel .form-control:focus-visible,.auth-panel .form-check-input:focus-visible,.auth-footer a:focus-visible,.auth-footer .btn-link:focus-visible{outline:3px solid #93c5fd;outline:3px solid color-mix(in srgb,var(--auth-focus) 58%,transparent);outline-offset:2px;box-shadow:none}@media(max-width:420px){.auth-toolbar{padding-top:.75rem}.auth-toolbar__inner{gap:.5rem}.auth-locales{grid-auto-columns:minmax(4.5rem,auto)}.auth-locale-link{padding-inline:.625rem}.auth-main{align-items:flex-start;padding:1rem .75rem 1.25rem}.auth-panel{padding:1.5rem}.auth-brand{margin-bottom:1.375rem}.auth-intro{margin-bottom:1.25rem}.auth-intro h1{font-size:1.5rem}}@media(prefers-reduced-motion:reduce){.auth-page *,.auth-page *:before,.auth-page *:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
