/**
 * Tweyts Chat - Floating Button Styles
 */

.tweyts-chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 9999;
  border: none;
  cursor: pointer;
}

.tweyts-whatsapp-icon {
  width: 40px !important;
  height: 40px !important;
  filter: brightness(0) invert(1) !important;
  -webkit-filter: brightness(0) invert(1) !important;
}

.tweyts-chat-button i {
  font-size: 45px;
  color: white;
}

.tweyts-whatsapp-icon {
  font-size: 45px;
  color: white;
  font-weight: normal;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tweyts-chat-button:hover {
  background-color: #20ba5a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transform: scale(1.1);
}

.tweyts-chat-button:active {
  transform: scale(0.95);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .tweyts-chat-button {
    bottom: 15px;
    right: 15px;
    width: 65px;
    height: 65px;
  }

  .tweyts-whatsapp-icon {
    width: 37px !important;
    height: 37px !important;
  }
}

@media (max-width: 480px) {
  .tweyts-chat-button {
    bottom: 12px;
    right: 12px;
    width: 60px;
    height: 60px;
  }

  .tweyts-whatsapp-icon {
    width: 32px !important;
    height: 32px !important;
  }
}

/* Accessibility - Focus state */
.tweyts-chat-button:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tweyts-chat-button {
    transition: none;
  }

  .tweyts-chat-button:hover {
    transform: none;
  }

  .tweyts-chat-button:active {
    transform: none;
  }
}
