/* assets/css/site-style.css */

/* --- Importação de Fonte e Variáveis Globais (TEMA ESCURO para o Site) --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

:root {
    --site-bg-color: #1a1a1a; /* Fundo principal do site */
    --top-bar-bg: #000;      /* Barra superior mais escura */
    --header-bg: #2a2a2a;    /* Fundo do cabeçalho principal */
    --nav-link-color: #f0f0f0; /* Cor do texto dos links de navegação */
    --nav-link-hover: #0d6efd; /* Azul para hover da navegação */
    --hero-overlay-color: rgba(0, 0, 0, 0.6); /* Escurece a imagem de fundo */
    --text-color-light: #f8f9fa; /* Texto claro para seções escuras */
    --text-color-muted: #adb5bd; /* Texto secundário */

    --btn-primary-site: #e74c3c; /* Vermelho para o botão primário (Cadastre-se) */
    --btn-secondary-site: #2980b9; /* Azul para o botão secundário (Escritório) */

    --card-bg-dark: #2a2a2a; /* Fundo dos cards (para seções futuras) */
    --border-color-dark: #444; /* Borda para elementos */
}

/* --- Estilos Gerais --- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--site-bg-color);
    color: var(--text-color-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    color: var(--text-color-light);
    margin-bottom: 0.5rem;
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--top-bar-bg);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar .container {
    max-width: 1200px; /* Limita a largura do conteúdo interno */
}

.top-bar-left span {
    color: var(--text-color-muted);
}

.top-bar-right .prize-ticker {
    color: var(--text-color-muted);
    white-space: nowrap; /* Evita quebras de linha */
    overflow: hidden; /* Oculta o conteúdo que excede */
    text-overflow: ellipsis; /* Adiciona "..." se o texto for muito longo */
}

/* --- Main Navbar --- */
.main-navbar {
    background-color: var(--header-bg);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color-dark);
}

.main-navbar .container {
     max-width: 1200px;
}

.navbar-brand img {
    height: 50px; /* Altura fixa para o logo */
    width: auto;
}

.main-navbar .nav-link {
    color: var(--nav-link-color);
    font-weight: 500;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    position: relative;
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--nav-link-hover);
    transition: width 0.3s ease;
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    width: 100%;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--nav-link-hover);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color-light);
    font-size: 1.25rem;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-toggler .fa-bars {
    color: var(--text-color-light);
}

/* Ícones sociais no header */
.navbar-right-actions a {
    color: var(--nav-link-color);
    font-size: 1.25rem;
    margin-left: 1rem;
}
.navbar-right-actions a:hover {
    color: var(--nav-link-hover);
}

/* --- Hero Section --- */
.hero-slider-section {
    position: relative;
    height: 60vh; /* Altura do slider */
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    background-position: center;
    background-size: cover;
    position: relative;
}

/* ESTA É A PARTE NOVA E CRUCIAL */
.hero-slider .swiper-slide .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Alinha verticalmente */
    align-items: center;     /* Alinha horizontalmente */
    position: relative; /* Necessário para o z-index funcionar */
    z-index: 2; /* Coloca o container à frente da sobreposição */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--hero-overlay-color);
    z-index: 1; /* Fica atrás do conteúdo */
}

.hero-content {
    max-width: 800px;
    color: #fff;
}

.hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #fff;
}

.hero-buttons .btn {
    margin: 0 0.75rem;
    padding: 0.8rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary-custom {
    background-color: var(--btn-primary-site);
    border-color: var(--btn-primary-site);
    color: #fff;
}
.btn-primary-custom:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary-custom {
    background-color: var(--btn-secondary-site);
    border-color: var(--btn-secondary-site);
    color: #fff;
}
.btn-secondary-custom:hover {
    background-color: #2471a3;
    border-color: #2471a3;
    color: #fff;
    transform: translateY(-2px);
}

/* Customização da Navegação e Paginação do Swiper */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    width: 12px;
    height: 12px;
}
.swiper-pagination-bullet-active {
    background: var(--nav-link-hover);
}

/* --- Responsividade --- */
@media (max-width: 992px) { /* Tablets e menores */
    .main-navbar .nav-link {
        margin: 0;
        text-align: center;
    }
    .main-navbar .nav-link::after {
        left: 0;
        transform: none;
        width: 100%;
    }
    .navbar-collapse {
        background-color: var(--header-bg);
        padding-bottom: 1rem;
    }
    .navbar-right-actions {
        text-align: center;
        margin-top: 1rem;
    }
    .navbar-right-actions a {
        margin: 0 0.5rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) { /* Celulares */
    .top-bar-right .prize-ticker {
        display: none; /* Esconde o ticker de prêmios em telas muito pequenas */
    }
    .top-bar .container {
        justify-content: center;
    }
    .hero-section {
        height: 50vh;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-buttons .btn {
        margin: 0.5rem 0;
        width: 80%;
        max-width: 300px;
    }
}

/* --- AJUSTE DE CENTRALIZAÇÃO VERTICAL DO SLIDER --- */
.hero-slider .swiper-slide {
    display: flex;
    align-items: center;      /* ESSENCIAL: Alinha o conteúdo verticalmente ao centro */
    justify-content: center;  /* Garante o alinhamento horizontal */
}


/* --- Seção Principal de Conteúdo --- */
.main-content-section {
    background-color: #1e1e1e; /* Um fundo ligeiramente diferente para destacar a área principal */
    border-top: 1px solid var(--border-color-dark);
}

/* --- Sidebar de Jogos (Coluna da Esquerda) --- */
.game-sidebar .sidebar-widget {
    background-color: var(--card-bg-dark);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color-dark);
}

/* Widget de Banner */
.widget-banner img {
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Widget de Menu de Jogos */
.widget-games .widget-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color-dark);
}

.widget-games ul li a {
    display: flex;
    align-items: center;
    padding: 0.9rem 1.2rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    background-color: #27ae60; /* Verde padrão para os botões de jogo */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.widget-games ul li a:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.widget-games ul li.active a {
    background-color: #e91e63; /* Cor rosa/magenta para o item ativo */
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
}

.widget-games ul li a i {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

/* Widgets de Informação (Online e Cadastros) */
.sidebar-widget .widget-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color-muted);
    margin-bottom: 1rem;
}

.widget-online-users .online-count {
    background-color: #111;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-align: center;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border-color-dark);
}

.widget-last-registered ul li {
    color: var(--text-color-muted);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--border-color-dark);
}

.widget-last-registered ul li:last-child {
    border-bottom: none;
}

/* --- Área de Conteúdo do Jogo (Coluna da Direita) --- */
.game-content-area .placeholder-card {
    background-color: var(--card-bg-dark);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color-dark);
    text-align: center;
    color: var(--text-color-muted);
    min-height: 400px; /* Altura mínima para visualização */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* --- Responsividade para a Sidebar --- */
@media (max-width: 991px) { /* Em telas de tablet e menores */
    .game-sidebar {
        margin-bottom: 2rem; /* Adiciona um espaço quando as colunas se empilham */
    }
}

/* --- Interface de Jogo (Coluna da Direita) --- */
.game-interface-card {
    background-color: var(--card-bg-dark);
    border-radius: 8px;
    border: 1px solid var(--border-color-dark);
    overflow: hidden; /* Garante que os cantos arredondados sejam aplicados a tudo */
}

/* Cabeçalho do Jogo */
.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #343a40;
    flex-wrap: wrap; /* Permite quebrar linha em telas pequenas */
    gap: 1rem;
}
.game-title h2 { margin: 0; font-size: 1.8rem; }
.game-title p { margin: 0; font-size: 0.85rem; }

.game-info { display: flex; align-items: center; gap: 1.5rem; }
.countdown-timer, .available-balance { text-align: right; }
.timer-label, .balance-label { font-size: 0.8rem; color: var(--text-color-muted); display: block; }
.timer-box { display: inline-block; background: #212529; padding: 0.3rem 0.5rem; border-radius: 4px; margin-left: 0.3rem; }
.timer-box span { font-weight: 700; }
.balance-value { font-size: 1.2rem; font-weight: 700; }

/* Barra de Prêmio */
.prize-bar {
    background: linear-gradient(90deg, #3b5998, #2980b9);
    text-align: center;
    padding: 1rem;
    color: #fff;
}
.prize-bar h4 { margin: 0; font-weight: 400; font-size: 1rem; text-transform: uppercase; }
.prize-bar h2 { margin: 0; font-size: 2.5rem; }

/* Abas de Ação */
.game-tabs {
    display: flex;
    background-color: #e9ecef;
    padding: 0.75rem;
    gap: 0.75rem;
    flex-wrap: wrap; /* Permite quebrar linha */
}
.game-tab-item {
    flex-grow: 1; /* Faz os botões ocuparem espaço igual */
    text-align: center;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    color: #333;
    background-color: #ced4da;
    font-weight: 600;
    transition: all 0.3s ease;
}
.game-tab-item:hover { background-color: #adb5bd; }
.game-tab-item.active {
    background: linear-gradient(to right, #e91e63, #c2185b);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Área do Formulário */
.game-form-area {
    padding: 1.5rem;
    background-color: #1f283e; /* Fundo azul-escuro para a área do formulário */
}

.form-info-header {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: rgba(0,0,0,0.2);
    border-radius: 6px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-controls {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.input-group-custom { text-align: center; }
.input-group-custom label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.input-group-custom .form-select { max-width: 100px; }
.surpresinha-link { display: block; margin-top: 0.5rem; font-size: 0.9rem; color: #f39c12; text-decoration: underline; }

.form-actions-secondary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color-dark);
    border-bottom: 1px solid var(--border-color-dark);
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}
.teimosinha strong { margin-right: 0.5rem; }
.teimosinha-ball {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    background-color: #e74c3c;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 0.2rem;
}
.btn-limpar { background-color: #6c757d; color: #fff; }

/* Grid de Números */
.number-grid-container { margin-bottom: 1.5rem; }
.number-grid-container p { font-size: 1.1rem; text-align: center; }

.number-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.number-ball {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 2px solid #6c757d;
    background-color: transparent;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}
.number-ball:hover { background-color: #6c757d; }
.number-ball.active {
    background-color: #3498db;
    border-color: #3498db;
}

.super-bolas-grid .number-ball {
    background-color: rgba(52, 152, 219, 0.2); /* Fundo azulado para as super bolas */
    border-color: #3498db;
}
.super-bolas-grid .number-ball.active {
    background-color: #f1c40f;
    border-color: #f1c40f;
    color: #333;
}

/* Botão de Adicionar */
.form-submit-action { text-align: center; margin-top: 1rem; }
.btn-add-game {
    background: linear-gradient(to right, #ff00ff, #ff0066);
    color: #fff;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 0, 102, 0.4);
}



/* --- Estilos da Página de Resultados (Super Chute) --- */
.game-results-area {
    padding: 1.5rem;
    background-color: #2c3e50; /* Fundo azul-marinho para a área de resultados */
}

.results-tabs .game-tab-item.active {
    background: #e91e63; /* Cor diferente para a aba ativa de resultados */
}

.info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0,0,0,0.2);
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.results-title {
    text-align: center;
    margin: 2rem 0 1.5rem 0;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.confrontos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.match-card {
    background-color: #34495e;
    border: 1px solid #4a6fa5;
    border-radius: 8px;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr 1fr;
    align-items: center;
    gap: 0.5rem 1rem;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}
.match-card .match-label { grid-column: 1 / -1; font-weight: bold; text-align: center; margin-bottom: 0.5rem; }
.match-card .team { display: flex; justify-content: space-between; }
.match-card .total-goals {
    grid-column: 2;
    grid-row: 2 / 4;
    background-color: #e74c3c;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.rateio-box {
    background-color: rgba(0,0,0,0.2);
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}
.rateio-box h4 { margin-bottom: 1rem; }
.rateio-box .rateio-number {
    display: inline-block;
    background-color: #4a6fa5;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.rateio-box p { line-height: 1.5; font-size: 1.1rem; }

.results-table-container {
    background-color: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.results-table-container h4, .results-table-container h5 { text-align: center; margin-bottom: 1rem; }

.results-table-header, .results-table-row {
    display: flex;
    padding: 0.8rem;
    border-radius: 25px;
    margin-bottom: 0.5rem;
    align-items: center;
}
.results-table-header {
    background-color: #34495e;
    font-weight: 600;
}
.results-table-row {
    background-color: #4a6fa5;
}
.results-table-header > div, .results-table-row > div {
    flex: 1;
    padding: 0 0.5rem;
    text-align: center;
}
.results-table-header > div:first-child, .results-table-row > div:first-child { text-align: left; }
.results-table .code { color: #f39c12; font-weight: bold; }

.previous-results-form h4 { text-align: center; margin-bottom: 1rem; }
.btn-search {
    background-color: #1abc9c;
    color: #fff;
    min-width: 50px;
}

/* --- Estilos da Página de Aposta (Super Chute) --- */
.super-chute-bet-area {
    background-color: #1f283e;
    padding: 1.5rem;
}

.super-chute-selection {
    text-align: center;
    padding: 1rem;
    background-color: rgba(0,0,0,0.2);
    border-radius: 6px;
    margin-bottom: 1.5rem;
}
.super-chute-selection p {
    margin-bottom: 1rem;
}
.super-chute-balls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.chute-ball, .chute-ball-plus {
    border: 1px solid #6c757d;
    background-color: #34495e;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.chute-ball:hover { background-color: #4a6fa5; }
.chute-ball.active { background-color: #e74c3c; border-color: #c0392b; }
.chute-ball-plus { font-size: 1.5rem; }

/* Lista de Previsão de Jogos */
.match-prediction-list {
    background-color: rgba(0,0,0,0.2);
    border-radius: 6px;
    overflow-x: auto; /* Adiciona scroll horizontal em telas muito pequenas */
}

.match-prediction-header, .match-prediction-row {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #34495e;
    min-width: 800px; /* Largura mínima para evitar quebra de layout */
}
.match-prediction-header {
    background-color: #34495e;
    font-weight: 600;
    color: var(--text-color-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
}
.match-prediction-row:last-child { border-bottom: none; }

.col-jogo { flex: 0 0 50px; text-align: center; font-weight: 700; }
.col-data { flex: 0 0 100px; text-align: center; font-size: 0.9rem; }
.col-confronto { flex: 1 1 180px; }
.col-confronto span { display: block; }
.col-chute { flex: 2 1 400px; display: flex; justify-content: space-around; }
.col-chute button {
    background: transparent;
    border: 1px solid #4a6fa5;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.col-chute button:hover { background-color: #4a6fa5; }
.col-chute button.active { background-color: #27ae60; border-color: #27ae60; }


/* --- Estilos da Página de Cadastro (Site Público) --- */
.form-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    border-bottom: 2px solid var(--border-color-dark);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--text-color-muted);
}

.form-control-dark {
    background-color: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color-dark);
    color: var(--text-color-light);
    padding: 0.75rem 1rem;
}

.form-control-dark:focus {
    background-color: rgba(0,0,0,0.3);
    border-color: var(--nav-link-hover);
    color: var(--text-color-light);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-control-dark::placeholder {
    color: var(--text-color-muted);
    opacity: 0.7;
}

.form-check-label a {
    color: var(--nav-link-hover);
    text-decoration: underline;
}

/* --- Estilos para o Modal Personalizado (Site Público) - TEMA ESCURO COMPLETO --- */

/* Fundo do modal (backdrop) */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

/* Frame do Modal (corpo geral) */
#sugestoesModal .modal-content {
    background-color: var(--card-bg-dark);
    color: var(--text-color-light);
    border: 1px solid var(--border-color-dark);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Cabeçalho do modal */
#sugestoesModal .modal-header {
    border-bottom: 1px solid var(--border-color-dark);
    padding: 1rem 1.5rem;
}

#sugestoesModal .modal-header .modal-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
}

/* Botão de fechar (X) */
#sugestoesModal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Corpo do modal */
#sugestoesModal .modal-body {
    background-color: transparent; /* Garante que ele use o fundo do .modal-content */
}

#sugestoesModal .modal-body p {
    color: var(--text-color-muted);
    margin-bottom: 1.5rem;
}

/* Formulários DENTRO do Modal (agora escuros) */
#sugestoesModal .form-label {
    color: var(--text-muted-color);
    font-weight: 500;
}

#sugestoesModal .form-select {
    /* Reutiliza o estilo do .form-select-dark que já criamos */
    background-color: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color-dark);
    color: var(--text-color-light);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

#sugestoesModal .form-select:focus {
    background-color: rgba(0,0,0,0.3);
    border-color: var(--nav-link-hover);
    color: var(--text-color-light);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

#sugestoesModal select.form-select option {
    background-color: #fff; /* A lista dropdown PODE ser clara para legibilidade */
    color: #212529;
}

/* Lista Dinâmica de Membros (agora escura) */
#listaMembros .list-group-item {
    background-color: #34495e; /* Fundo cinza-azulado escuro */
    color: var(--text-color-light); /* Texto claro */
    border: none;
    border-bottom: 1px solid var(--border-color-dark);
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

#listaMembros .list-group-item:last-child { border-bottom: none; }
#listaMembros .list-group-item:hover { background-color: #4a6fa5; }

#listaMembros .btn-success {
    background-color: #25d366; border-color: #25d366; font-weight: 600;
}
#listaMembros .btn-success:hover {
    background-color: #1ebe57; border-color: #1ebe57;
}

/* Alerta de "clique aqui" fora do modal (ajuste de cor para melhor contraste) */
.alert-warning {
    background-color: #494436;
    border-color: #665d43;
    color: #f8e3a0;
}
.alert-warning a {
    color: #fff; /* Texto branco no link para destaque */
    font-weight: bold;
    text-decoration: underline;
}

/* Botão para encontrar indicador (fora do modal) */
.btn-outline-primary {
    color: var(--nav-link-hover);
    border-color: var(--nav-link-hover);
}
.btn-outline-primary:hover {
    background-color: var(--nav-link-hover);
    border-color: var(--nav-link-hover);
    color: #fff;
}

/* --- Estilos para Select Personalizado (Site Público) --- */

.form-select-dark {
    /* Base - Reutiliza estilos dos outros inputs */
    background-color: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color-dark);
    color: var(--text-color-light);
    padding: 0.75rem 2.25rem 0.75rem 1rem; /* Mais padding à direita para a seta */

    /* Remove a aparência padrão do navegador */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* Adiciona a nossa seta customizada (SVG embutido) */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.form-select-dark:focus {
    background-color: rgba(0,0,0,0.3);
    border-color: var(--nav-link-hover);
    color: var(--text-color-light);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Estilo das opções DENTRO do select fechado (para navegadores que suportam) */
select.form-select-dark option {
    background-color: var(--card-bg-dark);
    color: var(--text-color-light);
}


/* Controles gerais (Mostrar X registros, Pesquisar) */
.dataTables_wrapper {
    color: var(--text-muted-color); /* Garante que os textos "Mostrar", "registros" etc. fiquem claros */
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    background-color: var(--sidebar-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

/* Paginação */
.page-item.disabled .page-link {
    background-color: var(--sidebar-hover-bg);
    border-color: var(--border-color);
}
.page-item .page-link {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}
.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Estilo principal da Tabela */
.table.dataTable {
    border-color: var(--border-color);
}

/* Cabeçalho da Tabela (Fundo Escuro) */
.table.dataTable thead th {
    background-color: #212529; /* Fundo bem escuro para o cabeçalho */
    color: var(--text-color-light);
    border-bottom: 1px solid #444;
}

/* Corpo da Tabela (Fundo Claro) */
.table.dataTable tbody tr {
    background-color: #f8f9fa; /* Fundo claro para as linhas do corpo */
    color: #212529; /* Texto escuro para legibilidade */
}

/* Células da Tabela */
.table.dataTable tbody td {
    border-color: #dee2e6; /* Borda clara para separar as linhas */
    vertical-align: middle;
}

/* Remove o efeito "zebra" do table-striped para ter um fundo uniforme */
.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: transparent; /* Anula a cor da linha ímpar do Bootstrap */
}

/* Efeito Hover na linha */
.table.dataTable tbody tr:hover {
    background-color: #e9ecef; /* Um cinza um pouco mais escuro para o hover */
    color: #000;
}

/* Container geral do feedback */
#id_feedback {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Mensagem de erro/sucesso (ex: "Este nome de usuário já está em uso.") */
#id_feedback .text-danger {
    color: #e74c3c !important; /* Um vermelho mais suave e alinhado ao tema */
    font-weight: 500;
    margin-right: 0.5rem;
}

#id_feedback .text-success {
    color: #27ae60 !important; /* Verde para a mensagem de sucesso */
    font-weight: 500;
}

/* Estilo das pílulas de sugestão */
#id_feedback .badge {
    background-color: #495057; /* Fundo cinza-escuro para a pílula */
    color: #ced4da; /* Texto cinza-claro */
    padding: 0.4em 0.7em; /* Espaçamento interno para um visual mais robusto */
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px; /* Bordas um pouco mais arredondadas */
    transition: all 0.2s ease-in-out;
    border: none;
}

/* Efeito de hover para as pílulas */
#id_feedback .badge:hover {
    background-color: #6c757d; /* Fundo mais claro ao passar o mouse */
    color: #fff; /* Texto branco para destaque */
    cursor: pointer;
    transform: translateY(-1px); /* Leve efeito de "levantar" */
}