.cfp-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 12, 34, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  animation: cfpModalFadeIn 0.2s ease-out;
}

@keyframes cfpModalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes cfpModalPopIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cfp-modal-box {
  background: #fff;
  border-radius: 20px;
  max-width: 400px;
  width: 100%;
  padding: 34px 30px 30px;
  position: relative;
  box-shadow:
    0 24px 70px rgba(20, 10, 50, 0.28),
    0 4px 14px rgba(20, 10, 50, 0.1),
    0 0 0 1px rgba(85, 29, 255, 0.06);
  text-align: center;
  font-family: inherit;
  animation: cfpModalPopIn 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  box-sizing: border-box;
}

.cfp-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f0fa;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  z-index: 2;
  transition:
    background 0.15s,
    color 0.15s,
    transform 0.15s;
}
.cfp-modal-close:hover {
  background: #ece4fb;
  color: #551dff;
  transform: rotate(90deg);
}

.cfp-modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  /* background: linear-gradient(245deg, #d324a8 -67.04%, #551dff 129.05%); */
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 10px 24px rgba(85, 29, 255, 0.3); */
}
.cfp-modal-icon img {
  width: 35px;
  height: 35px;
}

.cfp-modal-title {
  font-size: 20px;
  font-weight: 700;
  margin: 4px 0 8px;
  color: #16121f;
  letter-spacing: -0.2px;
}

.cfp-modal-message {
  font-size: 14px;
  line-height: 1.6;
  color: #5b5566;
  margin: 0 0 22px;
}

.cfp-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cfp-modal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-sizing: border-box;
  transition:
    opacity 0.15s,
    transform 0.12s,
    box-shadow 0.15s;
}
.cfp-modal-btn:hover {
  transform: translateY(-1px);
}
.cfp-modal-btn:active {
  transform: translateY(0) scale(0.99);
}
.cfp-modal-btn img {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}
.cfp-modal-btn:hover span {
  color: #fff !important;
}
.cfp-btn-whatsapp {
  background: linear-gradient(245deg, #29e075 -20%, #128c4a 120%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(18, 140, 74, 0.28);
}
.cfp-btn-whatsapp:hover {
  box-shadow: 0 12px 28px rgba(18, 140, 74, 0.36);
}

.cfp-btn-phone {
  background: linear-gradient(245deg, #2f9ce8 -20%, #1868b8 120%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(24, 104, 184, 0.28);
}
.cfp-btn-phone:hover {
  box-shadow: 0 12px 28px rgba(24, 104, 184, 0.36);
}

.cfp-btn-messenger {
  background: linear-gradient(245deg, #d324a8 -67.04%, #551dff 129.05%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(85, 29, 255, 0.28);
}
.cfp-btn-messenger:hover {
  box-shadow: 0 12px 28px rgba(85, 29, 255, 0.36);
}
