@font-face{font-family:Diwan;src:url('/assets/alexandria-arabic.woff2') format('woff2');font-weight:100 900;font-display:swap}
.diwan-login{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;position:relative;isolation:isolate;overflow:hidden;padding:32px 20px;background:#f7faf8;background-image:radial-gradient(ellipse at 20% 15%,#e6f4ecb0,transparent 50%),radial-gradient(ellipse at 85% 85%,#e6f4ec80,transparent 45%)}
.diwan-login:before{content:'';position:absolute;inset:0;background:url('/assets/login-pattern.svg') repeat;z-index:-1;mask-image:linear-gradient(110deg,#0009,transparent 40%,transparent 60%,#0009)}
.diwan-login-card{width:440px;min-height:440px;max-width:100%;padding:40px 44px 38px;border:1px solid #e1ebe4;border-radius:24px;background:#ffffffed;box-shadow:0 22px 75px #174d3809,0 4px 14px #174d3803;position:relative}
.diwan-login-card:before{content:'';position:absolute;top:-1px;right:calc(50% - 28px);width:56px;height:3px;background:#5ebe97;border-radius:0 0 4px 4px}
.diwan-signature{display:flex;justify-content:center;align-items:center;gap:16px;margin:1px 0 36px}
.diwan-signature img{width:70px;height:70px;filter:drop-shadow(0 6px 9px #174d3814)}
.diwan-signature h1{font-family:Diwan,Cairo,sans-serif;font-size:2.65rem;font-weight:650;line-height:1.4;color:#174d38;letter-spacing:-1.5px;margin:0 0 5px}
.diwan-signature h1:has(.diwan-wordmark){display:flex;align-items:center;line-height:1;margin:0}
.diwan-signature .diwan-wordmark{width:164px;height:77px;object-fit:contain;filter:none}
.diwan-signature h1 .diwan-wordmark{width:264px;height:110px}
.diwan-signature{margin-bottom:26px}
.loading-screen .loading-wordmark{width:210px;height:82px;object-fit:contain}
.brand .brand-wordmark{width:94px;height:38px;display:block;object-fit:contain;object-position:right center;box-shadow:none;border-radius:0}
.diwan-login-card .field{gap:9px;margin-bottom:20px;font-size:.875rem}
.diwan-login-card .field>span{color:#5d7667;font-weight:600}
.login-input{position:relative}
.diwan-login-card .login-input>input{height:49px;min-height:49px;background:#fbfdfb;border-color:#e0e9e2;border-radius:10px;padding:10px 14px 10px 43px;font-size:1rem;color:#284e39;transition:border-color .18s,box-shadow .18s}
.login-input>.icon{position:absolute;left:15px;top:15px;width:19px;height:19px;color:#a3b9ab;pointer-events:none}
.password-toggle{position:absolute;left:6px;top:6px;width:37px;height:37px;color:#96ae9e;border-radius:7px;display:grid;place-items:center}
.password-toggle:hover{background:#eaf5ee;color:#2e7d5b}
.password-toggle>.icon{width:19px;height:19px}
.diwan-login-card .btn.full{margin-top:5px;height:49px;border-radius:10px;font-size:.9375rem;font-weight:700;box-shadow:0 5px 12px #2e7d5b15}
.diwan-login-card .form-error:not(:empty){margin:0 0 12px;padding:0;line-height:1.9;font-size:.8125rem}
.diwan-login-card .field input:focus{background:#fff;box-shadow:0 0 0 3px #d6f7e84d}
.brand>span{font-family:Diwan,Cairo,sans-serif;font-size:1.5rem;font-weight:650;letter-spacing:-.7px}
.brand small{font-family:Cairo,Arial,sans-serif;font-weight:500;letter-spacing:0}
.user-state{padding:4px 9px;border-radius:6px;font-size:.75rem;font-weight:600;background:#edf7f0;color:#55936a;white-space:nowrap}
.user-state.inactive{color:#a68e74;background:#f8f1e9}
.user-row-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}
.user-current{font-size:.7rem;color:#88a494;font-weight:500;margin-right:7px}
.user-search{padding:0 24px 18px}.user-search .search-input{max-width:none}
.users-count{color:#96aa9d;font-weight:400;font-size:.8125rem;margin-right:6px}
.basic-form{max-width:none}.basic-form .form-grid{gap:22px}
.basic-form .form-grid+.btn{margin-top:24px}
.users-panel .settings-row .setting-icon{background:#edf6f0}
@media(max-width:520px){.diwan-login{padding:24px 20px}.diwan-login-card{width:390px;min-height:410px;padding:33px 26px 31px;border-radius:21px}.diwan-signature{margin-bottom:31px;gap:14px}.diwan-signature img{width:63px;height:63px}.diwan-signature h1{font-size:2.45rem}.diwan-login-card .field{margin-bottom:19px}.diwan-login-card .btn.full{height:48px}.user-row-actions{gap:3px}.user-state{font-size:.6875rem;padding:4px 7px}.settings-row.user-row{flex-wrap:wrap;gap:10px}.user-row>div:not(.user-row-actions){min-width:150px}.user-row-actions{margin-right:auto}.user-search{padding:0 14px 16px}.basic-form .form-grid{gap:19px}}
@media(prefers-reduced-motion:reduce){.diwan-login-card .login-input>input{transition:none}}
@media(max-width:520px){.diwan-signature .diwan-wordmark{width:148px;height:65px}.diwan-signature{gap:12px}}
@media(max-width:520px){.diwan-signature h1 .diwan-wordmark{width:228px;height:98px;max-width:100%}.diwan-signature{margin-bottom:24px}}
.voucher-brand img{width:135px;height:56px;object-fit:contain;border-radius:0}
