:root{
  --zp-bg:#04111c;--zp-bg2:#071b2b;--zp-card:rgba(8,26,39,.82);
  --zp-line:rgba(174,224,255,.16);--zp-text:#f4fbff;--zp-muted:#9cb3c0;
  --zp-cyan:#19e0cb;--zp-blue:#2188ff;--zp-violet:#7757ff;--zp-orange:#f59e0b;
  --zp-pink:#e83e8c;--zp-red:#ff7184;--zp-radius:28px;
}
*{box-sizing:border-box}html{background:var(--zp-bg);color-scheme:dark}
body.zabr-portal{margin:0;min-height:100dvh;color:var(--zp-text);font-family:"Vazirmatn",Tahoma,sans-serif;
  background:
   radial-gradient(900px 520px at 82% -10%,rgba(32,116,255,.20),transparent 58%),
   radial-gradient(800px 600px at 5% 75%,rgba(25,224,203,.11),transparent 58%),
   linear-gradient(180deg,#04111c 0%,#061725 52%,#030c14 100%);
  -webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}button,input{font:inherit}
.zp-shell{width:min(1420px,calc(100% - 32px));margin:auto;padding:22px 0 34px}
.zp-brand{display:flex;align-items:center;gap:12px}.zp-brand img{width:58px;height:58px;border-radius:18px;object-fit:cover;
  box-shadow:0 12px 28px rgba(0,0,0,.24)}.zp-brand strong{display:block;font-size:22px}.zp-brand small{color:var(--zp-muted)}
.zp-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.zp-top-actions{display:flex;align-items:center;gap:8px}.zp-pill{min-height:44px;padding:0 15px;border-radius:14px;border:1px solid var(--zp-line);
  background:rgba(255,255,255,.035);display:flex;align-items:center;gap:8px;color:#dcecf3;font-weight:800;font-size:12px}
.zp-pill.danger{color:#ff9cab;border-color:rgba(255,113,132,.23);background:rgba(255,113,132,.06)}
.zp-glass{border:1px solid var(--zp-line);background:linear-gradient(145deg,rgba(14,43,61,.88),rgba(6,21,33,.82));
  box-shadow:0 28px 85px rgba(0,0,0,.33),inset 0 1px 0 rgba(255,255,255,.04);backdrop-filter:blur(18px)}
/* login */
.zp-login{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(410px,.94fr);gap:22px;min-height:calc(100dvh - 92px)}
.zp-login-visual{position:relative;min-height:720px;overflow:hidden;border-radius:34px;border:1px solid rgba(76,190,255,.20);
  background-image:linear-gradient(90deg,rgba(3,15,25,.06),rgba(3,15,25,.12)),url('/static/design/modules/hero-truck.webp?v=2');
  background-size:cover;background-position:center}
.zp-login-visual:after{content:"";position:absolute;inset:0;background:
  linear-gradient(180deg,rgba(4,17,28,.05),rgba(4,17,28,.16) 46%,rgba(4,17,28,.90) 100%),
  radial-gradient(600px 300px at 75% 40%,rgba(27,224,203,.11),transparent 65%)}
.zp-visual-brand{position:absolute;z-index:2;top:28px;right:30px}.zp-visual-brand img{width:88px;height:88px;border-radius:26px;object-fit:cover}
.zp-visual-brand h2{margin:8px 0 0;font-size:36px}.zp-visual-brand p{margin:2px 0;color:#c0d5de}
.zp-visual-copy{position:absolute;z-index:2;right:32px;left:32px;bottom:30px;padding:22px 24px;border-radius:24px;
  border:1px solid rgba(255,255,255,.13);background:rgba(5,24,38,.54);backdrop-filter:blur(12px)}
.zp-visual-copy h3{margin:0;font-size:30px;line-height:1.45}.zp-visual-copy h3 span{color:var(--zp-cyan)}
.zp-visual-copy p{margin:8px 0 0;color:#c5d7df;line-height:2}
.zp-login-pane{display:flex;align-items:center;justify-content:center}.zp-auth-card{width:100%;max-width:560px;padding:34px;border-radius:32px}
.zp-auth-head{text-align:center}.zp-auth-head .mini-logo{width:78px;height:78px;border-radius:24px;object-fit:cover;box-shadow:0 15px 34px rgba(0,0,0,.28)}
.zp-auth-head h1{margin:14px 0 5px;font-size:36px}.zp-auth-head h1 span{color:var(--zp-cyan)}.zp-auth-head p{margin:0;color:var(--zp-muted);line-height:2}
.zp-login-status{display:none;margin:15px 0 0;padding:10px 12px;border-radius:13px;font-size:12px;line-height:1.8;text-align:right}
.zp-login-status.show{display:block}.zp-login-status.info{color:#bfefff;border:1px solid rgba(25,224,203,.18);background:rgba(25,224,203,.06)}
.zp-login-status.error{color:#ffc2ca;border-color:rgba(255,113,132,.25);background:rgba(255,113,132,.08)}
.zp-login-status.success{color:#bdf9d9;border-color:rgba(46,227,168,.25);background:rgba(46,227,168,.08)}
.zp-field{margin-top:22px;text-align:right}.zp-field label{display:block;margin:0 5px 7px;color:#b9cbd3;font-size:12px;font-weight:800}
.zp-input-wrap{display:flex;align-items:center;gap:10px;min-height:58px;padding:0 14px;border:1px solid rgba(142,202,231,.25);
  border-radius:17px;background:rgba(2,15,24,.54);transition:.18s}
.zp-input-wrap:focus-within{border-color:rgba(25,224,203,.55);box-shadow:0 0 0 3px rgba(25,224,203,.07)}
.zp-input-wrap svg{width:22px;height:22px;color:#82d9ee;flex:0 0 auto}.zp-input-wrap input{width:100%;height:56px;border:0;outline:0;background:transparent;color:#fff;
  font-size:18px;text-align:center;direction:ltr;letter-spacing:.5px}
.zp-input-wrap input::placeholder{color:#637f8e}.zp-otp-field[hidden]{display:none}
.zp-primary,.zp-google{width:100%;min-height:58px;margin-top:14px;border-radius:17px;border:1px solid transparent;cursor:pointer;font-weight:900;font-size:14px}
.zp-primary{color:#04151e;background:linear-gradient(100deg,#24e1b7,#19bce1 52%,#2678ff);box-shadow:0 15px 32px rgba(20,147,255,.19)}
.zp-primary:disabled{opacity:.55;cursor:not-allowed}.zp-primary:active,.zp-google:active{transform:scale(.99)}
.zp-divider{display:flex;align-items:center;gap:12px;margin:19px 0;color:#6d8997;font-size:11px}.zp-divider:before,.zp-divider:after{content:"";height:1px;flex:1;background:rgba(255,255,255,.10)}
.zp-google{display:flex;align-items:center;justify-content:center;gap:10px;color:#f0f7fa;background:rgba(255,255,255,.035);border-color:rgba(150,204,231,.24)}
.zp-google svg{width:20px;height:20px}.zp-security{display:flex;justify-content:center;gap:7px;margin-top:18px;color:#86a7b5;font-size:10px;line-height:1.8;text-align:center}
.zp-security b{color:#66f0d3}.zp-login-links{display:flex;justify-content:center;gap:10px;margin-top:12px}
.zp-link-btn{border:0;background:transparent;color:#7fd8ea;font-size:11px;cursor:pointer}.zp-link-btn[hidden]{display:none}
/* dashboard */
.zp-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:18px}.zp-main{min-width:0}
.zp-side{position:sticky;top:18px;height:calc(100dvh - 36px);padding:20px 14px;border-radius:28px}
.zp-side .zp-brand{justify-content:center;text-align:center;flex-direction:column}.zp-side nav{display:grid;gap:7px;margin-top:22px}
.zp-side nav a{display:flex;align-items:center;gap:11px;min-height:48px;padding:0 12px;border-radius:14px;color:#b9ced7;font-size:12px;font-weight:800}
.zp-side nav a:hover,.zp-side nav a.active{color:#fff;background:rgba(25,224,203,.09);border:1px solid rgba(25,224,203,.18)}
.zp-side nav img{width:21px;height:21px;filter:brightness(0) invert(1);opacity:.85}
.zp-userbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 14px;margin-bottom:14px;border-radius:20px}
.zp-user{display:flex;align-items:center;gap:10px}.zp-avatar{width:48px;height:48px;border-radius:15px;object-fit:cover;border:1px solid rgba(255,255,255,.13);background:#143043}
.zp-user strong{display:block}.zp-user small{color:var(--zp-muted)}.zp-user-actions{display:flex;gap:8px}
.zp-hero{position:relative;overflow:hidden;min-height:250px;margin-bottom:16px;border-radius:30px;background:
 linear-gradient(90deg,rgba(3,14,23,.93),rgba(3,14,23,.35) 55%,rgba(3,14,23,.16)),
 url('/static/design/modules/hero-truck.webp?v=2') center/cover no-repeat}
.zp-hero:after{content:"";position:absolute;inset:0;border:1px solid rgba(30,212,235,.25);border-radius:inherit;pointer-events:none}
.zp-hero-copy{position:relative;z-index:1;max-width:570px;padding:34px}.zp-kicker{color:var(--zp-cyan);font-weight:900}
.zp-hero h1{margin:7px 0 0;font-size:38px;line-height:1.35}.zp-hero h1 span{color:var(--zp-cyan)}.zp-hero p{margin:10px 0 0;color:#bfd0d8;line-height:2}
.zp-modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.zp-module{--a:33,136,255;--b:10,64,145;position:relative;overflow:hidden;min-height:190px;padding:18px;border-radius:24px;
 border:1px solid rgba(var(--a),.48);background:
 radial-gradient(240px 140px at 10% 100%,rgba(var(--a),.22),transparent 65%),
 linear-gradient(145deg,rgba(var(--a),.70),rgba(var(--b),.72) 50%,rgba(5,17,29,.96));box-shadow:0 16px 40px rgba(0,0,0,.20)}
.zp-module:before{content:"";position:absolute;inset:auto -30px -50px auto;width:170px;height:170px;border-radius:50%;background:rgba(255,255,255,.05)}
.zp-module.tone-violet{--a:119,87,255;--b:73,35,171}.zp-module.tone-orange{--a:245,158,11;--b:150,75,6}.zp-module.tone-pink{--a:232,62,140;--b:125,26,91}
.zp-module.tone-cyan{--a:10,192,213;--b:6,91,119}.zp-module.tone-purple{--a:120,73,255;--b:63,40,170}.zp-module.tone-green{--a:28,199,133;--b:8,105,77}
.zp-module-head{position:relative;z-index:2;display:flex;justify-content:space-between;gap:10px}.zp-module-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;
 background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.20)}.zp-module-icon img{width:27px;height:27px;filter:brightness(0) invert(1)}
.zp-module h3{margin:0;font-size:20px}.zp-module p{margin:8px 0 0;color:#e0edf2;line-height:1.8;font-size:12px}.zp-module-go{position:absolute;z-index:2;bottom:14px;left:14px;
 width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.22);background:rgba(2,12,21,.20);font-size:25px}
.zp-module:hover{transform:translateY(-2px);transition:.18s;filter:saturate(1.05) brightness(1.03)}
.zp-dashboard-foot{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.zp-status-card{min-height:92px;border-radius:22px;padding:17px 19px;display:flex;align-items:center;gap:14px}
.zp-status-card .badge{width:48px;height:48px;border-radius:15px;display:grid;place-items:center}.zp-status-card.update .badge{color:#42efba;background:rgba(46,227,168,.10);border:1px solid rgba(46,227,168,.22)}
.zp-status-card.logout .badge{color:#ff86a0;background:rgba(255,113,132,.08);border:1px solid rgba(255,113,132,.18)}
.zp-status-card strong{display:block}.zp-status-card small{display:block;margin-top:4px;color:var(--zp-muted)}
.zp-app-download{
 position:relative;overflow:hidden;text-decoration:none!important;color:#f4fcff!important;
 border:1px solid rgba(28,213,196,.25)!important;
 background:
  radial-gradient(170px 90px at 9% 100%,rgba(35,225,184,.19),transparent 72%),
  linear-gradient(135deg,rgba(10,54,62,.82),rgba(5,20,29,.96))!important;
 box-shadow:0 14px 34px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.05);
}
.zp-app-download:before{content:"";position:absolute;inset:-45% auto auto -7%;width:150px;height:150px;border-radius:50%;background:rgba(42,225,190,.08);pointer-events:none}
.zp-app-download-icon{position:relative;flex:0 0 56px;width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(43,231,190,.24),rgba(22,138,158,.12));border:1px solid rgba(59,234,199,.30);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.zp-app-download-icon>.zabr-svg-icon{width:29px!important;height:29px!important;color:#5af0c8!important}
.zp-app-download-icon>i{position:absolute;left:-5px;bottom:-4px;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#31dfb5;color:#04151a;border:3px solid #0a1b24;font-size:16px;font-style:normal;font-weight:1000;line-height:1}
.zp-app-download-copy{position:relative;z-index:1;min-width:0;flex:1}.zp-app-download-copy strong{font-size:15px}.zp-app-download-copy small{color:#98b8bf!important;font-size:11px}
.zp-app-download-go{position:relative;z-index:1;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);font-size:24px;color:#79f4d1}
.zp-app-download:hover{transform:translateY(-2px);filter:brightness(1.04);transition:.18s}.zp-app-download:active{transform:scale(.985)}
.zp-app-download-top{display:none!important;margin:10px 0 12px!important;min-height:74px!important;border-radius:19px!important;padding:11px 13px!important}
.zp-app-download-top[hidden]{display:none!important}
@media(max-width:820px){.zp-app-download-top:not([hidden]){display:flex!important}.zp-app-download-top .zp-app-download-icon{width:50px;height:50px;flex-basis:50px;border-radius:16px}.zp-app-download-top .zp-app-download-icon>.zabr-svg-icon{width:26px!important;height:26px!important}.zp-app-download-top .zp-app-download-copy strong{font-size:14px}.zp-app-download-top .zp-app-download-copy small{font-size:10px}.zp-app-download-top .zp-app-download-go{width:30px;height:30px;font-size:21px}}
@media(max-width:980px){.zp-login{grid-template-columns:1fr}.zp-login-visual{min-height:430px}.zp-dashboard{grid-template-columns:1fr}.zp-side{display:none}.zp-modules{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.zp-shell{width:min(100% - 18px,1420px);padding-top:10px}.zp-login{gap:10px}.zp-login-visual{min-height:300px;border-radius:26px}
 .zp-visual-brand{top:18px;right:18px}.zp-visual-brand img{width:62px;height:62px}.zp-visual-brand h2{font-size:26px}.zp-visual-copy{right:14px;left:14px;bottom:14px;padding:14px 16px}
 .zp-visual-copy h3{font-size:20px}.zp-auth-card{padding:22px 16px;border-radius:25px}.zp-auth-head h1{font-size:27px}.zp-auth-head .mini-logo{width:64px;height:64px}
 .zp-dashboard{display:block}.zp-userbar{padding:8px 10px}.zp-user-actions .zp-pill:not(.danger){display:none}.zp-hero{min-height:220px;border-radius:24px}.zp-hero-copy{padding:24px 18px}.zp-hero h1{font-size:28px}
 .zp-modules{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.zp-module{min-height:165px;padding:14px;border-radius:21px}.zp-module h3{font-size:17px}.zp-module-icon{width:46px;height:46px}
 .zp-module p{font-size:11px}.zp-dashboard-foot{grid-template-columns:1fr}.zp-status-card{min-height:80px}.zp-top{display:none}}
@media(max-width:370px){.zp-modules{grid-template-columns:1fr}.zp-module{min-height:145px}}

/* ===== Portal v2 — photographic dashboard, matching approved concept ===== */
.zp-hero{
  min-height:300px;
  background:
    linear-gradient(90deg,rgba(2,12,21,.96) 0%,rgba(2,12,21,.80) 34%,rgba(2,12,21,.24) 72%,rgba(2,12,21,.12) 100%),
    url('/static/design/modules/hero-truck.webp?v=2') center 54%/cover no-repeat;
  box-shadow:0 24px 70px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.04);
}
.zp-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(440px 220px at 83% 72%,rgba(22,224,203,.22),transparent 64%),
    linear-gradient(180deg,transparent 48%,rgba(3,13,22,.56) 100%);
  pointer-events:none;
  z-index:0;
}
.zp-hero:after{
  border-color:rgba(52,229,219,.34);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),inset 0 -70px 120px rgba(1,8,14,.30);
}
.zp-hero-copy{max-width:650px;padding:42px 38px}
.zp-hero h1{text-shadow:0 3px 24px rgba(0,0,0,.44)}
.zp-hero p{max-width:560px;text-shadow:0 2px 12px rgba(0,0,0,.65)}

.zp-module{
  --photo:none;
  min-height:218px;
  isolation:isolate;
  background:#071522;
  border-color:rgba(var(--a),.64);
  box-shadow:
    0 17px 42px rgba(0,0,0,.27),
    0 0 28px rgba(var(--a),.08),
    inset 0 1px 0 rgba(255,255,255,.07);
  transition:transform .20s ease,box-shadow .20s ease,border-color .20s ease;
}
.zp-module[data-module="nvr"]{--photo:url('/static/design/modules/nvr.webp?v=4da6bc05d5cb')}
.zp-module[data-module="gps"]{--photo:url('/static/design/modules/gps.webp?v=2')}
.zp-module[data-module="driver"]{--photo:url('/static/design/modules/driver.webp?v=2')}
.zp-module[data-module="building"]{--photo:url('/static/design/modules/building.webp?v=2')}
.zp-module[data-module="drivers_admin"]{--photo:url('/static/design/modules/drivers-admin.webp?v=2')}
.zp-module[data-module="inventory"]{--photo:url('/static/design/modules/inventory.webp?v=2')}
.zp-module[data-module="finance"]{--photo:url('/static/design/modules/finance.webp?v=2')}
.zp-module[data-module="documents"]{--photo:url('/static/design/modules/documents.webp?v=2')}
.zp-module[data-module="building_project"]{--photo:url('/static/design/modules/building-project.webp?v=2')}
.zp-module[data-module="building_admin"]{--photo:url('/static/design/modules/building-admin.webp?v=2')}

.zp-module:before{
  content:"";
  position:absolute;
  inset:0;
  width:auto;height:auto;border-radius:inherit;
  background-image:var(--photo);
  background-size:cover;
  background-position:center;
  opacity:.76;
  transform:scale(1.025);
  transition:transform .35s ease,opacity .25s ease;
  z-index:0;
}
.zp-module:after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    radial-gradient(220px 130px at 16% 88%,rgba(var(--a),.40),transparent 68%),
    linear-gradient(135deg,
      rgba(var(--a),.76) 0%,
      rgba(var(--b),.66) 45%,
      rgba(4,15,25,.80) 78%,
      rgba(2,10,17,.92) 100%);
  background-blend-mode:screen,normal;
  z-index:1;
  pointer-events:none;
}
.zp-module-head,.zp-module-go{z-index:3}
.zp-module-head{align-items:flex-start}
.zp-module h3{
  font-size:22px;
  line-height:1.5;
  color:#fff;
  text-shadow:0 3px 18px rgba(0,0,0,.62);
}
.zp-module p{
  max-width:78%;
  margin-top:10px;
  color:rgba(243,251,255,.92);
  font-size:13px;
  font-weight:600;
  text-shadow:0 2px 12px rgba(0,0,0,.75);
}
.zp-module-icon{
  width:58px;height:58px;border-radius:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.20),rgba(255,255,255,.08));
  border-color:rgba(255,255,255,.34);
  box-shadow:0 12px 30px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.zp-module-icon img{width:30px;height:30px;opacity:.96}
.zp-module-go{
  width:43px;height:43px;
  background:rgba(3,13,22,.46);
  border-color:rgba(255,255,255,.36);
  box-shadow:0 8px 24px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
}
.zp-module:hover{
  transform:translateY(-4px);
  filter:none;
  border-color:rgba(var(--a),.90);
  box-shadow:0 24px 58px rgba(0,0,0,.34),0 0 36px rgba(var(--a),.14);
}
.zp-module:hover:before{transform:scale(1.07);opacity:.86}

.zp-module[data-module="gps"]:before{background-position:center 58%}
.zp-module[data-module="driver"]:before{background-position:center 40%}
.zp-module[data-module="building"]:before{background-position:center 50%}
.zp-module[data-module="drivers_admin"]:before{background-position:center 50%}
.zp-module[data-module="inventory"]:before{background-position:center 52%}
.zp-module[data-module="building_admin"]:before{background-position:center 42%}

.zp-userbar{
  background:
    linear-gradient(135deg,rgba(9,31,45,.86),rgba(5,19,30,.76));
  border-color:rgba(64,201,225,.18);
  box-shadow:0 14px 35px rgba(0,0,0,.18);
}
.zp-status-card{
  overflow:hidden;
  position:relative;
  background:
    radial-gradient(240px 100px at 5% 100%,rgba(25,224,203,.08),transparent 70%),
    linear-gradient(145deg,rgba(12,38,51,.92),rgba(6,22,34,.92));
}
.zp-status-card.logout{
  background:
    radial-gradient(220px 100px at 5% 100%,rgba(255,113,132,.08),transparent 70%),
    linear-gradient(145deg,rgba(18,35,48,.94),rgba(6,22,34,.92));
}

@media(max-width:980px){
  .zp-modules{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .zp-hero{min-height:260px;background-position:center 48%}
  .zp-hero-copy{padding:25px 19px}
  .zp-hero h1{font-size:27px}
  .zp-module{min-height:188px;padding:14px}
  .zp-module h3{font-size:18px}
  .zp-module p{font-size:11.5px;max-width:86%}
  .zp-module-icon{width:50px;height:50px;border-radius:16px}
  .zp-module-icon img{width:26px;height:26px}
  .zp-module-go{width:39px;height:39px}
}

/* ===== Portal v3 — right sidebar, brighter imagery, stronger typography ===== */
.zp-dashboard{
  direction:ltr;
  grid-template-columns:minmax(0,1fr) 250px;
  align-items:start;
}
.zp-main,.zp-side{direction:rtl}
.zp-side{
  grid-column:2;
  box-shadow:
    0 30px 80px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 42px rgba(25,224,203,.035);
}
.zp-main{grid-column:1}

.zp-brand img{
  width:82px;
  height:82px;
  border-radius:24px;
  object-fit:contain;
  box-shadow:
    0 16px 38px rgba(0,0,0,.34),
    0 0 24px rgba(27,224,203,.10);
}
.zp-side .zp-brand img{
  width:108px;
  height:108px;
  border-radius:30px;
}
.zp-side .zp-brand strong{
  font-size:28px;
  text-shadow:0 0 18px rgba(255,255,255,.14);
}
.zp-side .zp-brand small{
  font-size:12px;
  color:#bcd0da;
}
.zp-side nav a{
  color:#d1e1e7;
  font-size:13px;
  text-shadow:0 1px 10px rgba(0,0,0,.34);
}
.zp-side nav a:hover,
.zp-side nav a.active{
  color:#fff;
  background:linear-gradient(135deg,rgba(25,224,203,.16),rgba(33,136,255,.09));
  border:1px solid rgba(25,224,203,.34);
  box-shadow:0 10px 26px rgba(4,16,27,.26),0 0 18px rgba(25,224,203,.07);
}
.zp-side nav img{
  width:23px;
  height:23px;
  opacity:1;
  filter:brightness(0) invert(1) drop-shadow(0 0 6px rgba(133,232,255,.25));
}

.zp-dashboard-brand-mini{
  display:none;
  flex:0 0 auto;
}
.zp-dashboard-brand-mini img{
  width:68px;
  height:68px;
  object-fit:contain;
  border-radius:20px;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.28));
}

.zp-visual-brand img{
  width:122px;
  height:122px;
  border-radius:32px;
  object-fit:contain;
  filter:drop-shadow(0 18px 36px rgba(0,0,0,.34));
}
.zp-visual-brand h2{
  font-size:42px;
  color:#fff;
  text-shadow:0 0 20px rgba(255,255,255,.15),0 3px 18px rgba(0,0,0,.42);
}
.zp-auth-head .mini-logo{
  width:108px;
  height:108px;
  border-radius:30px;
  object-fit:contain;
  box-shadow:
    0 18px 40px rgba(0,0,0,.30),
    0 0 30px rgba(25,224,203,.08);
}
.zp-auth-head h1{
  font-size:38px;
  color:#fff;
  text-shadow:0 0 20px rgba(255,255,255,.10),0 3px 18px rgba(0,0,0,.35);
}
.zp-auth-head h1 span{
  color:#33f1dc;
  text-shadow:0 0 20px rgba(51,241,220,.28);
}
.zp-auth-head p{color:#c2d4dc}

.zp-login-visual{
  box-shadow:0 28px 80px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.04);
}
.zp-login-visual:after{
  background:
    linear-gradient(180deg,rgba(4,17,28,.015),rgba(4,17,28,.06) 44%,rgba(4,17,28,.64) 100%),
    radial-gradient(680px 320px at 72% 38%,rgba(27,224,203,.08),transparent 68%);
}
.zp-visual-copy{
  background:rgba(5,24,38,.38);
  border-color:rgba(255,255,255,.20);
  box-shadow:0 14px 38px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.05);
}
.zp-visual-copy h3{
  color:#fff;
  text-shadow:0 0 18px rgba(255,255,255,.12),0 3px 18px rgba(0,0,0,.48);
}
.zp-visual-copy p{
  color:#e1edf1;
  text-shadow:0 2px 10px rgba(0,0,0,.45);
}

.zp-hero{
  background:
    linear-gradient(90deg,rgba(2,12,21,.76) 0%,rgba(2,12,21,.48) 34%,rgba(2,12,21,.10) 72%,rgba(2,12,21,.04) 100%),
    url('/static/design/modules/hero-truck.webp?v=2') center 54%/cover no-repeat;
  box-shadow:
    0 28px 74px rgba(0,0,0,.30),
    0 0 36px rgba(27,224,203,.06),
    inset 0 1px 0 rgba(255,255,255,.05);
}
.zp-hero:before{
  background:
    radial-gradient(440px 220px at 84% 72%,rgba(22,224,203,.12),transparent 68%),
    linear-gradient(180deg,transparent 58%,rgba(3,13,22,.28) 100%);
}
.zp-kicker{
  color:#46f3df;
  text-shadow:0 0 16px rgba(70,243,223,.35);
}
.zp-hero h1{
  color:#fff;
  text-shadow:
    0 0 18px rgba(255,255,255,.10),
    0 3px 22px rgba(0,0,0,.58);
}
.zp-hero h1 span{
  color:#2ff1db;
  text-shadow:0 0 20px rgba(47,241,219,.35),0 3px 18px rgba(0,0,0,.35);
}
.zp-hero p{
  color:#e3eef2;
  font-weight:600;
  text-shadow:0 2px 12px rgba(0,0,0,.55);
}

.zp-module{
  border-color:rgba(var(--a),.76);
  box-shadow:
    0 19px 46px rgba(0,0,0,.29),
    0 0 34px rgba(var(--a),.10),
    inset 0 1px 0 rgba(255,255,255,.09);
}
.zp-module:before{
  opacity:.98;
  filter:saturate(1.18) contrast(1.08) brightness(1.12);
}
.zp-module:after{
  background:
    radial-gradient(240px 150px at 14% 90%,rgba(var(--a),.28),transparent 70%),
    linear-gradient(135deg,
      rgba(var(--a),.48) 0%,
      rgba(var(--b),.40) 43%,
      rgba(4,15,25,.48) 76%,
      rgba(2,10,17,.66) 100%);
}
.zp-module h3{
  color:#fff;
  font-weight:900;
  text-shadow:
    0 0 14px rgba(255,255,255,.08),
    0 3px 16px rgba(0,0,0,.72);
}
.zp-module p{
  color:#fff;
  font-weight:700;
  text-shadow:0 2px 12px rgba(0,0,0,.76);
}
.zp-module-icon{
  background:linear-gradient(145deg,rgba(255,255,255,.25),rgba(255,255,255,.10));
  border-color:rgba(255,255,255,.42);
  box-shadow:
    0 12px 30px rgba(0,0,0,.24),
    0 0 18px rgba(var(--a),.13),
    inset 0 1px 0 rgba(255,255,255,.22);
}
.zp-module-icon img{
  opacity:1;
  filter:brightness(0) invert(1) drop-shadow(0 0 7px rgba(255,255,255,.18));
}
.zp-module-go{
  border-color:rgba(255,255,255,.44);
  background:rgba(3,13,22,.38);
  color:#fff;
  text-shadow:0 0 10px rgba(255,255,255,.20);
}

.zp-user strong,
.zp-status-card strong{
  color:#fff;
  text-shadow:0 0 14px rgba(255,255,255,.08);
}
.zp-user small,
.zp-status-card small{
  color:#bcd0d8;
}

@media(max-width:980px){
  .zp-dashboard{display:block;direction:rtl}
  .zp-side{display:none}
  .zp-dashboard-brand-mini{display:flex;align-items:center;justify-content:center}
  .zp-userbar{
    gap:10px;
    padding:9px 10px;
  }
}
@media(max-width:620px){
  .zp-visual-brand img{width:88px;height:88px;border-radius:26px}
  .zp-auth-head .mini-logo{width:88px;height:88px;border-radius:26px}
  .zp-dashboard-brand-mini img{width:62px;height:62px;border-radius:18px}
  .zp-userbar .zp-user{min-width:0;flex:1}
  .zp-userbar .zp-user>div{min-width:0}
  .zp-userbar .zp-user strong{
    max-width:150px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .zp-hero{
    background:
      linear-gradient(90deg,rgba(2,12,21,.72),rgba(2,12,21,.35) 46%,rgba(2,12,21,.08) 100%),
      url('/static/design/modules/hero-truck.webp?v=2') center 50%/cover no-repeat;
  }
  .zp-module:before{
    opacity:1;
    filter:saturate(1.16) contrast(1.06) brightness(1.10);
  }
  .zp-module:after{
    background:
      radial-gradient(210px 120px at 12% 90%,rgba(var(--a),.25),transparent 72%),
      linear-gradient(135deg,rgba(var(--a),.45),rgba(var(--b),.37) 45%,rgba(2,10,17,.60) 100%);
  }
}

/* ===== Portal v4 — modern border effect only; do not filter/tint photos ===== */
.portal-dashboard .zp-hero,
.portal-dashboard .zp-module{
  --edge-a: rgba(var(--a,25,224,203),.95);
  --edge-b: rgba(255,255,255,.42);
  border:0!important;
  outline:1px solid rgba(255,255,255,.10);
  overflow:hidden;
  box-shadow:
    0 24px 62px rgba(0,0,0,.34),
    0 0 0 1px rgba(255,255,255,.055),
    0 0 26px rgba(var(--a,25,224,203),.18);
}
.portal-dashboard .zp-hero{--a:25,224,203}
.portal-dashboard .zp-hero:before,
.portal-dashboard .zp-module:after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  border-radius:inherit!important;
  padding:1.35px!important;
  background:linear-gradient(135deg,var(--edge-a),rgba(255,255,255,.18) 34%,rgba(255,255,255,.055) 55%,var(--edge-b))!important;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0)!important;
  -webkit-mask-composite:xor!important;
  mask-composite:exclude!important;
  pointer-events:none!important;
  z-index:4!important;
}
.portal-dashboard .zp-module:before{
  opacity:1!important;
  filter:none!important;
  transform:none!important;
  transition:none!important;
}
.portal-dashboard .zp-module:hover:before{transform:none!important;opacity:1!important;filter:none!important}
.portal-dashboard .zp-module:hover{
  filter:none!important;
  transform:translateY(-2px)!important;
  border-color:transparent!important;
  box-shadow:
    0 30px 74px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,255,255,.075),
    0 0 42px rgba(var(--a),.28)!important;
}
.portal-dashboard .zp-module-head,.portal-dashboard .zp-module-go{position:relative;z-index:5}
.portal-dashboard .zp-module .zp-module-icon,
.portal-dashboard .zp-module .zp-module-go{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.portal-dashboard .zp-module:after{background-clip:padding-box!important}
.portal-dashboard .zp-module{
  background:#071522!important;
}
.portal-dashboard .zp-hero{
  background:url('/static/design/modules/hero-truck.webp?v=2') center 54%/cover no-repeat!important;
}
.portal-dashboard .zp-hero:after{
  content:""!important;
  position:absolute!important;
  inset:-9px!important;
  border-radius:calc(30px + 9px)!important;
  border:1px solid rgba(34,239,221,.22)!important;
  box-shadow:0 0 30px rgba(34,239,221,.20),inset 0 0 0 1px rgba(255,255,255,.045)!important;
  background:none!important;
  pointer-events:none!important;
  z-index:3!important;
}
.portal-dashboard .zp-hero-copy{
  z-index:5;
  text-shadow:0 3px 22px rgba(0,0,0,.78);
}
