* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, Arial, sans-serif;
  color: #20342a;
}
body {
  background: #f6f8f6;
}
.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
  min-height: 100svh;
}
.auth-visual {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  background: #132d22;
}
.auth-photo {
  position: absolute;
  inset: 0;
  background-image: url("/static/images/authbanner.jpg");
  background-position: center;
  background-size: cover;
  animation: photo-in 1.25s cubic-bezier(0.18, 0.7, 0.2, 1) both;
}
.auth-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 34, 23, 0.58) 0%,
    rgba(13, 40, 28, 0.22) 38%,
    rgba(8, 27, 19, 0.88) 100%
  );
}
.auth-brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1.2px;
  text-decoration: none;
  color: #173427;
}
.auth-brand span {
  color: #00d85a;
}
.auth-brand-light {
  position: absolute;
  top: 42px;
  left: clamp(28px, 5vw, 78px);
  color: #fff;
}
.auth-brand-mobile {
  display: none;
}
.auth-visual-copy {
  position: absolute;
  left: clamp(28px, 5vw, 78px);
  right: 28px;
  bottom: clamp(44px, 9vh, 110px);
  color: white;
  animation: rise-in 0.7s 0.14s both;
}
.auth-eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #b7e1c4;
  font-weight: 700;
}
.auth-visual-copy h2 {
  font-size: clamp(38px, 4vw, 70px);
  letter-spacing: -2.5px;
  line-height: 1.08;
  margin: 16px 0;
}
.auth-visual-copy p {
  font-size: 15px;
  color: #d3e4d9;
}
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px clamp(26px, 5vw, 90px);
  background: #fff;
}
.auth-panel-inner {
  width: 100%;
  max-width: 440px;
  animation: rise-in 0.65s both;
}
.auth-kicker {
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 800;
  color: #278451;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.auth-title {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -1.6px;
  margin: 0 0 12px;
  color: #183728;
}
.auth-intro {
  font-size: 14px;
  line-height: 1.75;
  color: #6d7c72;
  margin: 0 0 32px;
}
.auth-form {
  display: grid;
  gap: 17px;
}
.auth-form p {
  margin: 0;
}
.auth-form label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 9px;
  color: #344c3d;
}
.auth-form input[type="email"],
.auth-form input[type="text"],
.auth-form input[type="password"] {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #dbe5de;
  border-radius: 13px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  color: #193728;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.auth-form input:focus {
  border-color: #22aa60;
  box-shadow: 0 0 0 4px rgba(0, 216, 90, 0.11);
}
.auth-form .helptext,
.auth-form ul {
  font-size: 12px;
  line-height: 1.6;
  color: #69786f;
}
.auth-form ul {
  padding-left: 18px;
}
.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  background: #00d85a;
  color: #123324;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.auth-btn:hover {
  background: #00ed65;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 140, 60, 0.15);
}
.auth-btn:active {
  transform: translateY(0);
}
.auth-link {
  color: #167747;
  text-decoration: none;
  font-size: 11px;
  font-weight: 650;
}
.auth-link:hover {
  text-decoration: underline;
}
.auth-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 3px 0 8px;
}
.auth-note {
  margin-top: 25px;
  padding: 17px 19px;
  background: #f1f7f2;
  border: 1px solid #e1ebe3;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.65;
  color: #5d7062;
}
.auth-foot {
  margin-top: 46px;
  font-size: 12px;
  color: #94a29a;
}
.auth-foot a {
  color: #607d6a;
  text-decoration: none;
}
.auth-error {
  padding: 13px 15px;
  background: #fff2f1;
  border: 1px solid #f4d5d0;
  border-radius: 12px;
  color: #9e3832;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.auth-pass-wrap {
  position: relative;
}
.auth-pass-wrap input {
  padding-right: 75px !important;
}
.auth-toggle {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #277c4b;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px;
}
.auth-success-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #e9f9ed;
  border-radius: 50%;
  color: #16934b;
  font-size: 27px;
  margin-bottom: 22px;
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes photo-in {
  from {
    transform: scale(1.055);
    opacity: 0.65;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media (max-width: 800px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-visual {
    min-height: 210px;
    height: 26svh;
    max-height: 280px;
  }
  .auth-brand-light {
    top: 25px;
    left: 26px;
  }
  .auth-visual-copy {
    left: 26px;
    bottom: 24px;
  }
  .auth-visual-copy h2 {
    font-size: 32px;
    letter-spacing: -1.3px;
    margin: 8px 0;
  }
  .auth-visual-copy p {
    font-size: 12px;
    margin: 0;
  }
  .auth-eyebrow {
    font-size: 9px;
  }
  .auth-panel {
    padding: 38px 25px 28px;
    align-items: start;
  }
  .auth-panel-inner {
    max-width: 480px;
  }
  .auth-intro {
    margin-bottom: 25px;
  }
  .auth-foot {
    margin-top: 38px;
  }
}
@media (max-width: 390px) {
  .auth-visual {
    height: 190px;
    min-height: 190px;
  }
  .auth-visual-copy h2 {
    font-size: 28px;
  }
  .auth-panel {
    padding: 30px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Login redesign: Otex-inspired welcome / form composition, Prime EV palette */
.auth-login-page{grid-template-columns:minmax(0,48fr) minmax(0,52fr)}
.auth-login-page .auth-photo{background-image:url("/static/images/authbanner.jpg");background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#0d2119}
.auth-login-page .auth-shade{background:linear-gradient(180deg,rgba(5,23,16,.52),rgba(5,23,16,.08) 43%,rgba(5,23,16,.84))}
.auth-login-page .auth-panel{padding:54px clamp(28px,5vw,86px)}
.auth-login-page .auth-panel-inner{max-width:440px}
.auth-login-page .auth-visual-copy{bottom:clamp(45px,9vh,100px)}
.auth-login-page .auth-login-hero-text h2{font-size:clamp(38px,4.2vw,65px);margin:0 0 14px;letter-spacing:-2px}
.auth-login-page .auth-login-hero-text p{margin:0;color:#c6dbcd;font-size:16px}
.auth-login-intro{display:none}
.auth-login-register{font-size:14px;color:#607366;margin:0 0 36px}
.auth-login-page .auth-link{font-size:inherit;color:#087b3e}
.auth-login-form{gap:23px}
.auth-login-form label{font-size:12px;letter-spacing:1.2px;color:#587163;margin-bottom:10px;font-weight:750}
.auth-input-field{display:flex;align-items:center;position:relative;border:1px solid #d7e3db;background:#f6f9f7;border-radius:13px;padding-left:17px;transition:border-color .2s,box-shadow .2s}
.auth-input-field:focus-within{border-color:#13a657;box-shadow:0 0 0 3px rgba(0,216,90,.1)}
.auth-input-field>svg{width:19px;height:19px;flex:none;color:#9cafa2}
.auth-login-form .auth-input-field input[type=email],.auth-login-form .auth-input-field input[type=password],.auth-login-form .auth-input-field input[type=text]{height:49px;min-width:0;border:0;box-shadow:none!important;background:transparent;border-radius:0;padding:0 13px;font-size:15px}
.auth-login-form .auth-input-field input::placeholder{color:#98a99d}
.auth-login-form .auth-pass-wrap{flex:1;min-width:0}
.auth-login-form .auth-pass-wrap input{padding-right:58px!important}
.auth-login-form .auth-toggle{font-size:12px;right:7px}
.auth-login-form .auth-btn,.auth-login-secondary .auth-btn{min-height:46px;border-radius:12px;font-size:14px;padding:10px 16px}
.auth-login-form .auth-btn{margin-top:3px}
.auth-forgot{display:block;width:fit-content;font-weight:650}
.auth-login-secondary{margin-top:36px;display:grid;gap:24px}
.auth-login-divider{display:flex;align-items:center;gap:14px;color:#8e9e93;font-size:12px;letter-spacing:1px}
.auth-login-divider:before,.auth-login-divider:after{content:"";height:1px;background:#dce7df;flex:1}
.auth-login-secondary .auth-btn-outline{border:1px solid #c7d9cb;background:#fff;color:#17683a;font-weight:650}
.auth-login-secondary .auth-btn-outline:hover{background:#f3faf5;box-shadow:none}
@media(min-width:1440px){.auth-login-page{grid-template-columns:1fr 1fr}}
@media(min-width:801px) and (max-width:1100px){.auth-login-page{grid-template-columns:44fr 56fr}.auth-login-page .auth-panel{padding-inline:clamp(24px,3.5vw,44px)}.auth-login-page .auth-login-hero-text h2{font-size:clamp(32px,4vw,46px)}}
@media(max-width:800px){
 .auth-login-page{display:flex;flex-direction:column;min-height:100svh}
 .auth-login-page .auth-visual{min-height:0;height:clamp(290px,44vw,380px);max-height:none;flex:none}
 .auth-login-page .auth-photo{background-size:auto 110%;background-position:center 55%}
 .auth-login-page .auth-brand-light{top:25px;left:clamp(24px,5vw,42px)}
 .auth-login-page .auth-visual-copy{left:clamp(24px,5vw,42px);bottom:26px}
 .auth-login-page .auth-login-hero-text h2{font-size:clamp(33px,5vw,45px);letter-spacing:-1.4px}
 .auth-login-page .auth-panel{flex:1;display:block;padding:42px clamp(24px,5vw,42px) 64px}
 .auth-login-page .auth-panel-inner{max-width:560px;margin-inline:auto}
 .auth-login-register{margin-bottom:30px}
}
@media(max-width:480px){
 .auth-login-page .auth-visual{height:275px}
 .auth-login-page .auth-photo{background-size:auto 106%;background-position:center 55%}
 .auth-login-page .auth-login-hero-text h2{font-size:33px}
 .auth-login-page .auth-login-hero-text p{font-size:14px}
 .auth-login-page .auth-panel{padding:34px 22px 54px}
 .auth-login-register{margin-bottom:26px}
 .auth-login-form{gap:20px}
 .auth-login-secondary{margin-top:30px}
}
@media(max-width:350px){.auth-login-page .auth-visual{height:250px}.auth-login-page .auth-panel{padding-inline:17px}.auth-login-page .auth-login-hero-text h2{font-size:29px}}
@media(max-height:600px) and (min-width:801px){.auth-login-page .auth-visual{min-height:650px}.auth-login-page .auth-panel{padding-block:35px}}
