/* Rarity Slider Component Styles */

.rarity-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E5E7EB;
  outline: none;
  appearance: none;
  cursor: pointer;
}

/* Webkit browsers (Chrome, Safari, Edge) */
.rarity-slider::-webkit-slider-thumb {
  appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #3B82F6;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.rarity-slider::-webkit-slider-thumb:hover {
  background: #2563EB;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.rarity-slider::-webkit-slider-track {
  height: 8px;
  border-radius: 4px;
  background: #E5E7EB;
}

/* Firefox */
.rarity-slider::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #3B82F6;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.rarity-slider::-moz-range-thumb:hover {
  background: #2563EB;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.rarity-slider::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: #E5E7EB;
  border: none;
}

/* Focus states */
.rarity-slider:focus {
  outline: none;
}

.rarity-slider:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.rarity-slider:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Slider tick marks */
.rarity-slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.75rem;
  color: #6B7280;
}

/* Description styling */
.rarity-description {
  margin-top: 12px;
  padding: 12px;
  background-color: #F9FAFB;
  border-radius: 6px;
  border-left: 4px solid #3B82F6;
}

.rarity-description p {
  margin: 0;
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.5;
}
