/* ════════════════════════════════════════════════════════════════
   BASE — Body, tipografia, defaults globais (nkFinance)
   ════════════════════════════════════════════════════════════════ */

/* ── INPUTS / SELECTS / TEXTAREA ── */
input, select, textarea {
  padding: .7rem .95rem;
  border: 1px solid var(--border2);
  border-radius: var(--rs);
  font-family: var(--FB);
  font-size: 14px;
  color: var(--n1);
  background: var(--card2);
  outline: none;
  transition: all var(--t);
  width: 100%;
  -webkit-text-fill-color: var(--n1);
}
input:hover, select:hover, textarea:hover {
  border-color: var(--border3);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212,175,55,.15);
  background: var(--card);
}
input::placeholder, textarea::placeholder {
  color: var(--n4);
}
select option {
  background: var(--card);
  color: var(--n1);
}

/* Autofill (Chrome) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--card2) inset !important;
  -webkit-text-fill-color: var(--n1) !important;
  caret-color: var(--n1);
  border-color: var(--border2) !important;
}

/* ── HEADINGS PADRÃO ── */
h1, h2, h3, h4 {
  font-family: var(--FT);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--n1);
}

/* ── LINKS ── */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--t);
}
a:hover {
  color: var(--primary-light);
}

/* ── UTILITÁRIOS DOURADOS ── */
.gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gold-line {
  height: 1px;
  background: var(--gradient-line);
  border: none;
  margin: 1rem 0;
}

/* ── FOCUS RING UNIVERSAL ── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ── DISABLED ── */
button:disabled, input:disabled, select:disabled, textarea:disabled {
  opacity: .5;
  cursor: not-allowed;
}
