/* 📁 rentabilidade.css */

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f7fa;
  margin: 0;
  padding: 30px;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 26px;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
}

.filtros {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.filtros label {
  font-weight: bold;
}

.filtros input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  width: 180px;
}

.filtros button {
  background-color: #3498db;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.3s ease;
}

.filtros button:hover {
  background-color: #2980b9;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 14px;
}

thead {
  background-color: #ecf0f1;
}

th, td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

th {
  font-weight: bold;
  color: #2c3e50;
}

tr:hover {
  background-color: #f1f1f1;
}

#resumo {
  text-align: right;
  font-size: 16px;
  margin-top: 20px;
}

#resumo p {
  margin: 5px 0;
}

#lucroTotal, #margemMedia {
  color: #27ae60;
  font-weight: bold;
}
