/* ============================================================================
   NICHAT - APP-SPECIFIC STYLES (Auth screens, onboarding)
   ============================================================================ */

.n-auth-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
  max-width: 460px;
  margin: 0 auto;
}

.n-auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 8px;
}

.n-auth-logo svg { width: 32px; height: 32px; color: var(--n-accent); }
.n-auth-logo span { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }

.n-auth-title {
  font-size: 26px;
  font-weight: 800;
  margin: 24px 0 6px;
  letter-spacing: -0.5px;
}

.n-auth-subtitle {
  color: var(--n-text-secondary);
  font-size: 15px;
  margin-bottom: 28px;
}

.n-auth-form { flex: 1; }

.n-auth-footer {
  text-align: center;
  padding-top: 24px;
  font-size: 14px;
  color: var(--n-text-secondary);
}

.n-divider-text {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--n-text-secondary);
  font-size: 13px;
}
.n-divider-text::before, .n-divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--n-border);
}

.n-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: var(--n-radius-full);
  border: 1px solid var(--n-border);
  background: transparent;
  color: var(--n-text);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 12px;
}
.n-social-btn:hover { background: var(--n-bg-hover); }
.n-social-btn img, .n-social-btn svg { width: 18px; height: 18px; }

.n-otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 24px 0;
}
.n-otp-box {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  border: 1px solid var(--n-border);
  background: var(--n-bg-input);
  border-radius: var(--n-radius-sm);
}
.n-otp-box:focus { border-color: var(--n-accent); outline: none; }

.n-password-toggle {
  position: relative;
}
.n-password-toggle .n-input { padding-right: 44px; }
.n-password-toggle button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--n-text-secondary);
  padding: 8px;
}

.n-tab-switch {
  display: flex;
  background: var(--n-bg-input);
  border-radius: var(--n-radius-full);
  padding: 4px;
  margin-bottom: 20px;
}
.n-tab-switch button {
  flex: 1;
  padding: 9px;
  border-radius: var(--n-radius-full);
  background: transparent;
  border: none;
  color: var(--n-text-secondary);
  font-weight: 600;
  font-size: 14px;
  transition: all .15s ease;
}
.n-tab-switch button.active {
  background: var(--n-text);
  color: #000;
}

/* Splash screen */
.n-splash {
  position: fixed;
  inset: 0;
  background: var(--n-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  flex-direction: column;
  gap: 16px;
}
.n-splash svg { width: 64px; height: 64px; color: var(--n-accent); animation: n-pulse 1.6s ease infinite; }
@keyframes n-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
