body {
  font-family: Arial, sans-serif;
  background: #f2f2f2;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

.form-section label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

.form-section input,
.form-section select {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  box-sizing: border-box;
}

.linha-dupla {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 10px;
}

.linha-dupla label {
  flex: 1;
}

button {
  margin-top: 20px;
  padding: 14px 28px;
  font-size: 16px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background 0.3s;
}

button:hover {
  background: #218838;
}

.tabs {
  display: flex;
  margin-top: 20px;
}

.tab-button {
  flex: 1;
  padding: 10px;
  background: #e0e0e0;
  border: none;
  cursor: pointer;
  font-weight: bold;
  color: #333;
  transition: background-color 0.3s;
}

.tab-button:hover {
  background: #d0d0d0;
}

.tab-button.active {
  background: #ffffff;
  border-bottom: 2px solid #007bff;
  color: #007bff;
}

.tab-content {
  display: none;
  margin-top: 20px;
}

.tab-content.active {
  display: block;
}

canvas {
  margin-top: 20px;
}

.indicadores {
  border-left: 4px solid #28a745;
  padding-left: 12px;
  background: #f6fff6;
  margin-bottom: 20px;
}

.legenda {
  margin-top: 20px;
  background: #f9f9f9;
  padding: 10px;
  border-left: 4px solid #007bff;
}

.legenda ul {
  padding-left: 20px;
}

.tabela-fluxo {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.tabela-fluxo th,
.tabela-fluxo td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

.tabela-fluxo th {
  background-color: #f0f0f0;
}