
/* Nav */
.brand-logo img {height: 60px; margin-top: 4px;}


body {
    background-color: #333;
    color: #eee;
}

.page-title {
    margin-bottom: 24px;
    color: yellow; /* Cor primária do Materialize */
}

.new-button {
    background-color: #9e9d24 ;
    color: #fff;
    font-weight: bold;
}

.new-button:hover {
    background-color: #c0ca33 ;
}

.submit-button {
    background-color: #1b5e20 ;
    color: #fff;
    font-weight: bold;
}

.submit-button:hover {
    background-color: green;
}
.cancel-button {
    background-color: #b71c1c ;
    color: #fff;
    font-weight: bold;
}

.cancel-button:hover {
    background-color: red;
}

table.white-text th, table.white-text td {
    color: #eee;
}

.material-icons.green-text {
    color: #4caf50 !important;
}

.btn-small {
    margin-right: 5px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.input-field label {
    color: gray; /* Cor do texto do label */
}

.input-field input {
    color: rgb(86, 91, 16); /* Cor clara para o texto digitado */
}

.input-field input:focus + label {
    color: rgb(86, 91, 16)  !important; /* Cor primária do label quando focado */
}

.input-field input:focus {
    border-bottom: 1px solid rgb(86, 91, 16)  !important; /* Cor primária da linha inferior quando focado */
    box-shadow: 0 1px 0 0 rgb(86, 91, 16)  !important;
}

.helper-text.red-text {
    color: #ff4d4d !important;
    font-size: 14px;
}

.card-panel.green.lighten-4 {
    background-color: #e6ee9c !important; /* Um verde claro do Materialize */
    color: #33691e !important; /* Texto verde escuro */
}

.card-profile {
    background-color:rgb(232, 233, 225) !important; /* Um verde claro do Materialize */
    color:#9e9d24;
    padding: 16px;
    top: 16px;
    border-radius: 8px;
}

/* Para o alinhamento do cabeçalho do dashboard */
.dashboard-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.dashboard-header-flex h3 {
    margin: 0;
    padding-right: 15px;
    flex-shrink: 0;
}

.dashboard-header-flex span {
    justify-content: center;
    align-items: center;
}

/* Estilos para o contêiner do filtro (agora apenas botões) */
.filial-filter-container {
    display: flex;
    flex-wrap: wrap; /* Permite que os grupos de botões quebrem linha */
    align-items: center; /* Centraliza verticalmente todos os itens (botões) */
    gap: 10px; /* Espaçamento entre os grupos de botões */
    padding-top: 20px;
}

/* Estilos para o grupo de botões de período */
.time-filter-buttons {
    display: flex;
    gap: 5px; /* Espaçamento entre os botões de período */
    flex-shrink: 0; /* Impede que os botões encolham */
    /* Removido margin-right: 10px; pois não há mais o select ao lado */
}

/* Estilos para o botão com o ícone de filtro (dentro do componente x-filial-filter-modal) */
.filter-icon-button {
    height: 30px; /* Altura do botão para alinhar com os outros small */
    line-height: 30px; /* Centraliza o ícone */
    padding: 0 10px; /* Ajusta o padding horizontal */
}

.filter-icon-button i.material-icons {
    font-size: 1.2rem; /* Tamanho do ícone */
    line-height: 30px;
}

/* Estilos para os botões de ação (Aplicar/Limpar) */
.filial-filter-container .inline-btn {
    margin-top: 0;
}


/* Ajustes para o select dentro do modal (seletor mais específico) */
#filialModal .input-field .select-wrapper input.select-dropdown {
    height: 2.2rem;
    font-size: 0.9rem;
    padding-left: 0.75rem;
    padding-right: 3rem;
}

#filialModal .input-field .select-wrapper .chips .chip {
    height: 28px;
    line-height: 28px;
    font-size: 0.85rem;
}
#filialModal .input-field label {
    top: 0.8rem;
    left: 0.75rem;
    font-size: 0.9rem;
}
#filialModal h4 {
    color:rgb(86, 91, 16);
    font-weight: bold;
}


/* Media query para telas menores */
@media (max-width: 768px) {
    .dashboard-header-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .filial-filter-container {
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    /* Em telas pequenas, os botões de período podem ir para a próxima linha */
    .time-filter-buttons {
        width: calc(100% - 50px); /* Ajusta largura para o ícone de filtro e espaço */
        justify-content: flex-start; /* Distribui os botões horizontalmente */
        margin-bottom: 10px; /* Espaço entre os botões de período e os botões de ação */
    }
}

.time-filter-buttons .selected-button-text {
    color: #2d2b13 !important; /* Amarelo Materialize (Amber 500) */
    font-weight: bold;
    background-color: #ffeb3b !important ;
}

.collection-item {
    color: black;
}

.collection-item.active {
    background-color: #e0e0e0; /* Cor de fundo para item selecionado */
    font-weight: bold;
}

.filial-multiselect-container {
    margin-bottom: 20px; /* Espaçamento abaixo do componente */
}
