/* Sticky Button (Book a Bid Support Call) */
.sticky-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: none !important;
}
}

.sticky-button:hover {
  transform: translateY(-3px);
}

/* Popup styles */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

/* Popup Content */
.popup-content {
  position: relative;
  top:10px;
  padding: 20px 30px;
  max-width: 1000px;
  width: 100%;
  height: 90%;
  background-color: transparent;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow-y:hidden; /* Make content scrollable */
  overflow-x:hidden;
  max-height: 100%; /* Ensure it doesn't overflow off screen */
}

/* Close Button (X) */
.close-btn {
  position: absolute;
  top: 10px;
  right: 60px;    
  font-family: "Arial", sans-serif;  /* Font used for the close button */
  font-size: 25px; 
  color: #fff;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

 

/* Iframe (for calendar) */
#CalendarIframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Show Popup */
.popup.show {
  display: flex;
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Adjusting the sticky button for smaller screens */
  .sticky-button {
    padding: 12px 18px;
    font-size: 14px;
  }

  /* Adjusting popup content for smaller screens */
  .popup-content {
    width: 90%;
    height: 80%;
    padding: 20px;
  }

  /* Adjust close button for mobile */
  .close-btn {
    font-size: 20px;
    color:#fff;
    top: 40px;
    right: 10px;
  }

  /* Make the iframe scrollable on smaller screens */
  #CalendarIframe {
    width: 100%;
    height: 100%;
  }
}
@media (max-width: 992px) {
.popup-content {
    width: 70%;
    height: 75%;
    padding: 10px;
  }


}

@media (max-width: 480px) {
  /* Adjusting button for mobile devices */
  .sticky-button {
    padding: 12px 18px;
    font-size: 18px;
  }

  /* Adjust popup content width for very small screens */
  .popup-content {
    width: 100%;
    height: 70%;
    padding: 15px;
  }

  /* Increase the size of the close button */
  .close-btn {
    color:#fff;
    font-size: 20px;
    top: 40px;
    right: 10px;
 
  }
}
