/*.fundologin {
    background-color: #47afc9 !important;
}

span.logo-lg img {
    height: 50px;
}

span.logo-sm img {
    height: 50px;
}

.navbar-custom .topbar-menu .nav-link {
    color: white;
}*/



#divEscudoPerfil {
    width: 150px;
    height: 150px;
}
#imgPerfilEmpresa {
    width: 55px; 
    height: 55px; 
    /*border-radius: 50%;  Garante que fique circular */
    object-fit: cover; /* Evita distorções e mantém o círculo */
    /*box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); Mantém a sombra suave */
}
#escudoPerfil {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.errologin {
    color: red;
    font-size: 14px;
}

.botaosair {
    font-size: 22px;
}

button.btn.btn-secondary.buttons-print {
    background-color: white !important;
    color: #6c757d !important;
    border: 1px solid #6c757d;
}

button.btn.btn-secondary.buttons-print:hover {
    background-color: #6c757d !important;
    color: white !important;
}

button.btn.btn-secondary.buttons-pdf.buttons-html5 {
    background-color: white !important;
    color: #6c757d !important;
    border: 1px solid #6c757d;
}
button.btn.btn-secondary.buttons-pdf.buttons-html5:hover {
    background-color: #6c757d !important;
    color: white !important;
}

button.btn.btn-secondary.buttons-excel.buttons-html5 {
    background-color: white !important;
    color: #6c757d !important;
    border: 1px solid #6c757d;
}

button.btn.btn-secondary.buttons-excel.buttons-html5:hover {
    background-color: #6c757d !important;
    color: white !important;
}



table.dataTable thead tr th,
table.dataTable td,
table.dataTable tfoot tr th, 
table.dataTable tfoot tr td,
table.dataTable td.dt-type-numeric,
table.dataTable th.dt-type-numeric {
    text-align: center;
}
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:before,
.hidden {
    display: none;
}

td.col-observacoes {
    font-size: 7pt !important;
    white-space: normal !important;
    text-align: left !important;
}

.observacoes {
    font-size: 9pt !important;
    white-space: normal !important;
    color: #a8abad;
    line-height: 90%;
}

.rounded-circle {
    width: 50px; 
    height: 50px;
    object-fit: cover;
}

.badge {
    line-height: 130%;
}

.cursor-wait{
    cursor: wait !important;
}

.modal-content {
    min-width: 500px;
}

.modalAtletas, .modalLesoesAtletas {
    max-width: 700px; /* Largura fixa */
    width: 700px;     /* Opcional para garantir consistência */
}

#mdCadastrarEditarAtleta .tab-content .tab-pane { display: none; }
#mdCadastrarEditarAtleta .tab-content .tab-pane.active { display: block; }
  

#tbclubesAtleta, #tbcompeticoesAtleta {
    text-align: center;
}

/* Área de upload e lista de arquivos */
.upload-dropzone {
    border: 2px dashed #bbb;
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.upload-dropzone:hover {
    background-color: #f8f9fa;
}

.listaAnexoAtleta {
    max-height: 250px;
    overflow-y: auto;
    margin-top: 15px;
}
  


/* Regras de senhas	*/
.password-rules {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}
.password-rules li {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}
.password-rules li.valid {
    color: green;
    font-weight: bold;
}
.password-rules li:before {
    content: "\2022";
    margin-right: 7px;
}
.password-rules li.valid:before {
    content: "\2714"; 
    color: green;
}



/*
.select2-selection__rendered {
    color: var(--ct-body-color) !important;
    padding: 0.45rem 2.7rem 0.45rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
}*/
.select2-container .select2-selection--single {
    height: 38px !important;  /* Altura padrão do Bootstrap */
    padding: 6px 12px !important;
    font-size: 0.9rem;    
    border: 1px solid var(--ct-border-color) !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 24px !important; /* Centraliza o texto */
    color: var(--ct-body-color) !important;
    font-size: 0.9rem;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important; /* Ajusta seta do dropdown */
}
.select2-search__field {
    margin-top: 0;
    vertical-align: middle;
}
.select2-selection__choice {
    margin-top: 0;
    background-color: #eee !important;
    border: 1px solid var(--ct-border-color) !important;
}
.select2-selection__choice__display {
    color: var(--ct-body-color) !important;
}
.select2-selection__choice__remove {
    border-right: none !important;
}
.select2-results__options {
    text-align: left;
}
/* Só afeta o select2 do campo #atleta dentro do modal Lesões */
#mdCadastrarEditarLesaoAtleta #abaLesaoAtleta #atleta + .select2-container--default .select2-selection--single {
    height: 55px !important;
    display: flex;
    align-items: center;
}
#mdCadastrarEditarLesaoAtleta #abaLesaoAtleta #atleta + .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 4px;
}
#mdCadastrarEditarLesaoAtleta #abaLesaoAtleta #atleta + .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
}


.tituloSecao {
	display: flex;
	align-items: center;
	position: relative;
	gap: 10px;
	margin: 10px 0;
}
.tituloSecao.centered {
	justify-content: center;
}  
.tituloSecao span {
	font-size: 1rem;
	font-weight: 500;
	color: var(--ct-primary);
	white-space: nowrap;
}
.tituloSecao i, .tituloSecao2 i {
	color: var(--ct-primary);
	font-size: 1rem;
}  
.tituloSecao::after,
.tituloSecao.centered::before,
.tituloSecao.centered::after {
	content: "";
	flex-grow: 1;
	height: 1px;
	background-color: #ddd;
}
.tituloSecao::after {
	margin-left: 10px;
}
.tituloSecao.centered::before,
.tituloSecao.centered::after {
	max-width: 100%;
	flex: 1;
}

.tituloSecao2 {
	text-align: center;
    background-color: #eef2f7;
	color: var(--ct-primary);
	font-weight: 500;
	margin-bottom: 7px;
	border-radius: 4px;
	box-shadow: 0 4px 4px -4px rgb(213, 224, 253);
}
.tituloSecao2 i {
	font-size: 1.1rem;
	margin: 0 18px;
}  


.nav-item a i {
    font-size: 20px;
}

.v-align-middle {
    vertical-align: middle !important;
}

.filtrosRelatorioAtletas {
    --ct-gutter-x: 0.75rem;
}

.destaque{
  border-left: 3px solid #0d6efd; 
}

.scroll {   /*Para as tabelas na home ficar até uma certa altura*/
  max-height: 500px;
  overflow-y: auto;
}

.bg-roxo {      /*Para lesão com gravidade parcial*/
  background-color: #6f42c1; 
  padding: 2.7px 4.32px;
}

.bg-roxo-lighten { /*Roxo mais claro para tabela de atletas*/
  background-color: #cab8f6; 
}

.text-roxo {
  color: #6f42c1; 
}

/*
#tbAtividades tbody tr td {
    padding: 3px 7px;
}
.iconeTipoAtividade {
    font-size: 22px;
    color: var(--ct-indigo);
}
.iconeTipoDespesa {
    font-size: 22px;
    color: #008000;
}
.infoComplementar {
    font-size: 8pt;
}

#mdCadastrarEditarAtividade .modal-dialog {
    max-width: 600px;
}*/

/*  TELAS EXTRA SMALL - até 575px */
@media (max-width: 575px) {
    #tituloPagina {
        display: none;
    }

    #datatable-buttons {
        border-collapse: collapse;
        border-spacing: 0;
    }

    #datatable-buttons th,
    #datatable-buttons td {
        padding: 5px 0;
        font-size: 8pt;
    }

    #tbAtividades tbody tr td {
        padding: 2px 4px;
        font-size: 9pt;
    }

    .infoComplementar {
        font-size: 7pt;
    }

    .content-page {
        padding-left: 0;
        padding-right: 0;
    }
    .card-body {
        padding: 0.7rem;
    }
    .table .action-icon {
        padding: 0;
    }
    .modal-dialog, .modal-content {
        min-width: 95%;
    }

    .modalAtletas, .modalLesoesAtletas {
        max-width: 95%; 
        width: 95%; 
    }

    .form-control, .form-select {     /* reduz padding e fonte nos inputs    */
        padding: 0.3rem 0.5rem; 
    }     
    

    .widget-icon {
        height: 25px;
        width: 25px;
        line-height: 25px;
        font-size: 15px;
    }

    
    
}


/*  TELAS SMALL - de 576 até 767px */
@media (max-width: 767px) {
    .modalAtletas, .modalLesoesAtletas {
        max-width: 95%; 
        width: 95%; 
    }
    .row {  /* reduz o espaçamento entre colunas (col) */
        --ct-gutter-x: 0.75rem; /* padrão é 1.5rem */
    }
}


/* TELAS A PARTIR DO SMALL - a partir de 576px */
@media (min-width: 576px) {
    div.dt-container div.dt-layout-row {        /* deixa os botões e a pesquisa do datatables lado a lado, como em telas grandes (por padrão, o datatables só faz isso a partir do MEDIUM */
        display: flex !important;
    }
}

@media (max-width: 1400px) {
    #divFiltros, #divFiltros select, #divFiltros input {
        font-size: 10pt;
    }
    #divGraficos h3 {
        font-size: 14pt;
    }
    .content-page {
        min-height: auto !important;
    }
}


