.fcu-finder,
.fcu-finder * {
  box-sizing: border-box;
}

.fcu-finder {
  --blue: #0d6efd;
  --blue-dark: #0b5ed7;
  --text: #0f172a;
  --muted: #64748b;
  --border: #cbd5e1;
  max-width: 1000px;
  margin: 16px auto 30px;
  padding: 14px 10px 28px;
  background: #fff;
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.fcu-finder-brand {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1459c7;
  font-size: 11px;
  font-weight: 800;
}

.fcu-finder-head {
  text-align: center;
  margin-bottom: 20px;
}

.fcu-finder-head h2 {
  margin: 0 0 6px;
  color: #0d6efd;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 800;
}

.fcu-finder-head p {
  margin: 0;
  color: #555;
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 500;
}

.fcu-finder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fcu-credit-list {
  grid-template-columns: 1fr;
}

.fcu-result-disclaimer,
.fcu-finder-note {
  font-size: 11px;
  line-height: 1.55;
  border-radius: 6px;
}

.fcu-result-disclaimer {
  margin: 14px 0;
  background: #fff8e1;
  color: #5d4037;
  border: 1px solid #b6d3fc;
  padding: 11px 13px;
}

.fcu-finder-note {
  margin-top: 25px;
  padding: 12px 14px;
  background: #fff9e6;
  border-left: 4px solid #d4af37;
  color: #666;
}

.fcu-public-empty,
.fcu-no-filter-results {
  padding: 28px 18px;
  text-align: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
}

.fcu-no-filter-results {
  display: none;
  margin-top: 15px;
}

/* Personal loan: original Finco Tools visual language */
.fcu-personal-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .04);
}

.fcu-personal-controls label,
.fcu-cc-controls label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fcu-personal-controls label span,
.fcu-cc-controls label span {
  font-size: 12px;
  font-weight: 700;
  color: #34495e;
}

.fcu-personal-controls small {
  font-weight: 500;
  color: #64748b;
}

.fcu-personal-controls input,
.fcu-cc-controls select {
  width: 100%;
  min-height: 45px;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  outline: none;
}

.fcu-personal-controls input:focus,
.fcu-cc-controls select:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 3px rgba(0, 86, 179, .12);
}

.fcu-find-btn {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 47px;
  border: 0;
  border-radius: 8px;
  background: #0d6efd;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.fcu-find-btn:hover {
  background: #0b5ed7;
}

.fcu-loan-card {
  background: #fff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .03);
  transition: .2s;
}

.fcu-loan-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
}

.fcu-loan-card.fcu-highlight-sponsored {
  border-color: #f59e0b;
}

.fcu-card-bank-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #cbd5e1;
}

.fcu-badge-sponsored {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 5px;
  white-space: nowrap;
}

.fcu-personal-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fcu-card-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 5px 0;
  color: #475569;
  font-size: 12px;
}

.fcu-card-row strong {
  color: #0f172a;
}

.fcu-emi-highlight {
  margin: 2px 0;
  padding: 9px 10px;
  background: #eff6ff;
  border-radius: 7px;
  color: #1d4ed8;
}

.fcu-card-apply-btn {
  margin-top: 14px;
  display: block;
  width: 100%;
  padding: 10px 14px;
  border-radius: 7px;
  background: #059669;
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
}

.fcu-card-apply-btn:hover {
  background: #047857;
}

/* Gold loan: cards / compare inspired directly by original */
.fcu-finder-gold-loan {
  --gold: #d4af37;
  --gold-dark: #a2790d;
  --gold-bg: #fffdf2;
}

.fcu-finder-gold-loan .fcu-finder-head h2 {
  color: #a2790d;
}

.fcu-gold-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
  transition: .25s;
}

.fcu-gold-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
  border-color: #d4af37;
}

.fcu-gold-sponsored {
  border: 2px solid #e67e22;
  background: #fffdfa;
}

.fcu-gold-card > .fcu-badge-sponsored {
  position: absolute;
  top: -10px;
  right: 18px;
  background: #e67e22;
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 4px 12px;
}

.fcu-gold-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.fcu-gold-header h3 {
  margin: 0;
  font-size: 18px;
  color: #1a252f;
}

.fcu-compare-checkbox {
  font-size: 11px;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  background: #f0f4f8;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid #d0d7de;
  white-space: nowrap;
}

.fcu-compare-checkbox.is-selected {
  background: #fffdf0;
  border-color: #d4af37;
  color: #a2790d;
}

.fcu-gold-body,
.fcu-home-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 15px;
  text-align: center;
}

.fcu-info-box {
  background: #f8f9fa;
  padding: 8px 6px;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 62px;
}

.fcu-info-box > span {
  font-size: 11px;
  color: #6c757d;
  margin-bottom: 4px;
  font-weight: 500;
}

.fcu-info-box > strong {
  font-size: 13px;
  font-weight: bold;
  color: #a2790d;
}

.fcu-gold-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.fcu-toggle-details {
  background: transparent;
  border: 1px solid #a2790d;
  color: #a2790d;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.fcu-gold-apply {
  background: linear-gradient(135deg, #d4af37, #f7e08b, #a2790d);
  color: #000 !important;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: bold;
  font-size: 13px;
  text-align: center;
}

.fcu-details-content,
.fcu-cc-accordion {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #ccc;
  font-size: 12px;
  color: #444;
}

.fcu-details-content.is-open,
.fcu-cc-accordion.is-open {
  display: block;
}

.fcu-details-content p {
  margin: 0 0 7px;
}

.fcu-details-list {
  list-style: none;
  padding: 0;
  margin: 7px 0 0;
}

.fcu-details-list li {
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}

.fcu-details-list li:before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

.fcu-show-more-wrap {
  text-align: center;
  margin-top: 22px;
}

.fcu-show-more {
  background: #fff;
  border: 2px solid #0d6efd;
  color: #0d6efd;
  padding: 10px 28px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

.fcu-finder-gold-loan .fcu-show-more {
  border-color: #a2790d;
  color: #a2790d;
}

.fcu-floating-compare {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a252f;
  padding: 8px 16px;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  z-index: 999;
  border: 1px solid #d4af37;
}

.fcu-floating-compare.is-visible {
  display: block;
}

.fcu-open-compare {
  background: linear-gradient(135deg, #d4af37, #f7e08b, #a2790d);
  color: #000;
  border: 0;
  padding: 10px 24px;
  min-width: 150px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
}

.fcu-open-compare:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.fcu-compare-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.fcu-compare-modal.is-open {
  display: flex;
}

.fcu-compare-card {
  background: #fff;
  width: 92%;
  max-width: 650px;
  max-height: 85vh;
  overflow: auto;
  border-radius: 12px;
  padding: 20px 15px;
  position: relative;
  border: 2px solid #d4af37;
}

.fcu-close-compare {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 26px;
  cursor: pointer;
}

.fcu-compare-card h3 {
  text-align: center;
  color: #a2790d;
  margin: 0 0 15px;
}

.fcu-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  table-layout: fixed;
}

.fcu-compare-table th,
.fcu-compare-table td {
  border: 1px solid #e0e0e0;
  padding: 8px 5px;
  text-align: center;
  word-wrap: break-word;
}

.fcu-compare-table th {
  background: #fffdf2;
  color: #a2790d;
}

/* Home loan uses same light card rhythm, blue accent */
.fcu-home-card {
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
  display: flex;
  flex-direction: column;
}

.fcu-home-card.fcu-highlight-sponsored {
  border-color: #f59e0b;
}

.fcu-home-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 13px;
}

.fcu-home-header h3 {
  margin: 0;
  font-size: 17px;
  color: #1a2b4c;
}

.fcu-home-card .fcu-info-box > strong {
  color: #0d6efd;
}

.fcu-home-apply {
  display: block;
  margin-top: auto;
  background: #0d6efd;
  color: #fff !important;
  padding: 10px 14px;
  border-radius: 7px;
  text-align: center;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
}

/* Credit card: original Finco Tools card composition */
.fcu-cc-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.fcu-cc-card {
  position: relative;
  border: .5px solid #82b4ff;
  border-radius: 8px;
  padding: 14px 10px 10px;
  margin: 18px 0 15px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  transition: .2s;
}

.fcu-cc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.fcu-cc-sponsored {
  border: 1px solid #f59e0b;
  background: #fffdf7;
}

.fcu-cc-card > .fcu-badge-sponsored {
  position: absolute;
  top: -9px;
  left: 12px;
  z-index: 2;
}

.fcu-cc-layout {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fcu-cc-img {
  width: 210px;
  height: 130px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f8fafc;
  border-radius: 8px;
}

.fcu-cc-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.fcu-cc-info {
  flex: 1;
  padding-left: 10px;
}

.fcu-cc-info h3 {
  font-size: 15px;
  color: #1a2b4c;
  font-weight: 600;
  margin: 0 0 4px;
}

.fcu-cc-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 3px 0 8px;
  font-size: 10px;
  color: #64748b;
}

.fcu-divider {
  color: #cbd5e1;
}

.fcu-cc-fee-bar {
  background: #f8fafc;
  padding: 10px;
  border-radius: 6px;
  font-size: 10px;
  color: #64748b;
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
  row-gap: 6px;
  border: 1px solid #f1f5f9;
}

.fcu-cc-fee-bar strong {
  color: #334155;
}

.fcu-cc-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.fcu-cc-details-btn {
  background: transparent;
  border: 1px solid #0056b3;
  color: #0056b3;
  padding: 9px 16px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

.fcu-cc-apply {
  background: #27ae60;
  color: #fff !important;
  text-decoration: none !important;
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
}

.fcu-cc-accordion {
  padding: 15px;
  background: #f8fafc;
  border-left: 1px solid #2563eb;
  border-radius: 6px;
}

.fcu-accordion-section {
  margin-bottom: 12px;
}

.fcu-accordion-section h5 {
  margin: 0 0 4px;
  font-size: 12px;
  color: #1e293b;
}

.fcu-accordion-section p {
  margin: 0;
  padding-left: 10px;
  font-size: 10px;
  color: #475569;
  line-height: 1.6;
}

.fcu-is-hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .fcu-finder {
    padding: 10px 6px 24px;
  }

  .fcu-finder-grid {
    grid-template-columns: 1fr;
  }

  .fcu-personal-controls,
  .fcu-cc-controls {
    grid-template-columns: 1fr;
  }

  .fcu-finder-head h2 {
    font-size: 20px;
  }

  .fcu-gold-body,
  .fcu-home-body {
    grid-template-columns: repeat(2, 1fr);
  }

  .fcu-cc-layout {
    flex-direction: column;
    align-items: center;
  }

  .fcu-cc-info {
    padding-left: 0;
    width: 100%;
  }

  .fcu-cc-img {
    width: 100%;
    max-width: 280px;
    height: 160px;
  }

  .fcu-cc-info h3 {
    text-align: center;
  }

  .fcu-cc-meta {
    justify-content: center;
  }

  .fcu-cc-actions {
    flex-direction: column;
    width: 100%;
  }

  .fcu-cc-apply,
  .fcu-cc-details-btn {
    width: 100%;
    text-align: center;
  }

  .fcu-card-row {
    font-size: 11.5px;
  }
}

/* Credit Card Finder v2: compact filtered results */
.fcu-finder-credit-card .fcu-credit-results-note {
  display: none;
}

.fcu-finder-credit-card .fcu-credit-list {
  grid-template-columns: 1fr;
  gap: 0;
}

.fcu-finder-credit-card .fcu-cc-card {
  margin: 12px 0;
  border: 1px solid #d8e6f8;
  border-radius: 10px;
  padding: 13px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .05);
  transform: none;
}

.fcu-finder-credit-card .fcu-cc-card:hover {
  transform: none;
  box-shadow: 0 3px 11px rgba(15, 23, 42, .07);
}

.fcu-finder-credit-card .fcu-cc-sponsored {
  border-color: #f2b84b;
  background: #fffdf8;
}

.fcu-finder-credit-card .fcu-badge-sponsored {
  position: absolute;
  top: -10px;
  left: 12px;
  background: #fff1c2;
  color: #8a5b00;
  border: 1px solid #efc25f;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.fcu-finder-credit-card .fcu-cc-layout {
  align-items: center;
  gap: 16px;
}

.fcu-finder-credit-card .fcu-cc-img {
  width: 190px;
  height: 118px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.fcu-finder-credit-card .fcu-cc-info {
  padding-left: 0;
}

.fcu-finder-credit-card .fcu-cc-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.fcu-finder-credit-card .fcu-cc-meta {
  font-size: 11px;
  margin-bottom: 5px;
}

.fcu-finder-credit-card .fcu-cc-fee-bar {
  margin: 0 0 9px;
  padding: 8px 10px;
  font-size: 11px;
  column-gap: 22px;
}

.fcu-finder-credit-card .fcu-cc-actions {
  justify-content: flex-start;
  gap: 9px;
}

.fcu-finder-credit-card .fcu-cc-details-btn,
.fcu-finder-credit-card .fcu-cc-apply {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 11px;
  border-radius: 7px;
}

.fcu-finder-credit-card .fcu-cc-apply {
  background: #0d6efd;
}

.fcu-finder-credit-card .fcu-cc-accordion {
  margin-top: 12px;
  padding: 13px 14px;
  background: #f8fbff;
  border: 1px solid #dce9f8;
  border-left: 3px solid #2563eb;
  border-radius: 8px;
}

.fcu-finder-credit-card .fcu-cc-accordion[hidden] {
  display: none !important;
}

.fcu-finder-credit-card .fcu-accordion-section:last-child {
  margin-bottom: 0;
}

.fcu-finder-credit-card .fcu-accordion-section h5 {
  font-size: 12px;
  color: #123b69;
  margin: 0 0 5px;
}

.fcu-finder-credit-card .fcu-accordion-section p,
.fcu-finder-credit-card .fcu-details-list {
  font-size: 11px;
  line-height: 1.65;
  color: #475569;
}

.fcu-finder-credit-card .fcu-show-more {
  min-width: 190px;
}

@media (max-width: 768px) {
  .fcu-finder-credit-card .fcu-cc-layout {
    gap: 9px;
    align-items: stretch;
  }

  .fcu-finder-credit-card .fcu-cc-img {
    width: 100%;
    max-width: 220px;
    height: 135px;
    margin: 0 auto;
  }

  .fcu-finder-credit-card .fcu-cc-info h3 {
    font-size: 15px;
  }

  .fcu-finder-credit-card .fcu-cc-fee-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-size: 10px;
  }

  .fcu-finder-credit-card .fcu-cc-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .fcu-finder-credit-card .fcu-cc-details-btn,
  .fcu-finder-credit-card .fcu-cc-apply {
    width: 100%;
    padding: 8px 7px;
    text-align: center;
  }
}

/* Credit Card: key benefits stay visible for first impression */
.fcu-finder-credit-card .fcu-cc-main-features {
  margin: 5px 0 9px;
  padding: 8px 10px;
  background: #f8fbff;
  border: 1px solid #e3edf9;
  border-radius: 7px;
}

.fcu-finder-credit-card .fcu-cc-main-features > strong {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  color: #123b69;
}

.fcu-finder-credit-card .fcu-cc-main-features .fcu-details-list {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.45;
  color: #475569;
}

.fcu-finder-credit-card .fcu-cc-main-features .fcu-details-list li {
  margin-bottom: 4px;
}

.fcu-finder-credit-card .fcu-cc-main-features .fcu-details-list li:last-child {
  margin-bottom: 0;
}

/* Gold Loan Finder refinements */
.fcu-finder-gold-loan .fcu-finder-grid {
  align-items: stretch;
}

.fcu-finder-gold-loan .fcu-gold-card {
  height: 100%;
}

.fcu-gold-other-info {
  margin-top: 10px;
  padding: 10px 11px;
  background: #fff8dc;
  border: 1px solid #ead58a;
  border-radius: 8px;
  line-height: 1.55;
  color: #51451f;
}

.fcu-gold-other-info strong {
  color: #8a6810;
}

.fcu-finder-gold-loan .fcu-floating-compare {
  z-index: 99999;
  bottom: 18px;
  padding: 9px 14px;
}

.fcu-finder-gold-loan .fcu-floating-compare:not(.is-visible) {
  display: none !important;
}

.fcu-finder-gold-loan .fcu-floating-compare.is-visible {
  display: block !important;
}

.fcu-finder-gold-loan .fcu-open-compare {
  min-width: 210px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .fcu-finder-gold-loan .fcu-floating-compare {
    bottom: 10px;
    width: calc(100% - 24px);
    max-width: 360px;
  }

  .fcu-finder-gold-loan .fcu-open-compare {
    width: 100%;
  }
}

/* Personal Loan Finder: search-first results and estimated EMI */
.fcu-finder-personal-loan .fcu-personal-results-note {
  display: none;
}

.fcu-finder-personal-loan .fcu-show-more {
  min-width: 210px;
}

.fcu-finder-personal-loan .fcu-emi-highlight {
  align-items: center;
  border: 1px solid #dbeafe;
  background: #eff6ff;
}

.fcu-finder-personal-loan .fcu-emi-highlight .fcu-pl-emi-label {
  font-weight: 700;
  color: #1e40af;
}

.fcu-finder-personal-loan .fcu-emi-highlight .fcu-pl-emi-value {
  color: #1d4ed8;
  text-align: right;
}

.fcu-finder-personal-loan .fcu-loan-card.fcu-has-estimated-emi .fcu-emi-highlight {
  background: #eaf7ff;
  border-color: #93c5fd;
}

@media (max-width: 768px) {
  .fcu-finder-personal-loan .fcu-personal-controls {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .fcu-finder-personal-loan .fcu-personal-controls label:first-child {
    grid-column: 1 / -1;
  }

  .fcu-finder-personal-loan .fcu-personal-controls .fcu-find-btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .fcu-finder-personal-loan .fcu-personal-controls {
    grid-template-columns: 1fr;
  }

  .fcu-finder-personal-loan .fcu-personal-controls label:first-child,
  .fcu-finder-personal-loan .fcu-personal-controls .fcu-find-btn {
    grid-column: auto;
  }
}

/* v1.4 shared finder comparison and source metadata */
.fcu-card-bank-name,
.fcu-home-header,
.fcu-gold-header,
.fcu-cc-title-row {
  flex-wrap: wrap;
}

.fcu-card-bank-name > span:first-child,
.fcu-home-header h3,
.fcu-gold-header h3,
.fcu-cc-title-row h3 {
  flex: 1 1 150px;
  min-width: 0;
}

.fcu-cc-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.fcu-finder .fcu-compare-checkbox {
  flex: 0 0 auto;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid #b8c8dc;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-size: 10px !important;
  font-weight: 750;
  line-height: 1.2 !important;
}

.fcu-finder .fcu-compare-checkbox input {
  width: 16px;
  height: 16px;
  min-height: 0 !important;
  margin: 0;
  accent-color: #1769ff;
}

.fcu-finder .fcu-compare-checkbox.is-selected {
  border-color: #1769ff;
  background: #eaf2ff;
  color: #0f55d4;
}

.fcu-card-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e5ebf3;
  color: #667085;
  font-size: 10px;
  line-height: 1.35;
}

.fcu-card-source a {
  color: #0f55d4;
  font-weight: 700;
  text-decoration: none;
}

.fcu-card-source a:hover {
  text-decoration: underline;
}

.fcu-card-source time {
  white-space: nowrap;
}

.fcu-finder .fcu-floating-compare {
  z-index: 99999;
  padding: 7px;
  border: 1px solid #1769ff;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 36, 71, .2);
}

.fcu-finder .fcu-open-compare {
  min-width: 190px;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 8px 16px !important;
  border-radius: 22px !important;
  background: #1769ff;
  color: #fff;
  font-size: 13px;
}

.fcu-finder .fcu-open-compare:disabled {
  background: #d7e3f2;
  color: #526174;
  opacity: 1;
}

.fcu-finder .fcu-compare-card {
  width: min(720px, calc(100% - 24px));
  max-width: 720px;
  max-height: 88vh;
  padding: 18px 12px 14px;
  border: 1px solid #1769ff;
  border-radius: 12px;
}

.fcu-finder .fcu-close-compare {
  min-width: 36px;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  color: #344054;
}

.fcu-finder .fcu-compare-card h3 {
  margin: 0 32px 13px;
  color: #0f55d4;
  font-size: 18px;
}

.fcu-finder .fcu-compare-table th {
  background: #eaf2ff;
  color: #0f55d4;
}

.fcu-finder .fcu-compare-table th,
.fcu-finder .fcu-compare-table td {
  padding: 8px 6px;
  border-color: #d9e4f1;
  vertical-align: middle;
}

@media (max-width: 639px) {
  .fcu-finder .fcu-floating-compare {
    bottom: calc(9px + env(safe-area-inset-bottom));
    width: calc(100% - 20px);
    max-width: 360px;
  }

  .fcu-finder .fcu-open-compare {
    width: 100% !important;
  }

  .fcu-card-source {
    align-items: flex-start;
    flex-direction: column;
  }

  .fcu-finder .fcu-compare-table {
    font-size: 11px;
  }

  .fcu-finder .fcu-compare-table th,
  .fcu-finder .fcu-compare-table td {
    padding: 7px 4px;
  }
}
