html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

#container {
  width: 100vw;
  height: 100vh;
  display: block;
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
}

.floating-ui {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 999;
}

/* Floating SPEC icon */
.spec-icon {
  width: 40px;
  height: 40px;
  background: #662D91;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px #662D91;
  transition: 0.2s;
  color : #fff;
}
.spec-icon:hover {
  background: #662D91;
  transform: scale(1.05);
}

.dropdown-toggle {
  background: #ffffffcc !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dropdown-menu .animation-item:hover {
  background-color: #f1f5f9;
  transform: scale(1.02);
  transition: 0.15s;
}
.dropdown-menu .animation-item i {
  pointer-events: none;
}

.circle-slider-container {
  position: relative;
  width: 80%;
  margin: 2rem auto;
}

.circle-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.5rem 2rem;
}

.circle-slider::-webkit-scrollbar {
  display: none; /* Hide scrollbar */
}

.circle-slider img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  cursor: pointer;
}

.circle-slider img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.circle-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

#prevBtn {
  left: 0;
  color: #000;
}

#nextBtn {
  right: 0;
  color: #000;
}

.list-group-item {
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 0.5rem; /* optional, rounded corners for shadow */
}

.list-group-item:hover {
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3); /* blue shadow */
  transform: translateY(-2px); /* subtle lift */
  background-color: #ffffff; /* optional: keep white */
}

.btn-group-toggle .btn {
  transition: all 0.2s ease-in-out;
  border-radius: 0.5rem;
}

.btn-group-toggle .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}


.logo-top-right,
.logo-bottom-right {
  position: absolute;
  right: 20px;
}

.logo-top-right {
  top: 20px;
}

.logo-bottom-right {
  bottom: 20px;
}

.logo-img {
  width: 100px;
  height: auto;
}

.star-rating i {
  font-size: 30px;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s;
}

.star-rating i.active {
  color: #f7c600; /* yellow star */
}


.carousel-item {
  position: relative;
}
.carousel-item img {
  height: 50vh;
  object-fit: cover;
}
.tick-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 32px;
  color: #28a745;
  display: none;
}
.carousel-item.selected .tick-icon {
  display: block;
}



.small-card {
  padding: 1rem !important;
  font-size: 0.85rem; /* overall text smaller */
}

.small-card h4 {
  font-size: 1rem !important;
  margin-bottom: 1rem !important;
}

.small-card .list-group-item {
  padding: 0.4rem 0.75rem !important;
}

.small-card i {
  font-size: 0.9rem !important; /* smaller icons */
}

.small-card .star-rating i {
  font-size: 0.9rem !important;
}


.toggle-switch {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 32px;
}

.toggle-switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: .4s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
  font-weight: bold;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

/* When checked */
.toggle-switch input:checked + .slider {
  background-color: #662D91; /* green */
}

.toggle-switch input:checked + .slider:before {
  transform: translateX(70px);
}



.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: transparent;  
  filter: brightness(0) saturate(100%) invert(21%) sepia(65%) saturate(1373%) hue-rotate(262deg) brightness(93%) contrast(98%);
}

#view-ar {
  position: absolute;      /* IMPORTANT */
  left: 20px;
  bottom: 20px;

  width: 60px;
  height: 60px;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 0;
  line-height: 1;

  border-radius: 50%;
  box-shadow: 0 4px 8px #662D91;
  z-index: 10;
}

#view-ar:hover {
  box-shadow: 0 6px 12px #662D91;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .spec-panel {
    width: 85%; /* smaller width on mobile */
  }
}