/* ============================================================
   gem-seller-registration-online.css
   Extracted from gem-seller-signup-registration.php
   ============================================================ */

/* ── Focus states ── */
.form-control:focus {
  border-color: #155724 !important;
  box-shadow: 0 0 0 0.2rem rgba(21, 87, 36, 0.25) !important;
}

.form-check-input:focus {
  border-color: #155724 !important;
  box-shadow: 0 0 0 0.2rem rgba(21, 87, 36, 0.25) !important;
}

/* ── Page heading ── */
#gem-registration h1 {
  font-weight: bold;
  text-align: center;
  padding-bottom: 30px;
  color: #155724;
  word-wrap: break-word;
}

/* ── Card wrapper ── */
#gem-registration .card-outer {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ── Step indicator header ── */
#step-header {
  background: #155724;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 80px;
  margin-bottom: 10px;
}

.step-item span.step-label {
  margin: 0;
  font-weight: 600;
  color: white;
  font-size: 13px;
  text-align: center;
  word-break: break-word;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  color: white;
}

.step-number.active {
  background: #ff8c00;
}

.step-number.inactive {
  background: transparent;
  border: 2px solid white;
}

/* ── Card body ── */
.card-body-form {
  background: #f5f5f5;
}

/* ── Form step wrapper ── */
.form-step {
  background: white;
}

.form-step-inner {
  padding: 30px;
}

/* ── Green section sub-headers ── */
.section-header {
  background: #1a5f2f;
  color: white;
  padding: 12px 20px;
  margin: -30px -30px 20px -30px;
}

.section-header h2,
.section-header h3,
.section-header h4 {
  font-weight: bold;
  margin: 0;
  color: white;
}

.section-header h2 { font-size: 24px; }
.section-header h3 { font-size: 14px; }
.section-header h4 { font-size: 14px; }

/* ── "Required" sub-section header (mid-step) ── */
.section-mid-header {
  background: #1a5f2f;
  color: white;
  padding: 12px 20px;
  margin: 0 -30px 20px -30px;
}

.section-mid-header span {
  font-weight: bold;
  margin: 0;
  color: white;
  font-size: 14px;
}

/* ── Personal / business detail sub-headings ── */
.subsection-title {
  font-weight: 600;
  color: #1a5f2f;
  margin-bottom: 12px;
  font-size: 13px;
}

/* ── Checkboxes ── */
.form-check-custom {
  margin-bottom: 10px;
  padding-left: 24px;
}

.form-check-custom .form-check-input {
  margin-left: -24px;
}

.form-check-custom .form-check-label {
  margin-bottom: 0;
  cursor: pointer;
  font-size: 13px;
  margin-left: 5px;
}

/* ── Why-use-us icons grid ── */
.why-us-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  row-gap: 20px;
}

.why-us-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 140px;
  flex: 0 1 calc(50% - 10px);
}

.why-us-item i {
  color: #ff8c00;
  font-size: 32px;
  margin-bottom: 8px;
}

.why-us-item span {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
}

/* ── Step action bars (green footer of each step) ── */
.step-action-bar {
  background: #1a5f2f;
  padding: 15px 20px;
  margin: 30px -30px -30px -30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.step-action-bar.right {
  justify-content: flex-end;
}

.step-action-bar .link-orange {
  color: #ff8c00;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  flex: 1;
  min-width: 150px;
}

/* ── Buttons ── */
.btn-orange {
padding: 10px 30px!important; background: #ff8c00!important; border: none!important; color: white!important; font-weight: 600!important; font-size: 13px!important; flex: 1!important; min-width: 150px!important
}

.btn-back {
  padding: 10px 30px!important;
  background: #f0f0f0!important;
  border: none!important;
  color: #333!important;
  font-weight: 600!important;
  font-size: 13px!important;
  flex: 1!important;
  min-width: 120px!important;
}

.btn-submit {
  padding: 10px 30px!important;
  background: #28a745!important;
  border: none!important;
  color: white!important;
  font-weight: 600!important;
  font-size: 13px!important;
  flex: 1!important;
  min-width: 120px!important;
}

/* ── Business-type dropdown ── */
.select-org-type {
  height: 42px;
  font-size: 13px;
  border: 1px solid #ddd;
}

/* ── T&C scroll box ── */
.tc-scroll-box {
  border: 1px solid #ddd;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 4px;
  margin-bottom: 20px;
  max-height: 300px;
  overflow-y: auto;
  font-size: 13px;
}

/* ── Form labels ── */
.form-label-bold {
  font-weight: 600;
  font-size: 13px;
}

/* ── "What is GeM" info card ── */
.info-card-header {
  background: #1a5f2f;
  color: white;
  padding: 15px 20px;
}

.info-card-header h3 {
  font-weight: 600;
  color: white;
  margin: 0;
  font-size: 20px;
}

.info-card-body {
  padding: 25px;
}

.info-list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.info-list-item i {
  color: #ff8c00;
  margin-right: 12px;
  margin-top: 3px;
  font-size: 16px;
}

.info-list-item span {
  font-size: 14px;
  color: #555;
}

/* ── Modal ── */
.modal-header-gem {
  background: #1a5f2f;
  color: white;
}

.modal-header-gem h4 {
  font-weight: 600;
}

.modal-header-gem .close {
  color: white;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  #gem-registration .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .card {
    margin-bottom: 15px;
  }

  #step-header {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 12px;
  }

  .step-item {
    flex: 0 1 calc(33.333% - 10px);
    min-width: 120px;
    margin-bottom: 10px;
  }

  .step-item .step-label {
    font-size: 12px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .form-step-inner {
    padding: 20px;
  }

  .section-header {
    margin: -20px -20px 20px -20px;
    padding: 14px 16px;
  }

  .step-action-bar {
    margin: 20px -16px -16px -16px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .step-action-bar .btn-orange,
  .step-action-bar .btn-back,
  .step-action-bar .btn-submit,
  .step-action-bar .link-orange {
    width: 100%;
    margin: 4px 0;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-label-bold,
  .form-check-custom .form-check-label {
    font-size: 13px;
  }

  .form-control {
    font-size: 14px;
    padding: 10px 12px;
  }

  .btn {
    font-size: 13px;
    padding: 10px 14px;
  }

  .why-us-grid {
    gap: 16px;
  }

}

@media (max-width: 768px) {
  #gem-registration h1 {
    font-size: 20px !important;
    padding: 18px 15px 12px;
  }

  #step-header {
    padding: 12px 10px;
  }

  .step-item {
    min-width: 100px;
  }

  .step-number {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .step-item .step-label {
    font-size: 11px;
  }

  .form-step-inner {
    padding: 16px;
  }

  .form-control {
    font-size: 13px;
  }

  .form-label-bold,
  .form-check-custom .form-check-label {
    font-size: 12px;
  }

  .btn {
    font-size: 12px;
    padding: 9px 12px;
  }

  .card-body {
    padding: 16px;
  }

}

      .optional-documents{
    margin-top: 0px;
  }
  #step-desktop-actions{
    display: flex!important;
  }
  #step-mobile-actions{
    display: none!important;
  }

@media (max-width: 576px) {
  #step-header {
    padding: 10px 8px;
  }

  .step-item {
    /* flex: 0 1 100%; */
    max-width: 100%;
    text-align: center;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .step-item .step-label {
    font-size: 10px;
  }

  .form-step-inner {
    padding: 14px;
  }

  .form-label-bold,
  .form-check-custom .form-check-label {
    font-size: 11px;
  }

  .btn {
    font-size: 11px;
    padding: 8px 10px;
  }

  .card-body {
    padding: 14px;
  }
  .optional-documents{
    margin-top: 50px;
  }
  #step-desktop-actions{
    display: none!important;
  }
  #step-mobile-actions{
    display: flex!important;
  }
}