/* Auth visual photo + OTP + FAQ */

.nm-auth-visual {
  background: #0b3d38;
}

.nm-auth-visual__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nm-auth-visual__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.85) contrast(1.05);
  transform: scale(1.02);
}

.nm-auth-visual__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(160deg, rgba(11, 61, 56, 0.72) 0%, rgba(15, 118, 110, 0.55) 45%, rgba(8, 28, 26, 0.82) 100%),
    radial-gradient(circle at 80% 15%, rgba(43, 161, 145, 0.35), transparent 45%);
}

.nm-auth-visual-inner {
  position: relative;
  z-index: 2;
}

.nm-auth-visual__mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.nm-auth-visual__mark svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

/* OTP */
.nm-otp-row {
  display: flex;
  direction: ltr;
  justify-content: space-between;
  gap: 0.45rem;
  margin: 1.25rem 0 1rem;
}

.nm-otp-row input {
  width: 100%;
  max-width: 3rem;
  height: 3.15rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 0.85rem;
  border: 1px solid var(--nm-line, var(--fz-border));
  background: var(--fz-bg, #fff);
  color: var(--nm-ink);
  font-feature-settings: "tnum";
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nm-otp-row input:focus {
  border-color: var(--fz-brand-500, #2ba191);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fz-brand-500, #2ba191) 20%, transparent);
}

.nm-otp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  font-size: 0.8rem;
  color: var(--nm-muted);
}

.nm-otp-meta button {
  appearance: none;
  border: none;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--fz-brand-700, #1a6b60);
  cursor: pointer;
  padding: 0;
}

.nm-otp-meta button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.nm-otp-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--nm-muted);
  text-decoration: none;
  margin-bottom: 1rem;
}

.nm-otp-back:hover { color: var(--fz-brand-700, #1a6b60); }
.nm-otp-back svg { width: 16px; height: 16px; }

.nm-auth-mobile {
  font-weight: 800;
  color: var(--nm-ink);
  direction: ltr;
  unicode-bidi: isolate;
}

/* FAQ */
.fq-hero {
  text-align: center;
  padding: 1.5rem 0 1.75rem;
  margin-bottom: 1.5rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(90% 120% at 50% 0%, color-mix(in srgb, var(--fz-brand-500) 14%, transparent), transparent 60%),
    var(--fz-surface);
  border: 1px solid var(--fz-border);
}

.fq-hero__ico {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--fz-brand-700);
  background: color-mix(in srgb, var(--fz-brand-500) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--fz-brand-500) 22%, transparent);
}

.fq-hero__ico svg { width: 24px; height: 24px; }

.fq-hero h1 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 900;
  margin: 0 0 0.4rem;
  color: var(--nm-ink);
}

.fq-hero p {
  margin: 0 auto 1.15rem;
  max-width: 28rem;
  font-size: 0.9rem;
  color: var(--nm-muted);
  line-height: 1.7;
}

.fq-search {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.fq-search svg {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--nm-muted);
  pointer-events: none;
}

.fq-search input {
  width: 100%;
  height: 2.7rem;
  border-radius: 999px;
  border: 1px solid var(--fz-border);
  background: var(--fz-bg, #fff);
  color: var(--nm-ink);
  font: inherit;
  font-size: 0.88rem;
  padding: 0 2.5rem 0 1rem;
  outline: none;
}

.fq-search input:focus {
  border-color: color-mix(in srgb, var(--fz-brand-500) 50%, var(--fz-border));
}

.fq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.fq-tab {
  appearance: none;
  border: 1px solid var(--fz-border);
  background: var(--fz-surface);
  color: var(--nm-muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

.fq-tab.is-on {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--fz-brand-500), var(--fz-brand-700));
}

.fq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 820px;
  margin: 0 auto;
}

.fq-item {
  border: 1px solid var(--fz-border);
  border-radius: 1rem;
  background: var(--fz-surface);
  overflow: hidden;
}

.fq-item[hidden] { display: none !important; }

.fq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: right;
  appearance: none;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--nm-ink);
  padding: 1rem 1.1rem;
  cursor: pointer;
}

.fq-q svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--fz-brand-700);
  transition: transform 0.2s;
}

.fq-item.is-open .fq-q svg {
  transform: rotate(180deg);
}

.fq-a {
  display: none;
  padding: 0 1.1rem 1.05rem;
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--nm-muted);
  border-top: 1px dashed transparent;
}

.fq-item.is-open .fq-a {
  display: block;
  border-top-color: var(--fz-border);
  padding-top: 0.85rem;
}

.fq-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--nm-muted);
  font-size: 0.92rem;
}

.fq-foot {
  text-align: center;
  margin-top: 1.75rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--fz-brand-500) 22%, var(--fz-border));
  background: color-mix(in srgb, var(--fz-brand-500) 8%, var(--fz-surface));
}

.fq-foot p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--nm-muted);
}
