:root {
  font-family: "Roboto", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-size: 14px;
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
  background-color: var(--query-editor-bg);
  color: var(--text-dark);
}

textarea {
  flex: 1;
  resize: none;
  border: none;
  padding: 10px 15px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
  background-color: var(--query-editor-bg);
  color: var(--text-dark);
  font-family: inherit;

  &:focus {
    border-color: var(--theme-primary);
  }
}

ol, ul {
  margin-inline: 0;
  margin-block: -0.6rem;
  padding-inline-start: 1rem;
  line-height: 0.5rem;
  li {
    line-height: 1.4rem;
  }
}

a {
  color: var(--link-color);
  font-weight: 700;
}

/* Make the scrollbar look better */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--theme-scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--theme-scrollbar-thumb);
  border-radius: 2px;
}

:focus-visible {
  outline-color: transparent;
}
