/* public/assets/css/lep-styles.css */

:root {
    --lep-primary: #823e9f;
    --lep-primary-dark: #6a3280;
    --lep-secondary: #6c757d;
    --lep-success: #28a745;
    --lep-info: #17a2b8;
    --lep-warning: #ffc107;
    --lep-danger: #dc3545;
    --lep-light: #f8f9fa;
    --lep-dark: #343a40;
    --lep-border: #dee2e6;
    --lep-shadow: 0 2px 4px rgba(0,0,0,0.1);
    --lep-radius: 8px;
    --lep-premiadas:  #09a700;
    --lep-reducao: #7c3aed;
    --lep-fixa: #10b981;
    --lep-excluida: #dc2626;
    --lep-reducao-light: #e9d5ff;
    --lep-fixa-light: #d1fae5;
    --lep-excluida-light: #fee2e2;
    --lep-border-hover: #fee2e2;
}
/*

.wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    display: none !important;
}

*/

.dezena-num.esmaecido {
    opacity: 0.4 !important;
    filter: grayscale(50%);
    border: 1px solid black !important;
    background: #c0c0c0e8 !important;
    color: #000000 !important;
}

/* Reset e Base */
.lep-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--lep-dark);
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-width: 285px !important;
}

.lep-container * {
    box-sizing: border-box;
}

/* Seções */
.lep-section {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header {
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lep-light);
    padding: 5px;
}

.section-header h1,
.section-header h2 {
    color: var(--lep-primary);
    margin-bottom: 10px;
}

.section-header p {
    display: none !important;
}

.section-header h1 { 
    font-size: 1.5rem !important;
}


/* Grid de Estratégias */

.estrategias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 10px;
    align-items: start;
}


.estrategia-card {
    background: white;
    border: 1px solid var(--lep-border);
    border-radius: var(--lep-radius);
    box-shadow: var(--lep-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.estrategia-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.estrategia-card .card-header {
    background: linear-gradient(135deg, var(--lep-primary), var(--lep-primary-dark));
    color: white;
    padding: 5px;
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.estrategia-card .card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 5px;
}

.estrategia-card .card-body {
    padding: 15px;
}

.estrategia-card .card-body p {
    margin-top: 10px;
}

.estrategia-card .card-footer {
    padding: 15px;
    background: var(--lep-light);
    text-align: center;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 10px;
}

.badge-conservador { background: var(--lep-success); color: white; }
.badge-moderado { background: var(--lep-warning); color: var(--lep-dark); }
.badge-agressivo { background: var(--lep-danger); color: white; }

/* Volante */
.volante-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    max-width: 400px;
    margin: 10px auto;
    padding: 20px;
    background: var(--lep-light);
    border-radius: var(--lep-radius);
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}

.volante-numero {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--lep-border);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.volante-numero:hover:not(.disabled) {
    transform: scale(1.05);
    border-color: var(--lep-primary);
    background: #f8f0f6;
}

/* Progress Steps */
.volante-numero.selected {
    background: var(--lep-primary) !important;
    color: white !important;
    border-color: var(--lep-primary-dark) !important;
}

.volante-numero.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #ff8484;
    color: #d5d5d5;
}

/* Progress Steps */
.progress-bar-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.progress-bar-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: var(--lep-border);
    z-index: 0;
}

.progress-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    max-width: 150px;
}

.step-number {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: #e1e1e1;
    border: 2px solid var(--lep-border);
    border-radius: 50%;
    font-weight: 600;
    margin-bottom: 5px;
}

.progress-step.active .step-number {
    background: var(--lep-primary);
    color: white;
    border-color: var(--lep-primary);
}

.progress-step.completed .step-number {
    background: var(--lep-success);
    color: white;
    border-color: var(--lep-success);
}

.step-label {
    display: block;
    font-size: 0.9rem;
    color: var(--lep-secondary);
}



.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-primary {
    background: var(--lep-primary);
    color: white;
    font-size: 1rem;
}

.btn-secondary {
    background: var(--lep-secondary);
    color: white;
}

.btn-success {
    background: var(--lep-success);
    color: white;
    border-radius: 5px;
    border: 1px solid;
}

/* Tabela de Palpites */
.tabela-palpites {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.tabela-palpites th {
    background: var(--lep-light);
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--lep-border);
    font-size: 1rem;
}

.tabela-palpites th.sortable {
    cursor: pointer;
    user-select: none;
    font-size: 1rem;
}

.tabela-palpites th.sortable:hover {
    background: #e9ecef;
}

.tabela-palpites td {
  /*   padding: 10px 12px; */
  /*  border-bottom: 1px solid var(--lep-border); */
    margin-bottom: 3px;
    margin-top: 3px;
    font-size: 1rem;
}

.dezena-numero {
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 32px;
    text-align: center;
    background: var(--lep-primary);
    color: white;
    border-radius: 4px;
    margin: 2px;
    font-weight: 600;
    font-size: 0.9rem;
}

.dezena-num {
    width: 34px;
    height: 34px;
    background: var(--lep-primary);
    color: white;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Paginação */
.paginacao {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 15px;
    background: var(--lep-light);
    border-radius: var(--lep-radius);
}

.btn-page {
    padding: 8px 12px;
    border: 1px solid var(--lep-border);
    background: white;
    cursor: pointer;
    margin: 0 2px;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-page:hover:not(:disabled) {
    background: var(--lep-primary);
    color: white;
    border-color: var(--lep-primary);
}

.btn-page.active {
    background: var(--lep-primary);
    color: white;
    border-color: var(--lep-primary);
}

.btn-page:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading */
.lep-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--lep-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--lep-light);
    border-top-color: var(--lep-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsividade */
@media (max-width: 768px) {
    .estrategias-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
    align-items: start !important;
    }
    
    .volante-grid {
        max-width: 300px;
        gap: 5px;
        padding: 15px;
    }
    
    .progress-bar-steps {
        padding: 0 20px;
    }
    /*
    .dezena-numero {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 0.8rem;
    }
    */
    .paginacao {
        flex-direction: column;
        gap: 15px;
    }
}




/* Modal */
.lep-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* Modal - continuação */
.modal-content {
    position: relative;
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 520px !important;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}


.modal-header h2 {
    margin: 0;
    color: var(--lep-primary);
    font-size: 1.5rem !important;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    margin-bottom: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

/* Form elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
}

.help-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

.info-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid var(--lep-primary);
}

.info-box h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--lep-primary);
}

.info-box ol {
    margin-bottom: 0;
    padding-left: 20px;
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #dee2e6;
}

/* Selected Display */
.selected-display {
    margin-top: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}

.selected-display h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 1rem;
}

.dezenas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dezena-tag {
    background: var(--lep-primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.empty-message {
    color: #999;
    font-style: italic;
}

/* Counter */
.dezenas-counter {
    text-align: center;
    margin-bottom: 5px;
    font-size: 18px;
}

.counter-value {
    font-weight: bold;
    color: var(--lep-primary);
    font-size: 24px;
    margin: 0 5px;
}

.counter-value.complete {
    color: var(--lep-success);
}

/* Niveis Grid */
.niveis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 10px 0;
}

.nivel-card {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    background: white;
    transition: all 0.3s;
}

.nivel-card:hover {
    border-color: var(--lep-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nivel-card.selected {
    border-color: var(--lep-primary);
    border: 2px solid green;
    box-shadow: rgb(25 255 0 / 83%) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.nivel-header {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.nivel-header h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.5rem !important;
}

.nivel-label {
    background: var(--lep-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.nivel-info {
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 10px;
}

.info-item .label {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 3px;
}

.info-item .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.btn-select {
    width: 100%;
    padding: 10px;
    background: var(--lep-primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-select:hover {
    background: var(--lep-primary-dark);
}

/* Resumo Config */
.resumo-config {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 10px 0;
}

.resumo-config h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--lep-primary);
}

.resumo-item {
    
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
    flex-direction: row;
    align-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.resumo-item:last-child {
    border-bottom: none;
}

.resumo-item span {
    color: #6c757d;
}

.resumo-item strong {
    color: #333;
}

/* Step Header */
.step-header {
    text-align: center;
    margin-bottom: 15px;
}

.step-header h2 {
    color: var(--lep-primary);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.step-header p {
    color: #6c757d;
    font-size: 1.1rem;
    display: none !important;
}

/* Volante Container */
.volante-container {
    max-width: 400px;
    margin: 0 auto;
}

/* Ajustar botões desabilitados */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary:disabled {
    background: #ccc;
    border-color: #ccc;
}

/* Toast notifications (básico) */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.warning {
    background: var(--lep-warning);
    color: #333;
}

.toast.error {
    background: var(--lep-danger);
}

.toast.success {
    background: var(--lep-success);
}

/* Garantir que o volante já estilizado funcione corretamente 
.volante-numero.selected {
    background: var(--lep-primary) !important;
    color: white !important;
    border-color: var(--lep-primary-dark) !important;
    transform: scale(1.05);
}
*/

/* Progress bar do loading */
.progress-container {
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
}

.progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--lep-primary);
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    color: #666;
}


/* Histórico de Conferências */
.historico-conferencias {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.historico-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.concurso-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s;
}

.concurso-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.concurso-card.destaque {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
}

.concurso-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.concurso-numero {
    font-weight: 600;
    color: #333;
}

.concurso-data {
    font-size: 0.9rem;
    color: #6c757d;
}

.pontuacao-resumo {
    margin: 15px 0;
    text-align: center;
}

.melhor-pontuacao {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.melhor-pontuacao .label {
    color: #6c757d;
    font-size: 0.9rem;
}

.melhor-pontuacao .valor {
    font-size: 1.2rem;
    font-weight: bold;
}

.distribuicao-mini {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
}

.dist-item {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background: white;
    border-radius: 4px;
    font-size: 0.9rem;
}

.dist-item.premium {
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    color: white;
}

.dist-item.gold {
    background: linear-gradient(90deg, #ffc107 0%, #ffb300 100%);
    color: #333;
}

.dist-item.silver {
    background: linear-gradient(90deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.dist-item .pts {
    font-weight: 600;
    margin-right: 10px;
}

.dist-item .qtd {
    font-weight: bold;
    margin-right: 5px;
}

.dist-item .percent {
    font-size: 0.85rem;
    opacity: 0.9;
}

.btn-detalhes {
    width: 100%;
    margin-top: 10px;
    padding: 8px;
    background: var(--lep-primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-detalhes:hover {
    background: var(--lep-primary-dark);
}

/* Melhorias na tabela de resultados */
#lep-resultados-container {
    animation: fadeIn 0.5s ease;
}

.resultado-card {
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.resultado-card .card-header {
    background: linear-gradient(135deg, var(--lep-primary) 0%, var(--lep-primary-dark) 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.resultado-card .card-body {
    padding: 20px;
}

.resultado-card.collapsible .toggle-icon {
    transition: transform 0.3s;
}

.resultado-card.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

/* Estatísticas visuais melhoradas */
.estatisticas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-card.success {
    border-color: #28a745;
    background: linear-gradient(135deg, #ffffff 0%, #d4edda 100%);
}

.stat-card.info {
    border-color: #17a2b8;
    background: linear-gradient(135deg, #ffffff 0%, #d1ecf1 100%);
}

.stat-card.warning {
    border-color: #ffc107;
    background: linear-gradient(135deg, #ffffff 0%, #fff3cd 100%);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--lep-primary) 0%, var(--lep-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsividade aprimorada */
@media (max-width: 768px) {
    .historico-grid {
        grid-template-columns: 1fr;
    }
    
    .concurso-card {
        padding: 12px;
    }
    
    .distribuicao-mini {
        font-size: 0.85rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.resultado-card,
.concurso-card,
.stat-card {
    animation: fadeIn 0.5s ease backwards;
}

.resultado-card:nth-child(1) { animation-delay: 0.1s; }
.resultado-card:nth-child(2) { animation-delay: 0.2s; }
.resultado-card:nth-child(3) { animation-delay: 0.3s; }

.destaque-premiada {
            width: 34px;
            height: 34px;
            background: var(--lep-premiadas);
            color: white;
            border-radius: 3px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            font-weight: 600;
}

.esmaecido {
    opacity: 0.25;
}

/* ID Clicável para copiar */
.id-copiavel {
    cursor: pointer;
    color: var(--lep-primary);
    font-weight: bold;
    transition: all 0.2s;
    position: relative;
}

.id-copiavel:hover {
    color: var(--lep-primary-dark);
    text-decoration: underline;
}

.id-copiavel:active {
    transform: scale(0.95);
}

/* Select com scroll melhorado */
#select-concurso {
    max-height: 300px;
    overflow-y: auto;
}

/* Loading para concursos */
.loading-concursos {
    text-align: center;
    padding: 10px;
    color: #999;
    font-size: 0.9rem;
}

/* Modal de exportação melhorado */
.modal-export {
    max-width: 500px;
    width: 90%;
}

.export-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    cursor: pointer;
}

.export-options label:hover {
    background: #f8f9fa;
    margin: 0 -10px;
    padding-left: 10px;
    padding-right: 10px;
}

/* Botão Todos destacado */
.btn-quick[data-periodo="todos"] {
    font-weight: 600 !important;
}

.btn-quick[data-periodo="todos"]:hover {
    background: #af12f1 !important;
    color: white;
}



/* Novos estilos para o fluxo reorganizado */
.config-atual {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.config-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.config-item i {
    color: var(--lep-primary);
}

.config-resumo-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.9rem;
}

.config-resumo-inline span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.destaque-fixas {
    background: #e7f5ff;
    padding: 5px 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.zero-fixas {
    color: #dc3545;
    font-weight: bold;
}

.nivel-invalido {
    opacity: 0.5;
    pointer-events: none;
}

.nivel-bloqueado {
    text-align: center;
    padding: 10px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 4px;
    font-weight: 600;
}

.aviso-sem-fixas {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 10px auto;
    max-width: 500px;
    text-align: center;
}

.aviso-sem-fixas i {
    font-size: 2rem;
    color: #f39c12;
    margin-bottom: 10px;
}

.volante-bloqueado {
    position: relative;
}

.volante-bloqueado .volante-grid {
    opacity: 0.3;
}

.mensagem-bloqueio {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.mensagem-bloqueio i {
    font-size: 2rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.info-complementares {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
    display: none !important;
}

.info-complementares i {
    color: #1976d2;
    margin-right: 8px;
}

.info-complementares p {
    margin: 5px 0;
}

.text-muted {
    color: #6c757d;
    font-size: 0.9rem;
}

.counter-value.valid {
    color: var(--lep-success);
}

.counter-value.invalid {
    color: var(--lep-danger);
}

/* Estilos do Passo 4 - Resumo */
.resumo-final-container {
    max-width: 800px;
    margin: 0 auto;
}

.resumo-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.resumo-card h3 {
    color: var(--lep-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
    font-size: 1.5rem;
}

.resumo-section {
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.resumo-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: none;
}

.resumo-section.destaque {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
}

.dezenas-resumo {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.dezena-mini {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.dezena-mini.reducao {
    background: var(--lep-primary);
    color: white;
    
}

.dezena-mini.fixa {
    background: var(--lep-success);
    color: white;
}

.resumo-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    display: flex;
    gap: 2px;
    padding: 5px;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    flex-direction: column;
    flex-wrap: nowrap;
    font-size: 0.9rem;
    align-content: space-around;
    align-items: center;
}

.stat-item i {
    font-size: 2rem;
    color: var(--lep-primary);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--lep-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.btn-large {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Ajuste da barra de progresso para 4 passos */
.progress-bar-steps {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.progress-bar-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--lep-border);
    z-index: 0;
}

/* Ações rápidas do volante */
.volante-acoes-rapidas {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.btn-acao {
    padding: 8px 15px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.btn-acao:hover {
    background: var(--lep-primary);
    color: white;
    border-color: var(--lep-primary);
}

.btn-acao i {
    margin-right: 5px;
}

.estatisticas-inline {
        display: flex;
        gap: 10px;
        padding: 5px;
        background: #f8f9fa;
        border-radius: 5px;
        justify-content: center;
        flex-wrap: wrap;
}


.stat-item {
    display: flex;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    flex-direction: column;
    flex-wrap: nowrap;
    font-size: 1.2rem;
    align-items: center;
    padding-left: 5px;
    padding-right: 5px;
}


#acoes-multiplas {
    display: contents;
    margin: 0px auto;
    padding: 5px;
    background: #fde42157;
    border-radius: 10px;
}


#btn-adicionar-conferidor {
    margin-left: 20px;
}











/* ========== inicio dos estilos para a implementação do passo excluidas ========== */

/* Estilos para o novo passo de exclusão */
.volante-exclusao .volante-numero {
    transition: all 0.2s;
}

.volante-exclusao .volante-numero.excluida {
    background: #dc3545 !important;
    color: white !important;
    border-color: #a71d2a !important;
}

.volante-exclusao .volante-numero.excluida:hover {
    background: #a71d2a !important;
}

/* Indicadores visuais de dezenas em diferentes estados */
.dezena-reducao-mark {
    background: var(--lep-primary) !important;
    opacity: 0.3;
    cursor: not-allowed;
}

.dezena-fixa-mark {
    background: var(--lep-success) !important;
    opacity: 0.3;
    cursor: not-allowed;
}

.dezena-reducao-disabled {
    position: relative;
}

.dezena-reducao-disabled::after {
    content: 'R';
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 8px;
    font-weight: bold;
    color: var(--lep-primary);
}

.dezena-fixa-disabled {
    position: relative;
}

.dezena-fixa-disabled::after {
    content: 'F';
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 8px;
    font-weight: bold;
    color: var(--lep-success);
}

/* Tags de dezenas excluídas */
.dezena-excluida {
    background: #dc3545 !important;
    color: white !important;
}

.dezena-mini.excluida {
    background: #dc3545;
    color: white;
}

/* Aviso sem exclusão */
.aviso-sem-exclusao {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    padding: 20px;
    margin: 10px auto;
    max-width: 500px;
    text-align: center;
}

.aviso-sem-exclusao i {
    font-size: 2rem;
    color: #17a2b8;
    margin-bottom: 10px;
}

/* Info exclusão */
.info-exclusao {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 10px;
    margin-top: 15px;
}

.info-exclusao i {
    color: #6c757d;
    margin-right: 8px;
    display: none;
}

.dezenas-resumo-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.dezenas-resumo-inline span {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.tag-reducao {
    background: var(--lep-primary);
}

.tag-fixa {
    background: var(--lep-success);
}

.tag-complementar {
    background: #17a2b8;
    display: none;
}

.tag-excluida {
    background: #dc3545;
}

/* Ajuste da barra de progresso para 5 passos */
.progress-bar-steps {
    display: flex;
    justify-content: space-between;
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
}

.progress-bar-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: var(--lep-border);
    z-index: 0;
}

/* Responsividade para 5 passos */
@media (max-width: 768px) {
    .progress-bar-steps {
        flex-wrap: wrap;
        max-width: 100%;
    }
    
    .progress-step {
        flex: 0 0 20%;
        margin-bottom: 10px;
    }
    
    .progress-bar-steps::before {
        display: none;
    }
}

/* ========== fim dos estilos para a implementação do passo excluidas ========== */









































/* ========== INICIO ESTILOS DISPOSITIVOS MÓVEIS ========== */

@media (max-width: 450px) {
    
    .has-global-padding {
    padding-right: 5px !important;
    padding-left: 5px !important;
}

.lep-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--lep-dark);
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px !important;
}
        
        .conferencia-resultado {
            margin-top: 20px;
            border-radius: 6px;
        }
        
    .estatisticas-compactas {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(20px, 1fr)) !important;
    gap: 2px !important;
}

.stat-compacta {
    background: white;
    padding: 5px !important;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #c5c5c5;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}
.stat-compacta .stat-label {
    font-size: 0.75rem !important;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-compacta .stat-value {
    font-size: 0.8rem !important;
    font-weight: bold;
    color: var(--lep-primary);
}

.conferencia-resultado {
    padding: 5px !important;
}

.btn.btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 20px !important;
    border: none;
    border-radius: 5px;
    font-size: 0.70rem !important;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.conferencia-section {
    background: white;
    border-radius: 8px;
    padding: 10px !important;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tabela-section {
    background: white;
    border-radius: 8px;
    padding: 5px !important;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    margin-bottom: 10px !important;
}

.controles-visuais-2 {
    display: flex !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    margin-top: 15px !important;
    /* border-left: 4mm ridge rgb(106 8 213 / 56%); */
    border-left: solid !important;
    border-radius: 10px !important;
    padding: 3px !important;
}

.controles-visuais-2-1 {
    display: flex !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    margin-top: 15px !important;
    /* border-left: 4mm ridge rgb(106 8 213 / 56%); */
    border-left: solid !important;
    border-radius: 10px !important;
    padding: 3px !important;
}

.quick-access-buttons {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)) !important;
    width: 100% !important;
}

.tabela-controles {
    display: flex !important;
    gap: 20px !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.section-header {
    text-align: center !important;
    margin-bottom: 15px !important;
    padding-bottom: 5px !important;
    border-bottom: 2px solid var(--lep-light) !important;
    padding: 5px !important;
}

.tabela-palpites th {
    background: #f8f9fa;
    padding: 5px !important;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem !important;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.tabela-palpites td {
    padding: 2px !important;
 /* border-bottom: 1px solid #dee2e6; */
    text-align: center;
    margin-bottom: 4px;
    margin-top: 4px;
    font-size: 1rem;
}

.export-options label {
    display: flex;
    align-items: center;
    gap: 8px !important;
    padding: 5px 0 !important;
    cursor: pointer;
}

.export-options {
    display: block !important;
    margin: 10px 0 !important;
}

.modal-export {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 10px !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    min-width: 250px !important;
    
    }
    
    .conferencia-tipo-control {
        width: 100% !important;
    }
    
    .control-group {
         width: 100% !important;
    }
    
    .paginacao-controles {
    gap: 2px !important;
    margin-top: 10px !important;
    }
    
    .paginacao-container {
    display: flex;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px !important;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
    flex-direction: column !important;
}

.control-actions {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        justify-content: space-around !important;
        width: 100% !important;
        align-content: space-between !important;
}

.btn.btn-primary-1 {
    padding: 6px 80px !important;
    background: var(--lep-primary);
    color: white;
    border-color: var(--lep-primary);
}

.dezenas-cell {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        margin: 0 auto !important;
        gap: 3px !important;
        padding: 2px !important;
        max-width: 150px !important;
        margin: 3px auto !important;
}

.modal-content {
    padding: 10px !important;
}

.modal-header h2 {
    font-size: 1.5rem !important;
}

.modal-header h4 {
    font-size: 1.2rem !important;
}

.info-box ol {
    margin-bottom: 0;
    padding-left: 20px;
    font-size: 0.9rem !important;
}

.modal-footer .btn {
    font-size: 0.9rem !important;
}

#config-dezenas-total {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.nivel-card {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 5px;
    background: white;
    transition: all 0.3s;
}  
    
.nivel-header h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.3rem;
}    

.nivel-header {
    margin-bottom: 10px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}
    
.niveis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 10px !important;
    margin: 10px 0 !important;
}    
    
/* Step Header */
.step-header {
    display: none !important;
    text-align: center;
    margin-bottom: 30px;
}    
    
.progress-bar-steps {
    margin: 0 auto 10px !important;
} 

.resumo-card h3 {
    font-size: 1.5rem !important;
    margin-bottom: 0px !important;
    padding-bottom: 15px !important;
}

.resumo-final-container .resumo-section {
    margin-bottom: 0px !important;
    padding: 10px !important;
    background: #f8f9fa !important;
    border-radius: 6px !important;
}

.resumo-item {
    display: flex !important;
    justify-content: space-between !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #dee2e6 !important;
    flex-direction: row !important;
    align-content: space-between !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}
    
#btn-nova-geracao {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff0050;
    color: white;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    width: 100%;
}    

.conferencia-info {
    margin-bottom: 15px;
    font-size: 1rem !important;
    color: #333;
}

.tabela-palpites td {
    /* padding: 10px 12px; */
    /* border-bottom: 1px solid var(--lep-border); */
    margin-bottom: 3px;
    margin-top: 3px;
    font-size: 0.85rem !important;
}

.destaque-premiada {
            width: 26px !important;
            width: 26px !important;
            background: var(--lep-premiadas) !important;
            color: white;
            border-radius: 3px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem !important;
            font-weight: 600;
}

.dezena-numero {
    display: inline-block;
    width: 26px !important;
    height: 26px !important;
    text-align: center;
    background: var(--lep-primary);
    color: white;
    border-radius: 4px;
    margin: 2px;
    font-weight: 600;
    font-size: 0.75rem !important;
}

.dezena-num {
    width: 26px !important;
    height: 26px !important;
    background: var(--lep-primary);
    color: white;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.estrategias-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
    align-items: start !important;
}

/*
.lep-card.estrategia-card.card-header h3 {
    font-size: 1.3rem !important;
}
*/

.estrategia-card .card-header {
        background: linear-gradient(135deg, var(--lep-primary), var(--lep-primary-dark)) !important;
        color: white !important;
        padding-bottom: 0px !important;
        padding-top: 10px !important;
        /* margin-top: 0px !important; */
}

.estrategia-card .card-header h3 {
    font-size: 1.3rem !important;
}

.estrategia-card .card-body {
    padding: 10px !important;
}

.card-footer .btn .btn-primary .btn-selecionar {
    padding: 6px 15px;
}

.info-box h4 {
    font-size: 1.3rem !important;
}

.estrategia-card .card-header h3 {
    font-size: 1.3rem;
    margin-bottom: 5px !important;
    margin-top: 5px !important;
}

.card-header .badge {
    font-size: 0.65rem;
}

/* Botões */
.btn {
    gap: 0px;
    padding: 10px 20px;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.btn-large {
    gap: 0px;
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: 5px;
    border: 1px solid;
}

#btn-exportar-csv {
    padding: 5px 15px !important;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    background: #e3ff77ad !important;
    color: black !important;
    border: 1px solid black !important;
    font-size: 0.70rem !important;
}

#itens-por-pagina {
    padding: 5px 15px !important;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px !important;
    background: #7b7b7b42 !important;
    color: black !important;
    border: 1px solid black !important;
    font-size: 0.7rem !important;
}

.nivel-info {
    margin-bottom: 12px !important;
}

.info-item {
    margin-bottom: 5px !important;
}

.info-item .label {
    display: block;
    font-size: 0.9rem !important;
    color: #6c757d !important;
    margin-bottom: 3px !important;
}


.estatisticas-inline {
    display: flex;
    gap: 5px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.stat-item {
        display: flex;
        gap: 3px;
        padding: 3px;
        background: white;
        border-radius: 6px;
        border: 1px solid #dee2e6;
        flex-direction: column;
        flex-wrap: nowrap;
        font-size: 0.9rem;
        align-items: center;
}


.btn-acao {
    padding: 8px 3px !important;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.7rem !important;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px !important;
}    
    

.volante-acoes-rapidas {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}


.selected-display {
        margin-top: 10px;
        padding: 0px;
        background: #f8f9fa;
        border-radius: 8px;
        box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}


.dezenas-counter {
    text-align: center;
    margin-bottom: 5px;
    font-size: 15px;
}

.volante-botoes-principais {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    align-items: stretch;
    flex-direction: row;
    border: 1px solid #ffffff00;
    max-width: 400px !important;
    margin: 0 auto !important;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
    border-radius: 5px;
}



.btn {
        gap: 0px;
        padding: 5px 10px;
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    
#info-conferencia {
    background: #f7f7f7;
    padding: 5px;
    border: 1px solid gray;
    border-radius: 5px;
    font-size: 0.75rem !important;
}

/* Controle inserir concurso */
#controle-inserir input {
      max-width: 100% !important;
}


.modal-importar {
        position: fixed;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        z-index: 10000;
        width: 285px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: wrap;
}

.modal-importar.btn .btn-success {
    padding: 10px !important;
}

.modal-importar h3 {
    font-size: 1.5rem;
    padding: 0px;
    background: #e5e5e5;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    padding: 5px;
    line-height: 1;
    margin-bottom: 0px;
}
.modal-importar h4 {
   font-size: 1.2rem; 
}



#palpites-colados {
    width: 99% !important;
    font-family: monospace;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#area-colar {
    width: 100%;
}


.btn-primary {
    padding: 6px 20px !important;
    border: 1px solid !important;
    border-radius: 5px !important;
    font-size: 0.75rem !important;
}

#btn-adicionar-conferidor {
        padding: 6px 30px !important;
        border: 1px solid !important;
        border-radius: 5px !important;
        font-size: 0.75rem !important;
        margin-left: 20px;
}

.btn-secondary {
    padding: 8px;
    border-radius: 5px !important;
}

.estrategia-card .card-footer {
    padding: 5px !important;
    background: var(--lep-light);
    text-align: center;
}


 
                /*========== AINDA DENTRO MEDIA QUERY PARA DISPOSITIVOS MÓVEIS */
}


/* ========== FIM DOS ESTILOS PERSONALIZADOS DISPOSITIVOS MÓVEIS PARA EDIÇÃO FINAL ========== */





.progress-step.completed[data-step="1"] .step-number {
    
        animation: passoAtual 1.5s infinite !important;
        
}
.progress-step.completed[data-step="2"] .step-number {
    
        animation: passoAtual 1.5s infinite !important;
        
}
.progress-step.completed[data-step="3"] .step-number {
    
        animation: passoAtual 1.5s infinite !important;
        
}
.progress-step.completed[data-step="4"] .step-number {
    
        animation: passoAtual 1.5s infinite !important;
        
}
.progress-step.completed[data-step="5"] .step-number {
    
        animation: passoAtual 1.5s infinite !important;
        
}

@keyframes passoAtual {
    0% {
        box-shadow: 0 0 0 0 rgba(136, 38, 222, 0.9);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(136, 38, 222, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(136, 38, 222, 0);
    }
}


@keyframes altaPontuacao {
    0% {
        box-shadow: 0 0 0 0 rgb(10 255 41 / 80%);
    }
    70% {
        box-shadow: 0 0 0 5px rgb(38 222 165 / 0%);
    }
    100% {
        box-shadow: 0 0 0 0 rgb(39 234 189 / 0%);
    }
}


.nivel-card.selected .nivel-label {
    
    animation: passoAtual 1.5s infinite !important;
    
}











/* ========== INICIO ESTILOS DESKTOP >= 450px ========== */


@media (min-width: 450px) {
    
    .control-group {
        max-width: 120px;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }
    
    .volante-botoes-principais .btn {
    min-width: 80px;
}
    
}



/*  >= 950px  */

@media (min-width: 950px) {
    
    .control-group input {
        max-width: 100px;
    }
    .conferencia-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
    padding: 5px;
    border-radius: 5px;
    background: #dddddd2e;
    border-left: 2px solid #5705ff !important;
    justify-content: space-evenly;
    align-items: flex-end;
}
    .btn.btn-primary-1 {
    padding: 6px 60px;
    border-radius: 5px;
    }
    
    .modal-importar {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        z-index: 10000;
        width: 420px;
        display: flex;
        flex-direction: column;
        align-items: center;
}

.modal-importar h3 {
    font-size: 1.5rem;
    line-height: 1;
}

.modal-importar h4 {
    font-size: 1rem;
    line-height: 1;
}


.modal-importar.btn .btn-success {
    padding: 10px !important;
}


#palpites-colados {
    width: 420px;
    font-family: monospace;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 310px;
}










            /* ========== AINDA DENTRO MEDIA QUERY PARA DESKTOP >= 950px  ========== */
}


/* ========== FIM DOS ESTILOS PERSONALIZADOS PARA DESKTOP EDICAO FINAL ========== */





.resumo-section.destaque {
    display: none;
}
    
.conferencia-resultado {
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
    background: #aef7ae;
}
    
.check-box-destaques {
    display: flex; 
    flex-direction: column; 
    align-content: center;
}

.btn-primary {
    padding: 6px 30px ;
    border: 1px solid ;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-secondary {
    padding: 8px;
    border-radius: 5px !important;
}

.tabela-palpites tr {
    border: 1px solid #dee2e6 !important;
}


.nivel-card .nivel-label {
    background: #ffd602 !important;
    color: black !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    /* box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px !important; */
    margin-right: 5px;
}


.btn.btn-primary-1 {
    padding: 6px 75px;
    background: var(--lep-primary);
    color: white;
    border-color: var(--lep-primary);
    border-radius: 5px !important;
}


.paginacao-container {
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
    margin-top: 10px;
}


.conferencia-info {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #333;
}

.col-pontos {
    width: auto;
    text-align: center;
    font-weight: 600;
}

.tabela-palpites td {
    /* padding: 10px 12px; */
    /* border-bottom: 1px solid var(--lep-border); */
    margin-bottom: 3px;
    margin-top: 3px;
    font-size: 1.1rem;
}

.dezenas-cell {
     display: flex;
     flex-wrap: wrap;
     gap: 2px;
     justify-content: center;
     margin: 0px auto;
}


.nivel-card[data-nivel="1"] .nivel-header {
    background: #a9a9a924 !important;
    padding: 2px !important;
    border-radius: 5px !important;
}

.nivel-card[data-nivel="2"] .nivel-header {
    background: #a9a9a924 !important;
    padding: 2px !important;
    border-radius: 5px !important;
}

.nivel-card[data-nivel="3"] .nivel-header {
    background: #f3f73c36 !important;
    padding: 2px !important;
    border-radius: 5px !important;
}

.nivel-card[data-nivel="4"] .nivel-header {
    background: #f3f73c36 !important;
    padding: 2px !important;
    border-radius: 5px !important;
}

.nivel-card[data-nivel="5"] .nivel-header h3 {
    color: #fffdfd !important;
}
.nivel-card[data-nivel="5"] .nivel-header {
    background: #f95f2ed4 !important;
    padding: 2px !important;
    border-radius: 5px !important;
}

.nivel-card[data-nivel="6"] .nivel-header h3 {
    color: #fffdfd !important;
}
.nivel-card[data-nivel="6"] .nivel-header {
    background: #ff3e00e0  !important;
    padding: 2px !important;
    border-radius: 5px !important;
}

.nivel-card[data-nivel="7"] .nivel-header h3 {
    color: #fffdfd !important;
}
.nivel-card[data-nivel="7"] .nivel-header {
    background: #ff3e00e0  !important;
    padding: 2px !important;
    border-radius: 5px !important;
}









/* Cores específicas para cada tipo de seleção */
.volante-numero.selected-reducao {
    background: #7c3aed !important; /* Roxo para redução */
    color: white;
}

.volante-numero.selected-fixa {
    background: #10b981 !important; /* Verde para fixas */
    color: white;
}

.volante-numero.selected-excluida {
    background: #dc2626 !important; /* Vermelho para excluídas */
    color: white;
}

/* Indicações visuais para dezenas bloqueadas */
.volante-numero.dezena-reducao-disabled {
    background: #e9d5ff !important; /* Roxo claro */
    color: #7c3aed !important;
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}

.volante-numero.dezena-fixa-disabled {
    background: #d1fae5 !important; /* Verde claro */
    color: #10b981 !important;
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}

.volante-numero.dezena-excluida-disabled {
    background: #fee2e2 !important; /* Vermelho claro */
    color: #dc2626 !important;
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}

/* Adicionar indicador visual no hover para dezenas bloqueadas */
.volante-numero.disabled:hover::after {
    content: "🔒";
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 10px;
}

/* Tags de dezenas selecionadas */
.dezena-tag {
    background: #7c3aed;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.dezena-tag.dezena-fixa {
    background: #10b981 !important;
}

.dezena-tag.dezena-excluida {
    background: #dc2626 !important;
}




/* Estados selecionados */
.volante-numero.selected-reducao {
    background: var(--lep-reducao) !important;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(124, 58, 237, 0.3);
}

.volante-numero.selected-fixa {
    background: #10b981 !important; /* Verde para fixas */
    color: white;
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.volante-numero.selected-excluida {
    background: var(--lep-excluida) !important;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

/* Estados bloqueados */
.volante-numero.dezena-reducao-disabled {
    background: var(--lep-reducao-light) !important;
    color: var(--lep-reducao) !important;
    opacity: 0.6;
    cursor: not-allowed;
}

.volante-numero.dezena-fixa-disabled {
    background: var(--lep-fixa-light) !important;
    color: var(--lep-fixa) !important;
    opacity: 0.6;
    cursor: not-allowed;
}

.volante-numero.dezena-excluida-disabled {
    background: var(--lep-excluida-light) !important;
    color: var(--lep-excluida) !important;
    opacity: 0.6;
    cursor: not-allowed;
}

/* Aplicação imediata das cores */
.volante-numero.selected {
    transition: all 0.2s ease;
}

/* Aplicação imediata das cores */
.volante-numero.selected {
    transition: all 0.2s ease;
}


.volante-numero.selected.selected-reducao {
    background: #7c3aed !important;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(124, 58, 237, 0.3);
}


.volante-numero.selected.selected-fixas {
    background: #10b981 !important;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}


.volante-numero.selected.selected-excluida {
    background: #dc2626 !important;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

.fas.fa-spinner.fa-spin {
    display: none !important;
}

.stat-compacta .stat-label {
    font-size: 0.95rem;
}


#btn-nova-geracao {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff0050;
    color: white;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    font-size: 1.2rem;
} 


#btn-exportar-csv {
    padding: 5px 15px !important;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    background: #e3ff77ad !important;
    color: black !important;
    border: 1px solid black !important;
}

#itens-por-pagina {
    padding: 5px 15px !important;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px !important;
    background: #7b7b7b42 !important;
    color: black !important;
    border: 1px solid black !important;
}


.conferencia-resultado {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

/* Cores dinâmicas baseadas na pontuação */
.resultado-sem-pontos {
    background: #e9ecef !important; /* Cinza claro */
    border: 1px solid #dee2e6 !important;
}

.resultado-11-pontos {
    background: #f4ffed !important;
    border: 2px solid #00ff3a !important;
}

.resultado-12-pontos {
    background: #cdffae !important;
    border: 2px solid #00ff3a !important;
}

.resultado-13-pontos {
    background: #84ff37 !important;
    border: 2px solid #d500ff !important;
    animation: altaPontuacao 1.5s infinite !important;
}

.resultado-14-pontos {
    border: 1px solid #28f700 !important;
    background: #84ff37 !important;
    animation: altaPontuacao 1.5s infinite !important;
}

.resultado-15-pontos {
    background: #84ff37 !important;
    border: 2px solid #d500ff !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    animation: altaPontuacao 1.5s infinite !important;
}

/* Animação especial para 15 pontos */
@keyframes shimmer {
    0% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.6); }
    100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
}

/* Ajuste para as estatísticas dentro do container */
.conferencia-resultado .estatisticas-compactas {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}



/* ========== MODO CONFERIDOR STYLES ========== */

/* Botão de atalho */
.atalhos-rapidos {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #68ff85 0%, #e8e8e8 100%);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-conferidor {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-conferidor:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-conferidor i {
    margin-right: 8px;
}

/* Container do Conferidor */
.conferidor-container {
    animation: fadeIn 0.3s ease;
}

.conferidor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.conferidor-header h2 {
    color: var(--lep-primary);
    margin: 0;
    font-size: 1.8rem;
}

/* Seção do Volante */
.conferidor-volante-section {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.volante-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.volante-header h3 {
    color: #333;
    margin: 0;
    font-size: 1.3rem;
}

.volante-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.1rem;
}

.volante-info .contador-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--lep-primary);
    margin: 0 5px;
}

.volante-info .contador-value.valid {
    color: var(--lep-success);
}

.volante-info .contador-value.invalid {
    color: var(--lep-danger);
}

/* Grid do Volante Conferidor */
.volante-conferidor-container {
    max-width: 500px;
    margin: 0 auto;
}

.volante-conferidor-container .volante-grid {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

/* Ações do Volante */
.volante-acoes {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* Display de dezenas selecionadas */
.dezenas-display-conferidor {
    margin: 10px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    min-height: 60px;
}

/* Botões de ação */
.volante-botoes {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.volante-botoes .btn {
    min-width: 120px;
}

.btn-danger {
    background: var(--lep-danger);
    color: white;
    color: white;
    /* padding: 5px 10px; */
    border-radius: 5px;
    padding: 8px;
}

.btn-danger:hover {
    background: #c82333;
}

/* Highlight na linha selecionada */
#conferidor-resultados-container tr.selecionado {
    background: #fff3cd !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#conferidor-resultados-container tr[data-palpite-id] {
    cursor: pointer;
    transition: all 0.2s;
}

#conferidor-resultados-container tr[data-palpite-id]:hover {
    background: #f0f8ff;
}

/* Container de resultados do conferidor */
#conferidor-resultados-container {
    margin-top: 30px;
}

#conferidor-resultados-container .conferencia-section,
#conferidor-resultados-container .tabela-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .conferidor-header {
        flex-direction: row;
        gap: 10px;
        text-align: center;
    }
    
    .volante-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .volante-acoes {
        flex-wrap: wrap;
    }
    
    .volante-botoes {
        flex-wrap: wrap;
    }
    
    .volante-botoes .btn {
        flex: 1;
        min-width: 100px;
    }
}

@media (max-width: 450px) {
    .btn-conferidor {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .conferidor-volante-section {
        padding: 15px;
    }
    
    .volante-conferidor-container .volante-grid {
        padding: 15px;
    }
}


.estatisticas-compactas {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(20px, 1fr)) !important;
    gap: 2px !important;
}

.stat-compacta {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.controles-visuais-2-1 {
    display: flex !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    margin-top: 15px !important;
    /* border-left: 4mm ridge rgb(106 8 213 / 56%); */
    border-left: solid !important;
    border-radius: 10px !important;
    padding: 3px !important;
}

.tabela-controles {
    display: flex !important;
    gap: 20px !important;
    align-items: center !important;
    justify-content: space-between !important;
}



/* ========== MODO CONFERIDOR - ESTILOS CORRIGIDOS ========== */

/* Botão de atalho principal */
.atalhos-rapidos {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #68ff85 0%, #e8e8e8 100%);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-conferidor {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-conferidor:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* Container do Conferidor */
#modo-conferidor-container {
    animation: fadeIn 0.3s ease;
}

.conferidor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px !important;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.conferidor-header h1 {
    color: var(--lep-primary);
    margin: 0;
    font-size: 0.9rem;
}

/* Seção do Volante */
.conferidor-volante-section {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.volante-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.volante-header h3 {
    color: #333;
    margin: 0;
    font-size: 1.3rem;
}

/* Volante Conferidor específico */
#volante-conferidor {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    max-width: 400px;
    margin: 5px auto;
    padding: 20px;
    background: #f2ffd3;
    border-radius: var(--lep-radius);
    box-shadow: rgb(10 0 35 / 30%) 0px 0px 0px 3px;
}

#volante-conferidor .volante-numero {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--lep-border);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

#volante-conferidor .volante-numero:hover:not(.disabled) {
    transform: scale(1.05);
    border-color: var(--lep-primary);
    background: #f0e6ff;
}

#volante-conferidor .volante-numero.selected {
    background: #209869 !important;
    color: white !important;
    border-color: #000000 !important;
}

/* Botões principais do conferidor */
.volante-botoes-principais {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: stretch;
    flex-direction: row;
    border: 1px solid #ffffff00;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
    border-radius: 5px;
}



/* Ações extras do conferidor */
.conferidor-acoes-extras {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px !important;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.conferidor-acoes-extras .btn {
    padding: 12px 25px;
    font-size: 1rem;
}

/* Linha selecionável na tabela */
#modo-conferidor-container #tabela-palpites-body tr {
    cursor: pointer;
    transition: all 0.2s;
}

#modo-conferidor-container #tabela-palpites-body tr:hover {
    background: #f0f8ff !important;
}

#modo-conferidor-container #tabela-palpites-body tr.selecionado {
    background: #fff3cd !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Botão "Limpar Todos" específico */
.btn-warning {
    background: var(--lep-warning);
    color: #333;
    border: none;
    border-radius: 5px;
    padding: 8px
}

.btn-warning:hover {
    background: #e0a800;
}

/* Responsividade */
@media (max-width: 768px) {
    .conferidor-header {
        flex-direction: row;
        gap: 10px;
        text-align: center;
    }
    
    .volante-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    

    .volante-botoes-principais .btn {
        width: 100%;
    }
    
    .conferidor-acoes-extras {
        flex-direction: column;
    }
    
    #volante-conferidor {
        max-width: 300px;
        gap: 5px;
        padding: 15px;
    }
}

@media (max-width: 450px) {
    .btn-conferidor {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .conferidor-volante-section {
        padding: 15px;
    }
    
    #volante-conferidor .volante-numero {
        font-size: 0.9rem;
    }
}


/* ========= ESTILOS RETIRADOS DO ARQUIVO JS ======== */

        /* Estilos Compactos e Modernos */
        .conferencia-section {
            background: white;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 10px;
            box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
        }

        .conferencia-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
    padding: 5px;
    border-radius: 5px;
    background: #dddddd2e;
    border-left: 2px solid #5705ff !important;
    justify-content: space-evenly;
    align-items: flex-end;
        }

        .control-group {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .control-group label {
            font-size: 0.9rem;
            font-weight: 600;
            color: #555;
        }

        .form-control {
            padding: 6px 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 0.9rem;
        }

        .quick-access-buttons {
            display: flex;
            gap: 5px;
            align-items: center;
            flex-wrap: wrap;
        }

        .btn-quick {
    padding: 5px 10px;
    background: #e8dcff82;
    border: 1px solid #ababab;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
        }

        .btn-quick:hover {
            background: var(--lep-primary);
            color: white;
            border-color: var(--lep-primary);
        }

        .btn-quick.active {
            background: var(--lep-primary);
            color: white;
            border-color: var(--lep-primary);
        }

        .control-actions {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .conferencia-resultado {
            margin-top: 20px;
            padding: 15px;
            border-radius: 6px;
        }
        
        
        .estatisticas-compactas {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 10px;
        }

        .stat-compacta {
            background: white;
            padding: 10px;
            border-radius: 6px;
            text-align: center;
            border: 1px solid #e9ecef;
            box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
        }

        .stat-compacta .stat-value {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--lep-primary);
        }

        /* Tabela Compacta */
        .tabela-section {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
            margin-bottom: 10px !important;
        }

        .tabela-palpites {
            width: 100%;
            font-size: 0.9rem;
        }

        .tabela-palpites th {
            background: #f8f9fa;
            padding: 8px;
            text-align: center;
            font-weight: 600;
            font-size: 0.85rem;
            border-bottom: 2px solid #dee2e6;
            white-space: nowrap;
        }

        .tabela-palpites th.sortable {
            cursor: pointer;
            user-select: none;
        }

        .tabela-palpites th.sortable:hover {
            background: #e9ecef;
        }

        .tabela-palpites td {
            padding: 2px;
            text-align: center;
        }
        
        .pontos-11 { color: #6c757d; }
        .pontos-12 { color: #17a2b8; }
        .pontos-13 { color: #ffc107; }
        .pontos-14 { color: #fd7e14; }
        .pontos-15 { color: #28a745; font-weight: bold; }

        .pontos-destaque {
            background: #fff3cd;
        }

        .loading-inline {
            color: var(--lep-primary);
            font-size: 0.9rem;
            display: none !important;
        }

        .table-responsive {
            overflow-x: auto;
            box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
            border-radius: 14px !important;
        }

        .tabela-controles {
            display: flex;
            gap: 20px;
            align-items: center;
            justify-content: space-between;
            flex-direction: row;
            flex-wrap: nowrap;
            margin-bottom: 15px;
        }
        
        .tabela-controles-2 {
    display: flex;
    gap: 20px;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 5px;
    margin-top: 10px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
    border-radius: 5px;
        }
        
        .controles-visuais-2-1 {
    display: flex;
    flex-direction: row;
    align-content: space-between;
    justify-content: space-around;
    flex-wrap: nowrap;

        
        }
        
        .paginacao-controles {
            display: flex;
            gap: 5px;
        }

        .btn-page {
            padding: 6px 10px;
            background: white;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-page:hover:not(:disabled) {
            background: var(--lep-primary);
            color: white;
        }

        .btn-page:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .btn-page.active {
            background: var(--lep-primary);
            color: white;
        }

        .btn-icon {
            background: none;
            border: none;
            color: var(--lep-primary);
            cursor: pointer;
            padding: 4px 8px;
        }

        .btn-icon:hover {
            color: var(--lep-primary-dark);
        }
        
        /* Controles visuais */
        .controles-visuais {
            display: flex;
            gap: 15px;
            margin-left: auto;
        }
        
        .controles-visuais label {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.9rem;
            cursor: pointer;
        }
        
        /* Destaques de dezenas */
        .destaque-reducao {
            background: #007bff !important;
            border: 2px solid #0056b3;
        }
        
        .destaque-fixa {
         /*   background: #d500f9 !important; */
            border: 1px solid #1e7e34;
        }
        
        .destaque-complemento {
            background: #ffc107 !important;
            color: #333 !important;
            border: 2px solid #e0a800;
        }
        
        /* Opções de exportação */
        .export-options {
            margin-top: 10px;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 4px;
        }
        
        .export-options label {
            margin-right: 15px;
        }
        
        
        .esmaecido {
            opacity: 0.2;
        }
        
        
        /* Estatísticas clicáveis */
.stat-clicavel {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.stat-clicavel:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background: #3cffa63b !important;
}

.stat-hint {
    font-size: 0.7rem;
    color: #666;
    margin-top: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-clicavel:hover .stat-hint {
    opacity: 1;
}

/* Botão de voltar */
.voltar-container {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--lep-primary);
}

.btn-voltar {
    padding: 8px 16px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-voltar:hover {
    background: var(--lep-primary);
    color: white;
    border-color: var(--lep-primary);
}

.info-filtro {
    font-size: 0.9rem;
    color: #666;
}

.info-filtro strong {
    color: var(--lep-primary);
    font-size: 1.1rem;
}

/* Destaque especial para dezenas acertadas no modo filtrado */
.destaque-acerto-filtro {
    background: #28a745 !important;
    color: white !important;
    font-weight: bold;
    border: 2px solid #1e7e34;
    
}

@keyframes pulse-acerto {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Coluna de concurso */
.col-concurso {
    font-weight: bold;
    color: #0066cc;
    font-size: 1rem;
}

/* Indicador visual no modo filtrado */
.tabela-section.modo-filtrado {
    border: 2px solid var(--lep-primary);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .voltar-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .btn-voltar {
        width: 100%;
    }
}

/* Destaque para acertos no modo filtrado */
.destaque-acerto-filtro {
    background: #28a745 !important;
    color: white !important;
    font-weight: bold;
    border: 2px solid #1e7e34;
    position: relative;
}

/* Combinação de destaques */
.destaque-acerto-filtro.destaque-reducao {
    background: linear-gradient(135deg, #28a745 50%, #007bff 50%) !important;
}

.destaque-acerto-filtro.destaque-fixa {
    background: linear-gradient(135deg, #28a745 50%, #d500f9 50%) !important;
}

.destaque-acerto-filtro.destaque-complemento {
    background: linear-gradient(135deg, #28a745 50%, #ffc107 50%) !important;
}

/* Garantir que checkbox de acertos seja sempre visível no modo filtrado */
.modo-filtrado label:has(#destacar-premiadas) {
    display: flex !important;
    order: -1; /* Colocar em primeiro */
}



/* Destaques esmaecidos quando não são premiadas */
.destaque-reducao-esmaecido {
    background: rgba(0, 123, 255, 0.3) !important;
    opacity: 0.4 !important;
    border: 1px solid rgb(0 0 0) !important;
    color: #010101 !important;
}

.destaque-fixa-esmaecido {
    background: rgb(213 0 249 / 40%) !important;
    opacity: 0.4 !important;
    border: 1px solid rgb(5 5 5) !important;
    color: #000000 !important;
}

.destaque-complemento-esmaecido {
    background: rgb(255 193 7 / 39%) !important;
    opacity: 0.4 !important;
    color: #000000 !important;
    border: 1px solid rgb(7 7 7 / 85%) !important;
}

/* Garantir que premiadas sempre fiquem vibrantes */
.destaque-premiada,
.destaque-acerto-filtro {
    opacity: 1 !important;
    font-weight: bold !important;
}

/* Combinações: premiada + tipo (vibrante) */
.destaque-premiada.destaque-reducao,
.destaque-acerto-filtro.destaque-reducao {
    background: #007bff !important;
    opacity: 1 !important;
    
}

.destaque-premiada.destaque-fixa,
.destaque-acerto-filtro.destaque-fixa {
    background: #d500f9 !important;
    opacity: 1 !important;
    
}

.destaque-premiada.destaque-complemento,
.destaque-acerto-filtro.destaque-complemento {
    background: #f99700 !important;
    opacity: 1 !important;
    color: white !important;
    border: 1px solid black !important;
}

/* Animação suave para combinações */
@keyframes pulse-combo {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(40, 167, 69, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 0 10px rgba(40, 167, 69, 0.6); }
    100% { transform: scale(1); box-shadow: 0 0 0 rgba(40, 167, 69, 0.4); }
}

/* Ajuste visual para contraste */
.dezena-num {
    transition: all 0.3s ease;
}

/* Garantir hierarquia visual */
.esmaecido {
    opacity: 0.2 !important;
    filter: grayscale(50%);
}

/* Estados hover para melhor interatividade */
.destaque-reducao-esmaecido:hover,
.destaque-fixa-esmaecido:hover,
.destaque-complemento-esmaecido:hover {
    opacity: 0.6;
    transform: scale(1.05);
    cursor: help;
}

/* Tooltip visual para dezenas esmaecidas */
.destaque-reducao-esmaecido::after,
.destaque-fixa-esmaecido::after,
.destaque-complemento-esmaecido::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.7rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.destaque-reducao-esmaecido:hover::after,
.destaque-fixa-esmaecido:hover::after,
.destaque-complemento-esmaecido:hover::after {
    opacity: 1;
}































.stat-item strong {
    color: var(--lep-primary);
    font-weight: 600;
}


/* Controle inserir concurso */
#controle-inserir input {
    max-width: 150px;
}

/* Botão de período rápido ativo */
.btn-quick.active {
    background-color: var(--lep-primary, #7c3aed);
    color: white;
    border-color: var(--lep-primary, #7c3aed);
    font-weight: 600;
}

.btn-quick.active:hover {
    background-color: var(--lep-primary-dark, #6d28d9);
    transform: none;
}




/* NOVOS ESTILOS para limite de filtro */
.stat-bloqueada {
    opacity: 0.9;
    cursor: not-allowed !important;
    position: relative;
}

.stat-bloqueada:hover {
    transform: none !important;
}

.stat-bloqueio {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #dc3545;
    font-size: 12px;
}

.aviso-limite-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 10px 15px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none!important;
}

.aviso-limite-info i {
    color: #856404;
}

.btn-ajustar-limite {
    margin-left: auto;
    padding: 4px 12px;
    background: #ffc107;
    color: #333;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-ajustar-limite:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

.btn-limite-sugerido {
    padding: 6px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-limite-sugerido:hover {
    background: var(--lep-primary);
    color: white;
    border-color: var(--lep-primary);
}

.modal-limite h3 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: #333;
}

.modal-limite p {
    color: #666;
}

.modal-limite small {
    display: block;
    margin-top: 5px;
}

/* Indicador visual nos cards de estatísticas */
.stat-compacta.stat-clicavel:hover .stat-hint {
    display: block !important;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    background: #333;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.stat-compacta {
    position: relative;
}


#info-conferencia {
    background: #f7f7f7;
    padding: 5px;
    border: 1px solid gray;
    border-radius: 5px;
    font-size: 1rem;
}





/* Controles Visuais Aprimorados */
.controles-visuais-2-1 {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.check-box-destaques {
    display: flex !important;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    user-select: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.check-box-destaques:hover {
    background: rgba(0,0,0,0.05);
}

.check-box-destaques input[type="checkbox"] {
    cursor: pointer;
}

/* Responsividade para mobile */
@media (max-width: 450px) {
    .controles-visuais-2-1 {
        font-size: 0.85rem;
        gap: 10px;
    }
    
    .check-box-destaques {
        padding: 3px 6px;
    }
}

.ocultar-btn-conferidor {
    display: none;
}


.mostrar-btn-conferidor {
    display: block;
}