#imgCompress {
    background: #000000;
    color: #fff;
    border-radius: 10px;
}

#imgCompress h1 {
    color: #fff;
}

#imgCompress .glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
}
#resultInfo h4 {
    color: #0bff15;
}
#resultInfo p {
    color: #ffffff;
}
  #imgCompress input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(to right, #ef4444, #facc15, #22c55e);
  outline: none;
}

  #imgCompress input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

  #imgCompress .progress-container {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

  #imgCompress .progress-bar {
  height: 8px;
  width: 0%;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  transition: width 0.3s ease;
}

  #imgCompress .btn {
  background: linear-gradient(90deg, #6366f1, #3b82f6);
  padding: 10px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  transition: 0.3s;
}

  #imgCompress .btn:hover {
  background: linear-gradient(90deg, #4f46e5, #2563eb);
}

  #imgCompress .slider-wrap {
  position: relative;
  width: 100%;
  height: 16px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(to right, #ef4444, #22c55e, #ef4444);
}

  #imgCompress .slider-wrap input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 16px;
  background: transparent;
  outline: none;
  position: relative;
  z-index: 2;
}

  #imgCompress .slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(255,255,255,0.7);
  cursor: pointer;
  transition: transform 0.1s ease;
}

  #imgCompress .slider-wrap input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

  #imgCompress .slider-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 16px;
  width: 40%;
  background: linear-gradient(to right, #ef4444, #22c55e, #ef4444);
  z-index: 1;
  transition: width 0.15s linear;
}
