* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #f3f4f6;
}

.container {
  background: white;
  padding: 30px;
  width: 100%;
  max-width: 1088px;
  height: 100vh;
  max-height: 1088px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-gap: 30px;
  /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */
}

h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 30px;
  color: #111827;
}

label {
  font-weight: 600;
  color: #374151;
  margin: 12px 0 6px;
  display: block;
}

input {
  padding: 12px;
  width: 100%;
  font-size: 1em;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  transition: border-color 0.2s;
}

input:focus {
  border-color: #2563eb;
  outline: none;
  background: #f9fafb;
}

select {
  padding: 12px;
  width: 100%;
  font-size: 1em;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  transition: border-color 0.2s;
  background: white;
}

select:focus {
  border-color: #2563eb;
  outline: none;
  background: #f9fafb;
  /* background: #e5e7eb;  */
}

button {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  font-size: 1em;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background-color: #1e40af;
}

.results {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.output {
  font-weight: bold;
  text-align: center;
  color: #111827;
}

.chart-container {
  width: 100%;
  height: 100%;
}

canvas {
  background: #f9fafb;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  width: 100%;
}