body {
  font-family: "Inter", sans-serif;
  background-color: #111827;
  /* Fallback BG */
}

.khmer-font {
  font-family: "Koulen", cursive;
}

.card-glow {
  box-shadow: 0 0 15px 5px rgba(255, 105, 180, 0.7),
    0 0 30px 10px rgba(77, 228, 255, 0.6);
}

.text-glow {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7),
    0 0 10px rgba(255, 105, 180, 0.5);
}

.button-glow {
  box-shadow: 0 0 10px 2px rgba(255, 0, 0, 0.6);
}

@keyframes drop-replace {
  0% {
    transform: translateY(-200%);
    opacity: 0;
  }

  60% {
    transform: translateY(0);
    opacity: 1;
  }

  80% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

.animate-drop {
  animation: drop-replace 0.5s ease-out;
}

.installation-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}
.installation-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.modal-content {
  background-color: rgba(31, 41, 55, 0.85); /* bg-gray-800 with opacity */
  color: #e5e7eb; /* text-gray-200 */
  padding: 20px;
  border: 1px solid rgba(75, 85, 99, 0.8); /* border-gray-600 */
  width: 90%;
  max-width: 380px; /* Made the modal smaller */
  border-radius: 20px; /* Increased border-radius */
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: fadeIn 0.3s ease-out;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;
}
.close-btn {
  color: #9ca3af; /* text-gray-400 */
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}
.close-btn:hover {
  color: #f9fafb; /* text-gray-50 */
  transform: scale(1.1);
}
.installation-title {
  font-family: "Koulen", cursive;
  font-size: 1.5rem; /* Adjusted size */
  text-align: center;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(77, 228, 255, 0.7);
}
.warning-box {
  background-color: rgba(55, 65, 81, 0.7); /* bg-gray-700 with opacity */
  border-left: 4px solid #3b82f6; /* border-blue-500 */
  border-radius: 5px;
  padding: 12px; /* Adjusted padding */
  margin: 1rem 0;
  color: #d1d5db; /* text-gray-300 */
}
.warning-title {
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 5px;
}
.step-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem; /* Adjusted margin */
  padding-bottom: 1rem; /* Adjusted padding */
  border-bottom: 1px solid rgba(75, 85, 99, 0.5); /* border-gray-600 */
}
.step-container:last-of-type {
  border-bottom: none;
}
.step-number {
  background: linear-gradient(145deg, #3b82f6, #6366f1);
  color: white;
  border-radius: 50%;
  width: 30px; /* Adjusted size */
  height: 30px; /* Adjusted size */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 12px; /* Adjusted margin */
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.step-text {
  font-size: 0.9rem; /* Adjusted size */
  color: #d1d5db;
}
.step-text strong {
  color: #ffffff;
}

/* Slider Styles */
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  margin: 1rem 0;
  border: 1px solid rgba(75, 85, 99, 0.8);
}
.slider {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px; /* Adjusted size */
  height: 35px; /* Adjusted size */
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}
.slider-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}
.dots-container {
  text-align: center;
  padding: 10px 0;
}
.dot {
  cursor: pointer;
  height: 10px; /* Adjusted size */
  width: 10px; /* Adjusted size */
  margin: 0 4px;
  background-color: #6b7280; /* bg-gray-500 */
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease, transform 0.3s ease;
}
.dot.active {
  background-color: #3b82f6; /* bg-blue-500 */
  transform: scale(1.2);
}

.hidden {
  display: none;
}
