.rental-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid #292e3a;
  border-radius: 14px;
  background: #0c0e14;
}

.rental-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #8f97a6;
  transition: .2s ease;
}

.rental-tab:hover {
  color: #d9dce4;
  background: #151821;
}

.rental-tab.active {
  border-color: rgba(139, 108, 255, .42);
  background: linear-gradient(135deg, rgba(139, 108, 255, .2), rgba(139, 108, 255, .08));
  color: #eeeaff;
}

.rental-tab.low-priority-tab.active {
  border-color: rgba(255, 185, 92, .38);
  background: linear-gradient(135deg, rgba(255, 185, 92, .16), rgba(255, 185, 92, .06));
  color: #ffe1b2;
}

.rental-tab span {
  font-weight: 700;
  font-size: 14px;
}

.rental-tab small {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #303543;
  border-radius: 999px;
  background: #141720;
  color: #aeb5c2;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.catalog-count {
  color: #858d9c;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.product-badges {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.rental-type-badge {
  display: inline-flex;
  border: 1px solid rgba(98, 168, 255, .25);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(98, 168, 255, .08);
  color: #96c3ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rental-type-badge.low-priority {
  border-color: rgba(255, 185, 92, .28);
  background: rgba(255, 185, 92, .08);
  color: #ffd08a;
}

.catalog-card.interruptible-card {
  border-color: rgba(255, 185, 92, .19);
}

.catalog-gpu .interruptible-explainer {
  max-width: 520px;
  margin-top: 8px;
  color: #a99d8a;
  line-height: 1.55;
}

@media (max-width: 800px) {
  .rental-tabs {
    grid-template-columns: 1fr;
  }

  .catalog-count {
    order: 3;
    width: 100%;
  }
}
