/* relatorio_despesas.css */

/* Corpo e container */
body {
  background-color: #f8fafc;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1e293b;
}

.container {
  max-width: 95vw;   /* largura máxima 95% da viewport */
  margin: 0 auto;    /* centralizar horizontalmente */
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgb(0 0 0 / 0.1);
}
/* Cabeçalho */
h1 {
  font-weight: 700;
  color: #2563eb; /* Azul Bootstrap */
  margin-bottom: 1.5rem;
}

/* Filtros */
form#gformFiltros .form-label {
  font-weight: 600;
  color: #475569;
}

form#gformFiltros input,
form#gformFiltros select {
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  padding: 0.375rem 0.75rem;
}

form#gformFiltros button {
  font-weight: 700;
}

/* Tabela DataTables customizada */
table.dataTable thead {
  background-color: #2563eb;
  color: white;
}

table.dataTable tbody tr:nth-child(even) {
  background-color: #f1f5f9;
}

table.dataTable tbody tr:hover {
  background-color: #dbeafe;
  cursor: pointer;
}

/* Alinhamento valores monetários */
td:nth-child(3) {
  text-align: right;
  font-weight: 600;
  color: #1e40af;
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

#totalDespesas {
  font-weight: bold;
  font-size: 1.3rem;
  color: #2a9d8f; /* um verde/azul suave */
  margin-top: 1rem;
  text-align: right;
}