.dataTables_filter {
  display: none;
}

#index-sections {
  font-size: 36px;
}

.mob-container {
  position: relative;
  display: inline-block;
  width: 110px;
  height: 110px;
  text-align: center;
  vertical-align: middle;
}

.mob-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 110px;
  z-index: 1;
}

.mob-image {
  position: absolute;
  width: 70px;
  height: 70px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.mob-info {
  display: none;
  position: relative;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  z-index: 3;
  white-space: nowrap;
}

.mob-container:hover .mob-info {
  display: block;
}

.item-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.item-icon-secondary {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.item-info {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  z-index: 3;
  white-space: nowrap;
}

.item-container-secondary:hover .item-info {
  display: block;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.grid-item {
  text-align: center;
}

.images-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.region-legend {
  width: 90px;
  height: 90px;
}

.images-container img {
  display: block;
}

.grid-item span {
  display: block;
}

.drop-chance-row {
  padding-bottom: 15px;
  display: flex;
  gap: 20px;
}
.drop-chance-legend {
  width: 100px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:checked + .slider:before {
  transform: translateX(14px);
}

.navbar-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Alinha os itens nas extremidades */
}

.navbar-brand {
  flex: 1; /* Faz o link ocupar todo o espaço à esquerda */
}

.theme-switch-container {
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.theme-switch-container label {
  margin: 0 5px; /* Espaçamento entre os labels e o switch */
}

.navbar-header.dark-mode,
.nav.dark-mode,
body.dark-mode {
  background-color: #1f1f1f;
  color: #fff;
}

.navbar-header.dark-mode :hover {
  color: #f78c8c;
}
.navbar-header.dark-mode a {
  color: #fff;
}

.navbar-default.sidebar.dark-mode a {
  color: #fff;
}

.navbar-default.sidebar.dark-mode ul.nav li a.active {
  background-color: #f78c8c;
  color: #fff;
}

.navbar-default.sidebar.dark-mode ul.nav li a.active:hover {
  background-color: #920c0c;
}

.navbar-default.sidebar.dark-mode li {
  border-bottom: 1px solid #3a3a3a;
}

.navbar-default.sidebar.dark-mode a:hover {
  background-color: #920c0c;
}

.navbar-brand .dark-mode:hover {
  background-color: #920c0c;
}

#page-wrapper.dark-mode {
  background-color: #202020;
}

#page-wrapper.dark-mode span {
  color: #fff;
  font-weight: bold;
}

#page-wrapper.dark-mode input {
  background-color: #2b2b2b;
  color: #e0e0e0;
  border: #555555;
}

#page-wrapper.dark-mode select {
  background-color: #2a2a2a;
  color: #d1d1d1;
  border: #e0e0e0;
}

#page-wrapper.dark-mode table {
  border: 2px solid #555555;
}

#page-wrapper.dark-mode thead {
  background-color: #333333;
  color: #e0e0e0;
  border: 1px solid #555555;
}

#page-wrapper.dark-mode thead th {
  border: 1px solid #555555;
}

#page-wrapper.dark-mode table tr.even td {
  color: #e0e0e0;
  background-color: #2a2a2a;
}

#page-wrapper.dark-mode table tr.odd td {
  color: #e0e0e0;
  background-color: #424141;
}

#page-wrapper.dark-mode ul li a {
  background-color: #2b2b2b;
  border: 1px solid #555555;
  color: #a8c4e0;
}

#page-wrapper.dark-mode .pagination li.active a {
  color: #202020;
  background-color: #337ab7;
  border: 1px solid #337ab7;
}

#page-wrapper.dark-mode .pagination li a {
  color: #fff;
}

/* #page-wrapper .drop-chance-legend.dark-mode {
  color: #000000;
} */

#page-wrapper .col-sm-12.dark-mode {
  color: #247dca;
}

html,
body,
html.dark-mode body {
  background-color: #202020;
}

.hidden {
  display: none !important;
  background-color: #202020;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #202020; /* Tom de cinza */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loading.dark-mode {
  background-color: #202020; /* Tom de cinza */
}

/* Container central do loading */
.loading-container {
  text-align: center;
}

/* Spinner de loading */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #bbb; /* Cinza mais escuro */
  border-top-color: #3c8dbc; /* Cor azul personalizada */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

/* Texto de carregamento */
#loading p {
  font-size: 18px;
  color: #333; /* Cor de texto escura */
  margin-top: 10px;
}

.language-switch-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px;
  font-family: Arial, sans-serif;
}

.custom-select {
  position: relative;
  width: 200px;
}

.select-selected {
  background-color: #f9f9f9;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.select-items {
  display: none; /* Escondido por padrão */
  position: absolute;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 5px;
  z-index: 1;
  width: 100%;
}

.select-item {
  padding: 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.select-item:hover {
  background-color: #e9e9e9;
}

.flag-icon {
  margin-right: 10px;
}

/* Mostra o dropdown quando a classe 'show' está presente */
.show {
  display: block;
}

.select-selected.active {
  background-color: #e0e0e0; /* Muda a cor quando está ativo */
}

.select-selected.dark-mode {
  background-color: #2a2a2a;
  font-weight: bold;
}

.select-items.dark-mode.show {
  background-color: #2a2a2a;
  font-weight: bold;
}
/* Animação do spinner */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
