/* Base styles */
.input-field {
  width: 100%;
  max-width: 600px;
  padding: 0.5rem 1rem;
  margin: 0 auto 1rem;
  font-size: 1rem;
  color: #1a202c;
  background-color: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.input-field:focus {
  outline: none;
  border-color: #4299e1;
  box-shadow: 0 0 0 3px rgb(66 153 225 / 20%);
}

.hint-text {
  max-width: 600px;
  margin: 0 auto 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #4a5568;
}

.transformers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: auto;
  text-align: left;
}

.transformer-item {
  position: relative;
  padding: 1rem;
  text-align: left;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.transformer-item:focus-within,
.transformer-item:hover {
  outline: none;
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 10%),
    0 2px 4px -1px rgb(0 0 0 / 6%);
}

/* Focus styles for better keyboard navigation */
.transformer-item:focus-visible {
  outline: 2px solid #4299e1;
  outline-offset: 2px;
}

.transformer-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.transformer-output {
  display: block;
  min-height: 2.5rem;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
}
