/* Labels e selects */
.control-label {
  font-size: .95rem;
  color: var(--muted);
}

.select-input {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  min-width: 200px;
  cursor: pointer;
}

/* Botões */
.btn {
  padding: 10px 20px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background .2s, transform .1s, opacity .2s, box-shadow .2s;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(9, 105, 218, 0.3);
}

.btn-warning {
  background: var(--warn);
  color: #fff;
}
.btn-warning:hover:not(:disabled) {
  background: var(--warn-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(183, 129, 3, 0.3);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger:hover:not(:disabled) {
  background: var(--danger-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(209, 36, 47, 0.3);
}

.btn-edit {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: .85rem;
}
.btn-edit:hover:not(:disabled) {
  background: #f3f4f6;
  transform: translateY(-1px);
}

.btn.sm {
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* Status */
.status-text {
  margin-left: auto;
  font-size: .92rem;
  color: var(--muted);
}

/* Conteúdo e placeholders */
.content-placeholder {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  white-space: pre-wrap;
  min-height: 120px;
}

.history-list {
  display: grid;
  gap: 10px;
}

.placeholder-text {
  color: var(--muted);
}

/* Responsividade para componentes */
@media (max-width: 768px) {
  .select-input {
    min-width: auto;
    width: 100%;
  }
  
  .btn {
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  .control-label {
    font-size: .9rem;
  }
  
  .select-input {
    padding: 10px;
    font-size: 0.95rem;
  }
  
  .btn {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  
  .status-text {
    font-size: 0.9rem;
  }

}
