/* assets/caseConverter.css */

.tool-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}


/* Secciones de texto */
.input-section {
  margin-bottom: 1rem;
}

.input-section label {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 500;
  color: var(--text-light);
}

/* Textareas */
.text-area {
  width: 100%;
  min-height: 26rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card-bg);
  color: var(--text);
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.9rem;
  resize: vertical;
  line-height: 1.5;
}

.text-area:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Buttons */
.buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 2rem;
}

.buttons button {
  padding: 0.875rem 1rem;
  font-size: 0.76rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--btn-bg);
  color: var(--text);
  cursor: pointer;
  font-weight: bold;
  transition: all 0.5s ease-in-out;
  transform: scale(1);
}

.buttons button:hover {
  background: var(--accent);
  color: var(--btn-bg);
   border: 1px solid var(--btn-bg);
  transform: scale(1.1);
}

.actions {
  display: flex;
  gap: 0.8rem;
  justify-content: right;
  margin-bottom: 1.2rem;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 15px;
  border-radius: 8px;
}

.btn-primary:hover {
  background: #34d399;
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border);
  padding: 12px 24px;
  font-size: 15px;
  border-radius: 8px;
}

.btn-secondary:hover {
  background: var(--border);
  color: var(--text);
}