/* Modal: Credit Selection - "Descubre el crédito ideal para ti" */

#creditSelectionModal .modal-dialog {
  max-width: 920px;
}

.credit-selection-modal {
  background-color: #f8fbfc;
  backdrop-filter: blur(3.5px);
}

.credit-selection-modal__title {
  font-size: 24px;
  color: #002b4b;
  line-height: 1;
}

/* Cards */
.credit-selection-modal__card {
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
}

.credit-selection-modal__card-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.credit-selection-modal__card-title {
  font-size: 18px;
  color: #002b4b;
  line-height: 1;
}

.credit-selection-modal__card-desc {
  font-size: 14px;
  color: #002b4b;
  line-height: 1.4;
}

/* App logos: grid de 5 columnas iguales para que nunca se superpongan */
.credit-selection-modal__logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  align-items: center;
  min-height: 2rem;
  width: 100%;
}

.credit-selection-modal__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

/* SVG: forzar tamaño dentro de la celda (sobrescribe width/height del archivo SVG) */
.credit-selection-modal__logo svg {
  height: 1.75rem !important;
  width: auto !important;
  max-width: 100%;
  opacity: 0.7;
  display: block;
}

/* Tags / pills */
.credit-selection-modal__tag {
  font-size: 12px;
  color: #002b4b;
  background-color: #e3f0f3;
  line-height: 1;
  white-space: nowrap;
}

/* Buttons */
.credit-selection-modal__btn {
  background-color: #4fa4b5;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.credit-selection-modal__btn:hover {
  background-color: #3d8d9d;
  color: #fff;
}

.credit-selection-modal__btn--retail {
  background-color: #5dadbd;
}

.credit-selection-modal__btn--retail:hover {
  background-color: #4a9aaa;
}

/* Responsive */
@media (max-width: 767.98px) {
  #creditSelectionModal .modal-dialog {
    max-width: 95%;
    margin: 1rem auto;
  }

  .credit-selection-modal__card-img {
    height: 140px;
  }

  .credit-selection-modal__title {
    font-size: 20px;
  }
}
