/* Reset & base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #74ebd5, #9face6);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  max-width: 400px;
  width: 90%;
  text-align: center;
}

h1 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #333;
}

p {
  margin-bottom: 1.5rem;
  color: #555;
}

label {
  display: block;
  margin: 0.5rem 0 0.25rem;
  text-align: left;
  color: #444;
}

input[type="number"] {
  width: 100%;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  font-size: 1rem;
}

button {
  background-color: #4CAF50;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #45a049;
}

#total {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: bold;
  font-size: 1.2rem;
  color: #222;
}

/* Responsive Design */
@media (max-width: 500px) {
  .container {
    padding: 1.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  button {
    width: 100%;
  }
}
