.bacs-pro-rating-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.bacs-pro-rating-table th {
  text-align: left;
  padding: 4px 8px;
  color: #6c757d;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  border-bottom: 1px solid #e9ecef;
}

.bacs-rating-block-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 10px;
}

.bacs-pro-rating-table th:last-child {
  text-align: right !important;
}


.bacs-pro-rating-table td {
  padding: 6px 8px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f3f5;
}

.bacs-rank-cell {
  width: 40px;
  text-align: center;
}

.bacs-user-cell a {
  font-weight: 500;
  color: #212529;
  text-decoration: none;
  font-size: 14px;
}

.bacs-rating-cell {
  text-align: right;
}

.bacs-rating-value {
  font-size: 1em;
  font-weight: 600;
}

.bacs-rating-topline {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 0;
}

.bacs-tier-label {
  font-size: 10px;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  line-height: 1;
}

.bacs-tier-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  opacity: 0.8;
  margin: 0;
  padding: 0;
}

.bacs-medal-icon {
  margin: 0;
  padding: 0;
}

.bacs-medal-icon img {
  width: 22px;
  height: 22px;
}

.separator-row td {
  padding: 2px 0 !important;
  text-align: center;
  color: #adb5bd;
  line-height: 1;
  font-size: 14px;
  letter-spacing: 2px;
}

.current-user-row {
  background-color: rgba(0, 123, 255, 0.05);
}

.bacs-rating-filters {
  display: flex;
  margin-bottom: 8px;
  gap: 4px;
}

.bacs-rating-filter-btn {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 4px;
  cursor: pointer;
  color: #495057;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
    color 0.15s ease-in-out;
}

.bacs-rating-filter-btn:hover {
  background-color: #e9ecef;
}

.bacs-rating-filter-btn.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
  cursor: default;
}

.bacs-rating-block-title {
  margin: 0 !important;
}

.bacs-rating-filter-container .dropdown-toggle {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
}

.bacs-rating-filter-container .dropdown-menu {
  min-width: auto;
  font-size: 12px;
}

.bacs-pro-rating-table .text-center {
  text-align: center !important;
}
