@font-face{
  font-family:Shabnam;
  src:url('../fonts/Shabnam.woff') format('woff');
  font-display:swap;
}

:root{
  --primary:#004c8c;
  --primary2:#006bd6;
  --accent:#00c2a8;
  --dark:#061733;
  --text:#0f172a;
  --muted:#64748b;
  --border:rgba(15,23,42,.10);
  --bg:#edf4fb;
}

*{box-sizing:border-box;margin:0;padding:0}

body{
  min-height:100vh;
  font-family:Shabnam,Tahoma,Arial,sans-serif;
  background:
    radial-gradient(circle at 12% 8%,rgba(0,76,140,.18),transparent 30%),
    radial-gradient(circle at 88% 92%,rgba(0,194,168,.16),transparent 32%),
    linear-gradient(135deg,#eef5fc,#f8fbff);
  color:var(--text);
}

.zw-auth-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:38px;
}

.zw-auth-shell{
  width:min(1480px,100%);
  min-height:760px;
  display:grid;
  grid-template-columns:1fr 1fr;
  border-radius:30px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 28px 90px rgba(15,40,80,.18);
}

.zw-auth-visual{
  position:relative;
  overflow:hidden;
  padding:64px 74px;
  background:
    radial-gradient(circle at 80% 12%,rgba(0,141,210,.28),transparent 34%),
    linear-gradient(145deg,#020b1d,#062a5a 70%,#004c8c);
  color:#fff;
}

.zw-auth-visual:before{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    linear-gradient(120deg,transparent 35%,rgba(0,194,168,.16) 36%,transparent 37%),
    linear-gradient(135deg,transparent 48%,rgba(0,141,210,.20) 49%,transparent 50%);
  opacity:.8;
}

.zw-auth-visual:after{
  content:"";
  position:absolute;
  right:38%;
  bottom:38%;
  width:420px;
  height:210px;
  border-bottom:3px solid rgba(0,194,168,.95);
  border-radius:50%;
  transform:rotate(-18deg);
  filter:drop-shadow(0 0 12px rgba(0,194,168,.7));
}

.zw-brand,
.zw-visual-content,
.zw-mini-dashboard{position:relative;z-index:2}

.zw-brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  margin-bottom:78px;
}

.zw-brand img{
  width:270px;
  max-width:100%;
  object-fit:contain;
}

.zw-brand span{
  color:var(--accent);
  font-size:17px;
  direction:ltr;
}

.zw-visual-content h1{
  max-width:540px;
  font-size:36px;
  line-height:1.9;
  font-weight:900;
  margin-bottom:22px;
}

.zw-visual-content p{
  max-width:560px;
  color:rgba(255,255,255,.78);
  font-size:17px;
  line-height:2.2;
}

.zw-mini-dashboard{
  position:absolute;
  right:58px;
  left:58px;
  bottom:44px;
  height:310px;
  border:1px solid rgba(0,141,210,.38);
  border-radius:24px;
  background:rgba(5,24,55,.72);
  backdrop-filter:blur(14px);
  display:grid;
  grid-template-columns:180px 1fr;
  gap:18px;
  padding:20px;
}

.zw-mini-sidebar{
  border-left:1px solid rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  gap:16px;
  color:rgba(255,255,255,.72);
  font-size:13px;
}

.zw-mini-sidebar strong{
  color:#fff;
  font-size:18px;
  margin-bottom:8px;
}

.zw-mini-sidebar span:first-of-type{
  background:rgba(0,141,210,.22);
  color:#fff;
  padding:12px;
  border-radius:12px;
}

.zw-stat-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-bottom:14px;
}

.zw-stat-grid div{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.06);
  border-radius:14px;
  padding:14px;
}

.zw-stat-grid small{
  color:rgba(255,255,255,.68);
  font-size:11px;
}

.zw-stat-grid b{
  display:block;
  font-size:24px;
  margin:8px 0 4px;
}

.zw-stat-grid em{
  color:var(--accent);
  font-style:normal;
  font-size:11px;
}

.zw-chart{
  height:95px;
  display:flex;
  align-items:flex-end;
  gap:9px;
  padding:14px;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  margin-bottom:14px;
}

.zw-chart span{
  flex:1;
  border-radius:99px 99px 0 0;
  background:linear-gradient(180deg,#00c2a8,#006bd6);
}

.zw-chart span:nth-child(1){height:25%}
.zw-chart span:nth-child(2){height:42%}
.zw-chart span:nth-child(3){height:35%}
.zw-chart span:nth-child(4){height:58%}
.zw-chart span:nth-child(5){height:72%}
.zw-chart span:nth-child(6){height:90%}

.zw-circle-row{
  display:grid;
  grid-template-columns:110px 1fr;
  gap:12px;
}

.zw-score{
  height:86px;
  border-radius:18px;
  border:10px solid rgba(0,194,168,.8);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  font-size:25px;
  font-weight:900;
}

.zw-score small{
  font-size:10px;
  color:rgba(255,255,255,.7);
}

.zw-circle-row ul{
  list-style:none;
  background:rgba(255,255,255,.06);
  border-radius:18px;
  padding:12px 16px;
  font-size:12px;
  color:rgba(255,255,255,.78);
  line-height:2.2;
}

.zw-circle-row li span{
  display:inline-block;
  width:8px;
  height:8px;
  background:var(--accent);
  border-radius:50%;
  margin-left:8px;
}

.zw-auth-form{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:58px;
  background:
    radial-gradient(circle at 50% 0,rgba(0,76,140,.06),transparent 34%),
    #fff;
}

.zw-top-actions{
  position:absolute;
  top:30px;
  left:34px;
  display:flex;
  gap:12px;
}

.zw-top-actions button{
  height:38px;
  border:1px solid var(--border);
  border-radius:13px;
  background:#fff;
  color:#334155;
  padding:0 14px;
  font-family:inherit;
  cursor:pointer;
}

.zw-form-card{
  width:475px;
  max-width:100%;
}

.zw-form-icon{
  display:block;
  width:92px;
  height:92px;
  object-fit:contain;
  margin:0 auto 28px;
}

.zw-form-card h2{
  text-align:center;
  font-size:29px;
  margin-bottom:10px;
  color:#07142f;
}

.zw-form-card > p{
  text-align:center;
  color:var(--muted);
  font-size:14px;
  margin-bottom:40px;
}

.zw-form-card label{
  display:block;
  font-size:14px;
  color:#0f172a;
  margin-bottom:10px;
}

.zw-input-wrap{
  margin-bottom:22px;
}

.zw-input-wrap input{
  width:100%;
  height:54px;
  border:1px solid var(--border);
  border-radius:13px;
  background:#fff;
  padding:0 16px;
  font-family:inherit;
  font-size:14px;
  outline:0;
  box-shadow:0 8px 22px rgba(15,23,42,.035);
}

.zw-input-wrap input:focus{
  border-color:#006bd6;
  box-shadow:0 0 0 4px rgba(0,107,214,.08);
}

.zw-form-options{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:2px 0 28px;
  font-size:13px;
  color:#475569;
}

.zw-form-options a{
  color:#006bd6;
  text-decoration:none;
  font-weight:700;
}

.zw-form-options label{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  color:#475569;
}

.zw-login-btn{
  width:100%;
  height:58px;
  border:0;
  border-radius:13px;
  background:linear-gradient(135deg,#006dff,#004c8c);
  color:#fff;
  font-family:inherit;
  font-size:16px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 16px 35px rgba(0,76,140,.24);
}

.zw-login-btn:hover{
  transform:translateY(-1px);
}

.zw-divider{
  margin-top:34px;
  display:flex;
  align-items:center;
  gap:14px;
  color:#94a3b8;
  font-size:12px;
  direction:ltr;
}

.zw-divider:before,
.zw-divider:after{
  content:"";
  height:1px;
  flex:1;
  background:var(--border);
}

@media(max-width:1050px){
  .zw-auth-shell{grid-template-columns:1fr}
  .zw-auth-visual{display:none}
  .zw-auth-page{padding:18px}
  .zw-auth-form{min-height:720px;padding:34px}
}

@media(max-width:520px){
  .zw-auth-shell{border-radius:22px}
  .zw-auth-form{padding:28px 20px}
  .zw-top-actions{display:none}
  .zw-form-card h2{font-size:24px}
}
