/* Custom styles for WA Status HD Optimizer */

/* Active tab styling */
.tab-btn.active {
  background-color: #25D366;
  color: #0b141a;
  font-weight: 700;
  box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.25);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0b141a;
}
::-webkit-scrollbar-thumb {
  background: #2a3942;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #25D366;
}

/* Custom Range Slider */
input[type="range"] {
  height: 6px;
  border-radius: 4px;
  background: #202c33;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #25D366;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.5);
  transition: transform 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Layout Button Active States */
.layout-btn.active, .vpreset-btn.active {
  border-color: #25D366 !important;
  background-color: rgba(37, 211, 102, 0.12) !important;
  color: #ffffff !important;
}

/* Smooth Canvas Rendering */
canvas {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
