.vendor-register-form label {
  font-weight: 600;
  margin-top: 16px;
  display: block;
}

.vendor-register-form input,
.vendor-register-form select,
.vendor-register-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

label:has(+ input[required]),
label:has(+ select[required]),
label:has(+ textarea[required]) {
  position: relative;
}

label:has(+ input[required])::after,
label:has(+ select[required])::after,
label:has(+ textarea[required])::after {
  content: " *";
  color: red;
}

.vendor-register-form button {
  background: #000;
  color: #fff;
  padding: 14px;
  margin-top: 24px;
  width: 100%;
  border-radius: 6px;
}

/* TERMS & CONDITIONS MODAL */
.tnc-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  display: none;
  z-index: 99999;

  /* iOS fixes */
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.tnc-content {
  background: #fff;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  margin: 5vh auto;
  padding: 20px;
  border-radius: 8px;

  display: flex;
  flex-direction: column;
}

.tnc-scroll {
  overflow-y: auto;
  max-height: 50vh;
  padding: 15px;
  border: 1px solid #ddd;

  /* REQUIRED for iOS scrolling */
  -webkit-overflow-scrolling: touch;
}

.tnc-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
