/* ==========================================================
   New NearUp vendor registration look.
   Scoped under .VendorRegister (added on BecomeASeller's section),
   restyles the existing step forms without touching their logic.
========================================================== */
.VendorRegister {
  background-color: #fdf6ec;
  /* Semi-transparent gradient on top of the (opaque) illustration */
  background-image:
    linear-gradient(
      180deg,
      rgba(253, 226, 216, 0.9) 0%,
      rgba(255, 244, 239, 0.55) 40%,
      rgba(248, 250, 252, 0) 75%
    ),
    url("/assets/Image/log_in/auth-bg.png");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center bottom;
  background-size: cover, cover;
  background-attachment: fixed;
  min-height: 100vh;
  padding: 24px 0 40px;
  margin-bottom: 0;
}

/* Card */
.VendorRegister .SellerStepMain {
  display: block;
  max-width: 560px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px 22px 26px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* Single column, like the mobile design */
.VendorRegister .SellerStepMain .userForm .row > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Labels & inputs */
.VendorRegister .SellerStepMain .personal-details-form .form-label {
  font-size: 13px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 6px;
}

.VendorRegister .SellerStepMain .personal-details-form .form-control,
.VendorRegister .SellerStepMain .personal-details-form .form-select {
  height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  color: #000000;
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.VendorRegister .SellerStepMain .personal-details-form textarea.form-control {
  height: auto;
}

.VendorRegister .SellerStepMain .personal-details-form .form-control:focus {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.1);
}

.VendorRegister .SellerStepMain .personal-details-form .form-control::placeholder {
  color: #9ca3af;
}

/* File inputs -> "Choose file" box */
.VendorRegister .SellerStepMain .personal-details-form .form-control[type="file"] {
  height: auto;
  padding: 10px 12px;
  color: #6b7280;
  cursor: pointer;
}

.VendorRegister .SellerStepMain .personal-details-form .form-control[type="file"]::file-selector-button {
  border: none;
  background: transparent;
  color: #1e3a8a;
  font-weight: 600;
  padding: 0 12px 0 0;
  margin-right: 10px;
  border-right: 1px solid #e5e7eb;
  cursor: pointer;
}

.VendorRegister .img_input_holder .img_form_field {
  width: 100%;
}

.VendorRegister .img_input_holder .img_form_field::after {
  content: "JPG or PNG · up to 5 MB";
  display: block;
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
}

/* Errors */
.VendorRegister .SellerStepMain .text-danger {
  font-size: 11px;
}

/* Back / Next buttons */
.VendorRegister .SellerStepMain .userForm .apply_now_btn {
  margin-top: 18px;
}

.VendorRegister .SellerStepMain .registerContinueMain {
  display: flex;
  gap: 12px;
}

.VendorRegister .SellerStepMain .userForm .apply_now_btn .tabs-btn,
.VendorRegister .SellerStepMain .userForm .apply_now_btn .back-btn {
  flex: 1;
  max-width: none;
  width: auto;
  height: 44px;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.VendorRegister .SellerStepMain .userForm .apply_now_btn .tabs-btn {
  background: #1e3a8a;
  border: 1px solid #1e3a8a;
  color: #ffffff;
}

.VendorRegister .SellerStepMain .userForm .apply_now_btn .back-btn {
  background: #ffffff;
  border: 1px solid #9ca3af;
  color: #374151;
}

/* OTP step buttons keep auto width */
.VendorRegister .SellerStepMain .userForm .apply_now_btn.otp_btn .tabs-btn {
  flex: none;
  min-width: 140px;
}

@media (min-width: 0px) and (max-width: 485px) {
  .VendorRegister {
    padding: 12px 0 24px;
  }

  .VendorRegister .SellerStepMain {
    padding: 18px 14px 20px;
    border-radius: 14px;
  }

  .VendorRegister .SellerStepMain .personal-details-form .form-label {
    font-size: 12px;
  }

  .VendorRegister .SellerStepMain .personal-details-form .form-control {
    height: 40px;
    font-size: 12px;
  }

  .VendorRegister .SellerStepMain .userForm .apply_now_btn .tabs-btn,
  .VendorRegister .SellerStepMain .userForm .apply_now_btn .back-btn {
    height: 40px;
    font-size: 14px;
  }
}
