/* Inquiry Button */
#inquiry-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #df2027;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: 0.5s all ease;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

#inquiry-btn:hover,
#inquiry-btn.active {
  background: #fff;
  transform: rotate(360deg);
}

#inquiry-btn i.fa-times {
  color: #df2027 !important;
}

#inquiry-btn:hover i.fas.fa-comment-dots,
#inquiry-btn:hover i.fa-times {
  color: #df2027 !important;
}

/* Inquiry Form Popup */
#inquiry-form-popup {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #fff;
  border-radius: 15px;
  padding: 25px 20px;
  width: 320px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  z-index: 9999;

  opacity: 0;
  transform: translateY(50px);
  pointer-events: none;
  transition: all 0.4s ease;
}

#inquiry-form-popup.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#inquiry-form-popup h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #df2027;
  font-size: 20px;
  text-align: center;
}

#inquiry-form-popup input,
#inquiry-form-popup select {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #df2027;
  border-radius: 8px;
  font-size: 15px;
}

#inquiry-form-popup button {
  width: 100%;
  padding: 10px;
  background: #df2027;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.5s ease;
}

#inquiry-form-popup button:hover {
  background: #df2027;
}
#inquiry-form select option {
    background-color: #ffffff;
    color: #000;
}
#close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-weight: bold;
  color: #df2027;
  font-size: 20px;
  cursor: pointer;
}
.custom-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 320px;
  max-width: 90%;
  padding: 20px 25px;
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  animation: fadeSlideIn 0.4s ease-out;
}

.toast-success {
  background-color: #28a745; /* green */
}

.toast-error {
  background-color: #dc3545; /* red */
}

.toast-close {
  cursor: pointer;
  margin-left: 15px;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}

/* Animation */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -70%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 400px) {
  #inquiry-form-popup {
    width: 90%;
    right: 5%;
  }
}
