/* Binly "Message us" widget: a floating button, bottom right, on every page. Shared by the
   homepage, the SEO pages and every other page in the docroot. No external libs, brand colors
   only (#0b8f63 green, paper background, rounded 16, soft shadow). */

.bw-launch {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border: none;
  border-radius: 999px;
  background: #0b8f63;
  color: #fff;
  font: 600 15px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(11, 143, 99, 0.35), 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bw-launch:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(11, 143, 99, 0.4), 0 3px 10px rgba(0, 0, 0, 0.14);
}
.bw-launch:active {
  transform: translateY(0);
}
.bw-launch svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.bw-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 26, 0.35);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.bw-backdrop.bw-open {
  opacity: 1;
  pointer-events: auto;
}

.bw-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fdfcf9;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(20, 30, 26, 0.24), 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 22px;
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1c2620;
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.bw-panel.bw-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.bw-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.bw-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0b3d2a;
}
.bw-close {
  border: none;
  background: transparent;
  color: #6b7d73;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 8px;
}
.bw-close:hover {
  background: rgba(11, 143, 99, 0.1);
  color: #0b3d2a;
}
.bw-sub {
  margin: 4px 0 16px;
  color: #55655c;
  font-size: 13.5px;
}

.bw-field {
  margin-bottom: 12px;
}
.bw-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #2c3b32;
  margin-bottom: 5px;
}
.bw-field input,
.bw-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #dfe3de;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: #1c2620;
  background: #fff;
  resize: vertical;
}
.bw-field textarea {
  min-height: 88px;
}
.bw-field input:focus,
.bw-field textarea:focus {
  outline: none;
  border-color: #0b8f63;
  box-shadow: 0 0 0 3px rgba(11, 143, 99, 0.15);
}

/* Honeypot: present in the DOM and tab-order-free, but never visible to a real visitor. */
.bw-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bw-send {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  background: #0b8f63;
  color: #fff;
  font: 600 15px/1 inherit;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.bw-send:hover {
  background: #0a7d57;
}
.bw-send:disabled {
  opacity: 0.65;
  cursor: default;
}

.bw-status {
  margin-top: 12px;
  font-size: 14px;
  border-radius: 10px;
  padding: 10px 12px;
  display: none;
}
.bw-status.bw-show {
  display: block;
}
.bw-status.bw-ok {
  background: rgba(11, 143, 99, 0.12);
  color: #0b3d2a;
}
.bw-status.bw-err {
  background: rgba(200, 60, 45, 0.1);
  color: #7a2418;
}

@media (max-width: 480px) {
  .bw-panel {
    right: 16px;
    left: 16px;
    bottom: 16px;
    width: auto;
  }
  .bw-launch {
    right: 16px;
    bottom: 16px;
  }
}
