body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: linear-gradient(180deg, #e7ecf0, #fdfdfd);
  color: #333;
}

h1 {
  text-align: center;
  margin: 30px 0 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.global-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.produto {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

button {
  padding: 10px 20px;
  background: linear-gradient(135deg, #6366F1, #3B82F6);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#resultado {
  margin-top: 30px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#resultado h2 {
  margin-top: 0;
}

#resultado .best-investment {
  background: #eff6ff;
  padding: 15px;
  border-left: 4px solid #3B82F6;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

table th {
  background: #3B82F6;
  color: #fff;
}

tr.highlight {
  background-color: #eff6ff;
}