/* Mentor Dudu — cores BRBet (brbet.bet.br) */
:root {
    --brand-primary: #153878;
    --brand-primary-hover: #102851;
    --brand-accent: #02325a;
    --brand-dark: #1b2c4d;
    --cell-win: #000000;
    --cell-loss: #eab308;
    --cell-scheduled: #02325a;
    --bg-table: #232323;
}

.bg-brand { background-color: var(--brand-primary) !important; }
.bg-brand:hover { background-color: var(--brand-primary-hover) !important; }
.text-brand { color: var(--brand-accent); }

.cell-win {
    background-color: var(--cell-win) !important;
    color: white !important;
}
.cell-loss {
    background-color: var(--cell-loss) !important;
    color: white !important;
}
.cell-scheduled {
    background-color: var(--cell-scheduled) !important;
    color: white !important;
}
.cell-neutral {
    background-color: #3a3a3a !important;
    color: white !important;
}

.competition-btn.active .competition-circle {
    background-color: var(--brand-primary);
}
.competition-btn:not(.active) .competition-circle {
    background-color: white;
}

.nav-link-active {
    background-color: white !important;
    color: black !important;
}

/* ======================================== */
/* BOTÕES DE FILTRO (Result Types, Score Groups, Score Filters) */
/* ======================================== */
.filter-btn-active {
    background-color: white !important;
    color: #02325a !important;
    border: 1px solid white !important;
}
.filter-btn-inactive {
    background-color: #02325a !important;
    color: white !important;
    border: 1px solid transparent !important;
}
.filter-btn-inactive:hover {
    background-color: #014a8a !important;
    color: white !important;
}

/* ======================================== */
/* BOTÃO TOGGLE ODDS */
/* ======================================== */
.odds-toggle-active {
    background-color: #ffffff !important;
    color: #02325a !important;
}
.odds-toggle-inactive {
    background-color: #02325a !important;
    color: white !important;
}
.odds-toggle-inactive:hover {
    background-color: #014a8a !important;
    color: white !important;
}

/* ======================================== */
/* BOTÕES DE MERCADO (Casa, Empate, Fora, etc) */
/* ======================================== */
.market-btn-active {
    background-color: #ffffff !important;
    color: #02325a !important;
}
.market-btn-available {
    background-color: #02325a !important;
    color: white !important;
    cursor: pointer !important;
    opacity: 1 !important;
}
.market-btn-available:hover {
    background-color: #014a8a !important;
    color: white !important;
}
.market-btn-disabled {
    background-color: #374151 !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
}

/* ======================================== */
/* COLOR PICKERS */
/* ======================================== */
.color-picker-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    margin-top: 8px;
}
.color-picker-container {
    position: relative;
}

/* ======================================== */
/* TOOLTIP */
/* ======================================== */
.tabela-resultados {
    background-color: var(--bg-table) !important;
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: visible;
    position: relative;
}
.tabela-resultados table {
    overflow: visible;
}
.tooltip-cell {
    position: relative;
    cursor: pointer;
    z-index: 1;
}
.tooltip-cell:hover {
    z-index: 1000001;
}
.tooltip-text {
    visibility: hidden;
    background-color: #1a1a2e;
    color: white;
    border-radius: 8px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1000002;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 11px;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
    border: 1px solid #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    max-width: 320px;
}
.tooltip-cell:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.cell-empty {
    background-color: #232323 !important;
    color: #666 !important;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: var(--brand-primary); border-radius: 4px; }