/* =====================================================================
   Sentinel Systems — authentication premium layer
   Loaded after auth.css on the sign-in / create-account page only.
   ===================================================================== */

.auth-pro {
  --ap-edge: rgba(148, 178, 226, 0.16);
  --ap-edge-hot: rgba(96, 165, 250, 0.5);
  --ap-glass: linear-gradient(180deg, rgba(20, 32, 55, 0.9), rgba(10, 17, 31, 0.95));
  --ap-lift: 0 46px 90px -46px rgba(0, 0, 0, 1);
}

.auth-pro .auth-section-pro { padding-block: clamp(1rem, 4vw, 3rem); }
.auth-pro .auth-shell {
  grid-template-columns: 1.02fr .98fr;
  max-width: 1180px;
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.auth-pro .auth-aurora span { opacity: .48; }

/* faint scanning beam across the whole shell */
.auth-pro .auth-shell::after {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 42%, rgba(129, 178, 255, .07) 50%, transparent 58%);
  background-size: 260% 100%;
  animation: ap-sweep 9s linear infinite;
}
@keyframes ap-sweep {
  from { background-position: 140% 0; }
  to   { background-position: -60% 0; }
}

/* ------------------------------------------------------------ left side */

.auth-pro .auth-pitch {
  align-self: center;
  max-width: 560px;
}
.auth-pro .auth-eyebrow {
  background: rgba(52, 211, 153, .09);
  border-color: rgba(52, 211, 153, .32);
  color: #a9e6cd;
  backdrop-filter: blur(10px);
}
.auth-pro .auth-pitch h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.3rem);
  letter-spacing: -.042em;
  line-height: 1.06;
  font-weight: 700;
  background: linear-gradient(168deg, #ffffff 16%, #cadbf9 56%, #8db2ea);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-wrap: balance;
}
.auth-pro .auth-pitch h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #7fb0ff, #5eead4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.auth-pro .auth-pitch > p {
  color: #a5b8d7;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  max-width: 46ch;
  text-wrap: pretty;
}

.auth-pro .auth-points { gap: .55rem; }
.auth-pro .auth-points li {
  align-items: flex-start;
  padding: .85rem .95rem;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: background .3s var(--ease, ease), border-color .3s var(--ease, ease), transform .3s var(--ease, ease);
}
.auth-pro .auth-points li:hover {
  background: rgba(21, 33, 56, .58);
  border-color: var(--ap-edge);
  transform: translateX(2px);
}
.auth-pro .auth-points svg {
  width: 20px; height: 20px; flex: none;
  padding: 0; color: #9cc4ff;
}
.auth-pro .auth-points strong { color: #e9f0fd; font-weight: 620; }
.auth-pro .auth-points span { color: #9db0cf; }

.auth-pro .auth-stats {
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--ap-edge);
}
.auth-pro .auth-stats > div { padding: 0; }
.auth-pro .auth-stats span {
  font-family: 'Sora', sans-serif;
  font-size: 1.28rem; letter-spacing: -.02em; color: #fff;
}
.auth-pro .auth-stats small {
  color: var(--text-dim); text-transform: uppercase; letter-spacing: .12em; font-size: .66rem;
}

/* ----------------------------------------------------------- the card */

.auth-pro .auth-panel { align-self: center; width: 100%; }

.auth-pro .auth-card-pro {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--ap-edge);
  background: var(--ap-glass);
  box-shadow: var(--ap-lift);
  backdrop-filter: blur(22px) saturate(1.1);
  padding: clamp(1.5rem, 3vw, 2.3rem);
  overflow: hidden;
}
/* gradient hairline border */
.auth-pro .auth-card-pro::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px; pointer-events: none;
  background: linear-gradient(155deg, rgba(129, 178, 255, .65), rgba(129, 178, 255, 0) 40%, rgba(94, 234, 212, .32));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* top sheen */
.auth-pro .auth-card-pro::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 46%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), transparent);
}
.auth-pro .auth-card-pro > * { position: relative; z-index: 1; }

.auth-pro .auth-brandline {
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--ap-edge);
}
.auth-pro .auth-brandline img {
  width: 38px; height: 38px; border-radius: 11px;
  border: 1px solid rgba(129, 178, 255, .3);
  background: rgba(59, 130, 246, .12);
  padding: 4px;
}
.auth-pro .auth-brandline b { letter-spacing: -.02em; font-size: 1rem; }
.auth-pro .auth-brandline small { color: var(--text-dim); letter-spacing: .1em; text-transform: uppercase; font-size: .64rem; }

/* segmented switch */
.auth-pro .auth-switch {
  border-radius: 13px;
  border: 1px solid var(--ap-edge);
  background: rgba(8, 14, 27, .62);
  padding: 4px;
}
.auth-pro .auth-switch a {
  border-radius: 10px;
  font-weight: 600; font-size: .88rem;
  color: #93a4c0;
  transition: color .25s var(--ease, ease);
}
.auth-pro .auth-switch a[aria-selected="true"] { color: #fff; }
.auth-pro .auth-switch-pill {
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(79, 144, 255, .95), rgba(37, 99, 235, .95));
  box-shadow: 0 10px 22px -14px rgba(59, 130, 246, 1), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.auth-pro .auth-title h2 {
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
  letter-spacing: -.03em;
}
.auth-pro .auth-title p { color: #93a6c4; font-size: .9rem; }

/* fields */
.auth-pro .auth-field label {
  font-size: .78rem; font-weight: 620; letter-spacing: .04em;
  color: #b6c6e2; text-transform: uppercase;
}
.auth-pro .auth-input-wrap {
  border-radius: 13px;
  border: 1px solid var(--ap-edge);
  background: rgba(8, 14, 27, .7);
  transition: border-color .25s var(--ease, ease), box-shadow .25s var(--ease, ease), background .25s var(--ease, ease);
}
.auth-pro .auth-input-wrap:focus-within {
  border-color: var(--ap-edge-hot);
  background: rgba(11, 19, 35, .9);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .16);
}
.auth-pro .auth-input-wrap > svg { width: 18px; height: 18px; color: #7f93b6; }
.auth-pro .auth-input-wrap:focus-within > svg { color: #9cc4ff; }
.auth-pro .auth-input-wrap input { font-size: .95rem; letter-spacing: -.005em; }
.auth-pro .auth-input-wrap input::placeholder { color: #5d6d8c; }
.auth-pro .password-toggle {
  border-radius: 8px;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 640;
  color: #96abcd;
}
.auth-pro .password-toggle:hover { color: #cfe0ff; background: rgba(59, 130, 246, .14); }

.auth-pro .auth-strength-bar i { border-radius: 999px; }
.auth-pro .auth-hint { color: var(--text-dim); font-size: .78rem; }

.auth-pro .auth-terms { color: #a3b5d3; font-size: .85rem; }

/* submit */
.auth-pro .auth-submit {
  border-radius: 13px;
  padding: .92rem 1rem;
  font-weight: 660; font-size: .96rem; letter-spacing: -.01em;
  background: linear-gradient(180deg, #4f90ff, var(--brand-strong));
  border: 1px solid rgba(147, 189, 255, .48);
  box-shadow: 0 18px 38px -20px rgba(59, 130, 246, 1), inset 0 1px 0 rgba(255, 255, 255, .24);
  transition: transform .25s var(--ease, ease), box-shadow .25s var(--ease, ease), filter .25s var(--ease, ease);
}
.auth-pro .auth-submit:hover { transform: translateY(-2px); box-shadow: 0 24px 46px -20px rgba(59, 130, 246, 1); }
.auth-pro .auth-submit:active { transform: translateY(0); filter: brightness(.96); }

.auth-pro .auth-or { color: var(--text-dim); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }

.auth-pro .auth-discord {
  border-radius: 13px;
  border: 1px solid rgba(88, 101, 242, .42);
  background: linear-gradient(180deg, rgba(88, 101, 242, .22), rgba(88, 101, 242, .1));
  font-weight: 620;
  transition: transform .25s var(--ease, ease), border-color .25s var(--ease, ease), background .25s var(--ease, ease);
}
.auth-pro .auth-discord:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, .8);
  background: linear-gradient(180deg, rgba(88, 101, 242, .34), rgba(88, 101, 242, .16));
}

.auth-pro .auth-alert {
  border-radius: 13px;
  border: 1px solid rgba(248, 113, 113, .42);
  background: rgba(248, 113, 113, .1);
  color: #ffd8d8;
  font-size: .88rem;
}

.auth-pro .auth-foot-note { color: #93a6c4; font-size: .86rem; }
.auth-pro .auth-secure {
  margin-top: .9rem; padding-top: .9rem;
  border-top: 1px solid var(--ap-edge);
  color: var(--text-dim); font-size: .74rem;
  display: flex; align-items: center; justify-content: center; gap: .45rem;
}
.auth-pro .auth-secure svg { width: 14px; height: 14px; }

/* trust footer under the card */
.auth-pro .auth-assurance {
  position: relative; z-index: 1;
  margin: 1rem auto 0;
  display: flex; flex-wrap: wrap; gap: .5rem .9rem; justify-content: center;
}
.auth-pro .auth-assurance span {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .34rem .7rem;
  border: 1px solid var(--ap-edge);
  border-radius: 999px;
  background: rgba(14, 22, 39, .6);
  color: #9db0cf; font-size: .74rem; font-weight: 550;
}
.auth-pro .auth-assurance svg { width: 13px; height: 13px; color: var(--ok); }

@media (max-width: 940px) {
  .auth-pro .auth-shell { grid-template-columns: 1fr; }
  .auth-pro .auth-pitch { max-width: none; text-align: left; }
  .auth-pro .auth-stats { max-width: 480px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-pro .auth-shell::after { animation: none; }
  .auth-pro .auth-submit:hover,
  .auth-pro .auth-discord:hover,
  .auth-pro .auth-points li:hover { transform: none; }
}
