/* Unified Base Style */
.messaging-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.msg-button {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 30px;
  color: white;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  overflow: hidden;
  width: 60px;
  height: 60px;
}

.msg-button:hover {
  width: auto;
  padding-right: 25px;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.msg-button i {
  font-size: 24px;
  min-width: 24px;
  text-align: center;
  margin-right: 0;
  transition: margin 0.3s ease;
}

.msg-button:hover i {
  margin-right: 12px;
}

.btn-text {
  opacity: 0;
  width: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.msg-button:hover .btn-text {
  opacity: 1;
  width: auto;
}

/* Platform Colors */
.whatsapp {
  background: #25D366;
  border: 2px solid #25D366;
}

.telegram {
  background: #0088cc;
  border: 2px solid #0088cc;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .messaging-buttons {
    bottom: 20px;
    right: 20px;
  }
  
  .msg-button {
    width: 50px;
    height: 50px;
    padding: 10px;
  }
  
  .msg-button i {
    font-size: 20px;
  }
}