body.cert-healer-modal-open {
  overflow: hidden;
}

.cert-healer-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 8, 25, 0.82);
  backdrop-filter: blur(8px);
}

.cert-healer-modal-overlay.cert-healer-modal-active {
  display: flex;
}

.cert-healer-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 24px;
  padding: 30px;
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  animation: certHealerModalIn 0.25s ease;
}

@keyframes certHealerModalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cert-healer-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #eef2ff;
  color: #0b1740;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.cert-healer-modal-close:hover,
.cert-healer-modal-close:focus {
  background: #0b1740;
  color: #ffffff;
  outline: none;
}

.cert-healer-modal-header {
  margin-bottom: 22px;
  text-align: center;
}

.cert-healer-modal-pill {
  display: inline-block;
  margin-bottom: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(240, 176, 0, 0.18);
  color: #8a6100;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cert-healer-modal-header h2 {
  margin: 0 0 8px;
  color: #08102a;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
}

.cert-healer-modal-header p {
  margin: 0;
  color: #5d6475;
}

.cert-healer-modal-form {
  display: grid;
  gap: 16px;
}

.cert-healer-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cert-healer-field label {
  display: block;
  margin-bottom: 7px;
  color: #08102a;
  font-size: 14px;
  font-weight: 700;
}

.cert-healer-field .form-control {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d9dfec;
  border-radius: 14px;
  padding: 12px 14px;
  color: #08102a;
  background: #ffffff;
  font-size: 15px;
}

.cert-healer-field textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.cert-healer-field .form-control:focus {
  border-color: #f0b000;
  box-shadow: 0 0 0 4px rgba(240, 176, 0, 0.16);
  outline: none;
}

.cert-healer-phone-wrap {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 10px;
}

.cert-healer-code {
  font-weight: 700;
  text-align: center;
  background: #eef2ff !important;
  cursor: not-allowed;
}

.cert-healer-other-field {
  display: none;
}

.cert-healer-error {
  display: block;
  min-height: 18px;
  margin-top: 5px;
  color: #dc2626;
  font-size: 13px;
}

.cert-healer-submit-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  border: 0;
  border-radius: 14px;
  background: #f0b000;
  color: #08102a;
  font-weight: 800;
  cursor: pointer;
}

.cert-healer-submit-btn:hover,
.cert-healer-submit-btn:focus {
  background: #d99c00;
  outline: none;
}

.cert-healer-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.cert-healer-status {
  text-align: center;
}

.cert-healer-alert {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.cert-healer-alert-success {
  background: #dcfce7;
  color: #166534;
}

.cert-healer-alert-danger {
  background: #fee2e2;
  color: #991b1b;
}

@media (max-width: 767px) {
  .cert-healer-modal {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .cert-healer-form-grid {
    grid-template-columns: 1fr;
  }

  .cert-healer-phone-wrap {
    grid-template-columns: 95px 1fr;
  }
}