/* Marketing-themed auth pages */

.nn-auth-page {
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(37, 99, 235, .12), transparent 55%),
    linear-gradient(180deg, #eef4fb 0%, #f8fafc 40%, #ffffff 100%);
}

.nn-auth-topnav {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nn-auth-page .nn-header__actions .nn-btn.is-active {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .25);
}

.nn-auth {
  /* Top gap aligned with App Features (.af-section / hero title spacing) */
  padding: 2.35rem 0 2.5rem;
}

.nn-auth__shell {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.25rem;
  align-items: stretch;
}

.nn-auth__aside-card {
  height: 100%;
  min-height: 420px;
  border-radius: 18px;
  padding: 2rem 1.75rem;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(11, 27, 51, .88), rgba(22, 50, 92, .78)),
    var(--nn-auth-aside-image, none) center / cover no-repeat;
  box-shadow: 0 18px 40px rgba(15, 36, 68, .18);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.nn-auth__eyebrow {
  margin: 0 0 .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #93c5fd;
}

.nn-auth__aside-card h1 {
  margin: 0 0 .65rem;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.nn-auth__aside-card > p {
  margin: 0 0 1.1rem;
  color: rgba(255,255,255,.88);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.55;
  max-width: 28rem;
}

.nn-auth__aside-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}

.nn-auth__aside-card li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  font-weight: 650;
  color: rgba(255,255,255,.92);
}

.nn-auth__aside-card li i {
  color: #4ade80;
}

.nn-auth__panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: 0 14px 34px rgba(15, 36, 68, .08);
}

.nn-auth__panel h2 {
  margin: 0 0 .35rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: #16325c;
  letter-spacing: -.02em;
}

.nn-auth__lead {
  margin: 0 0 1.25rem;
  color: #64748b;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.5;
}

.nn-auth__alert {
  margin: 0 0 1rem;
  padding: .75rem .9rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
}

.nn-auth__alert--ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.nn-auth__alert--info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.nn-auth__alert--err {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.nn-auth__field {
  display: grid;
  gap: .35rem;
  margin-bottom: .95rem;
}

.nn-auth__field label {
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
}

.nn-auth__field input,
.nn-auth__field select {
  width: 100%;
  height: 46px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #f8fafc;
  color: #16325c;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  padding: 0 .95rem;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}

.nn-auth__field input:focus,
.nn-auth__field select:focus {
  border-color: #93c5fd;
  background: #fff;
}

.nn-auth__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: .25rem 0 1.1rem;
}

.nn-auth__check {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #475569;
  font-size: .9rem;
  font-weight: 600;
}

.nn-auth__check input {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
}

.nn-auth__link {
  color: #2563eb;
  font-size: .9rem;
  font-weight: 700;
}

.nn-auth__submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font: inherit;
  font-size: .98rem;
  font-weight: 800;
  cursor: pointer;
}

.nn-auth__submit:hover { background: #1d4ed8; }

.nn-auth__alt {
  margin: 1.1rem 0 0;
  text-align: center;
  color: #64748b;
  font-size: .9rem;
  font-weight: 560;
}

.nn-auth__alt a {
  color: #2563eb;
  font-weight: 750;
}

.nn-auth__plans {
  display: grid;
  gap: .65rem;
  margin: 0 0 1.15rem;
}

.nn-auth__plan {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .75rem;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: .85rem .95rem;
  cursor: pointer;
  background: #f8fafc;
}

.nn-auth__plan:has(input:checked) {
  border-color: #93c5fd;
  background: #eff6ff;
  box-shadow: 0 0 0 1px #93c5fd inset;
}

.nn-auth__plan input { accent-color: #2563eb; }

.nn-auth__plan strong {
  display: block;
  color: #16325c;
  font-size: .95rem;
}

.nn-auth__plan span {
  color: #64748b;
  font-size: .8rem;
  font-weight: 600;
}

.nn-auth__plan em {
  font-style: normal;
  font-weight: 800;
  color: #16325c;
  font-size: .92rem;
  white-space: nowrap;
}

.nn-auth__foot {
  padding: 0 0 1.5rem;
}

.nn-auth__foot .nn-container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #94a3b8;
  font-size: .85rem;
  font-weight: 600;
}

.nn-auth__foot a {
  color: #2563eb;
  font-weight: 700;
}

@media (max-width: 900px) {
  .nn-auth__shell { grid-template-columns: 1fr; }
  .nn-auth__aside { order: -1; }
  .nn-auth__aside-card {
    min-height: 220px;
    padding: 1.35rem 1.25rem;
  }
}
