/* Floating Support Button Styles */
.floating-support-btn {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  padding: 0;
  background-color: #004c96;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1001;
}

.floating-support-btn:active {
  transform: scale(0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.floating-support-btn i {
  margin: 0;
}

/* Support Menu Overlay */
.floating-support-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}

.floating-support-overlay.active {
  display: block;
}

/* Floating Support Menu */
.floating-support-menu {
  position: fixed;
  bottom: 76px;
  right: 50px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 280px;
  max-width: 320px;
  opacity: 0;
  transform: scale(0.95) translateY(10px);
  transform-origin: bottom right;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: transform, opacity;
}

.floating-support-menu.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

/* Triangle pointer */
.floating-support-menu::after {
  content: "";
  position: absolute;
  bottom: -12px;
  right: 15px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 0 solid transparent;
  border-top: 12px solid white;
  z-index: 1;
}

/* Menu Header */
.floating-support-menu-header {
  padding: 8px;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 600;
  font-size: 15px;
  color: #333;
  text-align: center;
}

/* Menu Content */
.floating-support-menu-content {
  padding: 8px;
  max-height: 500px;
  overflow-y: auto;
}

/* Contact Item */
.floating-support-item {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 6px;
  border-radius: 8px;
  background-color: #f9f9f9;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.floating-support-item:last-child {
  margin-bottom: 0;
}

.floating-support-item:hover {
  background-color: #f0f0f0;
  border-color: #d0d0d0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.floating-support-item:active {
  background-color: #e8e8e8;
  border-color: #c0c0c0;
}

/* Icon Container */
.floating-support-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #004c96;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

/* Item Text */
.floating-support-item-text {
  flex: 1;
  min-width: 0;
}

.floating-support-item-title {
  font-weight: 600;
  font-size: 13px;
  color: #333;
  margin-bottom: 2px;
}

.floating-support-item-desc {
  font-size: 11px;
  color: #666;
  line-height: 1.3;
}

/* Animations */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
