/* WORLD STEEL ITP GENERATOR – sign-in page */
.auth-body { margin: 0; background: #0F2238; min-height: 100vh; }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr); min-height: 100vh; }

/* ---------- Brand panel ---------- */
.auth-brand { position: relative; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(120% 90% at 0% 0%, #2B4D75 0%, #1F3A5F 38%, #0F2238 100%); padding: 56px 64px 72px; }
.auth-grid { position: absolute; inset: 0; opacity: .09; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(160deg, #000 10%, transparent 75%); -webkit-mask-image: linear-gradient(160deg, #000 10%, transparent 75%); }
.auth-truss { position: absolute; left: 0; right: 0; bottom: 46px; width: 100%; height: 110px; color: rgba(201,162,39,.22); pointer-events: none; }
.auth-brand::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(#B3122E, #C9A227); }
.auth-brand-inner { position: relative; max-width: 620px; }
.auth-logo-tile { width: 132px; height: 132px; background: #fff; border-radius: 18px; display: grid; place-items: center; box-shadow: 0 18px 40px rgba(0,0,0,.35); margin-bottom: 30px; }
.auth-logo-tile img { width: 112px; height: 112px; object-fit: contain; mix-blend-mode: multiply; }
.auth-kicker { font-family: 'Oswald', 'Segoe UI', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .22em; font-size: 13px; color: #C9A227; margin: 0 0 10px; }
.auth-hero { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 700; text-transform: uppercase; color: #fff; font-size: clamp(40px, 5vw, 66px); line-height: 1.02; letter-spacing: .01em; margin: 0 0 18px; }
.auth-hero span { color: #C9A227; }
.auth-lead { font-size: 17px; color: #C9D6E6; max-width: 520px; margin: 0 0 28px; }
.auth-points { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.auth-points li { display: flex; gap: 14px; align-items: center; color: #DCE5F0; font-size: 14.5px; }
.auth-points b { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 15px; color: #0F2238; background: #C9A227; border-radius: 4px; padding: 2px 8px; letter-spacing: .04em; }
.auth-certs { display: flex; flex-wrap: wrap; gap: 8px; }
.auth-certs span { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; border: 1px solid rgba(255,255,255,.28); color: #fff; padding: 5px 11px; border-radius: 3px; background: rgba(255,255,255,.06); }
.auth-brand-foot { position: absolute; left: 64px; right: 40px; bottom: 18px; font-size: 12px; color: #8FA3BB; letter-spacing: .02em; }

/* ---------- Sign-in panel ---------- */
.auth-panel { background: #F3F5F8; display: flex; flex-direction: column; align-items: center; padding: 22px 32px 18px; }
.auth-top { width: 100%; max-width: 440px; display: flex; justify-content: space-between; align-items: center; }
.auth-back { color: #5E6B7A; font-size: 13px; }
.auth-lang { display: flex; gap: 4px; }
.auth-lang a { font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: .06em; padding: 3px 10px; border: 1px solid #DCE2EA; border-radius: 4px; color: #5E6B7A; text-decoration: none; background: #fff; }
.auth-lang a.on { background: #1F3A5F; border-color: #1F3A5F; color: #fff; }
.auth-card2 { width: 100%; max-width: 440px; margin: auto 0; background: #fff; border: 1px solid #DCE2EA; border-radius: 14px; box-shadow: 0 24px 60px rgba(15,34,56,.14); padding: 34px 36px 28px; position: relative; overflow: hidden; }
.auth-card2::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, #1F3A5F 0 60%, #B3122E 60% 85%, #C9A227 85%); }
.auth-card-logo { mix-blend-mode: multiply; display: block; width: 84px; height: 84px; object-fit: contain; margin: 4px auto 14px; }
.auth-title { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 700; text-transform: uppercase; text-align: center; font-size: 28px; letter-spacing: .04em; color: #0F2238; margin: 0 0 6px; }
.auth-sub { text-align: center; color: #5E6B7A; font-size: 13.5px; margin: 0 0 22px; }
.auth-label { font-family: 'Oswald', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; color: #1F3A5F; margin: 0 0 6px; }
.auth-input { position: relative; margin-bottom: 16px; }
.auth-input svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: #8C97A4; stroke-width: 1.8; pointer-events: none; }
.auth-input input { width: 100%; height: 48px; border: 1px solid #C9D2DD; border-radius: 8px; padding: 0 44px 0 40px; font-size: 15px; background: #FBFCFD; transition: border-color .15s, box-shadow .15s, background .15s; }
.auth-input input:focus { outline: none; border-color: #1F3A5F; background: #fff; box-shadow: 0 0 0 3px rgba(31,58,95,.15); }
.auth-input.err input { border-color: #B3122E; box-shadow: 0 0 0 3px rgba(179,18,46,.12); }
.auth-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; width: 36px; height: 36px; border-radius: 6px; cursor: pointer; display: grid; place-items: center; }
.auth-eye svg { position: static; transform: none; }
.auth-eye:hover { background: #EEF1F5; }
.auth-eye.on svg { stroke: #1F3A5F; }
.auth-caps { font-size: 12px; color: #9A6A00; background: #FFF5DA; border-radius: 4px; padding: 4px 8px; margin: -8px 0 12px; }
.auth-submit { width: 100%; height: 50px; border: 0; border-radius: 8px; cursor: pointer; margin-top: 6px;
  font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 17px; color: #fff;
  background: linear-gradient(180deg, #C2173A, #A30F28); box-shadow: 0 8px 18px rgba(179,18,46,.28); transition: transform .08s, box-shadow .15s, filter .15s; }
.auth-submit:hover { filter: brightness(1.05); box-shadow: 0 10px 22px rgba(179,18,46,.35); }
.auth-submit:active { transform: translateY(1px); }
.auth-submit:disabled { opacity: .7; cursor: progress; }
.auth-submit.busy::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: authspin .7s linear infinite; vertical-align: -2px; }
@keyframes authspin { to { transform: rotate(360deg); } }
.auth-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding-top: 16px; border-top: 1px solid #E9EDF2; font-size: 12.5px; color: #5E6B7A; }
.auth-note svg { width: 18px; height: 18px; flex: none; fill: none; stroke: #1E7F4F; stroke-width: 1.8; margin-top: 1px; }
.auth-copy { font-size: 12px; color: #8C97A4; margin-top: 16px; }
.auth-card2 .alert { margin-bottom: 16px; }

@media (max-width: 980px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { padding: 34px 26px 60px; }
  .auth-points, .auth-lead { display: none; }
  .auth-logo-tile { width: 88px; height: 88px; margin-bottom: 18px; border-radius: 14px; }
  .auth-logo-tile img { width: 72px; height: 72px; }
  .auth-hero { font-size: 38px; }
  .auth-brand-foot { position: static; margin-top: 18px; }
  .auth-truss { bottom: 0; }
  .auth-panel { padding: 20px 16px; }
  .auth-card2 { margin: 24px 0; padding: 28px 22px 22px; }
}
@media (prefers-reduced-motion: reduce) { .auth-submit.busy::after { animation: none; } }
.auth-card-wide { max-width: 760px; }
.auth-top:has(+ .auth-card-wide) { max-width: 760px; }
.auth-env { border: 1px solid #E9EDF2; border-radius: 8px; padding: 8px 12px; margin-bottom: 14px; }
.auth-env summary { cursor: pointer; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #1F3A5F; font-size: 13px; }
.auth-env table { margin-top: 8px; }
.auth-h3 { font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #0F2238; font-size: 15px; margin: 16px 0 10px; padding-bottom: 6px; border-bottom: 2px solid #C9A227; display: inline-block; }
.auth-card-wide .auth-input { margin-bottom: 10px; }
