:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: light dark;
  background-color: #f5f5f5;
  color: #213547;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}



#app {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

h1 {
  text-align: center;
  color: #6666FF;
  margin-bottom: 2rem;
}

.inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.input-group {
  display: flex;
  flex-direction: column;
 }

label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.buttons {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

button {
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

button.primary {
  background-color: #646cff;
  color: white;
}

button.primary:hover {
  background-color: #535bf2;
}

button:not(.primary) {
  background-color: #f9f9f9;
  border-color: #ccc;
}

button:not(.primary):hover {
  border-color: #646cff;
}

.simulation {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  margin: 2rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

canvas {
  width: 100%;
  height: 400px;
  background: #fafafa;
  border: 1px solid #eee;
}

.results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  text-align: center;
}

.result-item {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-item h3 {
  color: #6666FF;
  margin: 0 0 0.5rem 0;
}

.result-item p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
}