/* ============================= */
/* GLOBAL / UTILIDADES           */
/* ============================= */

/* Ocultar elementos */
.hidden {
    display: none !important;
}

/* ============================= */
/* LINKS (BOTÕES / DOE LINK)     */
/* ============================= */

/* Botão/link dentro da tabela */
#doeLink {
    display: inline-block;
    padding: 8px 8px;
    background-color: #0A6673;
    color: #fcb421;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

#doeLink:hover {
    background-color: #fcb421;
    color: #0A6673;
}

/* ============================= */
/* BOTÕES                        */
/* ============================= */

.filterBtnGreen, .filterBtnRed {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #0A6673;
    color: #fcb421;
	font-weight: normal;
	text-shadow: none;
}

.filterBtnGreen:hover {
    background-color: #fcb421;
    color: #0A6673;
}

.filterBtnRed:hover {
    background-color: #fcb421;
    color: #0A6673;
}

/* ============================= */
/* FORMULÁRIOS / FILTROS         */
/* ============================= */

/* Container de filtros e busca */
.SrcBar, #divFiltGeral, .divGeral {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

/* Campos de filtro individuais */
#divFiltSep {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

#divFiltSep label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.filtBox,
#searchInput,
#search-query,
#dataInicio,
#dataFim {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    background-color: #fff;  /* fundo branco */
    background-position: 10px 10px;
    background-repeat: no-repeat;
    appearance: none;        /* remove estilo nativo em alguns navegadores */
    -webkit-appearance: none;
    -moz-appearance: none;
}

#searchInput,
#search-query {
    padding-left: 40px;
    background-image: url('../img/lupa.svg'); /* ícone de lupa */
    background-size: 25px 25px; /* ajusta o tamanho do ícone à altura da caixa de busca */
    background-repeat: no-repeat; /* evita que a imagem se repita */
    background-position: left 10px center; /* posiciona o ícone à esquerda e centraliza verticalmente */
	transition: all 0.3s ease; /* Transição suave ao focar */
}

#searchInput:focus,
#search-query:focus {
    padding-left: 40px;
    background-size: 25px 25px; /* ajusta o tamanho do ícone à altura da caixa de busca */
    background-repeat: no-repeat; /* evita que a imagem se repita */
    background-position: left 10px center; /* posiciona o ícone à esquerda e centraliza verticalmente */
}

/* Foco nos campos de filtro e busca */
.filtBox:focus,
#searchInput:focus,
#search-query:focus,
#dataInicio:focus,
#dataFim:focus {
    border-color: #0A6673;
    outline: none;
    background-position: 10px 10px;
}

/* Ícone de calendário para os inputs de data */
#dataInicio::-webkit-calendar-picker-indicator,
#dataFim::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(25%) sepia(90%) saturate(500%) hue-rotate(160deg);
}

/* ============================= */
/* CONTADOR DE RESULTADOS        */
/* ============================= */

#resultsCount {
    /* font-weight: 600; */
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#resultsCount::before {
    content: "📊";
}