/* Gewoon Geen – WhatsApp Chat (Warmtepompen) */
.gg-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999999;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

@keyframes gg-wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.gg-wa-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #25D366;
  border-radius: 999px;
  padding: 12px 14px;
  cursor: pointer;
  background: #25D366;
  color: #0f1f17;
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
  animation: gg-wa-pulse 3s infinite;
}

.gg-wa-toggle:hover { 
	transform: translateY(-1px);
    background: #1ebe5d;
}
.gg-wa-toggle:active { transform: translateY(0); }

.gg-wa-toggle-dot {
  width: 18px;
  height: 18px;
  background: none;
  box-shadow: none;
}
.gg-wa-toggle-dot::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' fill='%230f1f17' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 3C9.4 3 4 8.3 4 14.8c0 2.6.8 5 2.2 7L4 29l7.4-2c1.9 1 4 1.5 6.1 1.5 6.6 0 12-5.3 12-11.8S22.6 3 16 3zm0 21.5c-1.8 0-3.5-.5-5-1.4l-.4-.2-4.4 1.2 1.2-4.3-.3-.4c-1-1.5-1.6-3.3-1.6-5.1 0-5.1 4.3-9.3 9.5-9.3s9.5 4.2 9.5 9.3-4.3 9.2-9.5 9.2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.gg-wa-toggle-label {
  font-weight: 650;
  letter-spacing: 0.2px;
}

.gg-wa-chat {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(400px, calc(100vw - 32px));
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}

.gg-wa-chat.open { 
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.gg-wa-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.gg-wa-header {
  padding: 12px 12px 10px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--gg-wa-accent, #f0efed);
}

.gg-wa-titlewrap { padding-right: 10px; }

.gg-wa-title {
  font-weight: 750;
  font-size: 15px;
  line-height: 1.2;
  color: #111;
}

.gg-wa-sub {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(0,0,0,0.65);
}

.gg-wa-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 10px;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #111;
}

.gg-wa-close:hover { background: rgba(255,255,255,0.85); }

.gg-wa-body { padding: 18px; }

.gg-wa-greeting {
  font-size: 13px;
  line-height: 1.45;
  color: #111;
  padding: 10px 12px;
  background: rgba(0,0,0,0.035);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  margin-bottom: 30px;
}

.gg-wa-form { margin-top: 12px; }

.gg-wa-label {
  display: block;
  font-size: 12px;
  color: rgba(0,0,0,0.7);
  margin-bottom: 6px;
}

.gg-wa-row {
  display: flex;
  gap: 8px;
}

.gg-wa-input {
  width: 100%;
  resize: none;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.4;
  outline: none;
  background: #fff;
  min-height: 56px;   /* precies 2 nette regels */
  max-height: 220px;
  overflow-y: auto;
}

.gg-wa-input:focus {
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37,211,102,0.15);
}

.gg-wa-input::placeholder {
  color: rgba(0,0,0,0.45);
}

.gg-wa-send {
  border: 1px solid #25D366;
  border-radius: 12px;
  padding: 10px 12px;
  background: #25D366;
  color: #fff;
  cursor: pointer;
  font-weight: 650;
  font-size: 13px;
}

.gg-wa-send:hover { opacity: 0.92;
  background: #1ebe5d;
  border-color: #1ebe5d;
}

.gg-wa-hint {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(0,0,0,0.65);
}
.gg-wa-title::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background: #25D366;
  vertical-align: middle;
  animation: gg-wa-online 2s infinite;
}
@keyframes gg-wa-online {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 6px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.gg-wa-secondary {
  margin-top: 10px;
  background: #f6f6f6;
  font-size: 12.5px;
  opacity: 0.85;
}

.gg-wa-status {
  font-size: 11px;
  color: #25D366;
  margin-top: 4px;
}
/* ===== WhatsApp bubble style ===== */

.gg-wa-msg {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.gg-wa-bubble {
  background: #DCF8C6; /* officiële WhatsApp uitgaand kleur */
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  font-size: 13px;
  line-height: 1.4;
  max-width: 85%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.gg-wa-meta {
  font-size: 11px;
  color: rgba(0,0,0,0.45);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* dubbele vinkjes */
.gg-wa-checks::before {
  content: "✓✓";
  font-size: 11px;
  letter-spacing: -2px;
  color: #9ca3af; /* grijs */
}

/* 2e bericht standaard verborgen tot chat open gaat */
#gg-wa-chat .gg-wa-msg-2 {
  opacity: 0;
  transform: translateY(10px);
}