/* Social footer + WhatsApp chat (datenschutztest.de) */

.bayata-social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
  margin-top: 1.1rem;
}

.bayata-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid var(--edge, #2a3340);
  border-radius: 6px;
  color: var(--mist, #8b95a5);
  transition: color .2s ease, border-color .2s ease;
}

.bayata-social-links a:hover {
  color: var(--teal, #15B5AA);
  border-color: var(--teal, #15B5AA);
}

.bayata-social-links svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.bayata-wa-chat {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 5000;
  font-family: var(--fb, inherit);
}

.bayata-wa-chat__toggle {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 0;
  border-radius: 999px;
  padding: .7rem 1rem;
  background: #25D366;
  color: #04120a;
  font: 600 .9rem/1 var(--fb, inherit);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

.bayata-wa-chat__toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.bayata-wa-chat__panel {
  display: none;
  width: min(22rem, calc(100vw - 2rem));
  margin-bottom: .75rem;
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid var(--edge, #2a3340);
  border-radius: 12px;
  background: var(--surface2, #121a28);
  color: var(--ivory, #f3f6fb);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

.bayata-wa-chat.is-open .bayata-wa-chat__panel {
  display: block;
}

.bayata-wa-chat__panel h3 {
  margin: 0 0 .35rem;
  font: 650 1rem/1.3 var(--fb, inherit);
}

.bayata-wa-chat__panel p {
  margin: 0 0 .75rem;
  color: var(--mist, #8b95a5);
  font-size: .85rem;
  line-height: 1.45;
}

.bayata-wa-chat__panel label {
  display: block;
  margin-bottom: .35rem;
  color: var(--mist, #8b95a5);
  font-size: .75rem;
}

.bayata-wa-chat__panel textarea {
  width: 100%;
  min-height: 5.5rem;
  margin-bottom: .75rem;
  padding: .65rem .7rem;
  border: 1px solid var(--edge, #2a3340);
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
  color: inherit;
  font: inherit;
  resize: vertical;
}

.bayata-wa-chat__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.bayata-wa-chat__actions button {
  border: 0;
  border-radius: 8px;
  padding: .55rem .85rem;
  font: 600 .85rem/1 var(--fb, inherit);
  cursor: pointer;
}

.bayata-wa-chat__go {
  background: #25D366;
  color: #04120a;
}

.bayata-wa-chat__close {
  background: transparent;
  color: var(--mist, #8b95a5);
  border: 1px solid var(--edge, #2a3340) !important;
}

.bayata-wa-chat__msg {
  min-height: 1.1rem;
  margin-top: .55rem;
  color: var(--mist, #8b95a5);
  font-size: .78rem;
}

.bayata-wa-chat__msg.is-err {
  color: #ff6b6b;
}

body:has(.ttdsg-banner:not(.hidden)) .bayata-wa-chat {
  bottom: 5.5rem;
}
