.mt-vendor-shell {
  width: 100%;
  max-width: 100%;
  margin: 22px 0 0;
}

.mt-vendor-intro {
  max-width: 100%;
  margin: 0 0 22px;
  padding: 24px 24px 20px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid #dfe9f3;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.mt-vendor-intro-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef5ff;
  color: #0b5ed7;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.mt-vendor-intro h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.15;
  color: #0f172a;
  font-weight: 800;
}

.mt-vendor-intro p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

.mt-vendor-intro p:last-child {
  margin-bottom: 0;
}

.mt-vendor-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.mt-step-dot {
  appearance: none;
  border: 1px solid #d9e3ef;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: 0.2s ease;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.mt-step-dot:hover {
  border-color: #bfd0e3;
  transform: translateY(-1px);
}

.mt-step-dot.is-active {
  border-color: #0b5ed7;
  background: #f4f8ff;
  box-shadow: 0 10px 26px rgba(11, 94, 215, 0.12);
}

.mt-step-num {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 999px;
  background: #eef4fb;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.mt-step-dot.is-active .mt-step-num {
  background: #0b5ed7;
  color: #ffffff;
}

.mt-step-text {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  color: #0f172a;
}

.mt-step-panel {
  display: none;
  background: #ffffff;
  border: 1px solid #e4ebf3;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.05);
}

.mt-step-panel.is-active {
  display: block;
}

.mt-step-head {
  margin-bottom: 18px;
}

.mt-step-head h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
  color: #0f172a;
}

.mt-step-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
}

.mt-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mt-vendor-field {
  min-width: 0;
}

.mt-vendor-field.is-full,
.mt-send-code-field,
.mt-submit-holder,
.mt-terms-field {
  grid-column: 1 / -1;
}

.mt-field-title {
  margin: 0 0 8px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
}

.mt-vendor-field input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.mt-vendor-field select,
.mt-vendor-field textarea {
  width: 100% !important;
  min-height: 48px !important;
  border-radius: 14px !important;
  border: 1px solid #d7e2ee !important;
  background: #ffffff !important;
  box-shadow: none !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  color: #0f172a !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.mt-vendor-field textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

.mt-vendor-field input:focus,
.mt-vendor-field select:focus,
.mt-vendor-field textarea:focus {
  border-color: #0b5ed7 !important;
  box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.10) !important;
  outline: none !important;
}

.mt-send-code-field button,
.mt-send-code-field input[type="button"],
.mt-send-code-field a,
.wcfm_email_verified_button,
.wcfm_membership_email_verified,
#wcfm_send_verify_code,
.send_verification_code,
.wcfm-membership-send-code {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px !important;
  padding: 0 18px !important;
  border-radius: 14px !important;
  border: 0 !important;
  background: #0b5ed7 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 10px 24px rgba(11, 94, 215, 0.18);
}

.mt-send-code-field button:hover,
.mt-send-code-field input[type="button"]:hover,
.mt-send-code-field a:hover,
.wcfm_email_verified_button:hover,
.wcfm_membership_email_verified:hover,
#wcfm_send_verify_code:hover,
.send_verification_code:hover,
.wcfm-membership-send-code:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.mt-vendor-code-help {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #5f6b7a;
}

.mt-vendor-code-error {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: #c62828;
}

.mt-disabled-code,
.mt-vendor-field input.mt-disabled-code {
  background: #f3f6fa !important;
  color: #94a3b8 !important;
  border-color: #dde5ee !important;
  cursor: not-allowed !important;
}

.mt-country-locked-select,
.mt-country-locked-input {
  background: #f8fbff !important;
  color: #0f172a !important;
  font-weight: 600 !important;
}

.mt-country-locked-select {
  pointer-events: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: none !important;
}

.mt-terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  cursor: pointer;
  padding: 12px 14px;
  border: 1px solid #dce6f1;
  border-radius: 14px;
  background: #f8fbff;
}

.mt-terms-row input[type="checkbox"] {
  margin-top: 3px;
  flex: 0 0 auto;
}

.mt-terms-row span {
  font-size: 14px;
  color: #0f172a;
}

.mt-step-nav {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.mt-step-btn {
  appearance: none;
  border: 0;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.mt-step-btn:hover {
  transform: translateY(-1px);
}

.mt-step-btn.ghost {
  background: #eef4fb;
  color: #0f172a;
  border: 1px solid #d9e3ef;
}

.mt-step-btn.next {
  background: #0b5ed7;
  color: #ffffff;
}

.mt-step-footer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.mt-step-footer .mt-step-nav {
  margin-top: 0;
}

.mt-step-actions {
  display: none;
  margin-top: 0;
}

.mt-step-panel[data-step="3"].is-active .mt-step-actions {
  display: block;
}

.password_strength,
#password_strength {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.4;
}

#wcfm_membership_register_button,
input[name="save-data"].wcfm_submit_button {
  display: none !important;
}

.mt-fake-register-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 50px !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 15px !important;
  background: #16a34a !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.18);
  transition: 0.2s ease;
}

.mt-fake-register-btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

@media (max-width: 991px) {
  .mt-step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .mt-vendor-intro {
    padding: 20px 18px 18px;
    border-radius: 18px;
  }

  .mt-vendor-intro h2 {
    font-size: 24px;
  }

  .mt-vendor-intro p {
    font-size: 14px;
    line-height: 1.65;
  }

  .mt-vendor-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mt-step-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .mt-step-head h3 {
    font-size: 20px;
  }

  .mt-step-nav {
    justify-content: stretch;
  }

  .mt-step-btn {
    width: 100%;
  }

  .mt-step-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .mt-step-actions {
    width: 100%;
  }

  .mt-fake-register-btn {
    width: 100% !important;
  }
}