body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f7f7fa;
  color: #222;
}

.container {
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem 1rem 1rem 1rem;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #2a4d8f;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

input[type="number"] {
  padding: 0.7rem;
  border: 1px solid #cfd8dc;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  background: #f9fafb;
  transition: border 0.2s;
}

input[type="number"]:focus {
  border: 1.5px solid #2a4d8f;
  outline: none;
}

.result {
  margin-top: 2rem;
  font-size: 1.2rem;
  background: #e3f2fd;
  color: #1565c0;
  padding: 1rem 1.5rem;
  border-radius: 0.7rem;
  display: flex;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.design-inspiration {
  margin-top: 2rem;
  width: 100%;
  border-radius: 0.7rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  display: block;
}

@media (max-width: 500px) {
  .container {
    max-width: 100vw;
    padding: 1rem 0.3rem;
    border-radius: 0.5rem;
  }

  .result {
    font-size: 1rem;
    padding: 0.7rem 0.7rem;
  }
}