colors_reference {
  color: #f9f6f3;
  color: #bdb094;
  color: #3b2517;
  color: #fff; /* Button text enabled */
  color: #000000; /* Button text disabled */
  color: #2d3748; /* Button enable */
  color: #f7fafc; /* Button disabled */
  color: #f9f6f3; /* Table linha impar */
  color: #eae5e0; /* Table linha par */
  color: #c1bcb6; /* Row hover color*/
}

html body {
  background-color: #fff;
  font-family: "Verdana", sans-serif;
  font-size: 14px;
}

@media (max-width: 768px) {
  html body {
    font-size: 12px;
  }
}

/* RANKING TYPES */

@media (max-width: 768px) {
  .ranking-type-buttons {
    row-gap: 0px;
  }

  .ranking-type-buttons .btn-ranking-type {
    width: fit-content;
    min-width: auto;
    cursor: pointer;
    font-size: 12px;
    padding: 5px 10px;
  }
}

.ranking-type-buttons {
  font-family: "Roboto", sans-serif !important;
  display: flex;
  justify-content: center;  
  flex-wrap: wrap;
  gap: 5px;
}

.btn-ranking-type {
  /*min-width: 150px;*/
  /*background-color: #e8f2fa;*/
  /*color: #1a202c;*/
  /*cursor: pointer;*/
  /*font-size: 14px;*/
  /*border: none;*/
  /*padding: 10px 10px;*/
  
   font-size: 14.0px;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
    padding: 10px 20px;
  border-radius: 4px;
    border: 1px solid transparent;
    transition: 0.1s all linear;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-ranking-type:hover {
  background-color: #3e4148;
  color: #fff;
}

.btn-ranking-type.active {
  background-color: #177ec9;
  color: #fff;
  font-weight: 500;
}

.btn-ranking-image {
  width: 20px;
  height: 20px;
}

.btn-ranking-type:hover .btn-ranking-image {
  filter: brightness(0) saturate(100%) invert(93%) sepia(18%) saturate(3013%)
    hue-rotate(195deg) brightness(127%) contrast(106%);
}

.btn-ranking-type.active .btn-ranking-image {
  filter: brightness(0) saturate(100%) invert(93%) sepia(18%) saturate(3013%)
    hue-rotate(195deg) brightness(127%) contrast(106%);
  width: 20px;
  height: 20px;
}

/* CLASSES LIST */

.ranking-classes-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  white-space: nowrap;
  gap: 10px;
}

.list-classes-item {
  transition: transform;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

.list-classes-item:hover {
  cursor: pointer;
  border-radius: 5px;
  box-shadow: rgb(173, 193, 209) 0px 0px 2px 2px;
}

.list-classes-item.selected {
  border-radius: 5px;
  border-width: 2;
  box-shadow: rgb(82, 178, 255) 0px 0px 2px 2px;
}

.section-classes-selection {
  width: 100%;
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.section-classes-selection.active {
  display: flex;
}

.list-player-class-img {
  width: 40px;
  height: 40px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .section-classes-selection.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .list-player-class-img {
    width: 30px;
    height: 30px;
    border-radius: 5px;
  }
}

.td-name {
  min-width: 20%;
}

/* TABLE */

.data-table-section {
  overflow-x: auto;
  min-width: 100%;
  display: flex;
  padding: 0 4rem;
}

.data-table-section {
  display: none;
}

.data-table-section.active {
  display: flex;
}


/* .table-striped > thead > tr > th {
  background-color: #2d3748;
  color: #fff;
} */

.table-striped > tbody > tr:nth-child(odd) > td {
  background-color: #f7fafc;
  color: #1a202c;
}

.table-striped > tbody > tr:nth-child(even) > td {
  background-color: #f7fafc;
}

.table-sm-padding td {
  padding: 4px 8px;
}

.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {
  background-color: #c1cad180;
}

@media (max-width: 768px) {
  .ranking-table-iframe.active {
    justify-content: space-around;
    overflow-x: auto;
  }

  .ranking-table-iframe.active .mobile-display {
    display: none;
  }

  .ranking-table-iframe.active tr > .td-char-name {
    min-width: 0px;
  }

  .ranking-table-iframe.active tr > .td-clan {
    min-width: 0px;
  }
}

.ranking-table-iframe {
  display: none;
  min-width: 100%;
  justify-content: center;
  overflow-x: auto;
  margin-top: 20px;
}

.ranking-table-iframe.active {
  display: flex;
  margin-top: 20px;
  flex-direction: column;
}

.tr-center {
  vertical-align: middle;
}

.td-center {
  text-align: center;
}

.td-char-name {
  min-width: 250px;
}

.td-clan {
  display: flex;
  min-width: 200px;
  align-items: center;
  white-space: nowrap;
  gap: 8px;
}

.top3-text {
  margin-bottom: 0px;
}

.rank_position {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

.player-class-img {
  width: 25px;
  height: 25px;
  border-radius: 5px;
}

/* SPINNER */

.loadingIndicator {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loadingIndicator.active {
  display: flex;
}

/* .spinnerImage {
  width: 50px;
  height: 50px;
  -webkit-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear;
  position: fixed;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, -50%);
} */

.spinnerImage {
  width: 50px;
  height: 50px;
  -webkit-animation: pulse 1.5s infinite ease-in-out;
  animation: pulse 1.5s infinite ease-in-out;
  position: fixed;
  justify-content: center;
  align-items: center;
}

.loadingText {
  margin-top: 80px;
  color: #2d3748;
  font-weight: bold;
  text-align: center;
  font-size: 14px;
}

@-webkit-keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* IMAGES */

.sw-trophy-icon {
  width: 25px;
  height: 25px;
}

.top3-trophy-icon {
  width: 25px;
  height: 25px;
}

/* DATE NAVIGATION */
.date-navigation-section {
  padding: 20px 0;
  display: none;
  justify-content: center;
}

.date-navigation-section.active {
  display: flex;
}

.date-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #f0f0f0;
  padding: 15px 25px;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

.btn-date-nav {
  background-color: #2d3748;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-date-nav:hover {
  background-color: #1a202c;
}

.btn-date-nav:disabled {
  background-color: #f7fafc;
  color: #000000;
  cursor: not-allowed;
}

.current-date {
  font-size: 16px;
  font-weight: bold;
  color: #3b2517;
  min-width: 100px;
  text-align: center;
}

@media (max-width: 768px) {
  .date-controls {
    gap: 10px;
    padding: 10px 15px;
  }
  
  .btn-date-nav {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .current-date {
    font-size: 14px;
    min-width: 80px;
  }
}
