.wpfcp-modal[hidden] {
  display: none;
}

.wpfcp-widget {
  position: relative;
}

.wpfcp-open-button {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 74px;
  height: 74px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  z-index: 9997;
  box-shadow: none;
}

.wpfcp-open-button__pulse,
.wpfcp-open-button::before,
.wpfcp-open-button::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.wpfcp-open-button__pulse {
  background: rgba(227, 46, 46, 0.24);
  animation: wpfcp-pulse-1 2.2s ease-out infinite;
}

.wpfcp-open-button::before {
  background: rgba(227, 46, 46, 0.18);
  animation: wpfcp-pulse-2 2.2s ease-out infinite;
}

.wpfcp-open-button::after {
  background: rgba(227, 46, 46, 0.14);
  animation: wpfcp-pulse-3 2.2s ease-out infinite;
}

.wpfcp-open-button__inner {
  position: absolute;
  inset: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e32e2e;
  color: #fff;
  z-index: 2;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, background 0.18s ease;
}

.wpfcp-open-button__inner svg {
  width: 28px;
  height: 28px;
}

.wpfcp-open-button:hover .wpfcp-open-button__inner,
.wpfcp-open-button:focus-visible .wpfcp-open-button__inner {
  transform: scale(1.06);
  background: #cf2626;
}

.wpfcp-open-button:focus-visible {
  outline: none;
}

.wpfcp-submit {
  background: #e85b5b;
  color: #fff;
  border: 0;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.wpfcp-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.wpfcp-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.wpfcp-dialog {
  position: relative;
  max-width: 760px;
  width: calc(100vw - 32px);
  margin: 140px auto 0;
  background: #f5f5f5;
  border-radius: 16px;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.wpfcp-header {
  background: #e85b5b;
  color: #fff;
  text-align: center;
  padding: 16px 56px 16px 20px;
}

.wpfcp-header h3 {
  margin: 0;
  font-size: 22px;
}

.wpfcp-body {
  padding: 28px;
}

.wpfcp-lead {
  font-size: 18px;
  line-height: 1.45;
  text-align: center;
  margin: 0 0 24px;
}

.wpfcp-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.wpfcp-widget label {
  display: block;
  margin-bottom: 14px;
}

.wpfcp-widget label span {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.wpfcp-widget input[type="tel"],
.wpfcp-widget select,
.wpfcp-widget input[type="time"] {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  background: #fff;
}

.wpfcp-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
}

.wpfcp-consent input {
  margin-top: 4px;
}

.wpfcp-status {
  min-height: 24px;
  margin-top: 12px;
  font-size: 14px;
}

.wpfcp-status.is-success {
  color: #127b35;
}

.wpfcp-status.is-error {
  color: #b42318;
}

.wpfcp-status.is-info {
  color: #444;
}

.wpfcp-honeypot {
  position: absolute;
  left: -9999px;
}

body.wpfcp-modal-open {
  overflow: hidden;
}

@keyframes wpfcp-pulse-1 {
  0% { transform: scale(0.86); opacity: 0.95; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

@keyframes wpfcp-pulse-2 {
  0% { transform: scale(0.92); opacity: 0.75; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

@keyframes wpfcp-pulse-3 {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

@media (max-width: 782px) {
  .wpfcp-open-button {
    right: 18px;
    bottom: 18px;
    width: 68px;
    height: 68px;
  }

  .wpfcp-open-button__inner {
    inset: 13px;
  }

  .wpfcp-dialog {
    width: calc(100vw - 20px);
    margin-top: 110px;
  }

  .wpfcp-body {
    padding: 22px 18px;
  }

  .wpfcp-lead {
    font-size: 16px;
  }
}

.wpfcp-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

html body .wpfcp-widget {
  position: relative !important;
  z-index: 2147483640 !important;
}

html body .wpfcp-widget .wpfcp-open-button,
html body .wpfcp-open-button[data-wpfcp-open] {
  position: fixed !important;
  right: 35px !important;
  bottom: 55px !important;
  z-index: 2147483646 !important;
}

html body .wpfcp-modal,
html body .wpfcp-modal[data-wpfcp-modal] {
  position: fixed !important;
  z-index: 2147483647 !important;
}


