.aa-unit-converter-container {
  display: flex;
  justify-content: center;
  padding: 1rem;
  background: #f9f9f9;
}

.aa-unit-converter-box {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 500px;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
}

.aa-unit-converter-box h2 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #222;
  text-align: center;
}

.aa-unit-converter-box label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

.aa-unit-converter-box select,
.aa-unit-converter-box input {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

/* Swap button styles */
#aa-swap {
  background: none;
  border: none;
  cursor: pointer;
  margin: 0.5rem 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 40px;
  height: 40px;
  padding: 0;
  outline-offset: 2px;
}

#aa-swap svg {
  display: block;
  margin: auto;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

#aa-swap:focus svg,
#aa-swap:hover svg {
  transform: rotate(90deg);
}

.aa-unit-converter-result {
  margin-top: 1.5rem;
  background: #eef7ff;
  border-left: 5px solid #2196f3;
  padding: 1rem;
  font-size: 1.1rem;
  color: #333;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .aa-unit-converter-box {
    padding: 1.2rem;
  }
}
