/* ============================================
   AGENTS FEATURE - Reusable across all apps
   Includes: Chatbots, Workflows, Forms
   ============================================ */

/* ========== Chatbot Builder ========== */

.chatbot-canvas {
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  min-height: 600px;
  position: relative;
}

.chatbot-node {
  background: white;
  border: 2px solid var(--color-gray-300);
  border-radius: var(--radius-base);
  padding: var(--space-4);
  min-width: 200px;
  box-shadow: var(--shadow-sm);
  cursor: move;
  transition: all var(--transition-fast);
}

.chatbot-node:hover {
  border-color: var(--color-primary-500);
  box-shadow: var(--shadow-md);
}

.chatbot-node.selected {
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 3px var(--color-primary-100);
}

.chatbot-node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-gray-200);
}

.chatbot-node-title {
  font-weight: var(--font-semibold);
  color: var(--color-gray-900);
}

.chatbot-node-type {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-2);
  background: var(--color-primary-100);
  color: var(--color-primary-700);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chatbot-node-content {
  font-size: var(--text-sm);
  color: var(--color-gray-700);
}

/* ========== Workflow Builder ========== */

.workflow-step {
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-base);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  transition: all var(--transition-fast);
}

.workflow-step:hover {
  border-color: var(--color-primary-300);
  box-shadow: var(--shadow-sm);
}

.workflow-step.active {
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 3px var(--color-primary-100);
}

.workflow-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.workflow-step-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.workflow-step-icon {
  width: 32px;
  height: 32px;
  background: var(--color-primary-100);
  color: var(--color-primary-600);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
}

.workflow-step-title {
  font-weight: var(--font-semibold);
  color: var(--color-gray-900);
}

.workflow-step-description {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  margin-top: var(--space-2);
}

.workflow-step-actions {
  display: flex;
  gap: var(--space-2);
}

.workflow-connector {
  width: 2px;
  height: 24px;
  background: var(--color-gray-300);
  margin: 0 auto;
}

/* ========== Form Builder ========== */

.form-field-item {
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-base);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
  cursor: move;
  transition: all var(--transition-fast);
}

.form-field-item:hover {
  border-color: var(--color-primary-300);
  box-shadow: var(--shadow-sm);
}

.form-field-item.selected {
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 3px var(--color-primary-100);
}

.form-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.form-field-label {
  font-weight: var(--font-medium);
  color: var(--color-gray-900);
}

.form-field-type {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-2);
  background: var(--color-gray-100);
  color: var(--color-gray-700);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.form-field-preview {
  padding: var(--space-3);
  background: var(--color-gray-50);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-gray-600);
}

/* ========== Agent Cards ========== */

.agent-card {
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
  cursor: pointer;
}

.agent-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-primary-300);
}

.agent-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.agent-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-100);
  color: var(--color-primary-600);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.agent-card-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--color-gray-900);
  margin-bottom: var(--space-2);
}

.agent-card-description {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  margin-bottom: var(--space-4);
}

.agent-card-stats {
  display: flex;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-gray-200);
}

.agent-card-stat {
  flex: 1;
  text-align: center;
}

.agent-card-stat-value {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--color-gray-900);
}

.agent-card-stat-label {
  font-size: var(--text-xs);
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== Agent Status ========== */

.agent-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
}

.agent-status.active {
  background: var(--color-success-100);
  color: var(--color-success-700);
}

.agent-status.draft {
  background: var(--color-gray-100);
  color: var(--color-gray-700);
}

.agent-status.paused {
  background: var(--color-warning-100);
  color: var(--color-warning-700);
}

/* ========== Builder Toolbar ========== */

.builder-toolbar {
  background: white;
  border-bottom: 1px solid var(--color-gray-200);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.builder-toolbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.builder-toolbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.builder-tool-button {
  padding: var(--space-2) var(--space-3);
  background: white;
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.builder-tool-button:hover {
  background: var(--color-gray-50);
  border-color: var(--color-gray-400);
}

.builder-tool-button.active {
  background: var(--color-primary-100);
  border-color: var(--color-primary-500);
  color: var(--color-primary-700);
}

/* ========== Properties Panel ========== */

.properties-panel {
  background: white;
  border-left: 1px solid var(--color-gray-200);
  padding: var(--space-6);
  overflow-y: auto;
}

.properties-section {
  margin-bottom: var(--space-6);
}

.properties-section-title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-gray-900);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.property-field {
  margin-bottom: var(--space-4);
}

.property-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-gray-700);
  margin-bottom: var(--space-2);
}

.property-input {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.property-input:focus {
  outline: none;
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 3px var(--color-primary-100);
}

/* ========== Responsive ========== */

@media (max-width: 768px) {
  .chatbot-canvas {
    padding: var(--space-4);
    min-height: 400px;
  }
  
  .workflow-step {
    padding: var(--space-3);
  }
  
  .agent-card-stats {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .builder-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .properties-panel {
    padding: var(--space-4);
  }
}
/* Workflow Builder Premium Styling */

/* Fullscreen */
.wf-fullscreen-mode {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  background: white !important;
}
.wf-fullscreen-mode .wf-main { height: calc(100vh - 60px) !important; }

/* Nodes */
.drawflow .drawflow_node {
  border-radius: 10px !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  min-width: 200px !important;
  padding: 16px !important;
  background: white !important;
  transition: all 0.25s !important;
}
.drawflow .drawflow_node:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
  transform: translateY(-2px) !important;
}

/* Node Colors */
.drawflow .drawflow_node[data-type="start"] { border-left: 4px solid #10b981 !important; }
.drawflow .drawflow_node[data-type="message"] { border-left: 4px solid #3b82f6 !important; }
.drawflow .drawflow_node[data-type="options"] { border-left: 4px solid #f59e0b !important; }
.drawflow .drawflow_node[data-type="form"] { border-left: 4px solid #8b5cf6 !important; }
.drawflow .drawflow_node[data-type="field"] { border-left: 4px solid #22c55e !important; background: #f0fdf4 !important; }
.drawflow .drawflow_node[data-type="action"] { border-left: 4px solid #ec4899 !important; }
.drawflow .drawflow_node[data-type="end"] { border-left: 4px solid #ef4444 !important; }

.drawflow .drawflow_node[data-type="start"] .node-title { color: #10b981 !important; }
.drawflow .drawflow_node[data-type="message"] .node-title { color: #3b82f6 !important; }
.drawflow .drawflow_node[data-type="options"] .node-title { color: #f59e0b !important; }
.drawflow .drawflow_node[data-type="form"] .node-title { color: #8b5cf6 !important; }
.drawflow .drawflow_node[data-type="field"] .node-title { color: #16a34a !important; font-weight: 700 !important; }
.drawflow .drawflow_node[data-type="action"] .node-title { color: #ec4899 !important; }
.drawflow .drawflow_node[data-type="end"] .node-title { color: #ef4444 !important; }

.drawflow .drawflow_node .node-title {
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #1f2937 !important;
}

/* Ports */
.drawflow .drawflow_node .outputs .output {
  background: #6366f1 !important;
  border: 3px solid white !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 6px rgba(99,102,241,0.3) !important;
}
.drawflow .drawflow_node .inputs .input {
  background: #10b981 !important;
  border: 3px solid white !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 6px rgba(16,185,129,0.3) !important;
}

/* Port Labels */
.drawflow .drawflow_node[data-type="options"] .outputs .output::before {
  content: attr(data-port-label) !important;
  position: absolute !important;
  right: 22px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: #fbbf24 !important;
  color: #78350f !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 6px rgba(251,191,36,0.3) !important;
}

/* Connections */
.drawflow .connection .main-path {
  stroke: #6366f1 !important;
  stroke-width: 2px !important;
}
/* WORKFLOW BUILDER - MODERN UI/UX - Phase 1 & 2 */

:root {
  --wf-primary: #6366f1;
  --wf-bg-canvas: #fafafa;
  --wf-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --wf-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* DOT GRID CANVAS */
.drawflow {
  background-color: var(--wf-bg-canvas) !important;
  background-image: radial-gradient(circle, #d1d5db 1px, transparent 1px) !important;
  background-size: 20px 20px !important;
}

/* MODERN NODES - Base Styling */
.drawflow .drawflow-node {
  background: #fff !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 8px !important;
  box-shadow: var(--wf-shadow-md) !important;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: visible !important;
  min-width: 220px !important;
  max-width: 280px !important;
  padding: 0 !important;
  cursor: grab !important;
}

.drawflow .drawflow-node:hover {
  box-shadow: var(--wf-shadow-lg) !important;
}

.drawflow .drawflow-node.dragging {
  cursor: grabbing !important;
  opacity: 0.9;
  z-index: 1000 !important;
}

.drawflow .drawflow-node.selected {
  border-color: var(--wf-primary) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1), var(--wf-shadow-lg) !important;
}

/* MODERN NODE STRUCTURE */
.drawflow .drawflow-node .modern-node {
  width: 100%;
}

.drawflow .drawflow-node .node-header {
  padding: 12px 14px;
  font-weight: 600;
  font-size: 13px;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.drawflow .drawflow-node .node-icon {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.drawflow .drawflow-node .node-type {
  flex: 1;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawflow .drawflow-node .node-preview {
  padding: 10px 14px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
  background: #fff;
  max-height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* NODE GRADIENTS - Applied to Headers */
.drawflow .drawflow-node[data-type="start"] {
  border-color: #10b981 !important;
}

.drawflow .drawflow-node[data-type="start"] .node-header {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.drawflow .drawflow-node[data-type="message"] {
  border-color: #3b82f6 !important;
}

.drawflow .drawflow-node[data-type="message"] .node-header {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.drawflow .drawflow-node[data-type="options"] {
  border-color: #f59e0b !important;
}

.drawflow .drawflow-node[data-type="options"] .node-header {
  background: linear-gradient(135deg, #fed7aa, #fdba74);
}

.drawflow .drawflow-node[data-type="form"] {
  border-color: #8b5cf6 !important;
}

.drawflow .drawflow-node[data-type="form"] .node-header {
  background: linear-gradient(135deg, #e9d5ff, #d8b4fe);
}

.drawflow .drawflow-node[data-type="field"] {
  border-color: #22c55e !important;
}

.drawflow .drawflow-node[data-type="field"] .node-header {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.drawflow .drawflow-node[data-type="action"] {
  border-color: #ec4899 !important;
}

.drawflow .drawflow-node[data-type="action"] .node-header {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
}

.drawflow .drawflow-node[data-type="end"] {
  border-color: #ef4444 !important;
}

.drawflow .drawflow-node[data-type="end"] .node-header {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
}

/* SMOOTH CONNECTIONS */
.drawflow .connection .main-path {
  stroke: #6366f1 !important;
  stroke-width: 2px !important;
  fill: none !important;
}

.drawflow .connection .main-path:hover {
  stroke: #4f46e5 !important;
  stroke-width: 3px !important;
}

/* CONNECTION POINTS */
.drawflow .drawflow-node .input,
.drawflow .drawflow-node .output {
  width: 12px !important;
  height: 12px !important;
  border: 2px solid #fff !important;
  background: var(--wf-primary) !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

.drawflow .drawflow-node .input:hover,
.drawflow .drawflow-node .output:hover {
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2) !important;
}

/* ========== FLOATING ADD NODE BUTTON ========== */
.wf-floating-add-btn {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 100;
}

.wf-floating-add-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.5);
}

.wf-floating-add-btn:active {
  transform: scale(0.95);
}

/* ========== NODE PALETTE MODAL ========== */
.wf-palette-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.wf-palette-modal.wf-modal-active {
  opacity: 1;
  pointer-events: auto;
}

.wf-palette-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.wf-palette-content {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wf-modal-active .wf-palette-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Smooth close animation */
.wf-palette-modal.ng-hide-add {
  transition: opacity 0.2s ease;
}

.wf-palette-modal.ng-hide-add.ng-hide-add-active {
  opacity: 0;
}

.wf-palette-modal.ng-hide-add .wf-palette-content {
  transform: scale(0.95) translateY(20px);
  opacity: 0;
}

.wf-palette-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.wf-palette-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

/* Modal Close Button */
.wf-modal-close-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.wf-modal-close-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

.wf-modal-close-btn:active {
  background: #e5e7eb;
  transform: scale(0.95);
}

.wf-palette-search {
  padding: 16px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.wf-palette-search input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}

.wf-palette-search input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.wf-palette-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 24px;
  border-bottom: 1px solid #e5e7eb;
  overflow-x: auto;
}

.wf-palette-tabs button {
  padding: 8px 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.wf-palette-tabs button:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.wf-palette-tabs button.active {
  background: #eef2ff;
  border-color: #6366f1;
  color: #6366f1;
}

.wf-palette-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.wf-palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.wf-node-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}

.wf-node-card:hover {
  border-color: #6366f1;
  background: #f9fafb;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.node-card-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}

.node-card-content {
  flex: 1;
  min-width: 0;
}

.node-card-title {
  font-weight: 600;
  font-size: 14px;
  color: #111827;
  margin-bottom: 4px;
}

.node-card-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

/* ========== MODERN TOP TOOLBAR ========== */
.wf-modern-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  gap: 24px;
  min-height: 64px;
}

/* Left Section */
.wf-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.wf-back-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.wf-back-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #111827;
}

.wf-workflow-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.wf-workflow-name {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  border: none;
  background: transparent;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  max-width: 400px;
}

.wf-workflow-name:hover {
  background: #f9fafb;
}

.wf-workflow-name:focus {
  outline: none;
  background: #f9fafb;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.wf-workflow-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
  padding-left: 8px;
}

.wf-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: capitalize;
}

.wf-status-badge.draft {
  background: #f3f4f6;
  color: #6b7280;
}

.wf-status-badge.active {
  background: #d1fae5;
  color: #065f46;
}

.wf-status-badge.archived {
  background: #fee2e2;
  color: #991b1b;
}

.wf-status-badge .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.wf-meta-divider {
  color: #d1d5db;
}

.wf-node-count {
  color: #6b7280;
}

/* Center Section */
.wf-topbar-center {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wf-control-group {
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.wf-control-btn {
  padding: 8px 12px;
  border: none;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
}

.wf-control-btn:hover {
  background: #f9fafb;
  color: #111827;
}

.wf-control-btn:active {
  background: #f3f4f6;
}

.wf-control-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.wf-control-group .wf-control-btn:not(:last-child) {
  border-right: 1px solid #e5e7eb;
}

.wf-zoom-display {
  min-width: 60px;
  font-size: 13px;
  font-weight: 500;
  color: #111827;
}

.wf-control-divider {
  width: 1px;
  height: 24px;
  background: #e5e7eb;
}

/* Floating Navigation Panel */
.wf-nav-panel {
  position: absolute;
  right: 224px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.4);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 8px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.wf-nav-panel:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(229, 231, 235, 0.6);
}

.wf-nav-row {
  display: flex;
  gap: 4px;
  align-items: center;
}

.wf-nav-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(249, 250, 251, 0.6);
  color: #6b7280;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
}

.wf-nav-btn:hover {
  background: #f3f4f6;
  color: #111827;
  transform: scale(1.05);
}

.wf-nav-btn:active {
  background: #e5e7eb;
  transform: scale(0.95);
}

.wf-nav-home {
  background: #6366f1 !important;
  color: #fff !important;
}

.wf-nav-home:hover {
  background: #4f46e5 !important;
  color: #fff !important;
  transform: scale(1.08);
}

.wf-nav-home:active {
  background: #4338ca !important;
  transform: scale(0.98);
}

/* Right Section */
.wf-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wf-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.wf-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wf-btn-secondary {
  background: #fff;
  border-color: #e5e7eb;
  color: #6b7280;
}

.wf-btn-secondary:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #111827;
}

.wf-btn-success {
  background: #10b981;
  color: #fff;
}

.wf-btn-success:hover:not(:disabled) {
  background: #059669;
}

.wf-btn-primary {
  background: #6366f1;
  color: #fff;
}

.wf-btn-primary:hover:not(:disabled) {
  background: #4f46e5;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.wf-btn-warning {
  background: #f59e0b;
  color: #fff;
}

.wf-btn-warning:hover:not(:disabled) {
  background: #d97706;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Prominent Fullscreen Button */
.wf-fullscreen-btn {
  background: rgba(99, 102, 241, 0.08) !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
}

.wf-fullscreen-btn:hover {
  background: rgba(99, 102, 241, 0.15) !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
}

/* Quick Actions Group (Fullscreen + Shortcuts after back button) */
.wf-quick-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

/* Vertical Divider */
.wf-divider-vertical {
  width: 1px;
  height: 32px;
  background: #e5e7eb;
  margin: 0 16px;
}

/* Workflow Info - Better Layout */
.wf-workflow-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wf-workflow-title {
  display: flex;
  align-items: center;
}

.wf-workflow-name {
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
  min-width: 200px;
}

.wf-workflow-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
}

/* Zoom Controls in Navigation Panel */
.wf-zoom-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wf-zoom-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  color: #374151;
}

.wf-zoom-btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
}

.wf-zoom-display {
  min-width: 50px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0 8px;
}

.wf-zoom-display:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.wf-nav-divider {
  width: 100%;
  height: 1px;
  background: #e5e7eb;
  margin: 8px 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .wf-topbar-center {
    display: none;
  }
}

/* ========== KEYBOARD SHORTCUTS MODAL ========== */
.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 6px;
  gap: 16px;
}

.shortcut-keys {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #6b7280;
  flex-shrink: 0;
}

.shortcut-keys kbd {
  display: inline-block;
  padding: 4px 8px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.shortcut-desc {
  flex: 1;
  font-size: 13px;
  color: #374151;
  text-align: right;
}

/* ========== CONNECTION LABELS ========== */
.connection-label {
  position: absolute;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

/* ========== VALIDATION INDICATORS ========== */
.node-validation-indicator {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.node-validation-indicator.error {
  background: #ef4444;
  color: #fff;
}

.node-validation-indicator.warning {
  background: #f59e0b;
  color: #fff;
}

.node-validation-indicator.success {
  background: #10b981;
  color: #fff;
}

/* ========== NODE COMMENT BADGE ========== */
.node-comment-badge {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10;
  cursor: pointer;
  transition: all 0.2s ease;
}

.node-comment-badge:hover {
  transform: scale(1.2);
  background: #4f46e5;
}

/* ========== MULTI-SELECT ========== */
.drawflow .drawflow-node.node-selected {
  box-shadow: 0 0 0 3px #6366f1 !important;
  z-index: 100 !important;
}

.drawflow .drawflow-node.node-selected .modern-node {
  border-color: #6366f1 !important;
}

/* Drag select box */
.drag-select-box {
  position: absolute;
  border: 2px dashed #6366f1;
  background: rgba(99, 102, 241, 0.1);
  pointer-events: none;
  z-index: 1000;
}

/*Bulk action toolbar */
.bulk-action-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Minimap */
#wfMinimap {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 200px;
  height: 140px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 50;
  transition: all 0.3s ease;
}

#wfMinimap:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

#wfMinimap .mini-viewport {
  cursor: move !important;
  pointer-events: all !important;
  transition: background 0.2s ease;
}

#wfMinimap .mini-viewport:hover {
  background: rgba(99,102,241,0.2) !important;
}

.bulk-action-toolbar .selection-count {
  font-size: 13px;
  font-weight: 600;
  color: #6366f1;
  padding: 0 8px;
  border-right: 1px solid #e5e7eb;
}

.bulk-action-toolbar button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: none;
  background: transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bulk-action-toolbar button:hover {
  background: #f3f4f6;
}

.bulk-action-toolbar button.danger:hover {
  background: #fef2f2;
  color: #dc2626;
}

/* Properties Modal */
.wf-properties-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.wf-properties-modal-content {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalZoomIn 0.2s ease;
  transform-origin: center center;
}

@keyframes modalZoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.wf-props-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.props-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.props-node-badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: #e0e7ff;
  color: #4338ca;
}

.wf-props-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}

.props-close-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.props-close-btn:hover {
  background: #f3f4f6;
}

.wf-props-tabs {
  display: flex;
  border-bottom: 2px solid #e5e7eb;
  padding: 0 24px;
  gap: 4px;
}

.props-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: #6b7280;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.props-tab:hover {
  color: #374151;
  background: #f9fafb;
}

.props-tab.active {
  color: #6366f1;
  border-bottom-color: #6366f1;
}

.wf-props-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.props-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 16px;
}

.props-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

.props-section-header:hover {
  background: #f9fafb;
}

.props-section-header .chevron {
  transition: transform 0.2s;
}

.props-section-header .chevron.rotated {
  transform: rotate(180deg);
}

.section-icon {
  font-size: 18px;
}

.section-title {
  font-weight: 600;
  color: #111827;
  flex: 1;
}

.props-section-content {
  padding: 0 16px 16px 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #374151;
  font-size: 14px;
}

.form-group small {
  display: block;
  color: #6b7280;
  font-size: 12px;
  margin-top: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control:disabled {
  background: #f9fafb;
  color: #9ca3af;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d1d5db;
  transition: 0.3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #6366f1;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* Enhanced Modal Styles */
.props-node-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-right: 16px;
}

.props-node-type {
  font-size: 11px;
  font-weight: 700;
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.props-node-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.props-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon-secondary, .btn-icon-danger {
  width: 36px;
  height: 36px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon-secondary:hover {
  background: #f3f4f6;
  border-color: #6366f1;
}

.btn-icon-danger:hover {
  background: #fef2f2;
  border-color: #ef4444;
  color: #ef4444;
}

.wf-props-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary {
  background: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background: #f9fafb;
}

.btn-primary {
  background: #6366f1;
  color: #fff;
  border: 1px solid #6366f1;
}

.btn-primary:hover {
  background: #4f46e5;
}

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

.btn-block {
  width: 100%;
}

.btn-danger {
  background: #ef4444;
  color: #fff;
  border: 1px solid #ef4444;
}

.btn-danger:hover {
  background: #dc2626;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.alert-warning {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.badge-count {
  background: #6366f1;
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-left: auto;
}

.option-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.option-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.drag-handle {
  color: #9ca3af;
  cursor: grab;
  font-size: 16px;
}

.option-number {
  font-weight: 600;
  color: #374151;
  flex: 1;
}

.port-badge {
  background: #6366f1;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.option-card-body {
  padding: 16px;
}

.option-card-footer {
  padding: 12px 16px;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.input-with-copy {
  display: flex;
  gap: 8px;
}

.btn-copy {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy:hover {
  background: #f3f4f6;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  color: #374151;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-control.code {
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  font-size: 12px;
  background: #f9fafb;
}

.metadata-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metadata-item {
  padding: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.metadata-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.metadata-value {
  font-size: 13px;
  color: #111827;
  font-weight: 500;
  font-family: 'Monaco', 'Menlo', monospace;
}

.option-list {
  margin-bottom: 12px;
}

.option-list-item {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.option-list-item .form-control {
  flex: 1;
}

/* Node Hover Tooltip */
.node-hover-tooltip {
  position: fixed;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  pointer-events: none;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.5;
}

.node-hover-tooltip .tooltip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.node-hover-tooltip .tooltip-icon {
  font-size: 18px;
}

.node-hover-tooltip .tooltip-title {
  font-weight: 600;
  color: #111827;
  flex: 1;
}

.node-hover-tooltip .tooltip-type {
  font-size: 10px;
  font-weight: 700;
  color: #6366f1;
  text-transform: uppercase;
  background: #eff6ff;
  padding: 2px 6px;
  border-radius: 3px;
}

.node-hover-tooltip .tooltip-body {
  color: #6b7280;
}

.node-hover-tooltip .tooltip-row {
  margin-bottom: 4px;
}

.node-hover-tooltip .tooltip-label {
  font-weight: 600;
  color: #374151;
  margin-right: 4px;
}

.node-hover-tooltip .tooltip-value {
  color: #6b7280;
}

/* Add Node Button (Left Bottom) */
.wf-add-node-btn {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.wf-add-node-btn:hover {
  background: #4f46e5;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  transform: scale(1.05);
}

.wf-add-node-btn:active {
  transform: scale(0.95);
}

/* Fullscreen Mode */
.wf-fullscreen-mode {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999 !important;
  background: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wf-fullscreen-mode .wf-main {
  height: calc(100vh - 60px) !important;
  min-height: auto !important;
}
