/* ===== Estilos do Botão Flutuante de WhatsApp - MultiChat ===== */

.multichat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Botão Principal */
.multichat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgb(170 183 175 / 40%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

.multichat-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgb(170 183 175 / 40%);
}

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

.multichat-button svg {
  width: 28px;
  height: 28px;
}

/* Menu de Contatos */
.multichat-menu {
  position: absolute;
  bottom: 80px;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.16);
  min-width: 320px;
  overflow: hidden;
  animation: multichat-slideUp 0.3s ease;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.multichat-menu.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

@keyframes multichat-slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header do Menu */
.multichat-menu-header {
  background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
  color: white;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.multichat-menu-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.multichat-close-menu-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.multichat-close-menu-btn:hover {
  transform: rotate(90deg);
  background: rgba(0, 255, 0, 0); /* Fundo transparente */
}

/* Conteúdo do Menu */
.multichat-menu-content {
  padding: 8px 0;
}

/* Opções de Contato */
.multichat-contact-option {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.multichat-contact-option:last-child {
  border-bottom: none;
}

.multichat-contact-option:hover {
  background-color: #f5f5f5;
  padding-left: 20px;
}

.multichat-contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 12px;
  flex-shrink: 0;
}

.multichat-contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.multichat-contact-name {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  display: block;
  margin-bottom: 4px;
}

.multichat-contact-phone {
  font-size: 12px;
  color: #999;
}

.multichat-contact-arrow {
  color: #ccc;
  display: flex;
  align-items: center;
  margin-left: 8px;
  transition: color 0.2s ease;
}

.multichat-contact-option:hover .multichat-contact-arrow {
  color: #25d366;
}

/* Responsividade */
@media (max-width: 480px) {
  .multichat-container {
    bottom: 16px;
    right: 16px;
  }

  .multichat-button {
    width: 56px;
    height: 56px;
  }

  .multichat-menu {
    min-width: 280px;
    bottom: 70px;
  }

  .multichat-menu-header h3 {
    font-size: 15px;
  }

  .multichat-contact-option {
    padding: 10px 14px;
  }

  .multichat-contact-option:hover {
    padding-left: 18px;
  }
}
