body {
  background: #fff;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
.center-box {
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  min-width: 340px;
  max-width: 420px;
  margin: 2rem;
}
form label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  margin: 1em 0 0.5em 0;
  color: #1a1a1a;
  letter-spacing: 0.01em;
}
input, select {
  width: 100%;
  padding: 0.7em 1em;
  margin-top: 0.3em;
  margin-bottom: 0.2em;
  border-radius: 7px;
  border: 1.5px solid #bfc7d1;
  font-size: 1.08em;
  background: #f8fafc;
  transition: border 0.2s;
  box-sizing: border-box;
}
input:focus, select:focus {
  border: 1.5px solid #2d6cdf;
  outline: none;
  background: #fff;
}
button {
  width: 100%;
  background: #2d6cdf;
  color: #fff;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  padding: 0.9em 0;
  margin-top: 1.2em;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(44,108,223,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
button:hover {
  background: #1a4fa0;
  box-shadow: 0 4px 16px rgba(44,108,223,0.13);
}
#result {
  margin-top: 2em;
  word-break: break-word;
  font-size: 1.08em;
  color: #222;
}
@media (max-width: 600px) {
  .center-box {
    min-width: 90vw;
    max-width: 98vw;
    padding: 1.2rem 0.5rem;
  }
  input, select, button {
    font-size: 1em;
    padding: 0.7em 0.7em;
  }
} 