/* TenderPro360 — Browse Tenders card polish.
   Isolated to this page's tender cards; filters, routes and navigation are unaffected. */
.tp-browse-grid { align-items: stretch; }
.tp-browse-card, .tp-browse-card * { box-sizing: border-box; }
.tp-browse-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid #e3e9f2;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(25, 42, 77, .034), 0 12px 30px rgba(25, 42, 77, .022);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tp-browse-card:hover,
.tp-browse-card:focus-within {
  transform: translateY(-3px);
  border-color: #c6d7fa;
  box-shadow: 0 7px 17px rgba(31, 68, 133, .075), 0 20px 38px rgba(31, 68, 133, .04);
}
.tp-browse-card__body { padding: 22px 23px 18px; }
.tp-browse-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
  min-width: 0;
}
.tp-browse-card__type {
  display: inline-flex;
  align-items: center;
  max-width: 72%;
  flex-shrink: 0;
  min-width: 0;
  border: 1px solid #d9e6ff;
  border-radius: 5px;
  background: #ebf2ff;
  color: #2758c7;
  padding: 5px 8px;
  font-size: 11.5px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.tp-browse-card__reference {
  display: block;
  min-width: 0;
  color: #7c879a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .015em;
  line-height: 1.6;
  text-align: right;
  overflow-wrap: anywhere;
}
.tp-browse-card__title {
  margin: 0 0 13px;
  color: #1c2637;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.018em;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.tp-browse-card__meta {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 7px 17px;
  margin-bottom: 15px;
  min-width: 0;
}
.tp-browse-card__meta-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  color: #59697f;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.tp-browse-card__meta-item i,
.tp-browse-card__stat i,
.tp-browse-card__deadline i,
.tp-browse-card__link i { flex: 0 0 auto; display: inline-block; line-height: 1.45; }
.tp-browse-card__meta-item i { color: #8594aa; font-size: 14px; }
.tp-browse-card__keywords {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.tp-browse-card__keyword {
  display: inline-block;
  max-width: 100%;
  border: 1px solid #eff1f5;
  border-radius: 5px;
  padding: 4px 7px;
  background: #f5f7fa;
  color: #556477;
  font-size: 11.5px;
  font-weight: 550;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.tp-browse-card__deadline {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  color: #c04141;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
}
.tp-browse-card__deadline strong { font-weight: 750; }
.tp-browse-card__deadline i { color: #db5151; font-size: 13.5px; }
.tp-browse-card__deadline-remaining { font-weight: 500; }
.tp-browse-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  min-height: 64px;
  margin: 0 23px;
  padding: 13px 0;
  border-top: 1px solid #eef1f6;
}
.tp-browse-card__stats { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; }
.tp-browse-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #718097;
  font-size: 12.5px;
  font-weight: 650;
}
.tp-browse-card__stat i { color: #91a0b5; font-size: 15px; }
.tp-browse-card__stat-label { font-weight: 500; color: #8692a4; }
.tp-browse-card__link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid #285ee6;
  border-radius: 7px;
  padding: 8px 12px;
  background: #2b61e7;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .18s ease, box-shadow .18s ease;
}
.tp-browse-card__link:hover {
  background: #204fce;
  box-shadow: 0 3px 9px rgba(37, 99, 235, .18);
  color: #fff;
}
.tp-browse-card__link:focus-visible { outline: 3px solid rgba(50, 100, 237, .32); outline-offset: 3px; }
.tp-browse-card__link i { font-size: 12px; }
.tp-browse-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 58px 24px;
  border: 1px dashed #d7e0ed;
  border-radius: 12px;
  color: #64748b;
  text-align: center;
  background: #fff;
  font-size: 14px;
}
.tp-browse-empty i { font-size: 28px; color: #7c99d9; }
.tp-browse-empty p { margin: 0; }
@media (max-width: 640px) {
  .tp-browse-card__body { padding: 19px 19px 15px; }
  .tp-browse-card__footer { margin: 0 19px; }
  .tp-browse-card__title { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-browse-card, .tp-browse-card__link { transition: none; }
  .tp-browse-card:hover, .tp-browse-card:focus-within { transform: none; }
}
