/* Floating Button */
#consultation-fab {
  position: fixed;
  right: 0;
  top: 50%;
  /* transform: translateY(-50%) rotate(-90deg) translateX(50%); */  /* rotated sideways */
  /*transform-origin: right center;*/
  background: #F46F25; /* change to your brand colour */
  color: #fff;
  padding: 16px 20px;
  border-radius: 8px 0px 0 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  z-index: 98;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  transition: background 0.3s;
  text-align:center;
  width: 126px;
  line-height: 1.2;
}

#consultation-fab svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
  flex-shrink: 0;
  margin-bottom: 4px;
}

#consultation-fab:hover {
  background: white;
  color: #F46F25;
  
  svg {
        fill: #F46F25;
    }
}

/* Overlay */
#consultation-overlay {
  display: flex;

  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  
  
   /* Fade */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#consultation-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal */
#consultation-modal {
  background: rgba( 20, 20, 20, 1.00 );
  border-radius: 12px;
  padding: 40px;
  width: 80%;
  max-height: 95vh;
  overflow-y: auto;
  position: relative;
  
  /* Scale up on open */
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

/* Close Button */
#consultation-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
  line-height: 1;
  border: 1px solid white;
  border-radius: 20px;
}

#consultation-close:hover {
  color: #000;
}

@media ( max-width: 1024px ) {
    #consultation-fab {
        display: none;
    }
}
