.image-switcher-container {
  text-align: center;
  max-width: 100%;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  margin-bottom: 25px;
}

.image-slider img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: all 0.3s ease;
}


.color-bar-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.color-bar {
  padding: 15px 25px;
  border-radius: 50px;
  display: inline-flex;
  gap: 16px;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: none;
  -webkit-backdrop-filter: blur(14px);
  flex-wrap: wrap;
  justify-content: center;
}


.color-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%; 
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  background-size: cover;
  background-position: center;
  position: relative;
}

.color-btn:hover {
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}

.color-btn.active {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.5), 0 0 15px rgba(0,0,0,0.4);
  transform: scale(1.2);
}

.color-btn.active::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}


.fade {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.zoom {
  animation: zoomIn 1s ease-out;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.slide {
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.rtl .color-bar {
  direction: ltr;
}

.rtl .image-switcher-container {
  direction: rtl;
}


@media (max-width: 1024px) {
  .image-switcher-container {
      padding: 18px;
  }
  
  .color-bar {
      padding: 12px 20px;
      gap: 12px;
  }
  
  .color-btn {
      width: 32px;
      height: 32px;
  }
}


@media (max-width: 767px) {
  .image-switcher-container {
      padding: 15px;
  }
  
  .color-bar {
      padding: 10px 15px;
      gap: 10px;
      border-radius: 30px;
  }
  
  .color-btn {
      width: 28px;
      height: 28px;
  }
  
  .image-slider {
      margin-bottom: 20px;
  }
}