body {
  font-family: 'Inter', sans-serif;
  background-color: #0f0f1a;
  color: #f8f8f8;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

header {
  text-align: center;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2rem;
  color: #00d1b2;
}

.converter {
  background: #1a1a2e;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 100%;
}

textarea {
  width: 100%;
  height: 150px;
  background: #222;
  color: #fff;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 0.75rem;
  resize: none;
  outline: none;
  transition: border 0.3s;
}

textarea:focus {
  border-color: #00d1b2;
}

select {
  background: #222;
  color: #fff;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.5rem;
  margin-right: 0.5rem;
  outline: none;
  transition: border 0.3s;
}

select:focus {
  border-color: #00d1b2;
}

button {
  background: #00d1b2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #00b69e;
}

button:disabled {
  background: #444;
  cursor: not-allowed;
}

.icon-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.3s;
}

.icon-btn:hover {
  color: #00d1b2;
}

.options {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
}

#loading,
#error {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  max-width: 500px;
}

#loading {
  background: #00d1b2;
  color: #fff;
  display: none;
}

#error {
  background: #ff4c4c;
  color: #fff;
  display: none;
}

#suggestions {
  margin-top: 1.5rem;
  background: #1a1a2e;
  padding: 1rem;
  border-radius: 12px;
  display: none;
}

#suggestions h2 {
  margin-bottom: 0.5rem;
  color: #00d1b2;
}

#suggestionList {
  list-style: none;
  margin: 0;
  padding: 0;
}

#suggestionList li {
  background: #222;
  padding: 0.5rem;
  margin: 0.25rem 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

#suggestionList li:hover {
  background: #333;
}

#btn9 {
  position: absolute;   /* Stays at the top of the page */
  top: 20px;            /* Distance from the top */
  left: 50%;            /* Moves the left edge to the middle */
  transform: translateX(-50%); /* Shifts it back to perfectly center it */
  
  /* Optional styling to make it look like a professional button */
  padding: 10px 25px;
  background-color: #29782d;
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-family: sans-serif;
}

#btn9:hover {
  background-color: #29782d;
}
