.eligibility-page {
  color: #0f172a;
}

.partner-card {
  box-shadow: 0 16px 40px -36px rgba(15, 23, 42, 0.55);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.partner-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 196, 126, 0.35);
  box-shadow: 0 22px 44px -34px rgba(5, 150, 105, 0.28);
}

.eligibility-table thead th {
  background: #f8fafc;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
}

.eligibility-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.2s ease;
}

.eligibility-table tbody tr:hover {
  background: rgba(248, 250, 252, 0.9);
}

.table-logo-wrap {
  width: 290px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.table-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 260px;
  max-height: 74px;
  object-fit: contain;
}

.table-logo--auxilo {
  max-height: 82px;
}

.table-logo--avanse {
  max-height: 78px;
}

.table-logo--axis {
  max-height: 70px;
}

.table-logo--credila {
  max-height: 82px;
}

.table-logo--icici {
  max-height: 68px;
}

.table-logo--incred {
  max-height: 74px;
}

.table-logo--leap {
  max-height: 62px;
}

.table-logo--mpower {
  max-height: 58px;
}

.table-logo--prodigy {
  max-height: 64px;
}

.progress-pill {
  width: 2.2rem;
  height: 0.45rem;
  border-radius: 9999px;
  display: inline-block;
}

.option-card {
  position: relative;
  overflow: hidden;
  transition:
    all 0.2s ease,
    box-shadow 0.2s ease;
}

.option-card:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.option-card.is-selected {
  border-color: #2b2b2b;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.option-card.is-selected::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: #1f1f1f;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.loan-card.is-selected {
  border-color: #2b2b2b;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.loan-card.is-selected::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: #1f1f1f;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

#eligibilityFinalForm input:focus {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08);
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

@media (min-width: 640px) {
  .progress-pill {
    width: 3rem;
  }
}

@media (min-width: 1024px) {
  .progress-pill {
    width: 4rem;
  }
}

@media (max-width: 1023px) {
  #countryGrid,
  #universityGrid {
    max-height: 260px;
  }
}

@media (max-width: 639px) {
  .table-logo-wrap {
    width: 180px;
    height: 80px;
  }

  .table-logo {
    max-width: 160px;
    max-height: 48px;
  }

  #eligibilityModal .step-pill {
    width: 1.9rem;
  }
}
