.acreside-whatsapp-widget {
  --wa-navy: #08163b;
  --wa-blue: #0647a8;
  --wa-green: #18a96b;
  --wa-muted: #667085;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 5000;
  font-family: "Manrope", sans-serif;
}

.acreside-whatsapp-toggle {
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wa-green);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(8, 22, 59, 0.24);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.acreside-whatsapp-toggle i {
  font-size: 23px;
}

.acreside-whatsapp-toggle:hover {
  background: var(--wa-blue);
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(8, 22, 59, 0.3);
}

.acreside-whatsapp-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(370px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(8, 22, 59, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(8, 22, 59, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.98);
  transform-origin: bottom right;
  transition: opacity .24s ease, visibility .24s ease, transform .24s ease;
}

.acreside-whatsapp-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.acreside-whatsapp-header {
  position: relative;
  padding: 18px 54px 18px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--wa-navy), #0b2d58);
}

.acreside-whatsapp-logo {
  width: 52px;
  height: 52px;
  padding: 5px;
  border-radius: 12px;
  background: #ffffff;
  object-fit: contain;
}

.acreside-whatsapp-title strong,
.acreside-whatsapp-title span {
  display: block;
}

.acreside-whatsapp-title strong {
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

.acreside-whatsapp-title span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 600;
}

.acreside-whatsapp-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.acreside-whatsapp-body {
  padding: 20px;
}

.acreside-whatsapp-intro {
  margin: 0 0 17px;
  color: var(--wa-muted);
  font-size: 13px;
  line-height: 1.65;
}

.acreside-whatsapp-field {
  display: block;
  margin-bottom: 14px;
}

.acreside-whatsapp-field span {
  display: block;
  margin-bottom: 6px;
  color: var(--wa-navy);
  font-size: 12px;
  font-weight: 800;
}

.acreside-whatsapp-field input,
.acreside-whatsapp-field textarea {
  width: 100%;
  border: 1px solid #dce2ea;
  border-radius: 10px;
  background: #f8fafc;
  color: #111827;
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.acreside-whatsapp-field input {
  height: 46px;
  padding: 0 13px;
}

.acreside-whatsapp-field textarea {
  min-height: 106px;
  padding: 12px 13px;
  resize: vertical;
}

.acreside-whatsapp-field input:focus,
.acreside-whatsapp-field textarea:focus {
  border-color: var(--wa-green);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(24, 169, 107, 0.12);
}

.acreside-whatsapp-submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--wa-green);
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background .22s ease, transform .22s ease;
}

.acreside-whatsapp-submit:hover {
  background: var(--wa-blue);
  transform: translateY(-2px);
}

.acreside-whatsapp-privacy {
  margin: 11px 0 0;
  color: #98a2b3;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 520px) {
  .acreside-whatsapp-widget {
    right: 14px;
    bottom: 14px;
  }

  .acreside-whatsapp-panel {
    position: fixed;
    right: 14px;
    bottom: 82px;
    left: 14px;
    width: auto;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .acreside-whatsapp-toggle {
    min-height: 52px;
    padding: 0 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acreside-whatsapp-toggle,
  .acreside-whatsapp-panel,
  .acreside-whatsapp-submit {
    transition: none;
  }
}
