.danger-button {
  min-height: 42px;
  border: 1px solid #e2b8b8;
  border-radius: 11px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--red);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.danger-button:hover {
  background: #faeaea;
}

.danger-button.small {
  min-height: 34px;
  padding: 6px 11px;
  font-size: 13px;
}

.delete-file-form {
  margin: 0;
}

.detail-actions,
.summary-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.summary-cluster {
  justify-content: flex-end;
}

.summary-cluster .summary-pill strong {
  font-size: 19px;
  white-space: nowrap;
}

.file-card-actions {
  margin: 14px 0 0;
}

.file-record-card {
  display: flex;
  flex-direction: column;
}

.file-record-card .file-card-actions {
  margin-top: auto;
  padding-top: 14px;
}

@media (max-width: 620px) {
  .summary-cluster,
  .detail-actions {
    width: 100%;
  }

  .summary-cluster .summary-pill,
  .detail-actions > * {
    flex: 1;
  }
}
