 :root {
      --primary: #1e88e5;
      --background: #f5f7fa;
      --text: #333;
      --accent: #e8eefc;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Poppins", sans-serif;
      background: var(--background);
      color: var(--text);
    }

    .header{
      display: flex;
      justify-content: space-between;
    }

    /* Dropdown de meses */
    .month-select {
      padding: 8px 12px;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 14px;
      background: #fff;
      z-index: 1000;
      cursor: pointer;
    }

    /* Contêiner da tabela */
    .table-container {
      margin: 80px 16px 32px;
      overflow-x: auto;
      margin-top: 20px;
    }

    table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0 8px; /* espaço vertical entre linhas */
    }

    thead th {
      text-align: center;
      font-weight: 900;
      padding: 12px 16px;
      background: #fff;
      font-size: 16px;
    }

    tbody tr {
      background: #fff;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
      border-radius: 8px;
    }

    tbody td {
      padding: 12px 16px;
    }

    tbody tr td:first-child {
      font-weight: 500;
    }

    /* Caixas de valores (somente leitura) */
    input.amount {
      width: 100px;
      padding: 8px 4px;
      border: none;
      background: var(--accent);
      border-radius: 4px;
      text-align: right;
      font-weight: 500;
      color: var(--text);
    }

    input.amount:disabled {
      color: var(--text);
      background: var(--accent);
    }

    /* Botões de download */
    .download-btn {
      padding: 8px 16px;
      border: none;
      border-radius: 6px;
      background: var(--primary);
      color: #fff;
      cursor: pointer;
      font-size: 14px;
      transition: background 0.2s ease-in-out;
    }

    .download-btn:hover {
      background: #1669b3;
    }

    /* Responsividade básica */
    @media (max-width: 600px) {
      thead {
        display: none;
      }

      tbody tr {
        display: block;
        margin-bottom: 12px;
      }

      tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 12px;
      }

      tbody td::before {
        content: attr(data-label);
        font-weight: 600;
      }
    }

    .logo-container {
  display: flex;
  align-items:flex-start;
  justify-content: flex-start;
  margin-bottom: 1rem; /* espaço abaixo das logos */
}

.logo-container .logo {
  height: 60px;      /* ajuste o tamanho conforme necessário */
  width: auto;
}

.logo-container .separator {
  color: blue;       /* ou use um hex: #007BFF, #0000FF etc. */
  font-size: 2rem;   /* ajuste o espaçamento vertical do “|” */
  margin: 0 1rem;    /* distância horizontal entre logo e separador */
  line-height: 1;
}

/* ===== Destaque para a linha de totais ===== */
.total-row {
  background-color: rgba(0, 123, 255, 0.1);  /* leve tom azul */
}

.total-row td {
  font-weight: 600;                           /* mais negrito */
  border-top: 2px solid #007bff;              /* linha acima */
}

.total-row input {
  background: transparent;                    /* remove fundo do input */
  color: #007bff;                             /* texto em azul */
  border: none;                               /* sem borda */
}/* --- Destaque da linha de Total --- */
.total-row {
  background-color: #eaf4fe;     /* fundo levemente azulado */
}

.total-row td {
  font-weight: 700;              /* texto mais escuro e negrito */
  border-top: 3px solid #1e90ff; /* borda superior azul forte */
  padding-top: 1rem;             /* um pouco mais de espaçamento */
}

.total-row td:first-child {
  font-size: 1.1rem;             /* “Total” um pouquinho maior */
}

.total-row td .amount {
  background-color: #d8eafd;     /* input com fundo diferenciado */
  border-radius: 4px;
  padding: 4px 8px;
  text-align: right;
  font-weight: 700;
  color: #FF5F57;                /* valor em azul para destacar */
  font-size: 16px;
}

/* Container em coluna, dropdown em cima, botão embaixo */
.controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0;
}
/* Estilo do botão */
.print-btn {
  padding: 0.5rem 1rem;
  background-color: #1e90ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  width: 145px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.print-btn:hover {
  background-color: #0f78d4;
}
