/* PDFlyHQ — tools/compare-pdf/options.css
   Two file cards (Original/Modified) + confirm note + actions — no settings
   to configure. Same file-card shape as every other tool, plus a small
   .file-card__tag label since there are two cards here instead of one.
   JS contract: #file-name-a/#file-size-a/#btn-remove-a,
   #file-name-b/#file-size-b/#btn-remove-b, #btn-compare, #btn-back. */

.options-wrap { display: flex; flex-direction: column; gap: var(--space-4); }

.file-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: color-mix(in srgb, var(--color-primary-500) 6%, var(--color-surface-alt));
  border: 1px solid color-mix(in srgb, var(--color-primary-500) 18%, var(--color-border));
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}
.file-card__icon { flex: none; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--color-surface); border-radius: var(--radius-sm); color: var(--color-primary-600); }
.file-card__icon svg { width: 20px; height: 20px; }
.file-card__meta { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }
.file-card__tag { font-size: var(--text-xs); font-weight: var(--font-semibold); text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-primary-600); }
:root[data-theme="dark"] .file-card__tag { color: var(--color-primary-400); }
.file-card__meta span:not(.file-card__tag):first-of-type { font-weight: var(--font-semibold); color: var(--color-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-card__meta span:last-child { font-size: var(--text-xs); color: var(--color-text-muted); }

#btn-remove-a, #btn-remove-b {
  flex: none;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: color var(--duration-base) var(--ease-default), background-color var(--duration-base) var(--ease-default);
}
#btn-remove-a:hover, #btn-remove-b:hover { color: var(--color-danger-500); background: var(--color-danger-50); }
#btn-remove-a:focus-visible, #btn-remove-b:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
#btn-remove-a svg, #btn-remove-b svg { width: 14px; height: 14px; }

.options-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}
.options-note svg { flex: none; width: 14px; height: 14px; margin-top: 1px; color: var(--color-text-muted); }

.options-actions { display: flex; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.options-actions .btn--primary { flex: 1; }
