/* Zona „Setări” a contului. Refoloseste layout-ul cu nav lateral din
   firma.css (.firma-layout / .firma-nav* / .df-grid / .firma-sec-titlu) --
   aici doar containerul si cateva ajustari. */

#setari-view {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}

.setari-topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.setari-topbar h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  margin: 0;
  letter-spacing: -.01em;
}

/* Meniu de cont (dreapta sus) -- linkuri catre setari */
.acct-actiuni {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gridline);
}
.acct-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.acct-item:hover { background: var(--surface-2); color: var(--text-primary); }

/* Formular date -- eticheta ajutatoare sub un camp */
.setari-hint {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
  margin: 5px 0 0;
}
.setari-status { font-size: 13px; }
.setari-status.ok { color: var(--good); }
.setari-status.err { color: var(--critical); }
.df-grid .setari-hint.setari-status { font-size: 12px; }

/* ---- Notificări ---- */
.nf-tabel th { white-space: nowrap; }
.nf-tabel td { vertical-align: middle; }
.nf-tabel input[type="checkbox"] { width: auto; }
.nf-rand-act { white-space: nowrap; }

.nf-bara {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--series-1-soft);
  border: 1px solid var(--series-1);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 16px 0 0;
}
.nf-bara[hidden] { display: none; }
.nf-bara-nr { font-weight: 650; font-size: 13px; color: var(--text-primary); }
.nf-bara-lbl { font-size: 12px; color: var(--text-secondary); margin-left: 6px; }
.nf-bara select {
  padding: 8px 10px; font: inherit; font-size: 13px; border-radius: 8px;
  border: 1px solid var(--baseline); background: var(--page); color: var(--text-primary);
}

.nf-editor-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
}
.nf-editor-card label { display: block; margin: 0 0 4px; font-size: 12px; color: var(--text-secondary); }
.nf-editor-card input[type="text"], .nf-editor-card textarea {
  width: 100%; box-sizing: border-box; padding: 9px 11px; font: inherit; font-size: 13px;
  border-radius: 8px; border: 1px solid var(--baseline);
  background: var(--page); color: var(--text-primary); resize: vertical;
}
.nf-editor-card code {
  background: var(--surface-2); border-radius: 5px; padding: 1px 5px; font-size: 11.5px;
}

.nf-preview {
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 14px;
}
.nf-preview-titlu { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.nf-preview-subiect { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.nf-preview-corp {
  font-family: inherit; white-space: pre-wrap; word-wrap: break-word;
  font-size: 12.5px; line-height: 1.55; margin: 0; color: var(--text-primary);
}
