/* After The Union 6.0.16 — full graphical public landing/auth experience */
:root{
  --atu-auth-panel: rgba(7,10,14,.91);
  --atu-auth-border: rgba(255,255,255,.16);
  --atu-auth-text: #eef2f6;
  --atu-auth-muted: #b3bdc9;
  --atu-auth-blue: #1e5e91;
  --atu-auth-orange: #b7421d;
}

.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

body.atu-auth-body{
  margin:0;
  background:#05070a;
  min-height:100vh;
}
body.atu-auth-body #app.app-shell{
  display:block!important;
  min-height:100vh!important;
  padding:0!important;
}
body.atu-auth-body #page.page{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-height:100vh!important;
  margin:0!important;
  padding:0!important;
}

.atu-public-hero,
.atu-auth-hero{
  position:relative;
  width:100%;
  min-height:100vh;
  overflow:hidden;
  background-color:#05070a;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center top;
  color:var(--atu-auth-text);
}
.atu-public-hero{background-image:url('/assets/img/atu-auth-landing-618.webp')}
.atu-auth-hero--login{background-image:url('/assets/img/atu-auth-login-618.webp')}
.atu-auth-hero--register{background-image:url('/assets/img/atu-auth-register-618.webp')}

.atu-public-hero::before,
.atu-auth-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(0,0,0,.05),rgba(0,0,0,.04) 48%,rgba(0,0,0,.18));
}

.atu-auth-panel{
  position:absolute;
  z-index:2;
  right:clamp(24px,6vw,110px);
  top:50%;
  transform:translateY(-50%);
  width:min(440px,38vw);
  max-height:calc(100vh - 48px);
  overflow:auto;
  padding:26px;
  border:1px solid var(--atu-auth-border);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(12,15,19,.95),rgba(6,8,11,.94));
  box-shadow:0 24px 70px rgba(0,0,0,.58),inset 0 1px rgba(255,255,255,.04);
  backdrop-filter:blur(8px);
}
.atu-auth-panel--landing{width:min(490px,40vw)}
.atu-auth-panel__title{
  margin:0 0 10px;
  font-size:clamp(1.45rem,2vw,2rem);
  line-height:1.1;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#f0f1f2;
}
.atu-auth-panel__subtitle{
  color:#d6dce3;
  font-weight:750;
  margin:0 0 16px;
}
.atu-auth-story{
  color:#d0d6dd;
  line-height:1.5;
  font-size:.98rem;
}
.atu-auth-story p{margin:0 0 11px}
.atu-auth-story strong{color:#fff}
.atu-auth-accent{color:#e76132;font-weight:800}

.atu-auth-form{display:grid;gap:13px}
.atu-auth-field{display:grid;gap:6px}
.atu-auth-field label{
  color:#c8d0da;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.atu-auth-input,
.atu-auth-select{
  width:100%;
  min-height:48px;
  padding:11px 13px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.20);
  background:rgba(5,8,11,.76);
  color:#f5f7fa;
  font:inherit;
  outline:none;
  box-shadow:inset 0 1px rgba(255,255,255,.02);
}
.atu-auth-input:focus,
.atu-auth-select:focus{
  border-color:rgba(90,166,226,.82);
  box-shadow:0 0 0 3px rgba(50,123,180,.18);
}
.atu-auth-select option{background:#0c1116;color:#fff}
.atu-auth-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.atu-auth-check{
  display:flex;
  gap:9px;
  align-items:flex-start;
  color:#d3d9e0;
  font-size:.92rem;
}
.atu-auth-check input{margin-top:2px;accent-color:#b7421d}
.atu-auth-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.atu-auth-btn{
  appearance:none;
  border:1px solid rgba(255,255,255,.15);
  border-radius:8px;
  min-height:48px;
  padding:11px 18px;
  color:#fff;
  font-weight:900;
  letter-spacing:.045em;
  text-transform:uppercase;
  text-decoration:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.05);
}
.atu-auth-btn--primary{
  flex:1;
  background:linear-gradient(90deg,#0c436f,#143d60 48%,#8e2e18 100%);
  border-color:rgba(102,172,226,.45);
}
.atu-auth-btn--register{
  flex:1;
  background:linear-gradient(90deg,#8a2a15,#b7421d);
  border-color:rgba(224,91,46,.48);
}
.atu-auth-btn:hover{filter:brightness(1.12)}
.atu-auth-links{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-top:4px;
  color:var(--atu-auth-muted);
  font-size:.9rem;
}
.atu-auth-links a{color:#7ec3ef;text-decoration:none}
.atu-auth-links a:hover{text-decoration:underline}
.atu-auth-divider{height:1px;background:rgba(255,255,255,.10);margin:4px 0}
.atu-auth-fine{color:#8f9aa7;font-size:.83rem;margin-top:10px}
.atu-auth-message{
  margin-bottom:14px;
  padding:10px 12px;
  border-radius:9px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(0,0,0,.35);
}
.atu-auth-message--error{border-color:rgba(255,91,91,.36);background:rgba(70,11,11,.42)}
.atu-auth-message--success{border-color:rgba(71,209,140,.36);background:rgba(8,58,32,.42)}
.atu-auth-captcha{margin:3px 0;overflow:hidden}
.atu-auth-captcha .g-recaptcha{transform-origin:left top}

/* Retained old landing selectors are intentionally not deleted so older assets/styles remain reversible. */
.atu-landing{min-height:100vh;background:#05070a}

@media (max-width: 980px){
  .atu-public-hero,
  .atu-auth-hero{
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding:44vh 14px 18px;
    background-position:42% top;
  }
  .atu-auth-hero--register{background-position:40% top}
  .atu-auth-panel,
  .atu-auth-panel--landing{
    position:relative;
    right:auto;
    top:auto;
    transform:none;
    width:min(100%,620px);
    max-height:none;
    padding:20px;
  }
}

@media (max-width: 560px){
  .atu-public-hero,
  .atu-auth-hero{padding-top:38vh}
  .atu-auth-panel{padding:17px;border-radius:14px}
  .atu-auth-row{grid-template-columns:1fr}
  .atu-auth-actions{display:grid;grid-template-columns:1fr}
  .atu-auth-btn{width:100%}
  .atu-auth-story{font-size:.92rem}
  .atu-auth-captcha .g-recaptcha{transform:scale(.88)}
}
