.cfp-otp-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: cfpOtpFadeIn 0.2s ease-out;
}

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

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

.cfp-otp-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: cfpOtpPopIn 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.cfp-otp-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-otp-modal-close:hover {
  background: #ece4fb;
  color: #551dff;
  transform: rotate(90deg);
}

.cfp-otp-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-otp-modal-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

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

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

.cfp-otp-modal-phone {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #551dff;
  background: linear-gradient(245deg, rgba(211, 36, 168, 0.1) -67.04%, rgba(85, 29, 255, 0.1) 129.05%);
  border-radius: 20px;
  padding: 6px 16px;
  margin: 0 0 16px;
  letter-spacing: 0.5px;
}

.cfp-otp-modal-status {
  font-size: 13px;
  min-height: 18px;
  margin: 0 0 14px;
  color: #7f20e2 !important;
  font-weight: 500;
}

.cfp-otp-modal-btn {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: opacity 0.15s, transform 0.12s, box-shadow 0.15s, background 0.15s;
}
.cfp-otp-modal-btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none !important;
}
.cfp-otp-modal-btn + .cfp-otp-modal-btn {
  margin-top: 10px;
}

.cfp-otp-btn-primary {
  background: linear-gradient(245deg, #d324a8 -67.04%, #551dff 129.05%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(85, 29, 255, 0.3);
}
.cfp-otp-btn-primary:hover:not(:disabled) {
  box-shadow: 0 12px 30px rgba(85, 29, 255, 0.4);
  transform: translateY(-1px);
}
.cfp-otp-btn-primary:active:not(:disabled) {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 6px 16px rgba(85, 29, 255, 0.28);
}

.cfp-otp-btn-secondary {
  background: linear-gradient(245deg, rgba(211, 36, 168, 0.85) -67.04%, rgba(85, 29, 255, 0.85) 129.05%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(85, 29, 255, 0.18);
}
.cfp-otp-btn-secondary:hover:not(:disabled) {
  background: linear-gradient(245deg, #d324a8 -67.04%, #551dff 129.05%);
  box-shadow: 0 8px 20px rgba(85, 29, 255, 0.26);
  transform: translateY(-1px);
}
.cfp-otp-btn-secondary:active:not(:disabled) {
  transform: translateY(0) scale(0.99);
}

.cfp-otp-code-wrap {
  margin: 6px 0 16px;
  text-align: left;
}
.cfp-otp-code-wrap label {
  display: block;
  font-size: 13px;
  color: #444;
  margin-bottom: 6px;
  font-weight: 500;
}
.cfp-otp-code-input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 12px;
  font-size: 22px;
  letter-spacing: 8px;
  text-align: center;
  font-weight: 600;
  color: #241a3d;
  border: 1.5px solid #e6e2f0;
  border-radius: 12px;
  margin-bottom: 14px;
  background: #faf9fd;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.cfp-otp-code-input:focus {
  outline: none;
  border-color: #a855f7;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.14);
}
.otp-verification-feature h1 {
  font-size: 24px !important;
  font-weight: 700 !important;
}
