@import url('../styles.css');

/* Additional styles for Hex (Base16) Encoder - matches main design */
.tool-box {
  max-width: 900px;
  margin: 0 auto;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

#inputText, #resultText {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--white);
  resize: vertical;
  font-size: 0.95rem;
  font-family: inherit;
  min-height: 120px;
  font-family: monospace;
  letter-spacing: 0.2px;
}

.options-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--grey);
  font-weight: 500;
}

.small {
  font-size: 0.95rem;
}

.btn-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.btn.primary, .btn.secondary {
  cursor: pointer;
  border: none;
  transition: background 0.16s ease, transform 0.08s ease;
}

.btn.primary:hover, .btn.secondary:hover {
  transform: translateY(-2px);
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--sky);
  color: var(--sky);
}

.error {
  color: #ff6b6b;
  display: none;
  margin-top: 10px;
}

.message {
  color: #6dd17a;
  display: none;
  margin-top: 10px;
}

.note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 16px;
}

/* Responsive small tweaks */
@media (max-width: 600px) {
  .options-row {
    justify-content: flex-start;
  }
}
