/* Усечение длинных названий */
.text-truncate {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* Когда строка обесцвечена через text-muted на li */
.list-group-item.text-muted {
    color: #b0b0b0 !important;
}
.list-group-item.text-muted a {
    color: inherit !important;
}
.list-group-item.text-muted small {
    color: inherit !important;
}
/* Hover‑эффект */
.clickable-row {
    cursor: pointer;
}
.clickable-row:hover {
    background-color: #f8f9fa;
}

.list-group-item:hover {
    background-color: #e8e9ea !important;
    transition: background-color 0.15s;
}



.league-info p {
  font-size: 1.2rem;
  font-weight: bold;
}

.online {
  color: green;
  font-weight: bold;
}

.offline {
  color: blue;
}

.no-location {
  color: gray;
}

/* Делаем пагинатор компактным и визуально вторичным относительно списка игр. */
.league-pagination {
  gap: 0.25rem;
  flex-wrap: wrap;
}

.league-pagination .page-link {
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #d5d9de;
  color: #245a9a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.league-pagination .page-item.active .page-link {
  background-color: #245a9a;
  border-color: #245a9a;
  color: #fff;
}

.league-pagination .page-item.disabled .page-link {
  color: #9aa3ad;
  border-color: #e1e5ea;
  background-color: #f8f9fb;
}

.league-pagination .page-item:not(.active):not(.disabled) .page-link:hover {
  background-color: #eef4ff;
  border-color: #b8cbeb;
  color: #1d4d86;
}
