/* The reference login design, scoped to keep academy screens unchanged. */
.login {
  --login-green: #4ed58b;
  --login-mint: #76e3a4;
  display: grid;
  grid-template-columns: 60.6fr 39.4fr;
  min-height: 100svh;
  background: #06100f;
}
.login#view { padding-bottom: 0; }
.login-art {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(44px, 7vh, 86px);
  min-width: 0;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(46px, 7.3vh, 96px) clamp(40px, 7.25vw, 144px) clamp(48px, 9.7vh, 118px);
  background: linear-gradient(90deg, #030b0e9c, #030b0e28 72%, #030b0e0d), url('/static/img/login-refinery.png') center / cover;
}
.login-art > * { position: relative; z-index: 1; }
.login-art .brand {
  display: block;
  width: clamp(230px, 16vw, 300px);
  max-width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  isolation: auto;
  mix-blend-mode: screen;
  overflow: visible;
}
.login-art::before {
  content: '';
  position: absolute;
  top: 0;
  right: -115px;
  width: 440px;
  height: 142px;
  border-radius: 90px;
  transform: rotate(-43deg);
  background: #3aa879;
  opacity: .28;
  pointer-events: none;
}
.login-art::after {
  content: '';
  position: absolute;
  bottom: -380px;
  left: -350px;
  width: 620px;
  height: 640px;
  border: 1px solid #4ed58b75;
  border-radius: 110px;
  transform: rotate(-39deg);
  pointer-events: none;
}
.login-copy { align-self: start; padding-top: 10px; padding-bottom: 18px; }
.login .eyebrow {
  color: var(--login-green);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .28em;
  line-height: 1.5;
}
.login-art h1 {
  margin: 24px 0 24px;
  max-width: 600px;
  font-family: var(--fb);
  font-size: clamp(48px, 4.6vw, 88px);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: .98;
  color: #fafcfb;
}
.login-art h1 span { display: block; }
.login-art h1 .login-highlight { color: var(--login-mint); }
.login-copy > p {
  font-size: clamp(16px, 1.3vw, 23px);
  line-height: 1.4;
  color: #e7ece9;
  max-width: 470px;
  text-shadow: 0 2px 20px #000;
}
.login-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 550px;
  list-style: none;
}
.login-benefits li { padding: 0 28px 0 0; }
.login-benefits li + li { padding-left: 32px; border-left: 1px solid #d4e5dc42; }
.login-benefits svg { width: 35px; height: 35px; color: #8bdd65; stroke-width: 1.35; margin-bottom: 13px; }
.login-benefits span { display: block; color: #f5f7f6; font-size: 12px; line-height: 1.5; letter-spacing: .07em; font-weight: 650; text-transform: uppercase; }
.login-form {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 70px clamp(40px, 6.8vw, 120px);
  background: radial-gradient(ellipse at 100% 0%, #0a3025a6, transparent 55%), #060e0e;
}
.login-form::before {
  content: '';
  position: absolute;
  top: -470px;
  right: -155px;
  width: 420px;
  height: 820px;
  border: 1px solid #32ad776b;
  border-radius: 140px;
  transform: rotate(-41deg);
  pointer-events: none;
}
.login-form::after {
  content: '';
  position: absolute;
  top: -350px;
  right: -120px;
  width: 340px;
  height: 500px;
  border-radius: 130px;
  transform: rotate(-41deg);
  background: #07553644;
  pointer-events: none;
}
.login-wave {
  position: absolute;
  bottom: -4%;
  left: -12%;
  width: 125%;
  height: 30%;
  min-height: 170px;
  background: url('/static/img/login-wave.svg') center bottom / cover no-repeat;
  opacity: .48;
  pointer-events: none;
}
.login-art .login-wave { z-index: 0; width: 60%; left: -28%; bottom: -7%; opacity: .18; height: 34%; }
.login-form > .login-card { position: relative; z-index: 1; width: 100%; max-width: 440px; }
.login-form h2 {
  font-family: var(--fb);
  font-size: clamp(30px, 2.55vw, 46px);
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.12;
  margin: 12px 0 44px;
  color: #f6f8f7;
}
.login-form .field { margin: 0 0 22px; }
.login-form .field > label {
  display: block;
  margin-bottom: 8px;
  color: #a8b0b1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
}
.login-input { position: relative; }
.login-input > svg { position: absolute; left: 18px; top: 20px; width: 21px; height: 21px; color: #a3adb0; pointer-events: none; }
.login-input input {
  height: 60px;
  width: 100%;
  padding: 0 48px 0 53px;
  border: 1px solid #34403f;
  border-radius: 12px;
  background: #151e20de;
  color: #f7faf8;
  font-size: 15px;
  box-shadow: inset 0 1px 0 #ffffff03;
}
.login-input input::placeholder { color: #879292; opacity: 1; }
.login-input input:focus { border-color: var(--login-green); outline: 2px solid #4ed58b38; outline-offset: 2px; }
.login-reveal { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; display: grid; place-items: center; color: #98a9a1; border-radius: 8px; }
.login-reveal:hover { color: #d7eee1; background: #ffffff08; }
.login-reveal svg { width: 19px; height: 19px; }
.login-form .btn { width: 100%; justify-content: center; min-height: 50px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.login-form .btn-ac { background: var(--login-green); border: 1px solid var(--login-green); color: #04170c; }
.login-form .btn-ac:hover { background: #65e09c; }
.login-form .btn-ac:disabled { opacity: .65; }
.login-options { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 17px; font-size: 13px; }
.login-remember { display: flex; align-items: center; gap: 10px; color: #e7ede9; cursor: pointer; }
.login-remember input { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--login-green); flex-shrink: 0; cursor: pointer; }
.login-forgot { color: var(--login-green); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.login-divider { display: flex; align-items: center; gap: 20px; margin: 30px 0 18px; font-size: 11px; color: #85928e; letter-spacing: .15em; }
.login-divider::before, .login-divider::after { content: ''; height: 1px; background: #40514a; flex: 1; }
.login-form .login-support { border: 1px solid #b7c5bd; background: #070e0da3; color: #f2f6f3; font-weight: 450; }
.login-form .login-support:hover { border-color: var(--login-green); background: #13241c; }
.login-support svg { width: 19px; height: 19px; }
.login-form .form-error:empty { display: none; }
.login-form .form-error { margin: -4px 0 16px; font-size: 13px; }
.login-support-note { margin-top: 16px; color: #9db0a5; font-size: 13px; line-height: 1.6; }
@media (max-width: 1100px) and (min-width: 761px) {
  .login { grid-template-columns: 55fr 45fr; }
  .login-art { padding: 45px 42px; }
  .login-art h1 { font-size: clamp(46px, 5.2vw, 58px); }
  .login .eyebrow { font-size: 10px; letter-spacing: .2em; }
  .login-form { padding: 52px 38px; }
  .login-benefits li { padding-right: 14px; }
  .login-benefits li + li { padding-left: 14px; }
  .login-benefits span { font-size: 10px; }
}
@media (max-width: 760px) {
  .login { grid-template-columns: 1fr; }
  .login-art { min-height: 0; padding: 32px 28px 38px; gap: 35px; background-position: center 48%; }
  .login-art .brand { width: 220px; }
  .login-art::before { width: 300px; height: 95px; right: -110px; }
  .login-copy { padding: 0; }
  .login .eyebrow { font-size: 10px; letter-spacing: .2em; }
  .login-art h1 { font-size: clamp(41px, 8.3vw, 60px); margin: 16px 0 16px; line-height: 1.02; }
  .login-art h1 span { display: inline; }
  .login-art h1 .login-highlight-start::before { content: ''; display: block; }
  .login-copy > p { font-size: 16px; max-width: 340px; }
  .login-benefits { max-width: 450px; }
  .login-benefits svg { width: 27px; height: 27px; margin-bottom: 8px; }
  .login-benefits li { padding-right: 16px; }
  .login-benefits li + li { padding-left: 16px; }
  .login-benefits span { font-size: 9px; }
  .login-form { padding: 44px 28px 72px; }
  .login-form > .login-card { max-width: 480px; }
  .login-form h2 { font-size: 34px; margin-bottom: 32px; }
  .login-wave { height: 160px; opacity: .3; }
  .login-form::before { right: -250px; opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
  .login *, .login *::before, .login *::after { transition: none; }
}

@media (max-width: 480px) {
  .login-art { gap: 24px; padding: 28px 28px 32px; }
  .login-art .brand { width: 200px; }
  .login-art h1 { font-size: 32px; line-height: 1.06; }
  .login-copy > p { font-size: 14px; }
  .login-benefits svg { width: 24px; height: 24px; }
}
