/* AG IT Assist v30 · Unified premium corporate language. Pure presentation layer. */
:root{--bg:#f7f9fc;--card:#fff;--panel:#f4f8fc;--text:#10233d;--muted:#657993;--border:#e1e9f1;--blue:#1179bf;--red:#b70e35;--green:#628914;--yellow:#ebbd38;--purple:#9256a8;--shadow:0 22px 65px rgba(22,57,95,.075)}
body{background:radial-gradient(ellipse 42% 25% at 92% -6%,rgba(25,132,210,.075),transparent),radial-gradient(ellipse 36% 27% at -9% 19%,rgba(155,86,162,.048),transparent),#f7f9fc;color:var(--text);min-height:100vh;font-family:Inter,'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased}
.app-shell{max-width:1080px;padding:clamp(12px,2vw,28px) 20px 55px;position:relative}
body.it-workspace-active .app-shell{max-width:1440px}
.topbar{position:relative;z-index:10;border:1px solid rgba(218,231,241,.91);background:rgba(255,255,255,.91);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 17px 46px rgba(27,57,87,.06);border-radius:23px;padding:14px 20px;margin-bottom:24px}
.brand-orbit{width:49px;height:49px;background:white;border:1px solid #edf1f5;border-radius:13px;box-shadow:0 5px 19px rgba(26,87,135,.08)}
.brand-orbit .orbit-ring{display:none}
.brand-orbit img{width:39px;height:39px;object-fit:contain}
.brand-title{font-weight:800;font-size:1.08rem;letter-spacing:-.035em;line-height:1.13;color:#122740}
.brand-tech{color:var(--blue)}.brand-mini .muted{font-size:.77rem;margin-top:4px}.build-version{font-size:.66rem!important;color:#94a5ba!important}
.top-actions{align-items:center;gap:7px}.top-actions .ghost-btn,.landing-return-link{min-height:39px;padding:0 14px;border-color:transparent;background:#f5f8fc;border-radius:999px;color:#2d4d6e;font-weight:710;font-size:.79rem;transition:background .24s,border-color .24s,transform .24s}
.top-actions .ghost-btn:hover,.landing-return-link:hover{background:#edf5fd;border-color:#d2e6f4}
#languageBtn{min-width:45px}
#itAccessBtn:not(.hidden){background:#f0f5fb}
#signOutBtn:not(.hidden){border:1px solid #dfe8f0;background:#fff}
.card{border:1px solid rgba(222,233,242,.93);box-shadow:0 16px 43px rgba(31,63,98,.055);border-radius:24px;background:rgba(255,255,255,.975);padding:clamp(19px,2.5vw,30px)}
.view:not(.hidden){animation:v30Reveal .4s cubic-bezier(.2,.8,.2,1) both}
@keyframes v30Reveal{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.view h2,.view h3{letter-spacing:-.037em;color:#142840}.view h2{font-size:clamp(1.42rem,2.5vw,1.95rem);font-weight:790}.view p{line-height:1.65}
input,select,textarea{border:1px solid #dfe8f0;background:#fbfdff;border-radius:13px;min-height:46px;padding:12px 14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:border-color .22s,box-shadow .22s,background .22s}
textarea{min-height:110px}input:hover,select:hover,textarea:hover{border-color:#bbcddd}input:focus,select:focus,textarea:focus{background:white;border-color:#57a3d9;box-shadow:0 0 0 4px rgba(21,127,174,.11)}
label{color:#29415b;font-size:.88rem;gap:8px}
.primary-btn,.ghost-btn,.danger-btn{border-radius:13px;min-height:46px;font-weight:740;transition:transform .22s cubic-bezier(.2,.7,.2,1),box-shadow .22s,border-color .22s,background .22s}
.primary-btn{background:linear-gradient(112deg,#0b72bb,#128ddd);box-shadow:0 10px 24px rgba(12,114,192,.17);color:white}
.primary-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 14px 30px rgba(12,114,192,.25)}
.ghost-btn{border:1px solid #dfe9f1;background:white;color:#24435f}.ghost-btn:hover:not(:disabled){background:#f6fbff;border-color:#aad3ec;transform:translateY(-1px)}
.primary-btn:focus-visible,.ghost-btn:focus-visible,.mini-card:focus-visible,.hero-card:focus-visible,.it-nav-btn:focus-visible{outline:3px solid #78bbea;outline-offset:3px}
/* Login: modern 2-panel shell with official logo, no changes to Auth workflow. */
#authView{display:grid;grid-template-columns:1fr .92fr;gap:0;max-width:1040px;margin:clamp(10px,4vh,45px) auto 15px;min-height:545px;padding:0;overflow:hidden;box-shadow:0 28px 90px rgba(27,65,108,.11);border-radius:29px}
#authView.hidden{display:none!important}
.auth-brand-story{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:525px;padding:38px clamp(28px,4vw,49px) 29px;overflow:hidden;background:linear-gradient(142deg,#eaf4fc 0%,#f9fcff 52%,#f7f4fb 100%);isolation:isolate}
.auth-brand-story:before{content:'Al Ghalia';position:absolute;z-index:-1;bottom:-31px;left:-24px;font:700 clamp(80px,11vw,140px) Georgia,serif;white-space:nowrap;letter-spacing:-.09em;color:rgba(12,91,152,.045);pointer-events:none}
.auth-brand-story:after{content:'';position:absolute;z-index:-1;width:340px;height:340px;border-radius:50%;right:-120px;top:48px;background:radial-gradient(circle,rgba(21,131,213,.14),transparent 70%);filter:blur(19px)}
.auth-story-wordmark{display:flex;align-items:center;gap:10px;font-size:.77rem;font-weight:800;letter-spacing:.12em;color:#254563}.auth-story-wordmark img{object-fit:contain;width:46px;height:46px}.auth-story-wordmark b{color:#1783c6}
.auth-story-copy{margin:24px 0 auto;position:relative;z-index:2}.auth-eyebrow,.auth-form-kicker,.portal-kicker{font-size:.7rem;color:#5683a8;letter-spacing:.16em;font-weight:800}
.auth-story-copy h1{font-size:clamp(2.1rem,4vw,3.45rem);letter-spacing:-.065em;line-height:1.09;color:#132e4e;margin:19px 0;max-width:450px}
.auth-story-copy p{max-width:360px;font-size:.95rem;line-height:1.75;color:#5d7390}
.auth-story-art{position:relative;height:150px;width:100%;isolation:isolate;transform:translateY(5px)}
.auth-story-orbit{position:absolute;inset:14px 12% 0;border:1px solid rgba(82,157,215,.17);border-radius:50%;transform:rotate(-18deg)}
.auth-story-orbit.orbit-gold{inset:46px 30% 20px 12%;border-color:rgba(220,169,49,.32);transform:rotate(13deg)}
.auth-tech-device{position:absolute;left:35%;top:0;width:180px;height:110px;transform:perspective(500px) rotateX(9deg) rotateY(-14deg);filter:drop-shadow(10px 25px 18px rgba(24,69,108,.13));animation:v30LoginFloat 7s ease-in-out infinite}
.auth-tech-display{position:absolute;inset:0 10px 22px;border:5px solid #435b71;border-bottom-width:8px;background:linear-gradient(145deg,#fafeff,#dceffd);border-radius:8px;display:grid;align-content:center;gap:10px;padding:13px 21px}
.auth-tech-display i{height:7px;background:#a9cce7;border-radius:6px}.auth-tech-display i:nth-child(2){width:68%;background:#a5e4c8}.auth-tech-display i:nth-child(3){width:83%;background:#ead59c}
.auth-tech-base{position:absolute;bottom:6px;left:0;width:100%;height:16px;border-radius:3px 3px 8px 8px;background:linear-gradient(180deg,#98b5ca,#edf5fa 55%,#8ca4b7);clip-path:polygon(6% 0,94% 0,100% 85%,95% 100%,5% 100%,0 85%)}
@keyframes v30LoginFloat{0%,100%{transform:translateY(3px) perspective(500px) rotateX(9deg) rotateY(-14deg)}50%{transform:translateY(-9px) perspective(500px) rotateX(7deg) rotateY(-12deg)}}
.auth-story-footer{display:flex;align-items:center;gap:8px;font-size:.78rem;color:#51708c;font-weight:650;position:relative;z-index:3}.auth-signal{width:8px;height:8px;border-radius:50%;background:#72a63f;box-shadow:0 0 0 4px rgba(114,166,63,.13)}
.auth-form-panel{display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,4vw,52px);min-width:0;background:#fff}
.auth-form-panel h2{font-size:clamp(1.65rem,2.6vw,2.2rem);margin:13px 0 9px}.auth-form-panel>p.muted{max-width:410px;margin:0 0 26px}
.auth-form-panel .form-stack{gap:19px}.auth-form-panel #authSubmitBtn{margin-top:5px;min-height:50px}
.auth-form-panel .text-btn{margin-top:14px}.auth-form-panel>.tiny{margin:16px 0 0;line-height:1.6}
.auth-form-panel #authMessage{margin:12px 0 0;font-weight:600}
/* Employee dashboard: friendly quick entry cards with company-brand accents. */
.portal-welcome{position:relative;overflow:hidden;padding:30px 34px;border:1px solid #e3ebf3;border-radius:25px;margin-bottom:19px;background:linear-gradient(108deg,#fff,#f0f8ff 73%,#f9f7ff);display:flex;justify-content:space-between;gap:18px;align-items:center;box-shadow:0 14px 37px rgba(26,65,101,.046)}
.portal-welcome h1{font-size:clamp(1.8rem,3vw,2.6rem);margin:12px 0 8px;letter-spacing:-.055em;color:#122e4d}.portal-welcome p{color:#667b91;margin:0;max-width:460px}
.portal-welcome-art{position:relative;width:116px;height:116px;border:1px solid rgba(27,129,200,.19);border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:radial-gradient(circle,#fff,#d9edfa 90%)}
.portal-welcome-art>span:first-child{font-size:2.3rem;font-weight:900;background:linear-gradient(90deg,#1479bd,#8b57a5,#eabf32);color:transparent;background-clip:text;-webkit-background-clip:text}
.welcome-orbit{position:absolute;inset:8px -8px;transform:rotate(-28deg);border:1px solid rgba(23,124,197,.22);border-radius:50%}
.mini-row{gap:15px;margin-bottom:15px}.mini-card{background:#fff;border-color:#e0eaf3;border-radius:18px;min-height:102px;text-align:start;padding:19px 22px;box-shadow:0 12px 35px rgba(28,64,94,.04)}
.mini-icon{width:46px;height:46px;border:0;background:#eaf4fe;color:#1286d5;font-size:1.25rem;border-radius:14px}
.mini-card b{font-size:1rem;color:#213a52}.mini-card small{font-size:.82rem;line-height:1.45}
.home-grid{gap:16px}.hero-card{min-height:195px;background:#fff;border-color:#deebf3;padding:26px;border-radius:22px;box-shadow:0 13px 40px rgba(27,57,84,.06);align-items:center;gap:20px}
.hero-card b{font-size:1.35rem;letter-spacing:-.036em}.hero-card small{max-width:340px;font-size:.89rem;line-height:1.6}
.hero-card .hero-icon{flex:0 0 auto;width:64px;height:64px;background:#e8f3fd;color:#1783ca;font-size:1.8rem;border:0;border-radius:18px}
.problem-card .hero-icon{background:#fff0f2;color:#b8254a}.hero-card .arrow{border-radius:50%;bottom:16px;inset-inline-end:16px;background:#f7faff;color:#167bb5}
.request-card{background:linear-gradient(145deg,#fff,#f4faff)}.problem-card{background:linear-gradient(145deg,#fff,#fff8fa)}
/* Cards / reports / ticket screens all share the same visual system. */
#requestView,#problemView,#registerView,#profileView,#myRequestsView,#resetPasswordView,#pendingView,#itLoginView,#invitePasswordView{max-width:1010px;margin-inline:auto}
.section-head{margin-bottom:22px}.section-head h2{margin-bottom:8px}.section-head .muted{margin-bottom:0}
.capture-box{border:1px dashed #b9d3e4;border-radius:18px;background:#f7fbff;padding:20px}
.stat{position:relative;overflow:hidden;background:#fff;border:1px solid #e3edf4;border-radius:17px;padding:17px 18px;min-height:84px;box-shadow:0 10px 26px rgba(34,72,109,.034)}
.stat:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#0e89d6,#8d63a7,#edbf31);opacity:.84}
.stat b{font-size:1.35rem;font-weight:820;letter-spacing:-.04em;color:#17314e}.stat small{font-size:.77rem;margin-bottom:7px}
.request-item,.ticket-item,.ticket-info,.onboarding-summary{border:1px solid #e3edf4;background:#fbfdff;border-radius:15px}
.ticket-hub,.ticket-hub-list,.ticket-detail-pane{border-color:#e2ebf3!important}
.ticket-list,.request-list{gap:11px}
.ticket-filters{gap:10px}.ticket-hub-layout{gap:20px}
.ticket-action{border-radius:12px}.ticket-activity-item{border-radius:13px}
.badge.blue{background:#e7f4ff;color:#127cbb;font-weight:800;border:1px solid #cde9fc}
/* Administrative workspace */
#itDashboardView .it-workspace{gap:22px}
#itDashboardView .it-sidebar{top:20px;background:rgba(255,255,255,.96);border-color:#e2ebf3;box-shadow:0 16px 40px rgba(27,61,93,.06);border-radius:22px}
#itDashboardView .it-sidebar-heading{padding:24px 17px 20px;border-bottom-color:#eaf0f5;background:linear-gradient(155deg,#f9fcff,#f1f8ff)}
#itDashboardView .it-sidebar-heading strong{font-size:1.04rem;font-weight:820;letter-spacing:-.02em;color:#173652}
#itDashboardView .it-sidebar-heading small{font-size:.73rem;color:#7890a5}
#itDashboardView .it-sidebar-nav{padding:13px;gap:6px}
#itDashboardView .it-sidebar-nav .it-nav-btn{min-height:49px;border-radius:13px;padding:11px 13px;font-weight:660;color:#496179;transition:background .22s,color .22s,transform .22s;}
#itDashboardView .it-sidebar-nav .it-nav-btn:hover{background:#f2f8fc;color:#136da5;transform:translateX(2px)}
#itDashboardView .it-sidebar-nav .it-nav-btn.it-nav-active{background:linear-gradient(110deg,#e7f4ff,#f1f8ff);color:#116cac;border-color:#cde7f8;box-shadow:0 5px 17px rgba(43,137,194,.07)}
#itDashboardView .it-sidebar-nav .it-nav-icon{background:#e6f1fa;border-radius:8px;width:28px;height:28px;display:grid;place-items:center}
#itDashboardView .it-sidebar-nav .it-nav-btn.it-nav-active .it-nav-icon{background:#fff;color:#0e7bbb}
#itDashboardView .it-dashboard-panel.it-panel-active:not(.hidden){animation:v30Reveal .36s cubic-bezier(.2,.8,.2,1) both}
#itDashboardView .it-dashboard-panel{padding:25px}
#itDashboardView .it-dashboard-panel h3{letter-spacing:-.025em}
#itDashboardView .it-sidebar-nav .it-nav-heading{font-size:.68rem;letter-spacing:.14em;color:#8da1b5}
@media(hover:hover) and (pointer:fine){.mini-card:hover,.hero-card:hover{transform:translateY(-5px);border-color:#a5d3ef;box-shadow:0 22px 45px rgba(26,85,135,.12)}.stat:hover{box-shadow:0 16px 35px rgba(28,67,106,.075)}}
@media(max-width:860px){#authView{grid-template-columns:1fr;max-width:630px}.auth-brand-story{min-height:220px;padding:24px 30px}.auth-story-copy{margin-top:14px}.auth-story-copy h1{font-size:2rem;max-width:400px;margin:10px 0}.auth-story-copy p{font-size:.88rem;margin-bottom:0}.auth-story-art{position:absolute;right:12px;bottom:-30px;opacity:.25;width:210px;transform:scale(.74)}.auth-story-footer{display:none}.auth-form-panel{padding:30px}.portal-welcome{padding:24px}.home-grid{grid-template-columns:1fr}}
@media(max-width:640px){.app-shell{padding:12px 12px 36px}.topbar{border-radius:18px;padding:11px 12px;gap:6px}.top-actions{gap:3px}.top-actions .ghost-btn,.landing-return-link{font-size:.72rem;min-height:36px;padding:0 9px}.brand-title{font-size:.92rem}.brand-mini{gap:7px}.brand-orbit{width:40px;height:40px}.brand-orbit img{width:34px;height:34px}.brand-mini .muted{font-size:.66rem}.build-version{display:none}.card{border-radius:20px;padding:18px}#authView{margin:12px auto 0;border-radius:21px}.auth-brand-story{min-height:213px;padding:22px}.auth-story-wordmark{font-size:.65rem}.auth-story-wordmark img{height:34px;width:34px}.auth-story-copy h1{font-size:1.84rem;margin:8px 0}.auth-story-copy p{font-size:.81rem;max-width:280px}.auth-story-art{right:-70px;bottom:-38px;opacity:.15}.auth-form-panel{padding:25px 21px}.portal-welcome{padding:20px 19px}.portal-welcome-art{width:75px;height:75px}.portal-welcome-art>span:first-child{font-size:1.55rem}.mini-row{grid-template-columns:1fr 1fr;gap:9px}.mini-card{padding:12px 10px;gap:8px;min-height:102px}.mini-icon{width:38px;height:38px;flex-shrink:0}.mini-card small{font-size:.7rem}.hero-card{min-height:160px;padding:19px 16px}.hero-card .hero-icon{width:53px;height:53px;font-size:1.4rem}.hero-card b{font-size:1.08rem}.hero-card small{font-size:.79rem}.stats-grid.four,.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#itDashboardView .it-dashboard-panel{padding:17px}}
@media(max-width:390px){.topbar{flex-wrap:wrap}.top-actions{width:100%;justify-content:flex-end}.auth-story-copy h1{font-size:1.65rem}.auth-brand-story{min-height:215px}.portal-welcome-art{display:none}}
@media(prefers-reduced-motion:reduce){.auth-tech-device{animation:none!important}.view:not(.hidden),#itDashboardView .it-dashboard-panel.it-panel-active:not(.hidden){animation:none!important}*{scroll-behavior:auto!important}}

[dir="rtl"] #itDashboardView .it-sidebar-nav .it-nav-btn:hover{transform:translateX(-2px)}
