body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 20px;
}

.converter-container {
  background: #fff;
  max-width: 500px;
  margin: auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;
}

p {
  text-align: center;
  margin-bottom: 20px;
  color: #444;
}

.converter-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input[type="number"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.select-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

select {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
}

#swap {
  background-color: #007bff;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}

#swap:hover {
  background-color: #0056b3;
}

#result {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
}

.related-tools h2 {
  font-size: 18px;
  margin-top: 30px;
}

.related-tools ul {
  list-style: none;
  padding-left: 0;
}

.related-tools li {
  margin: 5px 0;
}

.related-tools a {
  color: #007bff;
  text-decoration: none;
}

.related-tools a:hover {
  text-decoration: underline;
}
