/* BindFast supplements on top of IU src/output.css */

.bf-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(17, 24, 39, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.bf-modal-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 32rem;
  padding: 1.5rem 1.5rem 1.25rem;
  max-height: min(90vh, 40rem);
  overflow-y: auto;
}
.bf-choice {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: left;
  width: 100%;
  background: #fff;
}
.bf-choice:hover {
  border-color: #004192;
  background: #f8fafc;
}
.bf-choice.is-selected {
  border-color: #004192;
  box-shadow: 0 0 0 1px #004192;
  background: #e8f0fe;
}
.bf-link-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.75rem;
  word-break: break-all;
  font-size: 0.875rem;
  color: #004192;
  font-weight: 600;
}

.list-item {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0;
}
.list-item a {
  color: #004192;
  font-weight: 600;
}
.list-item a:hover {
  text-decoration: underline;
}
.muted {
  color: #6b7280;
  font-size: 0.875rem;
}
.pill {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #e8f0fe;
  color: #004192;
}
.meter {
  height: 10px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin: 0.35rem 0;
}
.meter > span {
  display: block;
  height: 100%;
  background: #004192;
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.compare-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}
.compare-card.recommended {
  border-color: #fe5000;
  box-shadow: 0 0 0 1px #fe5000;
}
.compare-card.recommended::before {
  content: "Recommended";
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  background: #fe5000;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}
.drop {
  border: 2px dashed #004192;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: background 0.15s;
}
.drop:hover,
.drop.drag {
  background: #e8f0fe;
}
.suggested {
  outline: 1px dashed #fe5000;
  background: #fff7ed;
}
.tab-btn.is-active {
  background-color: #004192 !important;
  color: #fff !important;
}
#linkOut a {
  color: #004192;
  font-weight: 600;
  word-break: break-all;
}
