body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to right, #d9a7c7, #fffcdc);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.container {
  background: #ffffffcc;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 500px;
  width: 90%;
}

.container label {
  display: block;
  margin-bottom: 20px;
  font-weight: bold;
  color: #555;
  text-align: left;
}

.container input[type="number"],
.container input[type="text"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #aaa;
  border-radius: 6px;
  font-size: 16px;
}

#result {
  background: #f7f7f7;
  font-weight: bold;
  color: #222;
}

.buttons {
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 20px;
  justify-content: center;
}

button {
  background: #6c63ff;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.3s ease;
}

button:hover {
  background: #5751d6;
}
