
/* WA GCLID Offline Conversion Helper - Front Styles (v1.2.0) */

.wago-wa-btn {
  --wago-bg: #25D366;
  --wago-color: #ffffff;
  --wago-radius: 12px;
  --wago-px: 16px;
  --wago-py: 12px;
  --wago-font: 16px;
  --wago-icon-size: 20px;
  --wago-z: 9999;

  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  cursor: pointer;
  user-select: none;
  background: var(--wago-bg);
  color: var(--wago-color);
  border-radius: var(--wago-radius);
  padding: var(--wago-py) var(--wago-px);
  font-size: var(--wago-font);
  line-height: 1.1;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.wago-wa-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.wago-wa-btn[aria-busy="true"] {
  opacity: .75;
  pointer-events: none;
}

.wago-wa-btn .wago-icon {
  width: var(--wago-icon-size);
  height: var(--wago-icon-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--wago-color);
}

.wago-wa-btn .wago-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wago-wa-btn .wago-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Inline label */
.wago-inline-label { font-weight: 600; }

/* Floating */
.wago-floating {
  --wago-size: 56px;
  --wago-icon-size: 24px;
  --wago-radius: 999px;
  --wago-offset-x: 22px;
  --wago-offset-y: 22px;
  --wago-label-bg: #ffffff;
  --wago-label-color: #111827;

  position: fixed;
  z-index: var(--wago-z);
  height: var(--wago-size);
  min-width: var(--wago-size);
  padding: 0 14px;
  border-radius: var(--wago-radius);
}

.wago-floating .wago-icon {
  width: var(--wago-icon-size);
  height: var(--wago-icon-size);
}

.wago-floating .wago-label {
  background: var(--wago-label-bg);
  color: var(--wago-label-color);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  transition: opacity .16s ease, transform .16s ease;
}

/* Label modes */
.wago-floating:not(.wago-label-always):not(.wago-label-never) .wago-label {
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
}

.wago-floating:not(.wago-label-never):hover .wago-label,
.wago-floating.wago-label-always .wago-label {
  opacity: 1;
  transform: translateX(0);
}

.wago-floating.wago-label-never .wago-label {
  display: none;
}

/* Positions */
.wago-floating.wago-pos-bottom_right { right: var(--wago-offset-x); bottom: var(--wago-offset-y); }
.wago-floating.wago-pos-bottom_left  { left: var(--wago-offset-x); bottom: var(--wago-offset-y); }
.wago-floating.wago-pos-top_right    { right: var(--wago-offset-x); top: var(--wago-offset-y); }
.wago-floating.wago-pos-top_left     { left: var(--wago-offset-x); top: var(--wago-offset-y); }

/* Better mobile tap target */
@media (max-width: 480px) {
  .wago-floating {
    padding: 0 12px;
  }
  .wago-floating .wago-label {
    font-size: 13px;
    padding: 7px 10px;
  }
}

/* ------------------------------------------------------------------
   Embedded / Minimal Lead Capture Form
   Shortcode: [wago_wa_form]
   Also used by the optional /wa form page.
------------------------------------------------------------------ */

.wago-embed-form-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.wago-embed-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 6px;
}

.wago-embed-subtitle {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(17, 24, 39, 0.75);
  margin: 0 0 14px;
}

.wago-embed-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wago-embed-field input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.25;
  background: #ffffff;
}

.wago-embed-field input:focus {
  outline: none;
  border-color: rgba(37, 211, 102, 0.65);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
}

.wago-embed-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border: none;
  cursor: pointer;
  background: #25D366;
  color: #ffffff;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.wago-embed-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.wago-embed-submit:active {
  transform: translateY(0);
}

.wago-embed-arrow {
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 480px) {
  .wago-embed-title { font-size: 22px; }
  .wago-embed-submit { font-size: 18px; padding: 13px 16px; }
}


/* ------------------------------------------------------------------
   Form Style Presets
   Add class on wrapper or form: .wago-form-style-ayrizoil
------------------------------------------------------------------ */

.wago-form-style-ayrizoil.wago-embed-form-wrap {
  max-width: 880px;
}

.wago-form-style-ayrizoil .wago-embed-form {
  gap: 26px;
}

.wago-form-style-ayrizoil .wago-embed-field input {
  padding: 22px 22px;
  border-color: #e5e7eb;
  border-radius: 6px;
  font-size: 26px;
}

.wago-form-style-ayrizoil .wago-embed-field input::placeholder {
  color: rgba(107, 114, 128, 0.8);
}

.wago-form-style-ayrizoil .wago-embed-submit {
  border-radius: 10px;
  padding: 22px 24px;
  font-size: 40px;
  box-shadow: none;
  transition: opacity .16s ease;
}

.wago-form-style-ayrizoil .wago-embed-submit:hover {
  transform: none;
  box-shadow: none;
  opacity: 0.96;
}

.wago-form-style-ayrizoil .wago-embed-submit:active {
  transform: none;
}

.wago-form-style-ayrizoil .wago-embed-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 3px solid currentColor;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 480px) {
  .wago-form-style-ayrizoil.wago-embed-form-wrap { max-width: 760px; }
  .wago-form-style-ayrizoil .wago-embed-field input { font-size: 18px; padding: 16px 16px; }
  .wago-form-style-ayrizoil .wago-embed-submit { font-size: 22px; padding: 16px 18px; }
  .wago-form-style-ayrizoil .wago-embed-arrow { width: 34px; height: 34px; border-width: 2px; font-size: 20px; }
}
