html.thebox,
html.thebox body {
  color-scheme: dark;
  background-color: #050505 !important;
  color: #e2e2e2 !important;
}

body.thebox {
  background-color: #050505;
  color: #e2e2e2;
  -webkit-font-smoothing: antialiased;
}

.thebox main,
.thebox header,
.thebox aside,
.thebox nav,
.thebox section {
  background-color: transparent;
}

.thebox.space-bg {
  background-color: #050505;
}

.thebox .material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.thebox .cube-shadow {
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.1);
}

.thebox .solid-shadow-primary {
  box-shadow: 4px 4px 0px 0px #095300;
}

.thebox .view-hidden {
  display: none !important;
}

.thebox .thebox-input,
.thebox input,
.thebox textarea,
.thebox select {
  background-color: #0a0a0a !important;
  color: #e2e2e2 !important;
  border-color: #45563c !important;
}

.thebox input::placeholder,
.thebox textarea::placeholder {
  color: #6b7a62 !important;
}

.thebox input:-webkit-autofill,
.thebox input:-webkit-autofill:hover,
.thebox input:-webkit-autofill:focus {
  -webkit-text-fill-color: #e2e2e2 !important;
  -webkit-box-shadow: 0 0 0 1000px #0a0a0a inset !important;
  box-shadow: 0 0 0 1000px #0a0a0a inset !important;
}

.thebox .input-focus-accent.focused label,
.thebox .input-focus-accent:focus-within label {
  color: #39ff14;
  background: #0a0a0a;
  padding: 0 4px;
  transform: translateY(-24px) scale(0.85);
}

.thebox .guide-step {
  border: 1px solid #2c3b25;
  background: #0d0d0d;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}

.thebox .guide-step code {
  background: #141414;
  color: #79ff5b;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  font-size: 0.85em;
}

.thebox .tab-active {
  background: #39ff14;
  color: #107100;
}

.thebox .tab-inactive {
  background: #141414;
  color: #baccb0;
  border: 1px solid #2c3b25;
}

.thebox table thead {
  background: #0d0d0d;
}

.thebox table tbody tr {
  background: transparent;
}

.thebox table tbody tr:hover {
  background: rgba(20, 20, 20, 0.8);
}

.thebox .toast {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 100;
  max-width: 24rem;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  border: 1px solid #45563c;
  background: #141414;
  color: #e2e2e2;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.thebox .toast.error {
  border-color: #93000a;
  color: #ffb4ab;
}

.thebox .toast.ok {
  border-color: #39ff14;
  color: #79ff5b;
}

.thebox .cube-output {
  white-space: pre-wrap;
  word-break: break-word;
}

.thebox .cube-output .cube-sys {
  color: #85967c;
}

.thebox .cube-output .cube-err {
  color: #ffb4ab;
}

.thebox #cube-terminal-panel,
.thebox #cube-terminal-panel * {
  color-scheme: dark;
}
