.sector-link-manga {
  text-decoration: none;
}

.sector-btn-manga {
  font-size: 1.1em;
  font-weight: 800;
  cursor: pointer;
  color: #111827;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

.sector-btn-manga:hover,
.sector-btn-manga:focus {
  color: #0f172a;
  background-color: #f8fafc;
  border-color: #9ca3af;
}

.sector-btn-manga-date {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.2;
}

.manga-switcher-group {
  gap: 0.4rem;
}

.manga-switcher-dropdown {
  max-width: 360px;
  margin: 0 auto;
}

.manga-switcher-dropdown .form-select {
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  font-weight: 700;
  color: #111827;
  background-color: #ffffff;
}

.manga-switcher-dropdown .form-select:focus {
  border-color: #64748b;
  box-shadow: 0 0 0 0.15rem rgba(100, 116, 139, 0.2);
}

.manga-switch-btn {
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  color: #0f172a;
  font-weight: 700;
}

.manga-switch-btn:hover,
.manga-switch-btn:focus {
  background-color: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.manga-switch-btn-active {
  background-color: #111827;
  border-color: #111827;
  color: #ffffff;
}

.manga-switch-btn-active:hover,
.manga-switch-btn-active:focus {
  background-color: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.table-sector-ranking {
  font-size: 0.89rem;
  width: 100%;
}

.sector-meta-col {
  display: none;
}

#tablaClasificacionSector .col-rank {
  width: 18px;
  min-width: 15px;
  max-width: 22px;
}

#tablaClasificacionSector .sector-rank-cell {
  font-size: 0.85rem;
}

#tablaClasificacionSector .col-bib {
  width: 38px;
  min-width: 38px;
  max-width: 38px;
}

#tablaClasificacionSector .col-competitor {
  width: 130px;
  min-width: 100px;
}

#tablaClasificacionSector .col-team {
  width: 100px;
  min-width: 80px;
}

#tablaClasificacionSector .col-peg {
  width: 50px;
  min-width: 45px;
  max-width: 60px;
}

#tablaClasificacionSector .col-points {
  width: 48px;
  min-width: 38px;
}

#tablaClasificacionSector .col-fish,
#tablaClasificacionSector .col-count {
  width: 55px;
  min-width: 40px;
}

.sector-peg-link {
  font-size: 0.8rem;
  padding: 2px 4px;
}

.mmc-filters-card-header {
  background-color: #339af0 !important;
}

.sector-stats-table {
  font-size: 0.9rem;
}

.sector-matrix-table {
  font-size: 0.85rem;
}

.sector-matrix-species-th {
  min-width: 120px;
}

.sector-matrix-measure-th {
  min-width: 45px;
}

.sector-matrix-total-th {
  min-width: 60px;
}

@media (max-width: 767px) {
  .btn-group .btn {
    font-size: 0.85rem !important;
    padding: 8px 12px !important;
  }

  .manga-switcher-group {
    gap: 0.3rem;
  }

  .manga-switcher-dropdown {
    max-width: 100%;
  }

  #tablaClasificacionSector thead th:nth-child(7),
  #tablaClasificacionSector tbody td:nth-child(7) {
    min-width: 45px !important;
    max-width: 45px !important;
    width: 45px !important;
  }
}

@media (max-width: 480px) {
  .sector-btn-manga {
    font-size: 0.95em !important;
    padding: 6px 12px !important;
  }

  .btn-group .btn {
    font-size: 0.75rem !important;
    padding: 6px 8px !important;
  }
}

@media (min-width: 768px) {
  #tablaClasificacionSector thead th:nth-child(7),
  #tablaClasificacionSector tbody td:nth-child(7) {
    min-width: 80px !important;
    max-width: 110px !important;
    width: 100px !important;
  }
}
