/* ===== SHARED CSS - Elevate Loan Hub ===== */
:root {
  --primary: #FF6B00;
  --primary-light: #FF8C3A;
  --green: #25D366;
  --dark-blue: #0A1F44;
  --mid-blue: #1A3A6E;
  --light-bg: #F5F7FF;
  --border: #E5E7EB;
  --text-muted: #6B7280;
  --text-dark: #1A1A2E;
}

* { box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: var(--text-dark); overflow-x: hidden; margin: 0; }


/* ===== BREADCRUMB ===== */
.breadcrumb-wrap {
  padding: 10px 0;
}
.breadcrumb {
  font-size: 12px;
  margin: 0;
  background: none;
  padding: 0;
}
.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
}
.breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 6px;
}
.section-divider {
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0 auto 30px;
}

/* ===== LOAN PAGE HERO (shared across all loan pages) ===== */
.hero-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark-blue);
  line-height: 1.25;
  margin-bottom: 10px;
}
.hero-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
.check-list li {
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-list li i {
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

/* ===== ELIGIBILITY CARD (right side of loan heroes) ===== */
/*.elig-card {*/
/*  background: #fff;*/
/*  border-radius: 14px;*/
/*  box-shadow: 0 6px 28px rgba(0,0,0,0.12);*/
/*  padding: 20px 18px;*/
/*  max-width: 240px;*/
/*}*/
/*.elig-card h6 {*/
/*  font-size: 15px;*/
/*  font-weight: 700;*/
/*  color: var(--dark-blue);*/
/*  margin-bottom: 4px;*/
/*}*/
/*.elig-timer {*/
/*  font-size: 11px;*/
/*  color: var(--text-muted);*/
/*  margin-bottom: 14px;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  gap: 4px;*/
/*}*/
/*.elig-card .form-control,*/
/*.elig-card .form-select {*/
/*  font-size: 12px;*/
/*  border: 1.5px solid var(--border);*/
/*  border-radius: 8px;*/
/*  padding: 8px 10px;*/
/*  margin-bottom: 10px;*/
/*  font-family: 'Poppins', sans-serif;*/
/*  color: var(--text-dark);*/
/*}*/
/*.elig-card .form-control:focus,*/
/*.elig-card .form-select:focus {*/
/*  border-color: var(--primary);*/
/*  box-shadow: 0 0 0 3px rgba(255,107,0,0.1);*/
/*  outline: none;*/
/*}*/
/*.btn-check {*/
/*  background: var(--primary);*/
/*  color: #fff;*/
/*  border: none;*/
/*  border-radius: 8px;*/
/*  width: 100%;*/
/*  padding: 10px;*/
/*  font-size: 13px;*/
/*  font-weight: 700;*/
/*  font-family: 'Poppins', sans-serif;*/
/*  cursor: pointer;*/
/*  margin-bottom: 10px;*/
/*}*/
/*.btn-check:hover { background: var(--primary-light); }*/
/*.secure-text {*/
/*  font-size: 11px;*/
/*  color: var(--text-muted);*/
/*  text-align: center;*/
/*  margin: 0;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  gap: 4px;*/
/*}*/
/*.secure-text i { color: #25A85A; }*/

 .elig-card {
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 6px 28px rgba(0,0,0,0.12);
      max-width: 260px;
      width: 100%;
      overflow: hidden; /* clips the dark blue header to card radius */
    }

    /* ── Dark Blue Header ── */
    .elig-card-header {
      background: #072A5A;
      padding: 18px 18px 16px;
    }

    .elig-card-header h6 {
      font-size: 15px;
      font-weight: 700;
      color: #FFFFFF;
      margin-bottom: 5px;
    }

    .elig-timer {
      font-size: 11px;
      color: #D9D9D9;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .elig-timer .green-txt {
      color: #3FD06F;
      font-weight: 600;
    }

    .elig-timer i { color: #3FD06F; }

    /* ── White Form Body ── */
    .elig-card-body {
      padding: 16px 18px 18px;
    }

    .elig-card-body .form-control,
    .elig-card-body .form-select {
      width: 100%;
      font-size: 12px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      padding: 8px 10px;
      margin-bottom: 10px;
      font-family: 'Poppins', sans-serif;
      color: var(--text-dark);
      background: #fff;
      outline: none;
      appearance: none;
      -webkit-appearance: none;
    }

    .elig-card-body .form-select {
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
      background-color: #fff;
      color: var(--text-muted);
    }

    .elig-card-body .form-control::placeholder { color: var(--text-muted); }

    .elig-card-body .form-control:focus,
    .elig-card-body .form-select:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
    }

    /* ── Error messages ── */
    .elig-field-err {
      display: none;
      font-size: 11px;
      color: #ef4444;
      margin-top: -6px;
      margin-bottom: 8px;
      background: rgba(239,68,68,0.07);
      border: 1px solid rgba(239,68,68,0.2);
      border-radius: 7px;
      padding: 6px 10px;
    }

    #eligGlobalError {
      display: none;
      font-size: 12px;
      color: #ef4444;
      margin-bottom: 10px;
      background: rgba(239,68,68,0.07);
      border: 1px solid rgba(239,68,68,0.2);
      border-radius: 8px;
      padding: 8px 12px;
    }

    /* ── Submit Button ── */
    .btn-check {
      background: var(--primary);
      color: #fff;
      border: none;
      border-radius: 8px;
      width: 100%;
      padding: 10px;
      font-size: 13px;
      font-weight: 700;
      font-family: 'Poppins', sans-serif;
      cursor: pointer;
      margin-bottom: 10px;
      transition: background 0.2s;
    }

    .btn-check:hover { background: var(--primary-light); }

    /* ── Secure Text ── */
    .secure-text {
      font-size: 11px;
      color: var(--text-muted);
      text-align: center;
      margin: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
    }

    .secure-text i { color: #25A85A; }

/* ===== FEATURES SECTION (below hero on loan pages) ===== */
.features-section {
  background: #fff;
  padding: 44px 0;
}
.feature-box {
  background: #F8F9FA;
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
  height: 100%;
  border: 1px solid #EAECEF;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 22px;
  color: var(--dark-blue);
  background: #fff;
}
.feature-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-blue);
  line-height: 1.3;
}
.feature-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.feature-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark-blue);
  line-height: 1.4;
  margin-top: 2px;
}

.btn-check-submit {
    background: #FF6B00;;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 100%;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    margin-bottom: 10px;
}

/* ===== HERO: MOBILE ===== */
@media (max-width: 767.98px) {
  .hero-img-col img {
    max-height: 220px;
    object-fit: cover;
    border-radius: 10px;
  }

  .elig-card {
    max-width: 100% !important;
    margin: 0 !important;
  }
}

/* ===== HERO: TABLET ===== */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section { padding: 40px 0; }

  .hero-img-col img {
    max-height: 360px;
    min-height: 260px;
    object-fit: cover;
    border-radius: 14px;
  }

  .elig-card {
    max-width: 100% !important;
    margin: 0 !important;
  }
}