/* The upload step: one card, one button, the list of what was chosen, and the way on.
 *
 * The privacy line sits in the card in plain view rather than in small print under it: an
 * attorney deciding whether to put a client's docket into this page reads it before they
 * choose anything, so it is styled as part of the card, not as a footnote. */

.upload-card p + p { margin-top: 12px; }

.privacy-note {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 20px;
}

.file-list {
  list-style: none;
  margin-top: 16px;
}

.file-list:empty { display: none; }

.file-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

.file-list .file-name {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
}

.file-list .file-status { color: var(--text-muted); white-space: nowrap; }
.file-list .file-status.done { color: var(--success); }
.file-list .file-status.failed { color: var(--danger); }

.file-list .remove {
  background: none;
  border: none;
  color: var(--crimson);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.file-list + .error:not(:empty) { margin-top: 16px; margin-bottom: 0; }

#continue { display: inline-block; text-decoration: none; }
