/* ==========================================================================
   FAST WHATSAPP SWITCHER - PUBLIC & FLOATING BUTTON STYLES
   ========================================================================== */

:root {
  --fws-wa-green: #25D366;
  --fws-wa-green-hover: #20BA5A;
  --fws-wa-dark: #128C7E;
  --fws-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  --fws-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Floating Widget Container */
.fws-floating-widget {
  position: fixed;
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--fws-font);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Positions */
.fws-pos-bottom-right {
  bottom: 25px;
  right: 25px;
  flex-direction: row;
}

.fws-pos-bottom-left {
  bottom: 25px;
  left: 25px;
  flex-direction: row-reverse;
}

/* Tooltip / Prompt Bubble */
.fws-tooltip {
  background: #ffffff;
  color: #1f2937;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.fws-tooltip-status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--fws-wa-green);
  border-radius: 50%;
  display: inline-block;
}

.fws-tooltip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Floating Action Button */
.fws-btn-floating {
  position: relative;
  width: 60px;
  height: 60px;
  background-color: var(--fws-wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: var(--fws-shadow);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: none;
}

.fws-btn-floating:hover {
  background-color: var(--fws-wa-green-hover);
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.fws-btn-floating svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
}

/* Pulse Glow Animation */
.fws-pulse::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: fws-pulse-anim 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  z-index: -1;
}

@keyframes fws-pulse-anim {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Shortcode Button Style */
.fws-shortcode-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--fws-wa-green);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  font-family: var(--fws-font);
}

.fws-shortcode-btn:hover {
  background-color: var(--fws-wa-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.fws-shortcode-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Mobile Responsive Adjustments */
@media (max-width: 640px) {
  .fws-pos-bottom-right {
    bottom: 20px;
    right: 20px;
  }
  .fws-pos-bottom-left {
    bottom: 20px;
    left: 20px;
  }
  .fws-btn-floating {
    width: 52px;
    height: 52px;
  }
  .fws-btn-floating svg {
    width: 28px;
    height: 28px;
  }
  .fws-tooltip {
    font-size: 12px;
    padding: 6px 12px;
  }
}
