/* Login & register — shared dark glass theme (collegiate + junior); use with body.ncpa-auth-page */
body.ncpa-auth-page {
  --ncpa-auth-primary: #004aad;
  --ncpa-auth-accent-1: #7eaded;
  --ncpa-auth-accent-2: #4a90e2;
  --ncpa-auth-surface: rgba(22, 33, 62, 0.72);
  --ncpa-auth-border: rgba(126, 173, 237, 0.35);
  --ncpa-auth-text: rgba(255, 255, 255, 0.92);
  --ncpa-auth-muted: rgba(255, 255, 255, 0.62);
}

body.ncpa-auth-page {
  min-height: 100%;
  background: linear-gradient(135deg, #000000 0%, #1a1a2e 45%, #16213e 100%);
  color: var(--ncpa-auth-text);
}

body.ncpa-auth-page {
  position: relative;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

body.ncpa-auth-page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(126, 173, 237, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(74, 144, 226, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(0, 74, 173, 0.12), transparent 45%);
  z-index: 0;
}

body.ncpa-auth-page .auth-top-spacer {
  height: 80px;
}

body.ncpa-auth-page .main-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-height: calc(100vh - 80px);
  padding: 1.5rem 1rem 2.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.ncpa-auth-page .main {
  width: min(100%, 26.5rem);
  border: 1px solid var(--ncpa-auth-border);
  border-radius: 20px;
  padding: 0;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  background: var(--ncpa-auth-surface);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

body.ncpa-auth-page .header {
  margin: 0;
  padding: 1.75rem 1.5rem 1.35rem;
  background: transparent;
  border-bottom: 1px solid rgba(126, 173, 237, 0.2);
  text-align: center;
}

body.ncpa-auth-page .auth-kicker {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ncpa-auth-accent-1);
}

body.ncpa-auth-page .header h1 {
  margin: 0;
  padding: 0;
  font-size: clamp(1.45rem, 4.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  background: linear-gradient(135deg, #7eaded 0%, #ffffff 45%, #4a90e2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

body.ncpa-auth-page .auth-sub {
  display: block;
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ncpa-auth-muted);
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

body.ncpa-auth-page .auth-step-pill:not(:empty) {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(126, 173, 237, 0.18);
  border: 1px solid rgba(126, 173, 237, 0.35);
}

body.ncpa-auth-page .container {
  margin-top: 0;
  padding: 1.35rem 1.35rem 1.6rem;
  gap: 1rem;
}

body.ncpa-auth-page h3 {
  color: var(--ncpa-auth-muted);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}

body.ncpa-auth-page h4 {
  color: var(--ncpa-auth-muted);
  text-align: left;
  font-size: 0.68rem;
  line-height: 1.4;
}

body.ncpa-auth-page input {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--ncpa-auth-text);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.ncpa-auth-page input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

body.ncpa-auth-page input:focus {
  outline: none;
  border-color: var(--ncpa-auth-accent-1);
  box-shadow: 0 0 0 3px rgba(126, 173, 237, 0.2);
}

body.ncpa-auth-page .inner div.date {
  width: 100%;
  max-width: 16rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

body.ncpa-auth-page .inner div.date input {
  background: transparent;
  border: none;
  color: var(--ncpa-auth-text);
}

body.ncpa-auth-page .inner div.date h3 {
  color: var(--ncpa-auth-muted);
  width: auto;
}

body.ncpa-auth-page .inner {
  align-items: stretch;
}

body.ncpa-auth-page .inner[style*='flex-direction: row'] {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

body.ncpa-auth-page .inner button.check {
  flex-shrink: 0;
  margin-top: 0.15rem;
  background: rgba(0, 0, 0, 0.25);
  border: 2px solid var(--ncpa-auth-accent-1);
}

body.ncpa-auth-page .inner button.check.selected {
  background: linear-gradient(135deg, var(--ncpa-auth-accent-1), var(--ncpa-auth-accent-2));
  border-color: transparent;
}

body.ncpa-auth-page h4 span {
  color: var(--ncpa-auth-accent-1);
}

body.ncpa-auth-page .inner .gender-div {
  width: 100%;
  max-width: 16rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.ncpa-auth-page .gender-div div h1 {
  color: var(--ncpa-auth-muted);
}

body.ncpa-auth-page .gender-div div.selected h1 {
  color: #0d1117;
}

body.ncpa-auth-page .gender-div div.selected {
  background: linear-gradient(135deg, var(--ncpa-auth-accent-1), var(--ncpa-auth-accent-2));
}

body.ncpa-auth-page .inner.ncpa-register-back-row {
  align-items: flex-start;
  width: 100%;
  margin: 0 0 0.15rem;
  padding: 0 0 0.35rem;
}

body.ncpa-auth-page .register-btn.ncpa-auth-back {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  border: none;
  border-radius: 0;
  color: var(--ncpa-auth-muted);
  background: transparent;
  box-shadow: none;
}

body.ncpa-auth-page .register-btn.ncpa-auth-back:hover:not(:disabled) {
  color: #fff;
  transform: none;
  box-shadow: none;
  background: transparent;
}

body.ncpa-auth-page .register-btn:not(.ncpa-auth-back) {
  width: 100%;
  max-width: 16rem;
  margin: 0.25rem auto 0;
  padding: 0.85rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  color: #0d1117;
  background: linear-gradient(135deg, var(--ncpa-auth-accent-1), var(--ncpa-auth-accent-2));
  box-shadow: 0 8px 24px rgba(74, 144, 226, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.ncpa-auth-page .register-btn:not(.ncpa-auth-back):hover:not(:disabled) {
  background: linear-gradient(135deg, var(--ncpa-auth-accent-2), var(--ncpa-auth-accent-1));
  color: #0d1117;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(126, 173, 237, 0.45);
}

body.ncpa-auth-page .inner a {
  color: var(--ncpa-auth-accent-1);
  font-size: 0.8rem;
  font-weight: 500;
}

body.ncpa-auth-page .inner a:hover {
  color: #fff;
}

body.ncpa-auth-page .login-loading-overlay {
  background: rgba(10, 14, 26, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

body.ncpa-auth-page .login-loading-box {
  color: var(--ncpa-auth-text);
}

body.ncpa-auth-page .login-spinner {
  border-color: rgba(126, 173, 237, 0.25);
  border-top-color: var(--ncpa-auth-accent-1);
}

@media screen and (max-width: 500px) {
  body.ncpa-auth-page .main {
    border-radius: 16px;
  }
}
