::selection { 
  background: rgba(56,189,248,0.35); 
}

input::placeholder { 
  color: #94a3b8; 
}

code { 
  background: rgba(255,255,255,0.06); 
  padding: 2px 6px; 
  border-radius: 6px; 
}

/* Custom range slider styling */
.slider {
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.2);
  outline: none;
  border-radius: 10px;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
  transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
}

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
  transition: all 0.3s ease;
}

.slider::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
}

/* Loading animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Glassmorphism effects */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Preview grid hover effects */
.preview-item {
  transition: all 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(6, 182, 212, 0.5);
}

.preview-item img {
  transition: all 0.3s ease;
}

.preview-item:hover img {
  transform: scale(1.1);
}