/*call-now-widget.css*/

@keyframes wiggle {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  15% { transform: translate(-50%, -50%) rotate(-10deg); }
  30% { transform: translate(-50%, -50%) rotate(10deg); }
  45% { transform: translate(-50%, -50%) rotate(-7deg); }
  60% { transform: translate(-50%, -50%) rotate(7deg); }
  75% { transform: translate(-50%, -50%) rotate(-5deg); }
  90% { transform: translate(-50%, -50%) rotate(5deg); }
}

#callNowWidget.wiggle {
  animation: wiggle 1s ease-in-out;
}


#callNowWidget {
  background-color: #B3A8B6;
  color: white;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  position: fixed;
  transition: background-color 0.3s ease;
/*  animation: wiggle 1s ease-in-out infinite;
  animation-delay: 5s;
    animation-iteration-count: 2;
  animation-fill-mode: both;*/
  
/* 🔥 Wiggle once after 1s */
}
#callNowWidget.animate {
  animation: wiggle 1s ease-in-out infinite;
  animation-delay: 9s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}


#callNowWidget:hover {
  background-color: #C9B9C9;
  border-block: 4px dotted black;
}

#callNowWidget .closeBtn {
  background: #ff4d4d;
  border: none;
  color: white;
  font-size: 18px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

#callNowWidget .closeBtn:hover {
  background: #e60000;
}

.position-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.position-bottom-right {
  bottom: 20px;
  right: 20px;
}

.position-bottom-left {
  bottom: 20px;
  left: 20px;
}

@media (max-width: 600px) {
  #callNowWidget {
    font-size: 16px;
    padding: 12px 24px;
    flex-direction: column;
    border-radius: 20px;
  }
}
