/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Background */
body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #007bff, #00d4ff);
}

/* Main container */
.container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

/* Converter card */
.converter-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: 0.3s ease;
}

.converter-card:hover {
  transform: translateY(-3px);
}

/* Heading */
.converter-card h1 {
  color: #333;
  margin-bottom: 20px;
}

/* Input fields */
.input-group {
  margin-bottom: 15px;
  text-align: left;
}

.input-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
  color: #444;
}

input,
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border 0.2s;
}

input:focus,
select:focus {
  border-color: #007bff;
}

/* Button */
button {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
}

button:hover {
  background: #005fcc;
  transform: translateY(-2px);
}

/* Result */
#result {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #222;
}
