/* ===========================================================================
   iVenza security page (/security/) - the inline vulnerability-report form.
   Brand tokens come from ../styles.css; layout mirrors /trial/trial.css.
   =========================================================================== */

.vdp-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 24px;
}

.vdp-form__label {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vdp-form__input {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  width: 100%;
  box-sizing: border-box;
}
.vdp-form__input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
textarea.vdp-form__input { resize: vertical; min-height: 140px; }

/* Honeypot: visually removed, still in the DOM for bots. */
.vdp-form__hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.vdp-form__error { color: #f87171; font-size: 14px; }
.vdp-form__cta { align-self: flex-start; }

/* Attachments */
.vdp-form__file {
  font: inherit;
  color: var(--text-2);
  width: 100%;
  box-sizing: border-box;
}
.vdp-form__file::file-selector-button {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  color: var(--text);
  font: inherit;
  padding: 8px 14px;
  margin-right: 12px;
  cursor: pointer;
}
.vdp-form__file::file-selector-button:hover { border-color: var(--red); }
.vdp-form__file:focus { outline: 2px solid var(--red); outline-offset: 1px; }

.vdp-form__hint { color: var(--text-2); font-size: 13px; margin-top: -4px; }

.vdp-form__files { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.vdp-form__files li { color: var(--text-2); font-size: 13px; }
.vdp-form__files li.is-bad { color: #f87171; }

.vdp-form__done {
  margin-top: 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
