:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.field-label {
  color: #b5bac1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.action-button,
.icon-button {
  align-items: center;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 6px;
  color: #f2f3f5;
  display: inline-flex;
  font-weight: 700;
  gap: 0.5rem;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.6rem 0.85rem;
  transition:
    background-color 160ms ease,
    filter 160ms ease,
    opacity 160ms ease;
}

.icon-button {
  background: #1e1f22;
  min-height: 2.25rem;
  padding: 0.5rem;
  width: 2.25rem;
}

.action-button svg,
.icon-button svg {
  height: 1rem;
  width: 1rem;
}

.console-output {
  background:
    linear-gradient(rgb(255 255 255 / 0.015), rgb(255 255 255 / 0.015)),
    #111214;
  color: #c7f0d8;
  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    Menlo,
    monospace;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.message-ok {
  background: rgb(35 165 89 / 0.12);
  border-color: rgb(35 165 89 / 0.45);
  color: #b8f5ce;
}

.message-error {
  background: rgb(242 63 66 / 0.12);
  border-color: rgb(242 63 66 / 0.45);
  color: #ffd0d1;
}

@media (max-width: 420px) {
  .action-button {
    font-size: 0.85rem;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }
}
