#noh-wa-widget {
  position: fixed;
  bottom: 20px;
  z-index: 999999;
  font-family: -apple-system, "Segoe UI", Arial, sans-serif;
}

#noh-wa-widget.noh-wa-direita { right: 20px; }
#noh-wa-widget.noh-wa-esquerda { left: 20px; }

#noh-wa-widget.noh-wa-ocultar-mobile { display: none; }
#noh-wa-widget.noh-wa-ocultar-desktop { display: none; }

@media (max-width: 768px) {
  #noh-wa-widget.noh-wa-ocultar-mobile { display: none !important; }
  #noh-wa-widget:not(.noh-wa-ocultar-mobile) { display: block; }
}
@media (min-width: 769px) {
  #noh-wa-widget.noh-wa-ocultar-desktop { display: none !important; }
  #noh-wa-widget:not(.noh-wa-ocultar-desktop) { display: block; }
}

.noh-wa-botao {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: transform 0.15s ease;
}

.noh-wa-botao:hover {
  transform: scale(1.06);
}

.noh-wa-pulso {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: noh-wa-pulsar 2.2s infinite;
  pointer-events: none;
}

@keyframes noh-wa-pulsar {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.noh-wa-balao {
  display: none;
  flex-direction: column;
  width: 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  padding: 14px 14px 16px;
  margin-bottom: 14px;
  position: relative;
  animation: noh-wa-subir 0.25s ease;
}

.noh-wa-balao.noh-wa-aberto { display: flex; }

@keyframes noh-wa-subir {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.noh-wa-fechar {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 4px;
}
.noh-wa-fechar:hover { color: #555; }

.noh-wa-balao-cabecalho {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.noh-wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1F3864;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.noh-wa-balao-cabecalho strong {
  display: block;
  font-size: 13px;
  color: #1F3864;
}

.noh-wa-online {
  font-size: 11px;
  color: #1E7A34;
}

.noh-wa-texto {
  font-size: 13px;
  color: #333;
  margin: 4px 0 12px;
  line-height: 1.4;
}

.noh-wa-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: #25D366;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 10px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.noh-wa-cta:hover { background: #1fb857; color: #fff; }

.noh-wa-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.noh-wa-form input {
  padding: 9px 10px;
  border: 1px solid #ddd;
  border-radius: 7px;
  font-size: 13px;
  font-family: inherit;
}

.noh-wa-form input:focus {
  outline: none;
  border-color: #25D366;
}

.noh-wa-erro {
  color: #C0392B;
  font-size: 12px;
  margin: 0;
}

.noh-wa-pular {
  display: block;
  text-align: center;
  font-size: 11px;
  color: #888;
  margin-top: 10px;
  text-decoration: none;
}
.noh-wa-pular:hover { color: #555; text-decoration: underline; }

#noh-wa-widget.noh-wa-esquerda .noh-wa-balao { margin-left: 0; }
