body {
    padding-bottom: 20px;
}

.navbar {
    margin-bottom: 40px;
    padding: 10px;
}

.nav-item {
    padding: 15px;
    font-size: 18px;
}

.mb-3{
    padding: 2px;
    font-weight: bold;
}

.card{
    margin-bottom: 70px;
}
/* Container do gráfico */
#meuGrafico{
    width: 400px;   /* largura menor */
    height: 400px;  /* altura menor */
    margin: -10px auto; /* centralizado horizontalmente */
    left: 50px;
}

#graficoTop5{
    width: 400px;   /* largura menor */
    height: 400px;  /* altura menor */
    margin: 80px auto; /* centralizado horizontalmente */
    left: 50px;
}

/* Cards de pedidos/faturamento/ticket médio */
.card-pedidos {
    display: inline-block;
    width: 200px;           /* tamanho menor do card */
    padding: 15px;
    margin: 10px;
    border: 2px solid #000; /* borda preta */
    border-radius: 12px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    text-align: center;
    background-color: #fff;
}

.card-pedidos h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card-pedidos p {
    font-size: 24px;  /* número maior */
    font-weight: bold;
    margin: 0;
    color: #008000;
}

/* Opcional: centralizar todos os cards e o gráfico juntos */
.dashboard-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

/* Cores do tema escuro */
body {
    background-color: #f0f2f5;
}

/* Estilo para o formulário de filtro */
.filter-form {
    margin-bottom: 2rem;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Estilo para os cards */
.card {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out;
    height: 65%;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body h2 {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.card-body p {
    font-size: 2rem;
    font-weight: 800;
    color: #007bff;
    margin: 0;
}

/* Estilo para os cards de gráfico */
.chart-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0.5rem;
    text-align: center;
}
/* ===== Formulário de Filtro ===== */
.filter-form {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
    gap: 1rem;
}

/* Labels */
.filter-form .form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.3rem;
}

/* Inputs */
.filter-form input,
.filter-form select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Foco nos inputs */
.filter-form input:focus,
.filter-form select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.15);
    outline: none;
}

/* Botão */
.filter-form button {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    transition: all 0.2s ease-in-out;
}

.filter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,123,255,0.25);
}

/* Responsividade */
@media (max-width: 768px) {
    .filter-form {
        flex-direction: column;
        padding: 1rem;
    }
    .filter-form .col-auto,
    .filter-form .col-md-3 {
        width: 100%;
    }
    .filter-form button {
        width: 100%;
    }
}

#container-fluid{
    width: 80%;
}

.resultado-custo{
    font-size: 40px;
    color: green;
}