* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #74ebd5, #ACB6E5);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
}

.wrapper {
  width: 90%;
  max-width: 420px;
  background: #fff;
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

h1 {
  text-align: center;
  color: #3f51b5;
  margin-bottom: 25px;
}

.calc-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: 0.3s;
}

input:focus {
  border-color: #3f51b5;
  box-shadow: 0 0 5px rgba(63,81,181,0.4);
  outline: none;
}

button {
  background-color: #3f51b5;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: 600;
}

button:hover {
  background-color: #2e3b91;
}

.result {
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
  font-size: 1.1rem;
  min-height: 24px;
}

@media (max-width: 480px) {
  .wrapper {
    padding: 20px;
  }
  
  input, button {
    font-size: 0.95rem;
  }
}
