/* Custom range input styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

/* Track */
input[type="range"]::-webkit-slider-runnable-track {
  background: #d1d5db;
  height: 0.5rem;
  border-radius: 0.25rem;
}

input[type="range"]::-moz-range-track {
  background: #d1d5db;
  height: 0.5rem;
  border-radius: 0.25rem;
}

/* Thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  margin-top: -4px;
  background-color: #4b5563;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  transition: all 0.2s ease;
}

input[type="range"]::-moz-range-thumb {
  border: none;
  background-color: #4b5563;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  transition: all 0.2s ease;
}

/* Hover states */
input[type="range"]::-webkit-slider-thumb:hover {
  background-color: #374151;
  transform: scale(1.1);
}

input[type="range"]::-moz-range-thumb:hover {
  background-color: #374151;
  transform: scale(1.1);
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  input[type="range"]::-webkit-slider-runnable-track {
    background: #4b5563;
  }
  
  input[type="range"]::-moz-range-track {
    background: #4b5563;
  }
  
  input[type="range"]::-webkit-slider-thumb {
    background-color: #9ca3af;
  }
  
  input[type="range"]::-moz-range-thumb {
    background-color: #9ca3af;
  }
  
  input[type="range"]::-webkit-slider-thumb:hover {
    background-color: #d1d5db;
  }
  
  input[type="range"]::-moz-range-thumb:hover {
    background-color: #d1d5db;
  }
} 

.input-area-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%; 
  background: linear-gradient(to bottom, rgba(1, 6, 15, 0.85), transparent);
  pointer-events: none;
  z-index: 1;
  border-top-left-radius: 1rem; 
  border-top-right-radius: 1rem; 
  opacity: 0; 
  transition: opacity 0.3s ease-in-out; 
}

@media (prefers-color-scheme: dark) {
  .input-area-wrapper::before {
    background: linear-gradient(to bottom, rgba(59, 30, 30, 0.85), transparent);
  }
}

.input-area-wrapper.fade-active::before {
  opacity: 1; 
} 