[data-theme="dark"] {
  background-color: #1a2c38 !important;
  color: #ffffff;
}


[data-theme="dark"] .be-top-header {
  background-color: #0c1b26 !important;
  border-bottom: 1px solid #223643;
}

[data-theme="dark"] .be-top-header .titlePage {
	color:#ffffff !important;
}

[data-theme="dark"] .panel-default > .panel-heading, [data-theme="dark"] .bodyGame, [data-theme="dark"] hr  {
  border-color: #223643;
  color:#d8d8d8;
}

[data-theme="dark"] .be-left-sidebar .sidebar-elements > li > a:hover, [data-theme="dark"] .be-left-sidebar .sidebar-elements > li > a:hover > span {
  background-color: #223643 !important;
  color:#c0c0c0;
}

[data-theme="dark"] .be-left-sidebar .sidebar-elements > li ul li.active > a{
	color: #ffffff;
}

[data-theme="dark"] .be-left-sidebar .sidebar-elements > li > a, [data-theme="dark"] .page-head-title, [data-theme="dark"] .dataTables_length label, [data-theme="dark"] .dataTables_info, [data-theme="dark"] .dataTables_filter label{
	color:#ffffff !important;
}

[data-theme="dark"] .pointPS span{
  color: #ffffff;
}

[data-theme="dark"] .negativeElo{
  color: #ff2626 !important;
}

[data-theme="dark"] .panel-heading-divider {
  background-color: #0c1b25 !important;
  margin:0px 0px 8px;
  padding-left:20px;
  padding-right: 20px;
}
[data-theme="dark"] .be-left-sidebar .sidebar-elements > li ul{
  background-color: #0c1b25 !important;
  margin:0px 0px 8px;
/*
  padding-left:20px;
  padding-right: 20px;
*/
}

[data-theme="dark"] .be-left-sidebar .sidebar-elements > li > ul{
	border-top: 1px solid #223643;
	border-bottom: 1px solid #223643;	
}


[data-theme="dark"] .be-left-sidebar .sidebar-elements > li ul li > a:hover{
	background-color: #0c1b25;
	color:#d0d0d0;
}

[data-theme="dark"] .be-left-sidebar {
  background-color: #102431 !important;
}
[data-theme="dark"] .be-left-sidebar:before {
  border-right: 1px solid #223643;
}



[data-theme="dark"] .bg-light {
  background-color: #333 !important;
}

[data-theme="dark"] .panel, [data-theme="dark"] .modal-content {
    background-color: #102431 !important;
}

[data-theme="dark"] .bg-black {
  background-color: #eee !important;
}

[data-theme="dark"] .accordion .panel .panel-heading a.collapsed {
  color: #d8d8d8 !important;
}

[data-theme="dark"] .tab-content{
	background: transparent;
}

[data-theme="dark"] .form-horizontal .control-label{
	color: #ffffff;
}

[data-theme="dark"] .linkHeader{
	color: #ffffff !important;
}


/* Tables */


[data-theme="dark"] .table-striped.betsTable, [data-theme="dark"] .table-responsive .betsTable tbody>tr>td, [data-theme="dark"] .table-striped.betsTable > thead > tr > th, [data-theme="dark"] .table-striped.tableStatsOdds{
	border-color: #223643 !important;
}

[data-theme="dark"] .table-striped.betsTable > thead > tr,[data-theme="dark"] .table-striped.tableStatsOdds > thead > tr{
	background-color: #383838;
	  border-color: #223643 !important;
}

[data-theme="dark"] .table-striped.betsTable > tbody > tr{
	background-color: #272727;
	  border-color: #223643;
}

[data-theme="dark"] .table-striped.betsTable > tbody > tr > td.inative{
	background-color: #383838;
	color:#777777;
}

[data-theme="dark"] .table-striped.betsTable > tbody > tr > td.inative > a{
	color:#777777;
}

[data-theme="dark"] .table-striped.tableStatsOdds > tbody > tr{
	background-color: #232323;
}
[data-theme="dark"] .table-striped.tableStatsOdds > tbody > tr:nth-of-type(odd){
	background-color: #272727;
	  border-color: #223643;
}

[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd){
	background-color: #273c49;
	border-color: #223643;
}

[data-theme="dark"] .table-responsive tbody > tr > td, [data-theme="dark"] .table > thead > tr > th{
	border-color: #0f212e;
}


	
[data-theme="dark"] .table-hover > tbody > tr{
	background: #1b303e;
}
[data-theme="dark"] .table-hover > tbody > tr:hover{
	background-color: #293f4f !important;
}

[data-theme="dark"] .oddInfo,[data-theme="dark"] .table-striped.tableStatsOdds.BetsHover > tbody > tr > td:hover .oddInfo{
	background-color:#545454;	
}
[data-theme="dark"] .table-striped.tableStatsOdds.BetsHover > tbody > tr > td:hover{
		background-color:#444444;	
}

[data-theme="dark"] .table-striped.tableStatsOdds > tbody > tr > td.select{
	background-color: #3d4756;
}

[data-theme="dark"] .table > thead > tr > th{
	background-color: #0f212e;
}

[data-theme="dark"] .table-responsive tbody tr td a{
	color:#ffffff !important;
}

[data-theme="dark"] .be-datatable-header{
	  border-color: #0f212e;
	  color:#ffffff;
	  background: #102431;
	  padding: 20px;
}

[data-theme="dark"] .widget{
	background-color: #0f212e;
	border: 1px solid #183040;
	color:#ffffff;
}

[data-theme="dark"] .widget .number{
	color:#ffffff;
}

[data-theme="dark"] select, [data-theme="dark"] input{
	color:#ffffff;
	background-color: #223643;
	border-color: #223643;
}

[data-theme="dark"] .be-datatable-footer{
	background: #0f212e;
	border-color: #0f212e;
	padding: 20px 20px;
}

[data-theme="dark"] .pagination a{
	background: #0f212e;
	border-color: #0f212e;
}

[data-theme="dark"] .pagination > .active > a,[data-theme="dark"]  .pagination > .active > a:hover,[data-theme="dark"]  .pagination > .active > a:focus,[data-theme="dark"]  .pagination > .active > span,[data-theme="dark"]  .pagination > .active > span:hover,[data-theme="dark"]  .pagination > .active > span:focus{
	background: #4285f4;
	border-color: #4285f4;
}

[data-theme="dark"] .pagination > li > a:hover, [data-theme="dark"] .pagination > li > a:focus, [data-theme="dark"] .pagination > li > span:hover, [data-theme="dark"] .pagination > li > span:focus{
	color: #ffffff;
    background-color: #112533;
    border-color: #0f212e;
}

[data-theme="dark"] .be-left-sidebar{
	border-color:#223643;
}

[data-theme="dark"] .be-left-sidebar .left-sidebar-spacer{
	border-top: 1px solid #223643;
}

[data-theme="dark"] .be-left-sidebar .left-sidebar-toggle{
	background-color: #102431;
	color:#ffffff;
}

[data-theme="dark"] .listBlocks .widget.widget-tile .data-info .desc{
	color: rgb(255 255 255 / 46%);
}
[data-theme="dark"] .listBlocks .widget.widget-tile .data-info .value{
	color:#ffffff
}


[data-theme="dark"] .ms-container .ms-selectable, .ms-container .ms-selection{
	background: transparent;
}

[data-theme="dark"] .ms-container .ms-list{
	background-color: #102431;
	border-color: #223643;
}

[data-theme="dark"] .ms-container .ms-list li{
	color:#ffffff;
	padding: 0.5rem 1rem;
	border-color: #223643;
	font-size: 12px;
}


[data-theme="dark"] .form-control[disabled], [data-theme="dark"] .form-control[readonly], [data-theme="dark"] fieldset[disabled] .form-control{
	background-color: #12212b;
}


[data-theme="dark"] .badgeCountry{
	border-radius: 4px;
	padding:6px 8px;
	color:#ffffff;
	background: #3b4e5b;
	border-color: #3b4e5b;
	cursor: pointer;
}

[data-theme="dark"] .badgeCountry:hover{
	border-radius: 4px;
	padding:6px 8px;
	color:#ffffff !important;
	background: #4b677a;
	border-color: #3b4e5b;
}

[data-theme="dark"] button.close{
	color:#ffffff;
}

[data-theme="dark"] .listAds ul li{
	border-top: 1px solid #223643;
}
[data-theme="dark"] .listAds ul li a .description{
	color:#ffffff;
}
[data-theme="dark"] .listAds ul li.date {
    background: #1f3544;
    color: #ffffff;
    padding: 0.4rem 1rem;
    font-weight: bold;
}

[data-theme="dark"] .be-right-sidebar{
	border-color:#223643;
	background: #112432;
}


[data-theme="dark"] .select2-results__options li, [data-theme="dark"] .select2-search__field{
	color:#555555;
}


[data-theme="dark"] .haveTooltip{
	background-color: #506f83 !important;
}

[data-theme="dark"] .domainName{
	border-right: 1px solid #31404c !important;
}

[data-theme="dark"] .positionYear{
	border-left: 1px solid #31404c !important;
	border-bottom: 1px solid #31404c !important;
}
[data-theme="dark"] .positionYearName{
	border-left: 1px solid #31404c !important;
}

[data-theme="dark"] .positionYearLast{
	border-bottom: 1px solid #31404c !important;
}

[data-theme="dark"] .popover-content{
	color: #444444;
}


[data-theme="dark"] .logoBrandList, [data-theme="dark"] .previewBrand{
	border: 0px;
}

[data-theme="dark"] .nav.nav-tabs{
	background: #0c1b25;
	border-bottom: 2px solid transparent;
}

[data-theme="dark"] .nav-tabs > li.active a, [data-theme="dark"] .nav-tabs > li.active a:hover, [data-theme="dark"] .nav-tabs > li.active a:focus{
	background: #223643;
	color:#ffffff;
}

[data-theme="dark"] .daterangepicker{
	background-color: #0c1b25;
	border-color: #0c1b25;
}
[data-theme="dark"] .daterangepicker:before, [data-theme="dark"] .daterangepicker:after{
	border-bottom-color: #0c1b25;
}
[data-theme="dark"] .daterangepicker .ranges{
	
}

[data-theme="dark"] .daterangepicker .ranges li.active, [data-theme="dark"] .daterangepicker .ranges li.active:hover{
	background-color: #4285f4;
}
[data-theme="dark"] .daterangepicker .ranges li:hover{
	background-color: #1b303e;
}
[data-theme="dark"] .daterangepicker .drp-buttons{
	border-top: 1px solid #223643;
}
[data-theme="dark"] .daterangepicker.show-ranges.ltr .drp-calendar.left{
	border-left: 1px solid #223643;
}
[data-theme="dark"] .daterangepicker .drp-calendar.left .calendar-table, [data-theme="dark"] .daterangepicker .drp-calendar.right .calendar-table{
	color: #000000;
}


[data-theme="dark"] .bcGameRangeDate{background: #0f212e;border: 1px solid #223643;}


/* ==========================================================================
   SELECT2 - CORREÇÃO DARK MODE COMPLETA
   ========================================================================== */

/* 1. Caixa Principal (Select Fechado) */
[data-theme="dark"] .select2-container--default .select2-selection--single {
    background-color: #223643 !important;
    border: 1px solid #223643 !important;
    color: #ffffff !important;
    height: 50px !important; /* Altura ideal para conter o avatar */
    display: flex;
    align-items: center;
}

/* Texto e Avatar dentro da caixa principal */
[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
    line-height: 40px !important;
    padding-left: 10px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Seta do Select */
[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
}
[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #ffffff transparent transparent transparent !important;
}
[data-theme="dark"] .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #ffffff transparent !important;
}

/* 2. Caixa do Dropdown Aberto (Lista Flutuante) */
[data-theme="dark"] .select2-dropdown {
    background-color: #102431 !important;
    border: 1px solid #223643 !important;
    z-index: 9999;
}

/* Remove aquelas bordas duplas ou esquisitas quando abre para cima/baixo */
[data-theme="dark"] .select2-container--open .select2-dropdown--above {
    border-bottom: 1px solid #223643 !important;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
[data-theme="dark"] .select2-container--open .select2-dropdown--below {
    border-top: 1px solid #223643 !important;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* 3. Caixa de Pesquisa (Input do topo do dropdown) */
[data-theme="dark"] .select2-search--dropdown {
    background-color: #102431 !important;
    padding: 8px !important;
    border:0px !important;
}
[data-theme="dark"] .select2-search--dropdown .select2-search__field {
    background-color: #223643 !important;
    border: 1px solid #223643 !important;
    color: #ffffff !important;
    padding: 6px !important;
    border-radius: 4px;
    outline: none !important;
}

/* 4. Opções da Lista (Lis) */
[data-theme="dark"] .select2-results__options {
    max-height: 200px;
    overflow-y: auto;
}

[data-theme="dark"] .select2-results__option {
    padding: 8px 12px !important;
    color: #ffffff !important;
    background-color: #102431 !important;
    display: flex;
    align-items: center;
    gap: 10px; /* Espaço entre o avatar e o texto */
}

/* Alinhamento dos avatares dentro da lista */
[data-theme="dark"] .select2-results__option .img-avatar-list {
    vertical-align: middle;
    border-radius: 4px;
    height: 32px !important;
    width: auto;
}

/* Opção com o rato por cima (Hover / Highlighted) */
[data-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #223643 !important;
    color: #ffffff !important;
    cursor: pointer;
}

/* Opção que já está selecionada na lista */
[data-theme="dark"] .select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #1b303e !important; /* Um tom ligeiramente diferente para destaque */
    color: #ffffff !important;
}