body {
  background-color: #121212;
  color: #f5f5f5;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
header {
  background-color: #1e1e1e;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  height: 50px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
nav a {
  color: #f5f5f5;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
}
nav a.active, nav a:hover {
  background-color: #FFD700;
  color: #000;
}
main {
  padding: 20px;
}
section {
  display: none;
}
section.active {
  display: block;
}
form input, form select, form button {
  margin: 5px;
  padding: 8px;
  border: none;
  border-radius: 4px;
}
form button {
  background-color: #FFD700;
  color: #000;
  font-weight: bold;
}
form button:hover {
  background-color: #e5c100;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
th, td {
  border: 1px solid #444;
  padding: 8px;
  text-align: left;
}
th {
  background-color: #222;
  color: #FFD700;
}
tfoot td {
  font-weight: bold;
}
.tabs {
  margin: 15px 0;
}
.tabs button {
  background-color: #222;
  color: #FFD700;
  border: none;
  margin-right: 10px;
  padding: 10px 15px;
  border-radius: 6px;
}
.tabs button.active, .tabs button:hover {
  background-color: #FFD700;
  color: #000;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
footer {
  text-align: center;
  padding: 15px;
  background-color: #1e1e1e;
  color: #aaa;
  margin-top: 40px;
}
.descontado {
    background-color: #e0e0e0 !important;
}


.vencido {
    background-color: #ffdddd !important;
}
.descontado {
    background-color: #ddeeff !important;
}


.vencido td,
.descontado td {
    color: #000 !important;
    font-weight: bold;
}


/* Alinhamento e largura para colunas 'Pago' e 'Ações' */
td.col-pago, th:nth-child(8) { text-align: center; width: 90px; }
td.col-acoes, th:nth-child(9) { text-align: center; white-space: nowrap; width: 120px; }
.btn-acao { padding: 4px 8px; margin: 0 2px; border-radius: 4px; border: 1px solid #333; background:#222; color:#FFD700; cursor:pointer; }
.btn-acao:hover { filter: brightness(1.15); }
