@import "tailwindcss";

html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
}

body {
  overscroll-behavior: none;
  overflow-x: hidden;
  background-color: #000000;
  color: #ffffff;
}

*:focus,
*:focus-visible,
button:focus,
button:focus-visible,
a:focus,
a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.monaco-editor .focused {
  outline: none !important;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #313131;
  border-radius: 5px;
  border: 2px solid #0a0a0a;
}

::-webkit-scrollbar-thumb:hover {
  background: #404040;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #313131 #0a0a0a;
}

.btn-execute {
  background-color: #ffffff;
  color: #000000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  transition: background-color 150ms ease-out;
  transform: scale(1);
}

.btn-execute:hover {
  background-color: #d0d0d0;
}

.btn-execute:active {
  background-color: #d0d0d0;
  transform: scale(1);
}

.btn-toolbar {
  background-color: transparent;
  color: #a0a0a0;
  border: 1px solid #1a1a1a;
  transition: all 150ms ease-out;
  transform: scale(1);
}

.btn-toolbar:hover {
  background-color: #1a1a1a;
  color: #ffffff;
}

.btn-toolbar:active {
  background-color: #1a1a1a;
  color: #ffffff;
  transform: scale(1);
  border: 1px solid #1a1a1a;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
  transition: all 150ms ease-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.7);
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
  transition: all 150ms ease-out;
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.7);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0a0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

select:hover {
  background-color: #2a2a2a;
  border-color: #3a3a3a;
}

select option {
  background-color: #1a1a1a;
  color: #ffffff;
}
