/*
 * "Add a file" and "Done + Add more" on the patient's Evidence step (owner ruling, 15 Nov 2026;
 * js/patient/evidence-add-file.js). Only spacing: the button is the app's secondary pill
 * (.ui-btn--secondary), the picker reuses the form request card's .acp-ff-file-* look, and the
 * window is the standard UiDialog.
 */

/* The line under "Evidence submitted", then the button under it. */
.acp-add-file-line { margin-top: 5px; }
/* The informant card's second line ("Only the care team sees it."), close under the first. */
.acp-add-file-private { margin-top: 2px; font-size: var(--fs-13, 13px); }
.acp-add-file-row { margin-top: 12px; }
.acp-card-head .acp-add-file-row { margin-bottom: 2px; }

/* Under a list of open rows: the same inset as the rows (patient-shell.css, 20px). */
.acp-add-file-foot {
  padding: 14px 20px 18px;
  border-top: 1px solid var(--color-line);
}

.acp-add-file-btn { width: auto; }

/* A finished row: the green Done with "Add more" beside it. */
.acp-evidence-cat-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* The window's two fields, one under the other. */
.acp-add-file-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 520px) {
  /* The row stacks (aci-patient.css); keep Done and Add more on one line, Done first. */
  .acp-evidence-cat-actions { justify-content: space-between; }
  .acp-evidence-cat-actions .acp-cta { width: auto; }
}
