:root {
  --bg-dark: oklch(0.1 0.03 264);
  --bg: oklch(0.15 0.03 264);
  --bg-light: oklch(0.2 0.03 264);
  --text: oklch(0.96 0.06 264);
  --text-muted: oklch(0.76 0.06 264);
  --highlight: oklch(0.5 0.06 264);
  --border: oklch(0.4 0.06 264);
  --border-muted: oklch(0.3 0.06 264);
  --primary: oklch(0.76 0.1 264);
  --secondary: oklch(0.76 0.1 84);
  --info: oklch(0.7 0.06 260);
  --red: oklch(0.62 0.21 30);
  --yellow: oklch(0.84 0.17 100);
  --green: oklch(0.7 0.16 160);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle, #ffffff1a 2px, transparent 1px);
  background-size: 48px 48px;
  height: 100dvh;
}

.box {
  width: clamp(280px, 20vw, 420px);
  height: 300px;
  background-color: var(--bg-light);
  border-radius: 8px;
  font-family: "Jetbrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--text);
  display: flex;
  overflow: clip;
  position: relative;
}

.separator {
  background-color: var(--text-muted);
  height: 100%;
  width: 8px;
}

.content {
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-left: none;
  border-radius: 0 8px 8px 0;
  overflow: clip;
}

.top-bar {
  display: flex;
  padding: 16px;
  box-sizing: content-box;
  height: 16px;
  cursor: grab;
  background-color: var(--border-muted);
  justify-content: space-between;
}

.buttons {
  display: flex;
  gap: 8px;
}

.top-bar h1 {
  font-size: 1em;
  color: var(--text);
  user-select: none;
}

.inner-content {
  padding: 32px 16px;
  flex: 1;
}

.circle {
  height: 100%;
  border-radius: 50%;
  aspect-ratio: 1;
  cursor: pointer;
  position: relative;
}

.circle:hover::before {
  content: "";
  position: absolute;
  inset: 4px;
  background-color: inherit;
  filter: brightness(0.7);
  border-radius: inherit;
}

.green-circle {
  background-color: var(--green);
}

.red-circle {
  background-color: var(--red);
}

.yellow-circle {
  background-color: var(--yellow);
}

.inner-content textarea {
  background: transparent;
  border: none;
  outline: none;
  font: inherit;
  font-weight: 300;
  color: var(--text);
  height: 100%;
  width: 100%;
  resize: none;
  overflow: hidden;
}
