/* REGRA ESPECIAL PARA ESCONDER SELETORES DA PAGINA REGIOES DO VOLANTE */
 
.select-wrapper {
    display: none !important;
} 
 
.container {max-width: 930px; 
    margin: 0 auto; 
    background-color: #ffffffbf; 
    padding: 10px; 
    border-radius: 5px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.div-padrao {
    border: 1px solid #cdcdcd;
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
    padding-bottom: 15px;
    background-color: white;
    margin-bottom: 15px;
}

.ciclo-tabela td { 
    text-align: center !important; 
    font-size: 0.9rem; 
    border-color: #e3e3e3; 
    padding: 0px !important;
    vertical-align: middle;
}

.ciclo-tabela th { 
    cursor: pointer; 
    padding: 2px; 
    text-align: center; 
    font-size: 0.9rem; 
    border-color: #e3e3e3; 
    vertical-align: middle;
    
}

.div-controles { 
    margin-top: 10px; 
    width: auto; 
    margin-bottom: 10px;
}

.div-controles-2 { 
    display: inline !important; 
    justify-content: left; 
    font-size: 1.2rem;
}

.button-interval-ocorrencias:hover:not(:disabled) {
    background-color: #5a6268;
}

.button-interval-ocorrencias:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Estilo para células clicáveis nas tabelas */
td[onclick] {
    transition: background-color 0.2s;
}

td[onclick]:hover {
    background-color: #f0f0f0;
}

.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 { 
    width: 65px; 
    font-size: 0.8rem; 
    padding: 5px 10px; 
    background-color: #a7348b; 
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 5px;
}
        
.filtro-table-header {
    margin-top: 10px;
    vertical-align: baseline;
    padding: 0px;
    border-radius: 5px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    background: linear-gradient(271deg, #d4baff8c 0%, #5d3487 100%);
    padding-top: 6px;
    padding-bottom: 6px;

}

.filtro-header-2 {
    margin-bottom: 5px;
    margin-left: 5px;
    padding-top: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #a7348b;
}

.filtro-table-header-1 {
    margin: 0px;
}

.button-1:hover { 
    background-color: #45a049; 
}

.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;
    margin-left: 5px;
    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;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Estilos para o seletor de categorias */
.categoria-select-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.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;
}

.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 rgba(0,0,0,0.1);
    z-index: 1000;
}

.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;
}

.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 rgba(0,0,0,0.1);
    z-index: 1000;
}

.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;
}

/* 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 { background-color: #b5ffa3; 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;
    margin-left: 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 { 
    border-collapse: collapse; 
    width: 100%; 
    margin-bottom: 10px;
}

td, th { 
    border: 1px solid #e3e3e3; 
}

.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;
}


@media (min-width: 451px) {
    
.eh-sorteado {
    display: inline-block; 
    width: 28px; 
    height: 28px; 
    line-height: 28px; 
    text-align: center; 
    margin: 0 2px; 
    border-radius: 10%; 
    background-color: #a7348b; 
    color: white; 
    box-shadow: 0 1px #666;
}

.nao-sorteado {
    display: inline-block; 
    width: 28px; 
    height: 28px; 
    line-height: 28px; 
    text-align: center; 
    margin: 0 2px; 
    border-radius: 10%; 
    background-color: #f0f0f0; 
    color: #666; 
    box-shadow: 0 1px #666;
    }
}

.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: center;
}

.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;
}

.input-conc-controles {
    width: 5rem;
    border: 1px solid #666;
    border-radius: 3px;
    transition: all .3s;
    font-size: 0.9rem;
    justify-self: left;
    padding: 4px;
}

.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;
}


.buttonsControles {
    display: flex;
    margin-bottom: 5px;
    width: auto;
    gap: 5px;
    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;
}



.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: #f5f5f5;
    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;
}














/* ===================================================== QUERY DISPOSITIVOS MÓVEIS ===================================================== */


@media (max-width: 450px) {
    
.input-conc-controles {
    width: 4rem !important;
    border: 1px solid #666;
    border-radius: 3px;
    transition: all .3s;
    font-size: 0.8rem !important;
    justify-self: left;
    padding: 5px !important;
}

.controles-volante div:first-child {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.controles-volante label {
    font-size: 0.7rem;
}

.paginacao-botoes {
    width: 100%;
    justify-content: space-between;
}

.btn-paginacao {
    flex: 1;
    justify-content: center;
}

#controle-concursos-Interior label,
#controle-concursos-Impares label,
#controle-concursos-Pares label {
    font-size: 0.8rem !important;
}

#controle-concursos-Interior input[type="checkbox"],
#controle-concursos-Impares input[type="checkbox"],
#controle-concursos-Pares input[type="checkbox"] {
    width: 14px;
    height: 14px;
}

.ciclo-tabela td.classe-pontuou-celula::after,
.ciclo-tabela td.classe-pontuou-celula-media::after,
.ciclo-tabela td.classe-pontuou-celula-baixa::after {
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    border-width: 1px;
}    

.percentage-bar {
    font-size: 0.8rem;
}

.percentage-text {
    font-size: 0.75rem;
    left: 5px;
    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;
}

/* Em telas pequenas, quando a barra for menor que 30%, coloca o texto fora */
.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,
.percentage-bar[style*="width: 21%"] .percentage-text,
.percentage-bar[style*="width: 22%"] .percentage-text,
.percentage-bar[style*="width: 23%"] .percentage-text,
.percentage-bar[style*="width: 24%"] .percentage-text,
.percentage-bar[style*="width: 25%"] .percentage-text,
.percentage-bar[style*="width: 26%"] .percentage-text,
.percentage-bar[style*="width: 27%"] .percentage-text,
.percentage-bar[style*="width: 28%"] .percentage-text,
.percentage-bar[style*="width: 29%"] .percentage-text,
.percentage-bar[style*="width: 30%"] .percentage-text {
    position: absolute;
    left: calc(100% + 5px);
    color: #333;
    text-shadow: none;
}    
    
 
.button-text-long {
    display: none;
} 
 
.ciclo-tabela td, .ciclo-tabela th {
    padding: 1px 1px;
}

.div-modos {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 5px;
    margin-bottom: 0px;
    background: #f5f5f5;
    padding-top: 3px;
    padding-bottom: 3px;
    border-radius: 5px;
    border-left: 2px solid #5d3487;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.label-modos { 
    display: flex;
    font-size: 0.7rem;
    gap: 5px;
    margin-left: 3px;
    margin-right: 3px;
    margin-top: 5px;
    flex-direction: column;
    align-content: space-between;
    font-size: 0.7rem;
}

.button-bar {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    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;
    }
    
.button-1-1 {
    width: auto; 
    margin: 2px; 
    box-shadow: 0 3px #666;
}

.button-presencas {
    width: auto; 
    margin: 2px !important; 
    background-color: #3bb31c; 
    box-shadow: 0 3px #666;
}

.button-falhas {
    width: auto; 
    margin: 2px !important; 
    background-color:red; 
    box-shadow: 0 3px #666;
}
  
  
  
  
  
  
     .hide-on-small {
        display: none;
     }

    .intervalos-container-small {
        margin-top: 15px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        align-items: center;
        gap: 2px;
        flex-wrap: wrap;
        justify-content: center;
    }  
  
  
  
    
.button-interval-controles {
    font-size: 0.8rem;
    padding: 5px 10px;
    background-color: #666;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}    

    
.buttonsControles {
    display: flex;
    margin-bottom: 5px;
    width: auto;
    gap: 2px;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center; 
}
    
.filtro-table-header {
    padding-top: 2px;
    padding-bottom: 2px;
}    
    
.controlesPaginacao {
    display: flex;
    gap: 10px;
    align-items: baseline;
    flex-wrap: nowrap;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    margin-top: 5px;
}

/* Tamanhos responsivos para dezenas */
.dezena {
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    }
    
.padrao-select-container {
    position: relative;
    width: 100%;
    max-width: 400px; /* Aumentado de 300px para 400px */
    margin: 5px auto; /* Alterado para auto nas laterais para centralizar */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Estilos para o seletor de categorias */
.categoria-select-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 5px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.categoria-select-header {
    width: 100%;
    padding: 12px 12px;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.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 rgba(0,0,0,0.1);
    z-index: 1000;
}

.categoria-select-option {
    width: 100%;
    padding: 12px 12px;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    color: #333;
    font-size: 0.9rem;
    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: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
    width: 100%;
    margin-bottom: 10px;
    padding: 0 0px;
}

.padrao-select-header {
    width: 100%;
    padding: 12px 12px; /* Aumentado o padding */
    color: #333;
    font-weight: 500;
    font-size: 0.9rem; /* 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;
}

.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 rgba(0,0,0,0.1);
    z-index: 1000;
}

.padrao-select-option {
    width: 100%;
    padding: 15px 15px; /* Aumentado o padding */
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    color: #333;
    font-size: 0.9rem; /* Aumentado o tamanho da fonte */
    transition: all 0.2s ease;
}

.intervalo-info-2 {
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    text-align: left;
    margin-left: 5px;
    font-weight: bold;
    background: linear-gradient(90deg, #823e9f 0%, #c607dd94 100%);
    color: white;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 3px 5px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.progress-fill-falhas {
    border-radius: 0px;
    transition: width 0.5s ease-out;
    width: 0;
}

.palpite-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.8rem;
}

.eh-sorteado {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    margin: 1px 2px;
    border-radius: 10%;
    background-color: #a7348b;
    color: white;
    box-shadow: 0 1px #666;
}

.nao-sorteado {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    margin: 1px 2px;
    border-radius: 10%;
    background-color: #f0f0f0;
    color: #666;
    box-shadow: 0 1px #666;
}

.progress-bar {
    height: 20px;
}

.container {
    width: 100%; 
    min-width: 275px; 
    margin: 0 auto; 
    background-color: #fff; 
    padding: 10px; 
    border-radius: 5px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.1); 
}

.ciclo-tabela td { 
    text-align: center !important; 
    font-size: 0.8rem; 
    border-color: #e3e3e3; 
    padding: 2px !important; 
    vertical-align: middle;
}
 
.ciclo-tabela th { 
    padding: 2px; 
    text-align: center; 
    font-size: 0.7rem; 
    border-color: #e3e3e3; 
    vertical-align: middle;
}
 
.div-controles { 
    margin-top: 10px; 
    width: auto; 
    margin-bottom: 10px; 
}
 
.div-controles-2 { 
    display: inline !important; 
    justify-content: left; 
    font-size: 1.2rem;
}
 
.button-1 { 
    width: 50px; 
    font-size: 0.7rem; 
    padding: 8px 4px; 
    background-color: #a7348b; 
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 5px;
    text-align: center;
    text-wrap: balance; /* Distribui o texto de maneira mais harmônica */
    text-align: center;
}
 
.button-1:hover { 
    background-color: #45a049;
}
    
.button-interval {
    font-size: 0.7rem;
    padding: 5px 3px;
    background-color: #666;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 3px;
    transition: background-color 0.3s;
}
 
.button-interval:hover {
    background-color: #45a049;
}
 
.intervalo-info {
    background-color: #f5f5f5;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #666;
    margin-left: auto;
    border: 2px solid #e2e8f0; 
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    padding: 0px;
}

.classe-alerta-celula { background-color: #f6da01; color: #000; text-align: center; }
.classe-pontuou-celula { background-color: #b5ffa3; color: #000; text-align: center;  animation: numero-sorteado 1.5s infinite;}
.classe-pontuou-linha { background-color: #b5ffa3; 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-top: 5px; 
   font-size: 1rem; 
   font-weight: bold; 
   color: #a7348b;
}

.grade-container { 
   flex-wrap: nowrap; 
   display: flex; 
   justify-content: 
   center; gap: 10px; 
   flex-direction: row; 
   margin-top: 10px; 
   margin-bottom: 20px; 
}

.grade-titulo { 
   text-align: center; 
   margin-bottom: 10px; 
   font-weight: 500; 
}

.grade {
   display: grid;
   grid-template-columns: repeat(5, 22px);
   gap: 2px;
   box-shadow: rgb(171 0 255) 0px 1px 2px 0px, rgb(133 0 209 / 17%) 0px 1px 3px 1px;
}

.celula { 
   width: 22px; 
   height: 22px; 
   display: flex; 
   align-items: center; 
   justify-content: center; 
   border-radius: 2px; 
   font-size:  0.8rem;
   box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

table { 
    border-collapse: collapse; 
    width: 100%; 
    margin-bottom: 10px;
}
    
td, th { 
    border: 1px solid #e3e3e3; 
    
}

.filtro-header {
    padding: 5px 5px 5px 5px;
    font-size: 1rem;
    font-weight: bold;
    color: #a7348b;
}

.filtro-header-exclusivo {
    padding: 5px 5px 5px 5px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #f0f0f1;
    }
    
    
    
    
    
    
    
    
    
    
    
    /* FIM DA QUERY PARA DISPOSITIVOS MÓVEIS */
}























/* Estilos para telas maiores que 450px */
@media (min-width: 451px) {
    .ciclo-tabela td { 
        font-size: 1rem; 
        padding: 5px;
    }
    .ciclo-tabela th { 
        font-size: 1rem; 
        padding: 8px;
    }

    .button-1 { 
        font-size: 0.9rem; 
        padding: 8px 15px;
    }
    
.dezena {
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
    }
    
}

/* Estilos para telas maiores que 768px */
@media (min-width: 768px) {
.ciclo-tabela {
    width: 100% !important;
border-bottom: 1px solid rgb(30, 30, 30);
border-radius: 0px 0px 10px 10px !important;
}
.ciclo-tabela td { 
    font-size: 1rem !important; 
    padding: 4px !important;
}
.ciclo-tabela th { 
    font-size: 1rem !important; 
    padding: 5px !important;
}
.filtro-header {
    font-size: 1.4rem !important;
}

.ciclo-tabela {
    border-collapse: collapse;
    border-spacing: 0 3px;
}
.ciclo-tabela tr {
    transition: all 0.2s ease;
}
.ciclo-tabela tr:hover {
    background-color: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.ciclo-tabela td, .ciclo-tabela th {
    padding: 2px 2px !important;
}
.classe-pontuou-linha {
    box-shadow: 0 3px 8px rgba(181, 255, 163, 0.5) !important;
    }
}

@media (min-width: 1024px) {
    
.dezena {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    }
}

.dezena {
    display: flex;
    align-items: center;
    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 !important; /* Verde claro */
}

.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: 2px;
    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;
}

    .button-1-1 {
        width: auto; 
        margin: 5px; 
        box-shadow: 0 3px #666;
}



.divControleConcursos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 7px 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;
}

.button-presencas {
    width: auto; 
    margin: 5px; 
    background-color: #3bb31c; 
    box-shadow: 0 3px #666;
}

.button-falhas {
    width: auto; 
    margin: 5px; 
    background-color:red; 
    box-shadow: 0 3px #666;
}


@media (min-width: 451px) {
    .button-text-short {
        display: none;
    }
}

.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 {
    transition: border-spacing 0.3s ease;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

/* Estilo específico para modo Somente Padrão */
#tabela-concursos-Impares td div[style*="justify-content: center"] {
    min-height: 30px;
}

/* Responsividade para os novos checkboxes */
@media (max-width: 768px) {
    #controle-concursos-Impares {
        padding: 10px !important;
    }
    
    #controle-concursos-Impares label {
        font-size: 0.85rem !important;
        margin: 3px !important;
    }
}

/* 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;
}

/* Em telas menores que 850px, mostrar versão mobile */
@media (max-width: 850px) {
    .header-full {
        display: none;
    }
    
    .header-mobile {
        display: inline;
    }
}


/* Sistema de Paginação */
.paginacao-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    margin: 10px 0;
    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;
}

.paginacao-container.superior {
    margin-top: 10px;
    margin-bottom: 15px;
}

.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: #f5f5f5;
}

.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;
}

/* Responsividade */
@media (max-width: 768px) {
    .paginacao-container {
        padding: 10px;
    }
    
    .paginacao-controles {
    gap: 10px;
}
    
    .paginacao-controles {
        flex-direction: column;
        align-items: stretch;
    }
    
    .paginacao-seletor {
        width: 100%;
    }
    
    .paginacao-seletor select {
        width: 100%;
    }
    
    .paginacao-info {
        text-align: center;
        padding: 2px;
    }
    
    .paginacao-botoes {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn-numero-pagina {
        min-width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .btn-paginacao {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Controles do volante */
.controles-volante {
    margin: 10px 0;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 5px;
}

.controles-volante label {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .controles-volante {
        padding: 8px;
    }
    
    .controles-volante label {
        font-size: 0.8rem;
    }
    
    .controles-volante label span {
        font-size: 0.75rem;
    }
}

/* 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;
}

/* Responsivo */
@media (max-width: 768px) {
    .modal-exportacao-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-exportacao-footer {
        flex-direction: column;
    }
    
    .btn-export {
        width: 100%;
        margin-bottom: 10px;
    }
}


.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;
}