/* ——— Formular / chestionar ——— */
.acmpn5-form {
  border: 1px solid #e5e7eb;
  padding: 16px;
  border-radius: 12px;
  max-width: 800px;
  background: #fff;
}

.acmpn5-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
  font-size: 12px;
  color: #0f172a; /* text vizibil */
  opacity: 1;
}

/* Întrebarea + opțiunile: una sub alta */
.acmpn5-item {
  display: block;                  /* înlocuiește flex-ul vechi */
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}
.acmpn5-item:last-child { border-bottom: none; }

.acmpn5-prompt {
  font-size: 18px;
  margin-bottom: 12px;
  color: #0f172a;
}

.acmpn5-scale {
  display: flex;
  flex-direction: column;          /* opțiuni pe coloană */
  gap: 8px;
  margin-top: 4px;
}

/* Opțiunea Likert (text în loc de 1–5) */
.acmpn5-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  background: #ffffff;
}
.acmpn5-option:hover { background: #f8fafc; }
.acmpn5-option input[type="radio"] { transform: scale(1.05); }
.acmpn5-option-text { font-size: 14px; color: #111827; }

/* Navigație (Înapoi / Următorul / Salvează) */
.acmpn5-nav { display: flex; gap: 10px; margin-top: 16px; }

.acmpn5-prev,
.acmpn5-next,
.acmpn5-submit {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff;     /* mai deschis, dar nu gri spălăcit */
  color: #0f172a;          /* text foarte lizibil */
  line-height: 1;
}
.acmpn5-prev:hover,
.acmpn5-next:hover,
.acmpn5-submit:hover {
  background: #f8fafc;
}

/* Stare dezactivată: rămâne lizibilă (fără “text invizibil”) */
.acmpn5-prev:disabled,
.acmpn5-next:disabled,
.acmpn5-submit:disabled {
  background: #f3f4f6;
  color: #6b7280;          /* gri mediu, se vede clar */
  border-color: #e5e7eb;
  cursor: not-allowed;
  opacity: 1;              /* important: nu estompăm prea tare */
}

.acmpn5-submit { margin-top: 4px; }
.acmpn5-msg { margin-top: 10px; font-size: 12px; color: #6b7280; }

/* ——— Profil / rezultate ——— */
.acmpn5-profile {
  border: 1px solid #e5e7eb;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
}
.acmpn5-meta span { margin-right: 10px; font-size: 12px; color: #6b7280; }

.acmpn5-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.acmpn5-table th,
.acmpn5-table td {
  border-bottom: 1px solid #f1f5f9;
  padding: 8px;
  text-align: left;
}
.acmpn5-badge {
  display: inline-block;
  padding: 4px 8px;
  background: #f3f4f6;
  border-radius: 999px;
  margin-right: 6px;
  margin-top: 6px;
  color: #111827;
}
.acmpn5-risks ul { margin: 6px 0 0; padding-left: 18px; }

/* ——— Util: item activ (pas curent) ——— */
.acmpn5-item.is-active { /* poți evidenția pasul curent dacă vrei */
  /* background: #fcfcff; */
}
/* ——— Profil: aceeași estetică ca formularul ——— */
.acmpn5-profile {
  max-width: 800px;      /* aliniere cu formularul */
  margin: 0 auto;        /* centrează cardul */
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

/* Titlul pe profil (dacă e afișat din setări) */
.acmpn5-profile .acmpn5-title {
  font-size: 22px;
  margin: 0 0 12px 0;
  color: #0f172a;
}

/* Tabel rezultate – cap evidențiat + zebra */
.acmpn5-profile .acmpn5-table thead th {
  background: #f8fafc;
  font-weight: 600;
}
.acmpn5-profile .acmpn5-table tbody tr:nth-child(odd) {
  background: #fcfdff;
}
