
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
  min-height: 100dvh;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 5px;
}

.div-padrao {
  border: 1px solid #cdcdcd;
  border-radius: 10px;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 15px;
  background-color: white;
  margin-top: 20px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.ciclo-tabela td {
  text-align: center !important;
  font-size: 1.1rem;
  vertical-align: middle;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 0px 1px;
  padding: 1px;
}

.ciclo-tabela th {
  cursor: pointer;
  padding: 8px;
  text-align: center;
  font-size: 1rem;
  border-color: #000000;
  vertical-align: middle;
  color: #000000;
  transform: translateY(0px);
  box-shadow: rgb(140 8 197 / 37%) 0px 1px 2px 0px,
    rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

.ciclo-tabela th:hover {
  background: conic-gradient(at top left, #ffee00, #efff00, #000000);
  color: black;
}

.ciclo-tabela.concursos th {
  padding: 5px;
}

.ciclo-tabela.ciclo-tradicional th {
  padding: 5px;
}

.ciclo-tabela.ciclo-avancado th {
  padding: 5px;
}

.div-controles {
  margin-top: 5px;
  width: auto;
  margin-bottom: 10px;
  padding: 10px;
}

.div-controles-2 {
  display: inline !important;
  justify-content: left;
  font-size: 1.2rem;
}

.botoes-tabelas {
  display: flex;
  gap: 5px;
}

table tr:hover {
  transform: translateY(-2px);
  transition: all 0.2s ease;
  background-image: linear-gradient(
    179.7deg,
    rgb(255 255 255) 2.9%,
    rgb(98 255 0) 97.1%
  );
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px,
    rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}

.button-concursos:hover {
  transform: translateY(-2px);
  transition: all 0.2s ease;
  background-image: linear-gradient(
    179.7deg,
    rgb(255 255 255) 2.9%,
    rgb(98 255 0) 97.1%
  );
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px,
    rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}

.button-ciclos:hover {
  transform: translateY(-2px);
  transition: all 0.2s ease;
  background-image: linear-gradient(
    179.7deg,
    rgb(255 255 255) 2.9%,
    rgb(98 255 0) 97.1%
  );
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px,
    rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}

.button-concursos.btn-active:hover {
  transform: translateY(-2px);
  transition: all 0.2s ease;
  background-image: linear-gradient(
    179.7deg,
    rgb(228 30 30) 2.9%,
    rgb(255 82 0) 97.1%
  );
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px,
    rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}

.button-ciclos.btn-active:hover {
  transform: translateY(-2px);
  transition: all 0.2s ease;
  background-image: linear-gradient(
    179.7deg,
    rgb(228 30 30) 2.9%,
    rgb(255 82 0) 97.1%
  );
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px,
    rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}

.filtro-header-exclusivo:hover {
  transform: translateY(-3px);
  transition: all 0.3s ease;
  color: #beff00;
}

.button-concursos {
  width: auto;
  box-shadow: 0 3px #666;
  border: 1px solid #00d2ff;
  border-radius: 10px;
  font-size: 0.8rem;
  padding: 8px 20px;
  margin: 0px 5px;
  background: #37ff03;
  color: #000000;
  cursor: pointer;
}

.button-ciclos {
  width: auto;
  box-shadow: 0 3px #666;
  border: 1px solid #00d2ff;
  border-radius: 10px;
  font-size: 0.8rem;
  padding: 8px 20px;
  margin: 0px 5px;
  background: #37ff03;
  color: #000000;
  cursor: pointer;
}

/* estilo do botão ativo */
.btn-active {
  background-color: #fd3800;
  color: #fff;
  border-color: #ffffff;
}

.button-interval-ocorrencias:hover:not(:disabled) {
  background-color: #5a6268;
}

.button-interval-ocorrencias:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.controles-volante-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 8px;
}

.controles-volante-label {
  display: flex;
  gap: 5px;
  cursor: pointer;
  flex-direction: column;
  flex-wrap: nowrap;
}

/* Estilo para células clicáveis nas tabelas */

td[onclick]:hover {
  background-color: #fbff00;
  transition: 0.2s;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.button-interval-ocorrencias {
  font-size: 0.9rem;
  padding: 3px 20px;
  background-color: #666;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.loading-content {
  text-align: center;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #a7348b;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 90%;
}

.modal-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.confirm-button {
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background-color: #a7348b;
  color: white;
  font-size: 14px;
}

.confirm-button:hover {
  background-color: #8a2973;
}

.cancel-button {
  margin-top: 10px;
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background-color: #dc3545;
  color: white;
  font-size: 14px;
}

.cancel-button:hover {
  background-color: #c82333;
}

.button-1 {
    max-width: 140px;
    font-size: 0.8rem;
    padding: 8px 20px;
    background-color: #a7348b;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 3px #666;
}

/* opcional: estilo para quando nenhum botão estiver ativo (visual) */
.button-1[aria-pressed="false"] {
  opacity: 0.95;
}

.button-presencas {
  background-color: #3bb31c;
  box-shadow: 0 3px #666;
}

.button-falhas {
  background-color: red;
  box-shadow: 0 3px #666;
}

.filtro-table-header {
  margin-top: 2px;
  vertical-align: baseline;
  padding: 10px;
  border-radius: 5px 5px 0px 0px;
  background: linear-gradient(to left, #b300ff, #823e9f, #823e9f, #8e00cb);
  border: 1px solid;
}

.filtro-header-2 {
  margin-bottom: 5px;
  padding-top: 5px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #a7348b;
}


.button-interval {
  font-size: 0.9rem;
  padding: 5px 12px;
  background-color: #666;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 1px 1px;
  transition: background-color 0.3s;
}

.button-interval:hover {
  background-color: #45a049;
}

.intervalos-container {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: center;
}

.intervalo-info {
  background-color: #ffffff;
  margin: 10px auto;
  padding: 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #666;
  width: 100%;
  max-width: 400px;
  border: 1px solid #e2e8f0;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
  text-align: center;
}

.intervalo-info-2 {
  font-size: 1.1rem;
  border: 1px solid #e2e8f0;
  text-align: left;
  font-weight: bold;
  background: linear-gradient(90deg, #823e9f 0%, #c607dd94 100%);
  color: white;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 5px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 3px 5px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.progress-bar {
  height: 24px;
  background: #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 90%;
  background: #3bb31c;
  border: 1px solid #959595;
  border-radius: 12px;
  transition: width 0.5s ease-out;
  width: 0;
}
.progress-fill-falhas {
  height: 90%;
  background: #ea4335;
  border-radius: 12px;
  transition: width 0.5s ease-out;
  width: 0;
}

.palpite-link {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.palpite-link:hover {
  color: #a7348b;
}

.btn-voltar-topo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(167, 52, 139, 0.7);
  border: none;
  color: white;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 1000;
}

.btn-voltar-topo:hover {
  background: rgba(167, 52, 139, 0.9);
  transform: translateY(-3px);
}

.btn-voltar-topo svg {
  width: 20px;
  height: 20px;
}

.padrao-select-container {
  position: relative;
  width: 100%;
  max-width: 400px; /* Aumentado de 300px para 400px */
  margin: 10px auto; /* Alterado para auto nas laterais para centralizar */
  background: #fff;
  border-radius: 8px;
}

/* Estilos para o seletor de categorias */
.categoria-select-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 10px auto;
  background: #fff;
  border-radius: 8px;
}

.categoria-select-header {
  width: 100%;
  padding: 18px 20px;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  box-shadow: rgb(165 81 188) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.categoria-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 350px;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  margin-top: 5px;
  box-shadow: 0 2px 10px rgb(0 0 0 / 73%);
  z-index: 1000;
  width: 100%;
  margin: 0 auto;
}

.categoria-select-option {
  width: 100%;
  padding: 15px 20px;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  color: #333;
  font-size: 15px;
  transition: all 0.2s ease;
}

.categoria-select-option:hover {
  background-color: #f5f5f5;
  color: black;
}

.categoria-select-option.selected {
  background-color: #a7348b;
  color: white;
}

/* Ajuste no wrapper para acomodar dois seletores */
.select-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 0 15px;
  margin-bottom: 20px;
}

.padrao-select-header {
  width: 100%;
  padding: 18px 20px; /* Aumentado o padding */
  color: #333;
  font-weight: 500;
  font-size: 15px; /* Aumentado o tamanho da fonte */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: rgb(165 81 188) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.padrao-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 350px; /* Aumentado a altura máxima */
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  margin-top: 5px;
  box-shadow: 0 2px 10px rgb(0 0 0 / 73%);
  z-index: 1000;
  display: none;
  width: 100%;
}

.padrao-select-option {
  width: 100%;
  padding: 15px 20px; /* Aumentado o padding */
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  color: #333;
  font-size: 15px; /* Aumentado o tamanho da fonte */
  transition: all 0.2s ease;
}

.padrao-select-option:hover {
  background-image: radial-gradient(
    827px at 47.3% 48%,
    rgb(222 222 222) 0%,
    rgb(255 255 255) 90%
  );
  transition: all 0.2s ease;
}

/* Adicione também um container para centralizar */
.select-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 15px; /* Adicionado padding nas laterais para mobile */
}

/* Estilo para o botão Buscar ao lado do select */
.button-buscar {
  background-color: #a7348b;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  margin-left: 10px;
  transition: background-color 0.3s ease;
}

.button-buscar:hover {
  background-color: #8a2973;
}

.classe-alerta-celula {
  background-color: #f6da01;
  color: #000;
  text-align: center;
}
.classe-pontuou-celula {
  background-color: #b5ffa3;
  font-weight: bold;
  color: #000;
  text-align: center;
  animation: numero-sorteado 1.5s infinite;
}
.classe-pontuou-celula-10-pontos {
  background-color: #fccc71;
  font-weight: bold;
  color: #000;
  text-align: center;
  animation: numero-sorteado 1.5s infinite;
}
.classe-pontuou-falha-celula {
  font-weight: bold;
  color: #000;
  text-align: center;
}
.classe-pontuou-linha {
  color: #000;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.classe-alerta-linha {
  background-color: #ffec9d;
  color: #000;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.filtro-header1 {
  margin-bottom: 5px;
  padding-top: 5px;
  font-size: 1rem;
  font-weight: bold;
  color: #a7348b;
}

.grade-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.grade-titulo {
  text-align: center;
  margin-bottom: 10px;
  font-weight: 500;
}

.grade {
  display: grid;
  grid-template-columns: repeat(5, 40px);
  gap: 2px;
  border: 2px solid #e2e8f0;
  border-radius: 5px;
  box-shadow: rgb(171 0 255) 0px 1px 2px 0px,
    rgb(133 0 209 / 17%) 0px 1px 3px 1px;
  padding: 3px;
}

.celula {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 0.9rem;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

table {
  width: 100%;
  border: 1px solid #395160;
  border-radius: 0px 0px 2px 2px;
  border-spacing: 1px;
}

.filtro-header-exclusivo {
  padding: 5px 5px 5px 5px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #f0f0f1;
}

.filtro-header {
  padding: 5px 5px 5px 5px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #a7348b;
}

.incrementoPaginacao {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
}

.controlesPaginacao {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: baseline;
}

.seletorPaginacao {
  padding: 1px 10px;
}

.button-fechar-ocorr {
  width: 65px;
  font-size: 0.8rem;
  padding: 5px 10px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 5px;
  box-shadow: 0 3px #666;
}

.input-conc-controles {
  width: 5rem;
  border: 1px solid #666;
  border-radius: 3px;
  transition: all 0.3s;
  font-size: 0.9rem;
  justify-self: left;
  padding: 4px;
  box-shadow: 0 3px #666;
}

.btn-buscar-controles {
  width: 65px;
  font-size: 0.9rem;
  padding: 5px 12px;
  background-color: #a7348b;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 5px;
  cursor: pointer !important;
  box-shadow: 0 3px #666;
}

.buttonsControles {
  display: flex;
  margin-bottom: 5px;
  width: auto;
  gap: 15px;
  justify-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;

}

.busca {
  display: flex;
  align-items: baseline;
  margin-bottom: 5px;
  flex-direction: row;
  flex-wrap: nowrap;
  width: auto;
}

.buscaBotoesControles {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;

}

.button-interval-controles {
  font-size: 0.9rem;
  padding: 5px 12px;
  background-color: #666;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  box-shadow: 0 3px #666;
}

.label-modos {
  display: flex;
  gap: 0px;
  flex-direction: column;
  align-items: center;
  align-content: space-between;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 0.9rem;
}

.div-modos {
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 0px;
  background: linear-gradient(to bottom, #a513e314, #a513e300);
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 5px;
  border-left: 2px solid #5d3487;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.titulo-ciclo-avancado {
  font-size: 1.2rem;
  padding: 5px;
}

.div-titulo-ciclo-avancado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  background: linear-gradient(271deg, #ffeb002e 0%, #ffbc00bf 100%);
  border-radius: 5px 5px 0px 0px;
}

.botao-paginacao-ciclo-ocorrencias {
  font-size: 0.8rem !important;
  background-color: rgb(102, 102, 102) !important;
  color: white !important;
  cursor: pointer !important;
  padding: 5px 12px !important;
  border-width: initial !important;
  border-style: none !important;
  border-color: initial !important;
  border-image: initial !important;
  border-radius: 5px !important;
  transition: background-color 0.3s !important;
}

.select-paginacao-ciclo-ocorrencias {
  font-size: 0.8rem !important;
  background-color: rgb(165 0 249) !important;
  color: white !important;
  cursor: pointer !important;
  padding: 4px 12px !important;
}

.div-paginacao-ciclo-ocorrencias {
  display: flex;
  align-items: center;
  padding: 10px;
  flex-direction: row;
  gap: 3px;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: center;
}

.dezena {
  display: flex;
  align-items: center;
  flex-direction: column;
    justify-content: center;
  border-radius: 10%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);

}

.dezena-sorteada-filtro {
  background-color: #a7348b;
  color: white;
  border: 1px solid #8a2973;
}

@keyframes numero-sorteado {
  0% {
    box-shadow: 0 0 0 0px rgb(70 199 2 / 92%);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(136, 38, 222, 0);
  }
  100% {
    box-shadow: 0 0 0 3px rgba(136, 38, 222, 0);
  }
}

.dezena-sorteada {
  background-color: #e2e8f0;
  color: #ff0505;
  border: 1px solid #9b9b9b;
}

.dezena-filtro {
  background-color: #dededefc;
  color: #939393;
  border: 1px solid #bfbfbf;
}

.dezena-normal {
  background-color: transparent;
  color: #999;
  border: 1px solid #eee;
}

/* Estilos para pontuação média */
.classe-pontuou-linha-media {
  background-color: #fffaec82 !important; /* Amarelo claro */
}

.classe-pontuou-celula-media {
  background-color: #ffc107 !important; /* Amarelo médio */
  color: #000 !important;
  font-weight: bold;
}

/* Manter os estilos existentes para pontuação alta */
.classe-pontuou-linha {
  background-color: #dffee7;
}

.classe-pontuou-celula {
  background-color: #28a745 !important; /* Verde */
  color: white !important;
  font-weight: bold;
}

.classe-pontuou-celula-10-pontos {
  background-color: #ffc107 !important; /* Amarelo */
  color: #000 !important;
  font-weight: bold;
}

/* Adicionar estilos para pontuação baixa se desejar */
.classe-pontuou-linha-baixa {
  background-color: #f8d7da82 !important; /* Vermelho claro */
}

.classe-pontuou-celula-baixa {
  background-color: #dc3545 !important; /* Vermelho */
  color: white !important;
}

.button-bar {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  background-image: linear-gradient(to top, #dbdbdb, #f5f5f5);
  border-radius: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.divControleConcursos {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px 2px 2px 2px;
  flex-wrap: wrap;
  gap: 0px;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  padding: 9px 5px;
  border-radius: 5px;
}

.percentage-bar-container {
  width: 100%;
  background-color: #f0f0f0;
  border-radius: 5px;
  margin: 15px 0;
  height: 25px;
  overflow: hidden;
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px,
    rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
  position: relative;
}

.percentage-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: width 0.5s ease;
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  font-size: 0.9rem;
  position: relative;
  min-width: 1px;
}

.percentage-text {
  position: absolute;
  left: 10px;
  white-space: nowrap;
  z-index: 10;
  text-align: center;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff,
    -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

/* Ajuste para quando a barra é muito pequena */
.percentage-bar[style*="width: 0%"] .percentage-text,
.percentage-bar[style*="width: 1%"] .percentage-text,
.percentage-bar[style*="width: 2%"] .percentage-text,
.percentage-bar[style*="width: 3%"] .percentage-text,
.percentage-bar[style*="width: 4%"] .percentage-text,
.percentage-bar[style*="width: 5%"] .percentage-text,
.percentage-bar[style*="width: 6%"] .percentage-text,
.percentage-bar[style*="width: 7%"] .percentage-text,
.percentage-bar[style*="width: 8%"] .percentage-text,
.percentage-bar[style*="width: 9%"] .percentage-text,
.percentage-bar[style*="width: 10%"] .percentage-text,
.percentage-bar[style*="width: 11%"] .percentage-text,
.percentage-bar[style*="width: 12%"] .percentage-text,
.percentage-bar[style*="width: 13%"] .percentage-text,
.percentage-bar[style*="width: 14%"] .percentage-text,
.percentage-bar[style*="width: 15%"] .percentage-text,
.percentage-bar[style*="width: 16%"] .percentage-text,
.percentage-bar[style*="width: 17%"] .percentage-text,
.percentage-bar[style*="width: 18%"] .percentage-text,
.percentage-bar[style*="width: 19%"] .percentage-text,
.percentage-bar[style*="width: 20%"] .percentage-text {
  text-align: center;
  color: #333;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff,
    -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

.percentage-bar-red {
  background-color: #ea4335;
}

.percentage-bar-yellow {
  background-color: #f6da01;
  color: #333;
  text-shadow: none;
}

.percentage-bar-yellow .percentage-text {
  color: #333;
  text-shadow: none;
}

.percentage-bar-green {
  background-color: #3bb31c;
}

/* Estilos específicos para células de pontuação no modo volante */
.ciclo-tabela td.classe-pontuou-celula,
.ciclo-tabela td.classe-pontuou-celula-media,
.ciclo-tabela td.classe-pontuou-celula-baixa {
  position: relative;
  overflow: visible;
}

/* Criar um efeito mais elegante para pontuação alta (verde) */
.ciclo-tabela td.classe-pontuou-celula {
  background-color: #28a745 !important;
  color: white !important;
  font-weight: bold;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Adicionar um indicador visual mais sutil */
.ciclo-tabela td.classe-pontuou-celula::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  border: 2px solid #28a745;
  border-radius: 6px;
  opacity: 0.3;
  pointer-events: none;
}

/* Estilo para pontuação média (amarelo) */
.ciclo-tabela td.classe-pontuou-celula-media {
  background-color: #ffc107 !important;
  color: #000 !important;
  font-weight: bold;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ciclo-tabela td.classe-pontuou-celula-media::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  border: 2px solid #ffc107;
  border-radius: 6px;
  opacity: 0.3;
  pointer-events: none;
}

/* Estilo para pontuação baixa (vermelho) */
.ciclo-tabela td.classe-pontuou-celula-baixa {
  background-color: #dc3545 !important;
  color: white !important;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ciclo-tabela td.classe-pontuou-celula-baixa::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  border: 2px solid #dc3545;
  border-radius: 6px;
  opacity: 0.3;
  pointer-events: none;
}

/* Alternativa: Estilo com gradiente suave */
.ciclo-tabela td.classe-pontuou-celula-alt {
  background: linear-gradient(135deg, #2ed44a 0%, #28a745 100%) !important;
  color: white !important;
  font-weight: bold;
  border-radius: 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Alternativa 2: Estilo minimalista com borda */
.ciclo-tabela td.classe-pontuou-celula-minimal {
  background-color: rgba(40, 167, 69, 0.15) !important;
  color: #28a745 !important;
  font-weight: bold;
  border: 2px solid #28a745;
  border-radius: 4px;
}

/* Alternativa 3: Estilo com ícone */
.ciclo-tabela td.classe-pontuou-celula-icon {
  background-color: #28a745 !important;
  color: white !important;
  font-weight: bold;
  border-radius: 4px;
  padding-right: 20px !important;
  position: relative;
}

.ciclo-tabela td.classe-pontuou-celula-icon::before {
  content: "✓";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  opacity: 0.7;
}

.destaque-texto {
  box-shadow: 0 1px #666 !important;
}

/* Estilos para modo "Destacar Filtro" */
.dezena-sorteada-destacar {
  background-color: #d0d0d0;
  color: #888;
  border: 1px solid #b0b0b0;
  opacity: 0.7;
}

.dezena-normal-destacar {
  background-color: #f5f5f5;
  color: #ccc;
  border: 1px solid #e0e0e0;
  opacity: 0.5;
}

/* Manter as dezenas do filtro em destaque mesmo no modo destacar */
.dezena-sorteada-filtro,
.dezena-filtro {
  opacity: 1 !important;
}

/* Transição suave para mudanças de estilo */
.dezena {
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

/* Estilo para destacar melhor o padrão no modo somente padrão */
.dezena-sorteada-filtro {
  position: relative;
}

.dezena-sorteada-filtro::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  border: 2px solid #a7348b;
  border-radius: 12%;
  opacity: 0.3;
  pointer-events: none;
}

/* Estilos para modo "Destacar Filtro" - ordem de contraste */
.dezena-sorteada-destacar {
  background-color: #d8d8d8;
  color: #999;
  border: 1px solid #c0c0c0;
  opacity: 0.5;
}

.dezena-normal-destacar {
  background-color: #f5f5f5;
  color: #ddd;
  border: 1px solid #e8e8e8;
  opacity: 0.3;
}

.dezena-filtro-destacar {
  background-color: #c2c2c2;
  color: #5e5e5e;
  border: 1px solid #acacac;
  opacity: 0.7;
}

/* Manter as dezenas do filtro sorteadas sempre em destaque máximo */
.dezena-sorteada-filtro {
  opacity: 1 !important;
  background-color: #a7348b !important;
  color: white !important;
  border: 1px solid #8a2973 !important;
}

/* Ajuste para tabelas com espaçamento dinâmico */
.ciclo-tabela {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  border: 1px solid black;
}

/* Estilo específico para modo Somente Padrão */
#tabela-concursos-Impares td div[style*="justify-content: center"] {
  min-height: 30px;
}

/* Animação suave ao mudar modos */
.dezena {
  transition: all 0.3s ease;
}

/* Destaque visual para diferenciar melhor os níveis no modo destacar */
.dezena-sorteada-filtro::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  border: 1px solid #a7348b;
  border-radius: 12%;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.novo-ciclo-tabela td,
.novo-ciclo-tabela th {
  padding: 10px 2px !important;
}

/* Mostrar versão completa por padrão */
.header-full {
  display: inline;
}

.header-mobile {
  display: none;
}

/* Mostrar versão completa por padrão */
.button-interval-controles .header-full {
  display: inline;
}

.button-interval-controles .header-mobile {
  display: none;
}

/* Sistema de Paginação */
.paginacao-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  flex-wrap: wrap;
  gap: 15px;
  background-image: radial-gradient(
    circle at 0% 0.5%,
    rgb(241, 241, 242) 0.1%,
    rgb(231 231 231) 100.2%
  );
}

.paginacao-container.superior {
  margin-top: 15px;
  margin-bottom: 5px;
}

.paginacao-container.inferior {
  margin-top: 20px;
  margin-bottom: 10px;
}

.paginacao-controles {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  justify-content: space-between;
}

.paginacao-seletor label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #333;
}

.paginacao-seletor select {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

.paginacao-info {
  color: #666;
  font-size: 0.9rem;
  background: #ffffff;
  padding: 5px;
  border-radius: 10px;
}

.paginacao-botoes {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-paginacao {
  padding: 8px 16px;
  background: #a7348b;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s;
}

.btn-paginacao:hover:not(:disabled) {
  background: #8a2c72;
  transform: translateY(-1px);
}

.btn-paginacao:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.paginacao-numeros {
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-numero-pagina {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.btn-numero-pagina:hover {
  background: #f5f5f5;
  border-color: #a7348b;
  color: #a7348b;
}

.btn-numero-pagina.ativo {
  background: #a7348b;
  color: white;
  border-color: #a7348b;
  font-weight: bold;
}

.paginacao-ellipsis {
  padding: 0 8px;
  color: #999;
}

/* Controles do volante */
.controles-volante {
  margin: 10px 0;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 5px;
}

.controles-volante label {
  font-size: 1rem;
}

/* Variável de controle para exportação */
.nome-palpite-clicavel {
  cursor: pointer;
  transition: color 0.2s ease;
}

.nome-palpite-clicavel:hover {
  color: #007bff;
  text-decoration: underline;
}

/* Modal de exportação */
.modal-exportacao {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-exportacao-content {
  background-color: #fefefe;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-exportacao-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 10px 20px;
  border-bottom: 1px solid #eee;
}

.modal-exportacao-header h3 {
  margin: 0;
  color: #333;
}

.modal-exportacao-close {
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
}

.modal-exportacao-close:hover {
  color: #333;
}

.modal-exportacao-body {
  padding: 20px;
}

.export-info {
  margin-bottom: 20px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
}

.export-options {
  margin-bottom: 20px;
}

.export-options h4 {
  margin-bottom: 15px;
  color: #333;
}

.export-checkbox-label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
  user-select: none;
}

.export-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border: 2px solid #ddd;
  border-radius: 3px;
  transition: all 0.2s;
}

.export-checkbox-label:hover input ~ .checkmark {
  background-color: #ccc;
}

.export-checkbox-label input:checked ~ .checkmark {
  background-color: #007bff;
  border-color: #007bff;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.export-checkbox-label input:checked ~ .checkmark:after {
  display: block;
}

.export-checkbox-label .checkmark:after {
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.export-preview {
  margin-bottom: 20px;
}

.export-preview h4 {
  margin-bottom: 10px;
  color: #333;
}

.preview-content {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 10px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  max-height: 200px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.modal-exportacao-footer {
  padding: 15px 20px 20px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #eee;
}

.btn-export {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-copy {
  background-color: #17a2b8;
  color: white;
}

.btn-copy:hover {
  background-color: #138496;
}

.btn-csv {
  background-color: #28a745;
  color: white;
}

.btn-csv:hover {
  background-color: #218838;
}

.btn-cancel {
  background-color: #6c757d;
  color: white;
}

.btn-cancel:hover {
  background-color: #545b62;
}

.button-export-modal {
  width: 100%;
  font-size: 0.7rem;
  padding: 6px 10px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

.button-export-modal-janela-cancelar {
  width: 65px;
  font-size: 0.8rem;
  padding: 5px 10px;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 5px;
  background: red;
}

.button-export-modal-janela-copiar {
  width: 65px;
  font-size: 0.8rem;
  padding: 5px 10px;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 5px;
  background: green;
}

.button-export-modal-janela-csv {
  width: 65px;
  font-size: 0.8rem;
  padding: 5px 10px;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 5px;
  background: blue;
}

/* ADICIONAR NO FINAL DO ARQUIVO estilos.css */

/* Estilos para Ciclo Tradicional */
.divControleCiclos {
  display: flex;
  flex-direction: column;
  padding: 10px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  margin-top: 0px;
  gap: 10px;
}

/* Dezenas ausentes no ciclo */
.dezena-ausente {
  background-color: #ff6b6b !important;
  color: white !important;
  font-weight: bold;
}

.dezena-ciclo-ausente {
  background-color: #ff0000 !important;
  color: white !important;
  font-weight: bold;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
  align-self: center;
}

/* Dezenas esmaecidas para destaque */
.dezena-sorteada-filtro-fraca {
  background-color: #e8c4dd !important;
  color: #999 !important;
  opacity: 0.6;
}

.dezena-sorteada-fraca {
  background-color: #fff5b3 !important;
  color: #181818 !important;
  opacity: 0.6;
  border: 1px solid #4b4b4b;
}

/* Destaque para ausentes */
.dezena-ausente-destaque {
  background-color: #dc3545 !important;
  color: white !important;
  font-weight: bold;
  animation: pulse-ausente 1.5s infinite;
}

/* Continuação dos estilos CSS */
@keyframes pulse-ausente {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
  }
  70% {
    box-shadow: 0 0 0 5px rgba(220, 53, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
}

/* Tabela de ciclo tradicional */
#tabela-ciclo-tradicional {
  width: 100%;
  margin-top: 10px;
}

#tabela-ciclo-tradicional th {
  background-color: #28a745;
  color: white;
  padding: 8px;
  text-align: center;
  font-size: 0.9rem;
}

#tabela-ciclo-tradicional td {
  padding: 5px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

/* Linha de fim de ciclo */
#tabela-ciclo-tradicional tr.classe-pontuou-linha {
  background-color: #d4edda !important;
  font-weight: bold;
}

/* Botão Ciclo Tradicional */
#btn-ciclo-tradicional {
  background-color: #28a745 !important;
  transition: all 0.3s ease;
}

#btn-ciclo-tradicional:hover {
  background-color: #218838 !important;
  transform: translateY(-2px);
}

/* Modo de visualização do ciclo */
.div-modos input[type="checkbox"]:checked + span {
  font-weight: bold;
  color: #28a745;
}

/* Destaque mais visível para ausentes */
.dezena-ciclo-ausente {
  background-color: #ff0000 !important;
  color: white !important;
  font-weight: bold !important;
}

/* ========================================
   ESTILOS PARA CICLO AVANÇADO
   ======================================== */

#ciclo-avancado-container {
  border: 1px solid #dee2e6;
  border-radius: 5px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#tabela-ciclo-avancado th {
  background-color: #6c757d;
  color: white;
  padding: 8px;
  text-align: center;
  font-size: 0.9rem;
  cursor: pointer;
}

#tabela-ciclo-avancado td {
  padding: 6px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

#tabela-ciclo-avancado tr:hover {
  background-color: #f5f5f5;
}

/* ========================================
   RESPONSIVIDADE PARA CICLO TRADICIONAL
   ======================================== */

/* Cabeçalhos responsivos para ciclo tradicional */
.header-ciclo-full {
  display: inline;
}
.header-ciclo-mobile {
  display: none;
}

/* Estilos para tabela de ocorrências de intervalos */
#ciclo-intervalo-ocorrencias table td {
  vertical-align: middle;
}

#ciclo-intervalo-ocorrencias .dezenas-ciclo-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  justify-content: center;
}

/* Estilos padrão - telas maiores */
.texto-abreviado {
  display: none;
}

.texto-completo {
  display: inline;
}

.dezenasConcursoCicloDestaque {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
  min-width: 110px;
}

/* Presenças */
.btn-top-presencas.active {
  background: #c628b9 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-1px);
  border: 1px solid rgb(0 0 0 / 59%);
}

/* Falhas */
.btn-top-falhas.active {
  background: #c628b9 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-1px);
  border: 1px solid rgb(0 0 0 / 59%);
}

/* estado não ativo (hover/focus) — melhora acessibilidade */
.btn-top-presencas:hover,
.btn-top-falhas:hover,
.btn-top-presencas:focus,
.btn-top-falhas:focus {
  filter: brightness(0.95);
  outline: none;
}

/* acessibilidade: foco visível */
.btn-top-presencas:focus-visible,
.btn-top-falhas:focus-visible {
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.25);
}

.classe-pontuou-celula {
  background-color: #b5ffa3;
  font-weight: bold;
  color: #000;
  text-align: center;
  animation: numero-sorteado 1.5s infinite;
  z-index: 100;
}

.intervalos-definicoes {
  background: white;
  padding: 5px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.classeDestaquetd {
  text-align: center !important;
  font-size: 1.1rem;
  vertical-align: middle;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 0px 1px;
  padding: 1px;
  background-image: radial-gradient(
    343px at 50.3% 50.5%,
    rgb(255 255 255) 10%,
    rgb(161 161 161) 90.9%
  );
}

.dezena {
  font-size: 0.95rem;
}

.ciclo-tabela .fundo-th {
  background: conic-gradient(at top left, #ffffff, #d9d9d9, #dbdbdb);
  color: black;
}

.padrao-select-options::-webkit-scrollbar {
  width: 15px;
  background: #000000;
  border-radius: 0px 10px 10px 0px;
}

.padrao-select-options::-webkit-scrollbar-thumb {
  background: #000000;
  border-radius: 0px 10px 10px 0px;
  border: 1px solid #000000;
}

.padrao-select-options::-webkit-scrollbar-track {
  background: #e5e5e5;
  border-radius: 0px 10px 10px 0px;
}

.padrao-select-option.selected {
  background-color: #a7348b;
  color: white;
}

.select-wrapper {
  margin-bottom: 10px;
  padding: 7px 15px 7px 15px;
  background-image: radial-gradient(
    circle at 0% 0.5%,
    rgb(241, 241, 242) 0.1%,
    rgb(231 231 231) 100.2%
  );
  border-radius: 10px;
}

.container-options-top {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.container-options-reducoes {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.btn-top-falhas {
    max-width: 60px;
    margin: 5px;
    box-shadow: 0 3px #666;
    background-color: #ff2e00;
    color: white;
    padding: 10px 10px 10px 10px;
    font-size: 0.75rem;
    border: 1px solid #717171;
    border-radius: 5px;
}

.btn-top-presencas {
    max-width: 60px;
    margin: 5px;
    box-shadow: 0 3px #666;
    background-color: #3bb31c;
    color: white;
    padding: 10px 10px 10px 10px;
    font-size: 0.75rem;
    border: 1px solid #717171;
    border-radius: 5px;
}

.eh-top-falha {
    display: inline-block;
    background: #e53935;
    color: #fff;
    box-shadow: 0 1px #666;

}

.eh-sorteado {
    display: inline-block;
    border-radius: 10%;
    background-color: #a7348b;
    margin: 1px 2px;
    color: white;
    box-shadow: 0 1px #666;
    text-align: center;
    line-height: 22px;
}

.nao-sorteado {
    display: inline-block;
    line-height: 22px;
    margin: 1px 2px;
    border-radius: 10%;
    box-shadow: 0 1px #666;
    background-color: #f0f0f0;
    color: #666;
}

/* destaque para top presenças que vieram */
.eh-top-presenca {
  display: inline-block;
  line-height: 22px;
  text-align: center;
  margin: 0 2px;
  border-radius: 10%;
  background-color: #a7348b;
  color: white;
  box-shadow: 0 1px #666;
}

/* top falha que veio -> esmaecido (menos destaque) */
.eh-top-falha-presente {
  display: inline-block;
  text-align: center;
  background-color: #f0f0f0;
  color: #666;
  border-radius: 10%;

}

/* manter estilos existentes para sorteado / nao-sorteado, se houver */
.eh-sorteado {
  /* exemplo */
  text-decoration: none;
}

/* top falha que realmente falhou -> vermelho vibrante */
.eh-top-falha {
    display: inline-block;
    background: #e53935; /* vermelho vibrante */
    color: #fff;
    border-radius: 10%;

}


.btn-top-presencas:hover { 
    transform: translateY(-2px);
    transition: all 0.5s ease;
    background-image: linear-gradient(179.7deg, rgb(48 236 0) 2.9%, rgb(40 197 0) 97.1%);
}

.btn-top-falhas:hover { 
    transform: translateY(-2px);
    transition: all 0.5s ease;
    background-image: linear-gradient(179.7deg, rgb(236 65 0) 2.9%, rgb(255 46 0) 97.1%);
}

.button-interval-controles:hover {
    transform: translateY(-2px);
    transition: all 0.5s ease;
    filter: brightness(1.2);
}

.btn-buscar-controles:hover {
      transform: translateY(-2px);
    transition: all 0.5s ease;
    filter: brightness(1.2);
}


.button-1:hover {
      transform: translateY(-2px);
    transition: all 0.5s ease;
    filter: brightness(1.1);
}


.d25DestaqueCiclo {
        display: flex;
        flex-wrap: wrap;
        gap: 2px; 
        justify-content: center;
    } 


