.converter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
}

.swap-btn-wrapper {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}

#swapBtn {
  padding: 8px 24px;
  font-size: 1.1rem;
}

#toValue {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}

@media (max-width: 600px) {
  .converter-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   MOBILE RESPONSIVE â€” Tool Page Fix
   ================================ */

/* Inherit from global */
input, textarea, select {
  font-size: 16px; /* prevents iOS auto-zoom */
  width: 100%;
  max-width: 100%;
}

/* Responsive tool UI */
@media (max-width: 540px) {
  .tool-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
