body {
  font-family: "Poppins", sans-serif;
  background: #f9fafc;
  color: #333;
  text-align: center;
  padding: 20px;
}

header h1 {
  color: #6c63ff;
  margin-bottom: 30px;
}

.calculator {
  background: white;
  padding: 20px;
  margin: 0 auto 30px;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

input[type="text"], input[type="number"] {
  width: calc(100% - 20px);
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1.2rem;
  text-align: right;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

button {
  padding: 15px;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  background: #6c63ff;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #ffcc70;
  color: #333;
}

.equal {
  grid-column: span 2;
}

.temperature {
  margin-top: 20px;
  text-align: center;
}

.temperature input {
  width: 45%;
  margin: 5px;
}

.temperature button {
  width: 45%;
  margin: 5px;
}

#tempResult {
  margin-top: 10px;
  font-weight: bold;
  color: #6c63ff;
}
