body {
  margin: 0;
  font-family: sans-serif;
  background: #f9f9f9;
  color: #222;
}

.app {
  padding: 1rem;
  max-width: 600px;
  margin: auto;
}

h1 {
  text-align: center;
  margin-bottom: 1rem;
}

.controls input {
  width: 100%;
  padding: 10px;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.buttons {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1rem;
}

.buttons button {
  flex: 1;
  margin: 0 5px;
  padding: 10px;
  font-weight: bold;
  background: #eee;
  border: none;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.buttons button.active {
  background: #007bff;
  color: white;
}

.result, .favorite {
  background: white;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.result:hover {
  transform: scale(1.02);
}

.favorite-button {
  float: right;
  font-size: 1.2rem;
  cursor: pointer;
  color: #ff6666;
}
