/* LCBP floating contacts widget */

.lcbp-widget.widget {
  position: fixed;
  bottom: 88px;
  right: 20px;
  z-index: 99990;
}

@media only screen and (max-width: 767px) {
  .lcbp-widget.widget {
    bottom: 72px;
    right: 14px;
  }
}

.widget-button {
  position: relative;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: #1a365d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(15, 20, 25, 0.2);
  transition: transform 0.3s ease, background 0.2s ease;
  overflow: visible;
  z-index: 1;
  padding: 0;
  animation: lcbp-widget-vibrate 2.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

.widget-button i {
  font-size: 22px;
  color: #fff;
  line-height: 1;
}

.widget-button:hover {
  background: #153252;
}

.widget-button.active {
  transform: rotate(135deg);
  animation: none;
}

.widget-button::before,
.widget-button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  background-color: #1a365d;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.35;
  pointer-events: none;
  animation: lcbp-widget-ripple 2s infinite ease-out;
}

.widget-button::after {
  animation-delay: 1s;
}

.widget-button.active::before,
.widget-button.active::after {
  animation: none;
  opacity: 0;
}

@keyframes lcbp-widget-ripple {
  to {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

@keyframes lcbp-widget-vibrate {
  0%,
  100% {
    transform: translate(0, 0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translate(-1px, -1px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translate(1px, 1px);
  }
}

.widget-icons {
  position: absolute;
  bottom: 68px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.widget-icons.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.widget-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.widget-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  border: none;
  padding: 0;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.widget-icon img {
  width: 28px;
  height: 28px;
  display: block;
}

.widget-icon:hover {
  transform: scale(1.06);
}

.widget-icon.whatsapp {
  background: #25d366;
}

.widget-icon.telegram {
  background: #2aabee;
}

.widget-icon.max {
  background: linear-gradient(145deg, #8b5cf6 0%, #6366f1 50%, #4f46e5 100%);
}

.widget-icon.phone {
  background: #1a365d;
}

.widget-icon.form {
  background: #c45c26;
}

.widget-icon i {
  font-size: 20px;
  color: #fff;
}
