/**
 * Visual Editor Styles
 * Matches the LoadMagic dark theme with emerald accents
 */

/* Container */
.visual-editor {
  padding: 16px;
  overflow-y: auto;
  max-height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.visual-editor-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.visual-editor-empty .empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* Parse Warnings */
.parse-warnings {
  margin-bottom: 16px;
}

.warning-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}

.warning-item.warning-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.warning-item.warning-warning {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

/* Settings Card */
.settings-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.settings-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.settings-icon {
  font-size: 16px;
}

.settings-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.settings-class {
  margin-left: auto;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.setting-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.setting-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.setting-value {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.setting-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 4px;
}

/* Steps Toolbar */
.steps-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.steps-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.steps-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.steps-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.toolbar-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.toolbar-btn:hover:not(:disabled) {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.toolbar-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.toolbar-icon {
  width: 14px;
  height: 14px;
}

/* Toolbar Button Variants */
.toolbar-btn-success {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.toolbar-btn-success:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.5);
}

.toolbar-btn-warning {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.toolbar-btn-warning:hover:not(:disabled) {
  background: rgba(245, 158, 11, 0.25);
  border-color: rgba(245, 158, 11, 0.5);
}

.toolbar-btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.toolbar-btn-danger:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
}

.toolbar-separator {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 4px;
}

.bulk-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  animation: slideIn 0.2s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Custom Checkbox */
.select-all-checkbox,
.step-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 2px;
}

.select-all-checkbox input,
.step-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: transparent;
  transition: all 0.15s ease;
  position: relative;
}

.select-all-checkbox:hover .checkbox-custom,
.step-checkbox:hover .checkbox-custom {
  border-color: rgba(16, 185, 129, 0.6);
}

.select-all-checkbox input:checked + .checkbox-custom,
.step-checkbox input:checked + .checkbox-custom {
  background: #10b981;
  border-color: #10b981;
}

.select-all-checkbox input:checked + .checkbox-custom::after,
.step-checkbox input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Steps Container */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Step Card */
.step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.step-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.step-card.step-disabled {
  opacity: 0.5;
}

.step-card.step-disabled .step-request,
.step-card.step-disabled .step-tab-content {
  filter: grayscale(0.5);
}

/* Selected Step */
.step-card.step-selected {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.05);
}

/* Deleting animation */
.step-card.step-deleting {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.2s ease;
}

/* Step Header */
.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.step-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Step Chevron (expand/collapse) */
.step-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: color 0.15s ease;
}

.step-chevron:hover {
  color: rgba(255, 255, 255, 0.7);
}

.chevron-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.chevron-icon.expanded {
  transform: rotate(90deg);
}

/* Step Collapsed State */
.step-card.step-collapsed {
  border-color: rgba(255, 255, 255, 0.05);
}

.step-card.step-collapsed .step-header {
  border-bottom: none;
  cursor: pointer;
}

.step-card.step-collapsed:hover {
  border-color: rgba(16, 185, 129, 0.2);
}

/* Step Expanded State */
.step-card.step-expanded .step-header {
  cursor: pointer;
}

/* Step Body (collapsible content) */
.step-body {
  transition: all 0.2s ease;
}

.step-body.hidden {
  display: none;
}

/* Step Summary (shown when collapsed) */
.step-summary {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin-right: 8px;
}

.step-summary.hidden {
  display: none;
}

/* Method Badge - Small variant for header */
.method-badge-sm {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 3px;
}

.step-number {
  font-size: 10px;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}

.step-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.step-path-preview {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.step-dcai {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 3px;
}

.step-toggle {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 12px;
}

.step-toggle.enabled {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.step-toggle.disabled {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
}

/* Step Request Line */
.step-request {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.method-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
}

.method-get {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.method-post {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.method-put {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.method-delete {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.method-patch {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

.step-path {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  word-break: break-all;
}

/* Step Tabs */
.step-tabs {
  display: flex;
  gap: 2px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.step-tab {
  padding: 6px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-tab:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

.step-tab.active {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.step-tab:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tab-count {
  font-size: 10px;
  background: rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 1px 5px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

.tab-empty {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
}

/* Tab Content */
.step-tab-content {
  padding: 16px;
  min-height: 80px;
}

.tab-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.tab-empty-state .hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 4px;
}

/* Headers List */
.headers-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.header-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 12px;
}

.header-key {
  color: #7dd3fc;
  font-weight: 500;
}

.header-separator {
  color: rgba(255, 255, 255, 0.3);
}

.header-value {
  color: #86efac;
  word-break: break-all;
}

/* Body Display */
.body-display {
  position: relative;
}

.body-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.body-type-badge {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.body-variable-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 4px;
}

.body-variable-header .variable-icon {
  font-size: 12px;
}

.body-variable-header .variable-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #10b981;
  font-weight: 500;
}

.body-content {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 14px;
  margin: 0;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
  max-height: 300px;
  overflow-y: auto;
}

.body-raw {
  color: rgba(255, 255, 255, 0.6);
}

.body-parse-error {
  margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 6px;
  font-size: 11px;
  color: #fbbf24;
}

/* JSON Viewer - Pretty Print */
.json-viewer {
  background: linear-gradient(135deg, rgba(15, 15, 20, 0.95) 0%, rgba(10, 10, 15, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.json-code {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: auto;
  padding: 12px 0;
}

.json-line {
  display: flex;
  line-height: 1.7;
  font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
  font-size: 12px;
}

.json-line:hover {
  background: rgba(255, 255, 255, 0.03);
}

.json-line-number {
  flex-shrink: 0;
  width: 40px;
  padding: 0 12px 0 14px;
  text-align: right;
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  margin-right: 14px;
  font-size: 11px;
}

.json-line-content {
  flex: 1;
  white-space: pre;
  padding-right: 14px;
}

.json-empty {
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
  padding: 20px;
  text-align: center;
}

/* JSON Syntax Highlighting */
.json-key {
  color: #7dd3fc; /* Sky blue for keys */
}

.json-string {
  color: #86efac; /* Green for strings */
}

.json-number {
  color: #fcd34d; /* Yellow/gold for numbers */
}

.json-bool {
  color: #c084fc; /* Purple for booleans */
}

.json-null {
  color: #f87171; /* Red for null */
  font-style: italic;
}

.json-brace {
  color: rgba(255, 255, 255, 0.5);
}

.json-bracket {
  color: rgba(255, 255, 255, 0.5);
}

.json-variable {
  color: #f472b6; /* Pink for variables */
  background: rgba(244, 114, 182, 0.15);
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 500;
}

/* Extractors List */
.extractors-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.extractor-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 8px;
}

.extractor-icon {
  font-size: 14px;
}

.extractor-var {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: #86efac;
}

.extractor-arrow {
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

.extractor-expr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  flex: 1;
}

.extractor-type {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.extractor-type.type-jsonpath {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.extractor-type.type-regex {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

.extractor-type.type-regex-header {
  background: rgba(236, 72, 153, 0.2);
  color: #f472b6;
}

.extractor-type.type-header {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

/* Extractor source label */
.extractor-source {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Assertions List */
.assertions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.assertion-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 8px;
}

.assertion-icon {
  color: #60a5fa;
  font-size: 14px;
}

.assertion-type {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.assertion-op {
  color: rgba(255, 255, 255, 0.4);
}

.assertion-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: #60a5fa;
}

/* Action Buttons */
.step-actions-bar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.action-btn {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.action-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

/* No Steps State */
.no-steps-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.no-steps-state .no-steps-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.no-steps-state .hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 8px;
}

/* Variable Highlighting */
.variable-highlight {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  padding: 1px 4px;
  border-radius: 3px;
}

/* JSON Syntax Highlighting */
.json-key {
  color: #7dd3fc;
}

.json-string {
  color: #86efac;
}

.json-number {
  color: #c084fc;
}

.json-bool {
  color: #fbbf24;
}

.json-null {
  color: #f87171;
}

/* View Toggle */
.view-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.view-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.view-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.view-btn.active {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.view-btn svg {
  width: 14px;
  height: 14px;
}

/* Scrollbar styling */
.visual-editor::-webkit-scrollbar {
  width: 8px;
}

.visual-editor::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.visual-editor::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.visual-editor::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Body content scrollbar */
.body-content::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.body-content::-webkit-scrollbar-track {
  background: transparent;
}

.body-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* Step Action Buttons */
.step-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.step-header:hover .step-actions,
.step-card.step-selected .step-actions {
  opacity: 1;
}

.step-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.15s ease;
}

.step-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.step-action-btn svg {
  width: 14px;
  height: 14px;
}

/* Enable/Disable toggle button */
.step-action-btn.action-enabled {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.step-action-btn.action-enabled:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.5);
}

.step-action-btn.action-disabled {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.step-action-btn.action-disabled:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: rgba(245, 158, 11, 0.5);
}

/* Delete button */
.step-action-btn.action-delete {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
  color: rgba(239, 68, 68, 0.6);
}

.step-action-btn.action-delete:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}
