#fatal-error-overlay {
  position: fixed;
  inset: 0;
  z-index: 314;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: #00000099;
}

#fatal-error-card {
  width: 45vw;
  overflow: auto;
  padding: 24px;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

#fatal-error-title {
  margin: 0;
  margin-bottom: 24px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

#fatal-error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  margin-top: 16px;
}

#fatal-error-actions button {
  appearance: none;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
}

#fatal-error-actions button:hover {
  opacity: 0.85;
}

#fatal-error-reload {
  color: white;
  background: #0362ff;
  margin-left: 16px;
}

#fatal-error-copy {
  background: white;
  color: #0362ff;
  border: 1px solid #0362ff !important;
}
