/* =================================================================
  STICKY CONTACT STYLES
  ================================================================= */

.sticky-contact {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sticky-contact-right {
  right: 20px;
}

.sticky-contact-left {
  left: 20px;
}

.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  color: white;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: pulse 2s infinite;
}

.sticky-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  color: white;
  text-decoration: none;
}

.sticky-btn:focus {
  outline: none;
  color: white;
}

.sticky-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Specific Button Colors (fallback if inline styles don't work) */
.sticky-zalo {
  background-color: #0068ff;
}

.sticky-call {
  background-color: #00c851;
}

.sticky-message {
  background-color: #ff6900;
}

.b-to-top {
  background-color: #33b5e5;
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  50% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25),
      0 0 0 5px rgba(255, 255, 255, 0.1);
  }
  100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .sticky-contact-right {
    right: 15px;
  }

  .sticky-contact-left {
    left: 15px;
  }

  .sticky-btn {
    width: 45px;
    height: 45px;
  }

  .sticky-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .sticky-contact {
    display: none;
  }
  .sticky-contact-right {
    right: 10px;
  }

  .sticky-contact-left {
    left: 10px;
  }

  .sticky-btn {
    width: 40px;
    height: 40px;
  }

  .sticky-icon {
    width: 18px;
    height: 18px;
  }
}

/* Hide on very small screens to avoid interference */
@media (max-width: 320px) {
  .sticky-contact {
    display: none;
  }
}
