/*
Theme Name: Ismail Internal IT Support
Theme URI: https://example.com/
Author: Ismail IT Support
Description: Custom WordPress theme based on the Ismail Internal IT Support frontend.
Version: 2.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ismail-it-support
*/

:root{--navy:#102b59;--navy2:#17386e;--blue:#2563eb;--bg:#f4f7fb;--text:#14213d;--muted:#718096;--line:#e4eaf2;--white:#fff;--green:#079669;--orange:#d98208;--red:#dc3545}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}
button,input,select,textarea{font:inherit}button{cursor:pointer}.app{display:flex;min-height:100vh}.sidebar{width:252px;background:linear-gradient(180deg,var(--navy),#0d2550);color:#fff;padding:28px 18px;position:fixed;inset:0 auto 0 0}.brand{padding:0 14px 25px;border-bottom:1px solid rgba(255,255,255,.12)}.brand h1{font-size:21px;margin:0 0 5px}.brand p{font-size:11px;color:#9eb1d0;margin:0}.nav{margin-top:22px}.nav button{width:100%;border:0;background:none;color:#dbe6fa;text-align:left;padding:13px 14px;border-radius:9px;margin:3px 0}.nav button.active,.nav button:hover{background:rgba(255,255,255,.12);color:#fff}.main{margin-left:252px;width:calc(100% - 252px)}.top{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;position:sticky;top:0;z-index:10}.top h2{font-size:21px;margin:0}.user{display:flex;align-items:center;gap:12px}.avatar{width:40px;height:40px;border-radius:50%;background:#e4edff;color:var(--blue);display:grid;place-items:center;font-weight:800}.content{padding:30px 38px;max-width:1450px}.hero{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:25px}.hero h2{margin:0;font-size:26px}.hero p{margin:7px 0 0;color:var(--muted)}.primary{background:var(--blue);color:white;border:0;padding:12px 18px;border-radius:9px;font-weight:700;box-shadow:0 5px 16px rgba(37,99,235,.2)}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px;box-shadow:0 2px 9px rgba(20,33,61,.03)}.stat small{color:var(--muted)}.stat strong{display:block;font-size:28px;margin-top:8px}.stat .pill{float:right;margin-top:-28px}.pill{display:inline-flex;padding:5px 9px;border-radius:20px;font-size:11px;font-weight:800}.pill.blue{background:#eaf0ff;color:#1d4ed8}.pill.green{background:#e5f7f0;color:#087d59}.pill.orange{background:#fff2db;color:#b36a00}.pill.red{background:#ffe8ea;color:#c12938}.grid2{display:grid;grid-template-columns:1.65fr 1fr;gap:18px;margin-top:18px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.section-head h3{margin:0;font-size:16px}.muted{color:var(--muted);font-size:13px}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;padding:13px 10px;border-bottom:1px solid var(--line);font-size:13px}.table th{color:#78879d;font-size:11px;text-transform:uppercase}.ticket-link{color:var(--blue);font-weight:800;cursor:pointer}.ticket-row{cursor:pointer}.ticket-row:hover{background:#f8faff}.activity{display:flex;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.dot{width:9px;height:9px;background:var(--blue);border-radius:50%;margin-top:5px}.bar{height:8px;background:#edf1f7;border-radius:10px;overflow:hidden}.bar span{display:block;height:100%;background:var(--blue);border-radius:10px}.work-row{margin:14px 0}.work-row .topline{display:flex;justify-content:space-between;font-size:13px;margin-bottom:6px}.chart{height:180px;display:flex;align-items:flex-end;gap:12px;padding:10px 5px 0}.chart-col{flex:1;text-align:center}.chart-bar{width:100%;max-width:36px;margin:auto;background:#3d73e8;border-radius:7px 7px 2px 2px;min-height:4px}.chart-col small{font-size:10px;color:var(--muted)}.page{display:none}.page.active{display:block}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.field label{display:block;font-size:12px;font-weight:700;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;border:1px solid #dce3ee;border-radius:8px;padding:11px;background:#fff;outline:none}.field textarea{min-height:130px;resize:vertical}.full{grid-column:1/-1}.actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.secondary{background:#fff;border:1px solid var(--line);padding:11px 16px;border-radius:8px}.toolbar{display:flex;gap:10px;margin-bottom:15px}.toolbar input{flex:1;border:1px solid var(--line);padding:11px;border-radius:8px}.detail-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.detail-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}.meta{background:#f8faff;border:1px solid var(--line);padding:12px;border-radius:9px}.meta small{display:block;color:var(--muted);font-size:10px}.meta b{font-size:13px}.timeline{position:relative;padding-left:25px}.timeline:before{content:"";position:absolute;left:7px;top:5px;bottom:5px;width:2px;background:#e2e8f0}.event{position:relative;padding:0 0 20px}.event:before{content:"";position:absolute;left:-22px;top:3px;width:10px;height:10px;border-radius:50%;background:var(--blue);border:3px solid #eaf0ff}.event b{font-size:13px}.event p{margin:4px 0;color:var(--muted);font-size:12px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.list-item{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}.mini-btn{border:1px solid var(--line);background:#fff;border-radius:7px;padding:6px 9px;font-size:11px}.toast{position:fixed;right:24px;bottom:24px;background:#14213d;color:#fff;padding:13px 17px;border-radius:9px;display:none;z-index:50}.login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#0e2a58,#1f4c94)}.login-card{width:390px;background:#fff;border-radius:16px;padding:34px;box-shadow:0 25px 70px rgba(0,0,0,.2)}.login-card h1{margin:0 0 6px}.login-card p{color:var(--muted);font-size:13px}.login-card .field{margin:15px 0}.login-card button{width:100%}@media(max-width:1000px){.stats{grid-template-columns:repeat(2,1fr)}.grid2,.admin-grid{grid-template-columns:1fr}.sidebar{width:215px}.main{margin-left:215px;width:calc(100% - 215px)}.detail-meta{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.sidebar{position:static;width:100%;height:auto}.app{display:block}.main{margin-left:0;width:100%}.top{padding:0 18px}.content{padding:20px}.form-grid,.stats{grid-template-columns:1fr}.detail-meta{grid-template-columns:1fr}}

.row-status-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.status-btn{border:1px solid #d8e0ee;background:#fff;border-radius:7px;padding:5px 7px;font-size:11px;line-height:1.15;cursor:pointer;color:#30415d}
.status-btn:hover{background:#f3f6fb}
.status-btn.selected{font-weight:700;box-shadow:inset 0 0 0 1px currentColor}


.user-admin-row{align-items:center}
.user-actions{display:flex;gap:7px;flex-wrap:wrap}



/* v2 authentication experience */
.auth-shell{min-height:100vh;background:radial-gradient(circle at 18% 20%,#2b65b8 0,#173f7c 36%,#071a38 100%);display:grid;place-items:center;padding:28px;overflow:hidden}.auth-scene{width:min(1120px,100%);min-height:690px;display:grid;grid-template-columns:1.05fr .95fr;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:28px;overflow:hidden;box-shadow:0 30px 100px rgba(0,0,0,.3);backdrop-filter:blur(14px);position:relative}.auth-copy{position:relative;color:#fff;padding:58px 54px;overflow:hidden}.auth-copy:after{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(255,255,255,.1);border-radius:50%;right:-180px;bottom:-180px}.auth-logo{font-weight:900;letter-spacing:1.5px;font-size:18px}.auth-logo span{font-weight:500;opacity:.7;margin-left:7px}.auth-copy h2{font-size:48px;line-height:1.04;margin:155px 0 16px;letter-spacing:-1.5px;position:relative;z-index:2}.auth-copy h2 strong{color:#b9d0ff}.auth-copy>p{max-width:440px;color:#d3e0f6;line-height:1.7;position:relative;z-index:2}.auth-card{background:#fff;margin:22px;border-radius:22px;padding:46px 48px;align-self:stretch;box-shadow:0 20px 60px rgba(0,0,0,.16);display:flex;flex-direction:column;justify-content:center;position:relative;z-index:5;animation:cardSwipeIn .85s cubic-bezier(.2,.85,.25,1) both}.auth-heading span{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;font-weight:800;color:#2563eb}.auth-heading h1{font-size:34px;margin:8px 0 7px}.auth-heading p{color:#718096;font-size:13px;line-height:1.55;margin:0 0 22px}.auth-card .field{margin:13px 0}.auth-card .field label{color:#334155}.auth-card input:not([type=checkbox]){padding:13px 14px;border-radius:10px;background:#fbfcfe}.auth-submit{width:100%;margin-top:8px}.auth-row{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:10px 0 14px;font-size:12px}.auth-row a,.auth-switch a{color:#2563eb;font-weight:700;text-decoration:none}.check{display:flex;gap:7px;align-items:center;color:#718096}.check input{accent-color:#2563eb}.auth-switch{text-align:center;color:#718096;font-size:12px;margin:18px 0 0}.auth-message{background:#eef4ff;color:#174ea6;border:1px solid #d7e4ff;padding:11px 13px;border-radius:10px;font-size:12px;margin-bottom:16px}.auth-character{position:absolute;right:70px;top:190px;width:245px;height:280px;z-index:3;animation:techSwipeIn 1.15s cubic-bezier(.16,.9,.2,1) .08s both}.tech-glow{position:absolute;width:190px;height:190px;left:24px;top:28px;border-radius:50%;background:radial-gradient(circle,rgba(113,169,255,.32),rgba(113,169,255,0) 70%);filter:blur(2px)}.char-shadow{position:absolute;bottom:3px;left:28px;width:165px;height:22px;border-radius:50%;background:rgba(0,0,0,.25);filter:blur(7px)}.char-body{position:absolute;left:76px;bottom:26px;width:92px;height:160px;background:linear-gradient(145deg,#f7faff,#dce8fb);border-radius:38px 38px 24px 24px;box-shadow:inset -8px -10px 0 rgba(37,99,235,.12),0 18px 35px rgba(0,0,0,.18)}.char-head{position:absolute;left:9px;top:-54px;width:74px;height:74px;background:#f2c6a5;border-radius:48%;box-shadow:inset -6px -6px 0 rgba(0,0,0,.06)}.char-hair{position:absolute;left:3px;top:-4px;width:68px;height:31px;background:#1b2d4b;border-radius:45px 45px 18px 18px}.char-eye{position:absolute;top:31px;width:7px;height:9px;background:#142742;border-radius:50%}.char-eye.e1{left:22px}.char-eye.e2{right:22px}.char-smile{position:absolute;left:28px;top:48px;width:18px;height:8px;border-bottom:3px solid #162b4d;border-radius:50%}.char-collar{position:absolute;top:5px;left:32px;width:28px;height:30px;border-left:3px solid #2563eb;border-right:3px solid #2563eb;border-radius:0 0 18px 18px}.char-arm{position:absolute;width:72px;height:18px;background:#f2c6a5;border-radius:20px;top:55px}.char-arm.a1{left:-56px;transform:rotate(16deg);transform-origin:right center}.char-arm.a2{right:-54px;transform:rotate(-31deg);transform-origin:left center}.char-leg{position:absolute;bottom:-30px;width:19px;height:59px;background:#1d3b68;border-radius:10px}.char-leg.l1{left:18px;transform:rotate(4deg)}.char-leg.l2{right:18px;transform:rotate(-5deg)}.tech-badge{position:absolute;left:82px;top:88px;background:#2563eb;color:#fff;font-size:10px;font-weight:900;padding:4px 6px;border-radius:7px;box-shadow:0 7px 16px rgba(37,99,235,.3);z-index:4}.tech-laptop{position:absolute;right:2px;top:127px;width:88px;height:62px;transform:rotate(-7deg);animation:laptopFloat 3.4s ease-in-out 1.1s infinite}.laptop-screen{width:80px;height:49px;border:5px solid #173d78;border-radius:8px 8px 4px 4px;background:#dff0ff;color:#2563eb;display:grid;place-items:center;font-size:28px;font-weight:900}.laptop-base{width:92px;height:8px;background:#173d78;border-radius:0 0 10px 10px;margin-left:-6px}.toolkit{position:absolute;left:5px;bottom:32px;width:49px;height:37px;background:#f1b24a;border-radius:8px 8px 5px 5px;box-shadow:0 8px 18px rgba(0,0,0,.2);transform:rotate(5deg)}.toolkit:before{content:"";position:absolute;left:14px;top:-8px;width:21px;height:10px;border:4px solid #f1b24a;border-bottom:0;border-radius:8px 8px 0 0}.toolkit span{display:grid;place-items:center;height:100%;color:#173d78;font-weight:900}.auth-card:before{content:"";position:absolute;left:-16px;top:50%;width:32px;height:110px;transform:translateY(-50%);background:#fff;border-radius:18px;box-shadow:-8px 0 20px rgba(0,0,0,.06)}@keyframes techSwipeIn{0%{transform:translateX(-120px) translateY(25px) rotate(-5deg);opacity:0}60%{transform:translateX(18px) translateY(0) rotate(2deg);opacity:1}100%{transform:translateX(0) translateY(0) rotate(0)}}@keyframes cardSwipeIn{0%{transform:translateX(110px);opacity:0}100%{transform:translateX(0);opacity:1}}@keyframes laptopFloat{50%{transform:rotate(-7deg) translateY(-5px)}}
@media(max-width:850px){.auth-scene{grid-template-columns:1fr}.auth-copy{min-height:320px;padding:34px}.auth-copy h2{margin:75px 0 10px;font-size:34px}.auth-character{right:35px;top:105px;transform:scale(.72);transform-origin:top right}.auth-card{margin:0;border-radius:0;padding:35px 28px}.auth-shell{padding:0}}

/* v10 — reference-inspired technician swipe */
.auth-scene{perspective:1200px}
.auth-copy{overflow:hidden}
.auth-character{right:36px;top:185px;width:310px;height:330px;animation:techSlideIn 1.15s cubic-bezier(.16,.9,.22,1) both;transform-origin:center;}
.auth-card{animation:formSlideIn 1s cubic-bezier(.16,.9,.22,1) .18s both}
.auth-copy h2{animation:copyReveal .8s ease .5s both}
.tech-aura{position:absolute;inset:40px 32px 28px;border-radius:50%;background:radial-gradient(circle,rgba(113,177,255,.34),transparent 68%);filter:blur(4px)}
.tech-shadow{position:absolute;left:72px;bottom:4px;width:185px;height:25px;border-radius:50%;background:rgba(4,19,45,.34);filter:blur(9px)}
.tech-figure{position:absolute;left:94px;bottom:31px;width:112px;height:205px}
.tech-head{position:absolute;left:14px;top:0;width:84px;height:84px;border-radius:48%;background:#d99b76;box-shadow:inset -7px -8px 0 rgba(76,40,28,.08);z-index:3}
.tech-hair{position:absolute;left:3px;top:-7px;width:78px;height:35px;background:#15243c;border-radius:45px 45px 16px 16px}
.tech-head i{position:absolute;top:37px;width:7px;height:9px;border-radius:50%;background:#10213b}.tech-head i:first-of-type{left:25px}.tech-head i:last-of-type{right:25px}
.tech-head b{position:absolute;left:31px;top:54px;width:21px;height:9px;border-bottom:3px solid #182b47;border-radius:50%}
.tech-cap{position:absolute;left:8px;top:-20px;background:#1d5fd1;color:#fff;font-size:10px;font-weight:900;padding:5px 9px;border-radius:7px 7px 3px 3px;z-index:5;box-shadow:0 6px 12px rgba(0,0,0,.18)}
.tech-neck{position:absolute;left:49px;top:70px;width:22px;height:22px;background:#d99b76;z-index:1}
.tech-torso{position:absolute;left:8px;top:72px;width:96px;height:116px;border-radius:27px 27px 17px 17px;background:linear-gradient(145deg,#f7fbff,#c8dbf3);box-shadow:inset -9px -12px 0 rgba(29,95,209,.12),0 15px 25px rgba(0,0,0,.14);z-index:2}
.tech-shirt-logo{position:absolute;right:13px;top:16px;background:#2563eb;color:#fff;font-size:9px;font-weight:900;border-radius:5px;padding:3px 5px}.tech-pocket{position:absolute;left:15px;top:52px;width:27px;height:22px;border:2px solid #9db5d5;border-radius:3px}
.tech-arm{position:absolute;top:90px;width:77px;height:19px;background:#d99b76;border-radius:20px;z-index:1}.tech-arm-left{left:-57px;transform:rotate(18deg);transform-origin:right}.tech-arm-right{right:-60px;transform:rotate(-30deg);transform-origin:left}.tech-arm .hand{position:absolute;width:19px;height:19px;border-radius:50%;background:#d99b76}.tech-arm-left .hand{left:-8px}.tech-arm-right .hand{right:-8px}
.tech-leg{position:absolute;top:176px;width:22px;height:65px;background:#274b7d;border-radius:12px;z-index:1}.tech-leg-left{left:28px}.tech-leg-right{right:28px}
.tech-shoe{position:absolute;top:232px;width:42px;height:17px;background:#102c55;border-radius:14px 18px 8px 8px;z-index:1}.tech-shoe-left{left:13px}.tech-shoe-right{right:10px}
.tech-laptop{position:absolute;right:8px;top:132px;width:112px;height:88px;transform:rotate(-8deg);animation:deviceFloat 3.2s ease-in-out 1.4s infinite;z-index:6}.tech-laptop .screen{width:100px;height:62px;border:6px solid #163b70;border-radius:9px 9px 4px 4px;background:linear-gradient(145deg,#e7f4ff,#b8d8ff);display:grid;place-items:center;box-shadow:0 10px 18px rgba(0,0,0,.18)}.tech-laptop .screen span{font-size:27px;font-weight:900;color:#2563eb}.tech-laptop .base{width:118px;height:9px;margin-left:-9px;background:#163b70;border-radius:0 0 11px 11px}
.tech-toolbox{position:absolute;left:16px;bottom:34px;width:58px;height:40px;background:#f0aa36;border-radius:8px 8px 6px 6px;box-shadow:0 8px 0 rgba(135,76,8,.22),0 12px 20px rgba(0,0,0,.16);z-index:7}.tech-toolbox:before{content:"";position:absolute;left:18px;top:-9px;width:22px;height:12px;border:4px solid #f0aa36;border-bottom:0;border-radius:7px 7px 0 0}.tech-toolbox span{color:#fff;font-size:23px;font-weight:900;display:block;text-align:center;line-height:40px}
@keyframes techSlideIn{0%{opacity:0;transform:translateX(-180px) rotate(-8deg) scale(.86)}55%{opacity:1;transform:translateX(22px) rotate(2deg) scale(1.03)}100%{opacity:1;transform:translateX(0) rotate(0) scale(1)}}
@keyframes formSlideIn{0%{opacity:0;transform:translateX(130px) scale(.97)}100%{opacity:1;transform:translateX(0) scale(1)}}
@keyframes copyReveal{0%{opacity:0;transform:translateX(-28px)}100%{opacity:1;transform:translateX(0)}}
@keyframes deviceFloat{0%,100%{transform:rotate(-8deg) translateY(0)}50%{transform:rotate(-5deg) translateY(-8px)}}
@media(max-width:900px){.auth-character{right:10px;top:170px;transform:scale(.82)}.auth-copy h2{margin-top:210px;font-size:38px}.auth-card{margin:14px;padding:34px 30px}}
@media(max-width:700px){.auth-scene{grid-template-columns:1fr}.auth-copy{min-height:430px}.auth-character{right:50%;margin-right:-130px;top:135px;transform:scale(.72)}.auth-copy h2{margin-top:260px;font-size:32px}.auth-card{margin:0;border-radius:0 0 20px 20px}}

/* v11 authentication layout fix */
.auth-shell{width:100%;min-height:100svh;min-height:100vh;padding:clamp(18px,3vw,36px);overflow:auto}
.auth-scene{width:min(1180px,100%);min-height:min(720px,calc(100svh - 48px));grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr)}
.auth-copy{min-width:0}
.auth-copy h2{position:relative;z-index:4}
.auth-copy>p{position:relative;z-index:4}
.auth-card{min-width:0;min-height:0}
.auth-character{pointer-events:none}
@media(max-width:900px){
  .auth-shell{padding:16px}
  .auth-scene{min-height:auto;grid-template-columns:1fr}
  .auth-copy{min-height:430px;padding:34px 30px}
  .auth-copy h2{margin-top:150px;font-size:40px}
  .auth-character{right:28px;top:145px;transform:scale(.88);transform-origin:top right}
  .auth-card{margin:0 14px 14px;padding:34px 30px;min-height:520px}
}
@media(max-width:520px){
  .auth-copy{min-height:360px;padding:26px 22px}
  .auth-logo{font-size:15px}
  .auth-copy h2{margin-top:120px;font-size:32px}
  .auth-copy>p{font-size:12px;max-width:300px}
  .auth-character{right:0;top:112px;transform:scale(.68);transform-origin:top right}
  .auth-card{margin:0 8px 8px;padding:28px 22px}
  .auth-heading h1{font-size:28px}
}


/* v12 — slimmer smart IT technician + stronger two-part swipe animation */
.auth-character{
  width:300px;
  height:330px;
  right:44px;
  top:178px;
  animation:technicianEntrance 1.05s cubic-bezier(.18,.9,.22,1) both;
}
.tech-figure{
  left:101px;
  bottom:31px;
  width:96px;
  height:210px;
  transform:scaleX(.82);
  transform-origin:center bottom;
}
.tech-head{
  left:11px;
  top:0;
  width:76px;
  height:76px;
}
.tech-hair{
  left:3px;
  top:-6px;
  width:70px;
  height:31px;
}
.tech-head i:first-of-type{left:22px}
.tech-head i:last-of-type{right:22px}
.tech-head b{left:28px;top:50px}
.tech-cap{
  left:3px;
  top:-21px;
  padding:5px 11px;
  border-radius:8px 8px 4px 4px;
  letter-spacing:.4px;
}
.tech-cap:after{
  content:"";
  position:absolute;
  right:-10px;
  bottom:-2px;
  width:18px;
  height:6px;
  background:#1652b7;
  border-radius:0 7px 7px 0;
  transform:rotate(-4deg);
}
.tech-neck{
  left:45px;
  top:64px;
  width:19px;
  height:20px;
}
.tech-torso{
  left:8px;
  top:67px;
  width:80px;
  height:119px;
  border-radius:25px 25px 15px 15px;
}
.tech-shirt-logo{
  right:10px;
  top:14px;
  font-size:8px;
  padding:3px 5px;
}
.tech-pocket{
  left:12px;
  top:50px;
  width:24px;
  height:20px;
}
.tech-arm{
  top:86px;
  width:69px;
  height:17px;
}
.tech-arm-left{left:-53px}
.tech-arm-right{right:-55px}
.tech-leg{
  top:176px;
  width:18px;
  height:62px;
}
.tech-leg-left{left:21px}
.tech-leg-right{right:21px}
.tech-shoe{
  top:232px;
  width:38px;
  height:15px;
}
.tech-shoe-left{left:8px}
.tech-shoe-right{right:7px}

.tech-laptop{
  right:0;
  top:128px;
  animation:laptopEntrance .75s cubic-bezier(.18,.9,.22,1) .65s both,
             deviceFloat 3.2s ease-in-out 1.5s infinite;
}
.tech-toolbox{
  left:13px;
  bottom:33px;
  animation:toolboxEntrance .7s cubic-bezier(.18,.9,.22,1) .78s both;
}

.auth-card{
  animation:formEntrance .9s cubic-bezier(.18,.9,.22,1) .12s both;
}
.auth-copy h2{
  animation:copyEntrance .75s ease .42s both;
}

@keyframes technicianEntrance{
  0%{opacity:0;transform:translateX(-230px) translateY(14px) rotate(-7deg) scale(.88)}
  55%{opacity:1;transform:translateX(24px) translateY(0) rotate(2deg) scale(1.03)}
  78%{transform:translateX(-7px) rotate(-1deg) scale(.99)}
  100%{opacity:1;transform:translateX(0) translateY(0) rotate(0) scale(1)}
}
@keyframes laptopEntrance{
  0%{opacity:0;transform:translateX(-70px) rotate(-18deg) scale(.7)}
  100%{opacity:1;transform:translateX(0) rotate(-8deg) scale(1)}
}
@keyframes toolboxEntrance{
  0%{opacity:0;transform:translateX(-55px) rotate(-12deg) scale(.75)}
  100%{opacity:1;transform:translateX(0) rotate(5deg) scale(1)}
}
@keyframes formEntrance{
  0%{opacity:0;transform:translateX(145px) scale(.96)}
  65%{opacity:1;transform:translateX(-7px) scale(1.005)}
  100%{opacity:1;transform:translateX(0) scale(1)}
}
@keyframes copyEntrance{
  0%{opacity:0;transform:translateX(-24px)}
  100%{opacity:1;transform:translateX(0)}
}

@media(max-width:900px){
  .auth-character{right:8px;top:170px;transform:scale(.82)}
}
@media(max-width:700px){
  .auth-character{
    right:50%;
    margin-right:-126px;
    top:135px;
    transform:scale(.72);
  }
}


/* v13 — reference-style physical form pull:
   technician enters from the left while the actual login card is pulled in
   from the right, with a visible strap/handle and a hand reaching the card. */
.auth-scene{perspective:1400px}
.auth-card{
  transform-origin:center left;
  animation:formPulledIn 1.35s cubic-bezier(.16,.86,.22,1) .18s both;
}
.auth-card:before{
  content:"";
  position:absolute;
  left:-10px;
  top:50%;
  width:10px;
  height:72px;
  margin-top:-36px;
  border-radius:7px 0 0 7px;
  background:linear-gradient(#d8e2f1,#b7c8df);
  box-shadow:0 4px 10px rgba(15,39,73,.15);
  z-index:9;
  animation:cardHandleIn 1.1s cubic-bezier(.16,.86,.22,1) .22s both;
}
.auth-character{
  right:42px;
  top:176px;
  width:330px;
  height:345px;
  z-index:8;
  animation:technicianPullIn 1.55s cubic-bezier(.12,.88,.2,1) both;
}
.tech-arm-right{
  right:-74px;
  top:86px;
  width:88px;
  transform:rotate(-12deg);
  transform-origin:left center;
  animation:pullArm 1.55s cubic-bezier(.16,.86,.22,1) .18s both;
}
.tech-arm-right .hand{
  right:-8px;
  width:21px;
  height:21px;
  box-shadow:0 2px 4px rgba(0,0,0,.12);
}
.pull-strap{
  position:absolute;
  left:194px;
  top:179px;
  width:105px;
  height:4px;
  border-radius:5px;
  background:linear-gradient(90deg,rgba(255,255,255,.78),rgba(151,194,255,.95));
  transform-origin:left center;
  box-shadow:0 0 8px rgba(142,193,255,.45);
  z-index:7;
  animation:strapPull 1.25s cubic-bezier(.16,.86,.22,1) .3s both;
}
.pull-strap:after{
  content:"";
  position:absolute;
  right:-7px;
  top:-6px;
  width:16px;
  height:16px;
  border:3px solid #dceaff;
  border-radius:50%;
  background:#2563eb;
  box-shadow:0 3px 8px rgba(0,0,0,.18);
}
@keyframes technicianPullIn{
  0%{opacity:0;transform:translateX(-285px) translateY(18px) rotate(-7deg) scale(.88)}
  45%{opacity:1;transform:translateX(-34px) translateY(2px) rotate(2deg) scale(1)}
  68%{transform:translateX(13px) rotate(-1deg)}
  84%{transform:translateX(-5px) rotate(.5deg)}
  100%{opacity:1;transform:translateX(0) translateY(0) rotate(0) scale(1)}
}
@keyframes formPulledIn{
  0%{opacity:0;transform:translateX(230px) scaleX(.96) rotateY(-2deg)}
  42%{opacity:1;transform:translateX(70px) scaleX(.985) rotateY(-1deg)}
  72%{transform:translateX(-10px) scaleX(1.01)}
  88%{transform:translateX(4px) scaleX(.998)}
  100%{opacity:1;transform:translateX(0) scaleX(1) rotateY(0)}
}
@keyframes pullArm{
  0%{transform:rotate(26deg) translateX(-18px);opacity:.35}
  42%{transform:rotate(-20deg) translateX(0);opacity:1}
  72%{transform:rotate(-8deg)}
  100%{transform:rotate(-12deg)}
}
@keyframes strapPull{
  0%{opacity:0;width:10px;transform:rotate(8deg) scaleX(.25)}
  42%{opacity:1;width:88px;transform:rotate(0) scaleX(.9)}
  74%{width:112px;transform:rotate(-1deg) scaleX(1)}
  100%{opacity:1;width:105px;transform:rotate(0) scaleX(1)}
}
@keyframes cardHandleIn{
  0%{opacity:0;transform:translateX(24px)}
  70%{opacity:1;transform:translateX(-2px)}
  100%{opacity:1;transform:translateX(0)}
}
@media(max-width:850px){
  .auth-character{right:28px;top:96px;width:300px;height:320px;transform-origin:top right}
  .pull-strap{left:178px;top:170px;width:80px}
  .tech-arm-right{right:-55px}
}
@media(max-width:560px){
  .auth-character{right:50%;margin-right:-150px;top:92px;transform:scale(.66);transform-origin:top center}
  .pull-strap{left:180px;top:175px}
  .auth-card{animation:formPulledMobile 1.2s cubic-bezier(.16,.86,.22,1) .18s both}
}
@keyframes formPulledMobile{
  0%{opacity:0;transform:translateY(55px) scale(.98)}
  70%{opacity:1;transform:translateY(-5px) scale(1.005)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}
@media(prefers-reduced-motion:reduce){
  .auth-card,.auth-character,.tech-arm-right,.pull-strap,.auth-card:before{
    animation:none!important;transform:none!important;opacity:1!important;
  }
}

.hero-actions{display:flex;gap:10px;align-items:center}.report-card{margin-top:18px}.report-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.report-controls label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:13px}.report-controls input{padding:10px 12px;border:1px solid #d9e1ee;border-radius:10px}.hero-actions a{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}

.report-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;align-items:end}.report-grid label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:12px;color:#34425a}.report-grid input,.report-grid select{padding:10px 11px;border:1px solid #d9e1ee;border-radius:10px;background:#fff;color:#17233b}.report-download{min-height:42px}.report-summary{display:flex;gap:20px;flex-wrap:wrap;margin-top:14px;font-size:12px;color:#6b7a93}.report-summary b{color:#173b73}@media(max-width:1000px){.report-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media(max-width:600px){.report-grid{grid-template-columns:1fr}}

.admin-form{margin-bottom:18px}.attachment-link{color:#2563eb;text-decoration:underline;font-weight:600}.user-actions{display:flex;gap:8px}.mini-btn{cursor:pointer}

.attachment-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.attachment-download{display:inline-flex;align-items:center;padding:6px 10px;border-radius:7px;background:#eef4ff;color:#2563eb;font-weight:700;text-decoration:none}.attachment-download:hover{text-decoration:underline}
.admin-wide{grid-column:1/-1}
#permissionsList .card{background:#fbfdff}
#permissionsList .form-grid{grid-template-columns:repeat(2,1fr)}
#permissionsList .check{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff}
@media(max-width:1000px){.admin-wide{grid-column:auto}#permissionsList .form-grid{grid-template-columns:1fr}}
