.patient-trash-note {
  margin: 16px 22px;
  padding: 15px 18px;
  background: #fffbeb;
  border: 1px solid #f5d08a;
  border-left: 4px solid #d97706;
  border-radius: 12px;
  line-height: 1.65;
  color: #78350f;
  font-size: 13px;
}

.modal-content .patient-trash-note {
  margin: 14px 0;
}

.patient-trash-note p {
  margin: 6px 0;
}

.patient-danger {
  color: #b91c1c;
  border-color: #fca5a5;
  background: #fef2f2;
}

.patient-danger:hover:not(:disabled) {
  background: #fee2e2;
  border-color: #f87171;
  color: #991b1b;
}

.patient-eye-note {
  white-space: pre-wrap;
  line-height: 1.65;
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.patient-import-table {
  max-height: 340px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 14px;
}

.patient-import-table th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  z-index: 1;
}

.patient-import-table td {
  white-space: normal;
  min-width: 90px;
  vertical-align: top;
}

.patient-import-table td p {
  margin: 6px 0 0;
  font-size: 12.5px;
}

.patient-import-table td:nth-child(2) {
  min-width: 140px;
}

#patient-import-status {
  font-weight: 600;
  margin: 16px 0 6px;
  color: var(--teal-dark);
}

#patient-import .form-actions {
  position: sticky;
  bottom: -24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  padding: 16px 0;
  margin-top: 16px;
  border-top: 1px solid var(--line-soft);
}

#patient-import-file {
  width: 100%;
}

#modal:has(#patient-import) {
  max-width: 960px;
  width: 92vw;
}
