:root{
  --ink:#12181A;
  --ink-soft:#1B2326;
  --green:#178A4C;
  --green-bright:#22B563;
  --paper:#FAF9F5;
  --paper-line:#E4E1D8;
  --text:#14181A;
  --text-dim:#686D6E;
}

.msc-login-shell, .msc-login-shell *{box-sizing:border-box; margin:0; padding:0;}

.msc-login-shell{
  font-family:'Inter', sans-serif;
  color:var(--text);
  background:var(--paper);
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  width:100%;
  min-height:100vh;
  position:relative;
  z-index:1;
  clear:both;
  float:none;
  overflow:hidden;
}

/* ============ LEFT: VIDEO PANEL ============ */
.msc-login-shell .stage{
  position:relative;
  width:48%;
  min-width:420px;
  min-height:100vh;
  overflow:hidden;
  background:
    radial-gradient(circle at 25% 20%, #1E2A24 0%, transparent 45%),
    linear-gradient(160deg, #0F1512 0%, #14201A 55%, #0F1512 100%);
}

/* --- your background video goes here ---
   e.g. loading-dock / highway-fleet / warehouse footage.
   Point the <source> src at your file; the gradient above is
   the fallback shown if the video hasn't loaded yet. */
.msc-login-shell .stage video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0.55;
}

.msc-login-shell .stage::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(15,21,18,0.20) 0%, rgba(13,19,16,0.60) 65%, rgba(11,17,14,0.94) 100%),
    linear-gradient(90deg, rgba(11,17,14,0.20) 0%, rgba(11,17,14,0) 32%);
}

.msc-login-shell .stage-content{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:48px 52px;
}

.msc-login-shell .brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
}

.msc-login-shell .brand a{
  color:inherit;
  text-decoration:none;
  display:contents;
}
.msc-login-shell .brand a:hover .brand-text b{ color:var(--green-bright); }

.msc-login-shell .brand-mark{
  width:38px; height:38px;
  border-radius:6px;
  overflow:hidden;
  flex-shrink:0;
  background:#fff;
}
.msc-login-shell .brand-mark img{ width:100%; height:100%; object-fit:cover; display:block; }

.msc-login-shell .brand-text b{
  display:block;
  font-family:'Archivo', sans-serif;
  font-weight:700;
  font-size:15.5px;
  letter-spacing:0.01em;
  color:#fff;
  transition:color 0.15s ease;
}
.msc-login-shell .brand-text span{
  display:block;
  font-size:11.5px;
  color:rgba(255,255,255,0.55);
  margin-top:2px;
  text-decoration:none;
}

.msc-login-shell .stage-copy{ color:#fff; max-width:440px; }

.msc-login-shell .stage-copy .eyebrow{
  font-size:13px;
  color:var(--green-bright);
  font-weight:500;
  margin-bottom:14px;
}

.msc-login-shell .stage-copy h1{
  font-family:'Archivo', sans-serif;
  font-weight:600;
  font-size:38px;
  line-height:1.15;
  letter-spacing:-0.005em;
  margin-bottom:16px;
}

.msc-login-shell .stage-copy p{
  font-size:15px;
  line-height:1.6;
  color:rgba(255,255,255,0.68);
  max-width:400px;
  margin-bottom:34px;
}

.msc-login-shell .stat-row{
  display:grid;
  grid-template-columns:repeat(4, auto);
  gap:28px;
}

.msc-login-shell .stat b{
  display:block;
  font-family:'Archivo', sans-serif;
  font-weight:700;
  font-size:21px;
  color:#fff;
}
.msc-login-shell .stat span{
  display:block;
  font-size:11.5px;
  color:rgba(255,255,255,0.55);
  margin-top:3px;
}

.msc-login-shell .stage-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:rgba(255,255,255,0.42);
  font-size:12px;
}

/* ============ RIGHT: FORM PANEL ============ */
.msc-login-shell .panel{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px;
}

.msc-login-shell .form-wrap{ width:100%; max-width:360px; }

.msc-login-shell .form-wrap .kicker{
  font-size:12.5px;
  font-weight:600;
  color:var(--green);
  margin-bottom:10px;
}

.msc-login-shell .form-wrap h2{
  font-family:'Archivo', sans-serif;
  font-weight:600;
  font-size:27px;
  letter-spacing:-0.005em;
  margin-bottom:8px;
}

.msc-login-shell .form-wrap > p.sub{
  font-size:14px;
  color:var(--text-dim);
  margin-bottom:32px;
}

.msc-login-shell .warning{
  font-size:13px;
  color:#B4292C;
  background:#FBEAEA;
  border:1px solid #F2C9CA;
  border-radius:6px;
  padding:9px 12px;
  margin-bottom:20px;
  text-align:left;
}
.msc-login-shell .warning:empty{ display:none; }

.msc-login-shell form{ display:flex; flex-direction:column; gap:20px; }

.msc-login-shell .field{ position:relative; }

.msc-login-shell .field label{
  display:block;
  font-size:12.5px;
  font-weight:500;
  color:var(--text-dim);
  margin-bottom:8px;
}

.msc-login-shell .field input{
  width:100%;
  border:none;
  border-bottom:1.5px solid var(--paper-line);
  background:transparent;
  font-family:'Inter', sans-serif;
  font-size:15px;
  color:var(--text);
  padding:6px 26px 10px 2px;
  outline:none;
  transition:border-color 0.15s ease;
}
.msc-login-shell .field input::placeholder{ color:#B7B4A9; }
.msc-login-shell .field input:focus{ border-bottom-color:var(--ink); }

.msc-login-shell .field-icon{
  position:absolute;
  right:2px;
  bottom:9px;
  color:var(--text-dim);
  display:flex;
}
.msc-login-shell .field-icon.clickable{ cursor:pointer; background:none; border:none; padding:0; }

.msc-login-shell .row-between{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:13px;
}

.msc-login-shell .remember{ display:flex; align-items:center; gap:8px; color:var(--text-dim); }
.msc-login-shell .remember input{ width:15px; height:15px; accent-color:var(--green); }

.msc-login-shell .row-between a{
  color:var(--text);
  text-decoration:none;
  font-weight:500;
  border-bottom:1px solid var(--text);
  padding-bottom:1px;
}

.msc-login-shell .submit-btn{
  margin-top:6px;
  width:100%;
  padding:15px;
  border:none;
  border-radius:8px;
  background:var(--ink);
  color:#fff;
  font-family:'Inter', sans-serif;
  font-weight:600;
  font-size:14.5px;
  letter-spacing:0.01em;
  cursor:pointer;
  transition:background 0.15s ease, transform 0.1s ease;
}
.msc-login-shell .submit-btn:hover{ background:var(--green); }
.msc-login-shell .submit-btn:active{ transform:scale(0.99); }

.msc-login-shell .foot-note{
  margin-top:28px;
  text-align:center;
  font-size:12.5px;
  color:var(--text-dim);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 880px){
  .msc-login-shell{ flex-direction:column; min-height:auto; }

  .msc-login-shell .stage{
    width:100%;
    min-width:0;
    min-height:0;
  }

  .msc-login-shell .stage-content{
    height:auto;
    justify-content:flex-start;
    padding:32px 24px 28px;
    gap:26px;
  }

  .msc-login-shell .brand-mark{ width:34px; height:34px; }
  .msc-login-shell .brand-text b{ font-size:14px; }
  .msc-login-shell .brand-text span{ font-size:10.5px; }

  .msc-login-shell .stage-copy .eyebrow{ margin-bottom:10px; }
  .msc-login-shell .stage-copy h1{ font-size:26px; margin-bottom:12px; }
  .msc-login-shell .stage-copy p{ font-size:14px; margin-bottom:22px; }

  .msc-login-shell .stat-row{
    grid-template-columns:repeat(2, auto);
    row-gap:18px;
    column-gap:32px;
  }

  .msc-login-shell .stage-foot{
    flex-wrap:wrap;
    gap:6px 16px;
    margin-top:26px;
    font-size:11px;
  }

  .msc-login-shell .panel{
    padding:36px 24px 40px;
    box-shadow:0 -1px 0 var(--paper-line);
  }

  .msc-login-shell .form-wrap{ max-width:none; }
}

@media (max-width: 420px){
  .msc-login-shell .stage-content{ padding:26px 20px 24px; }
  .msc-login-shell .stage-copy h1{ font-size:23px; }
  .msc-login-shell .stat-row{ column-gap:22px; }
  .msc-login-shell .panel{ padding:32px 20px 36px; }
}
