body.halo-login-page {
  --login-yellow: #ffd400;
  --login-yellow-soft: #ffe970;
  --login-ink: #090b0b;
  --login-panel: rgba(25, 27, 24, .88);
  min-height: 100vh;
  color: #f6f5ee;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 212, 0, .12), transparent 27%),
    radial-gradient(circle at 20% 82%, rgba(255, 212, 0, .055), transparent 32%),
    linear-gradient(135deg, #070909 0%, #10120f 46%, #050606 100%);
}
body.halo-login-page:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}
body.halo-login-page #container,
body.halo-login-page .main,
body.halo-login-page .content,
body.halo-login-page #content,
body.halo-login-page #content-main { min-height: 100vh; width: 100%; max-width: none; margin: 0; padding: 0; background: transparent; }
body.halo-login-page .main { display: block; }
body.halo-login-page #footer { display: none; }

.halo-login-stage {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 48px 20px;
  place-items: center;
  overflow: hidden;
}
.halo-login-orbit { position: absolute; border: 1px solid rgba(255,212,0,.10); border-radius: 50%; pointer-events: none; }
.halo-login-orbit--one { width: 520px; height: 520px; left: -260px; top: -230px; box-shadow: 0 0 0 58px rgba(255,212,0,.018), 0 0 0 118px rgba(255,212,0,.012); }
.halo-login-orbit--two { width: 390px; height: 390px; right: -210px; bottom: -190px; box-shadow: 0 0 0 72px rgba(255,212,0,.016); }

.halo-login-card {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  padding: 34px 48px 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.045), transparent 30%),
    var(--login-panel);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 32px;
  box-shadow: 0 36px 100px rgba(0,0,0,.54), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(24px);
  animation: halo-login-arrive .55s cubic-bezier(.2,.8,.2,1) both;
}
.halo-login-card:before { content: ""; position: absolute; top: 0; left: 12%; width: 76%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,212,0,.75), transparent); }
.halo-login-card:after { content: "H"; position: absolute; right: -25px; bottom: -80px; color: rgba(255,255,255,.018); font: 900 260px/1 "Avenir Next Condensed", sans-serif; pointer-events: none; }

.halo-login-brand { display: flex; align-items: center; height: 30px; color: #fff; }
.halo-login-brand > span { display: grid; width: 28px; height: 28px; margin-right: 9px; place-items: center; color: #0a0c0b; background: var(--login-yellow); border-radius: 8px; font: 900 15px/1 "Avenir Next Condensed", sans-serif; }
.halo-login-brand strong { font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.halo-login-brand small { margin-left: auto; color: #666c67; font-size: 7px; font-weight: 800; letter-spacing: .13em; }

.halo-login-avatar {
  display: grid;
  width: 90px;
  height: 90px;
  margin: 28px auto 20px;
  place-items: center;
  color: var(--login-yellow);
  background: radial-gradient(circle at 35% 28%, rgba(255,233,112,.20), transparent 30%), rgba(255,212,0,.075);
  border: 1px solid rgba(255,212,0,.24);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255,212,0,.025), 0 16px 42px rgba(255,212,0,.08);
}
.halo-login-avatar svg { width: 54px; height: 54px; opacity: .92; }
.halo-login-heading { text-align: center; }
.halo-login-heading p { margin: 0 0 8px; color: var(--login-yellow); font-size: 8px; font-weight: 900; letter-spacing: .22em; }
.halo-login-heading h1 { margin: 0; color: #fff; font: 800 42px/1.05 "Avenir Next", "Gill Sans", sans-serif; letter-spacing: -.055em; }
.halo-login-heading > span { display: block; max-width: 320px; margin: 12px auto 26px; color: #858b86; font-size: 10px; line-height: 1.55; }

.halo-login-field { margin-top: 16px; }
.halo-login-field label { display: block; margin: 0 0 7px 3px; color: #d9dcd9; font-size: 10px; font-weight: 700; }
.halo-login-input { position: relative; display: flex; align-items: center; height: 58px; overflow: hidden; background: rgba(255,255,255,.048); border: 1px solid rgba(255,255,255,.08); border-radius: 13px; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.halo-login-input:focus-within { background: rgba(255,212,0,.055); border-color: rgba(255,212,0,.58); box-shadow: 0 0 0 4px rgba(255,212,0,.06); }
.halo-login-input svg { width: 22px; height: 22px; margin: 0 15px 0 18px; flex: 0 0 auto; stroke: #9da39f; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .18s ease; }
.halo-login-input:focus-within svg { stroke: var(--login-yellow); }
body.halo-login-page .halo-login-input input { width: 100%; height: 100%; padding: 0 18px 0 0; color: #fff; background: transparent !important; border: 0 !important; outline: 0; box-shadow: none !important; font: 500 14px/1 "Avenir Next", sans-serif; }
body.halo-login-page .halo-login-input input::placeholder { color: #5f6661; opacity: 1; }
body.halo-login-page .halo-login-input input:-webkit-autofill,
body.halo-login-page .halo-login-input input:-webkit-autofill:hover,
body.halo-login-page .halo-login-input input:-webkit-autofill:focus { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #22251f inset !important; caret-color: #fff; }
.halo-login-field.has-error .halo-login-input { border-color: #e76555; }
.halo-login-field .errorlist { margin: 6px 0 0 4px; padding: 0; color: #ff8678; font-size: 8px; list-style: none; }
.halo-login-error { margin: 0 0 12px; padding: 10px 12px; color: #ffc0b8; background: rgba(211,71,56,.12); border: 1px solid rgba(232,98,83,.28); border-radius: 9px; font-size: 9px; text-align: center; }
.halo-login-forgot { display: block; margin: 11px 3px 0; color: #c8a900 !important; font-size: 9px; font-weight: 700; text-align: right; text-decoration: none; }
.halo-login-forgot:hover { color: var(--login-yellow-soft) !important; }
.halo-login-submit { position: relative; display: flex; width: 100%; height: 58px; margin-top: 23px; align-items: center; justify-content: center; overflow: hidden; color: #0c0e0d; background: var(--login-yellow); border: 0; border-radius: 13px; box-shadow: 0 13px 32px rgba(255,212,0,.16); cursor: pointer; font: 900 12px/1 "Avenir Next", sans-serif; letter-spacing: .02em; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.halo-login-submit:before { content: ""; position: absolute; top: 0; left: -65%; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .5s ease; }
.halo-login-submit:hover { background: var(--login-yellow-soft); box-shadow: 0 17px 40px rgba(255,212,0,.22); transform: translateY(-2px); }
.halo-login-submit:hover:before { left: 125%; }
.halo-login-submit span { position: relative; z-index: 1; }
.halo-login-submit i { position: absolute; right: 18px; font-size: 18px; font-style: normal; font-weight: 500; }
.halo-login-footer { position: relative; z-index: 1; display: flex; align-items: center; margin-top: 25px; padding-top: 18px; color: #5f6661; border-top: 1px solid rgba(255,255,255,.065); font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.halo-login-footer i { width: 6px; height: 6px; margin-right: 7px; background: #76dd78; border-radius: 50%; box-shadow: 0 0 0 3px rgba(118,221,120,.08); }
.halo-login-footer b { margin-left: auto; color: #626964; font-size: 7px; }

@keyframes halo-login-arrive { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 560px) {
  .halo-login-stage { padding: 18px 12px; }
  .halo-login-card { padding: 25px 23px 22px; border-radius: 24px; }
  .halo-login-brand small { display: none; }
  .halo-login-avatar { width: 76px; height: 76px; margin-top: 22px; }
  .halo-login-avatar svg { width: 46px; height: 46px; }
  .halo-login-heading h1 { font-size: 36px; }
  .halo-login-heading > span { margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .halo-login-card { animation: none; } }
