:root { --primary: #089E97; --primary-hover: #078481; --bg-slate: #f8fafc; --border-color: #e5e7eb; } * { box-sizing: border-box; } body { font-family: 'Inter', sans-serif; background-color: var(--bg-slate); } /* Custom Scrollbar */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #94a3b8; } /* Palette Items */ .palette-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; cursor: pointer; transition: all 0.15s ease; border: 1px solid transparent; } .palette-item:hover { background-color: #f1f5f9; border-left: 3px solid var(--primary); padding-left: 9px; } .palette-item:active { transform: scale(0.98); } /* Block Items in Canvas */ .block-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: white; border: 1px solid var(--border-color); border-radius: 8px; cursor: pointer; transition: all 0.15s ease; position: relative; } .block-item:hover { background-color: #f8fafc; border-color: #cbd5e1; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .block-item.selected { border: 2px solid var(--primary); box-shadow: 0 0 0 3px rgba(8, 158, 151, 0.1); background-color: rgba(8, 158, 151, 0.02); } .block-item[draggable="true"]:active { cursor: grabbing; opacity: 0.8; } /* Drag States */ .drag-over { background-color: rgba(8, 158, 151, 0.05) !important; border: 2px dashed var(--primary) !important; } .drag-target { border-top: 2px solid var(--primary); margin-top: 4px; } /* Step Container */ [data-step-id] { transition: all 0.2s ease; } [data-step-id].dragging { opacity: 0.5; transform: scale(0.98); } /* Input Focus States */ input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(8, 158, 151, 0.1); } /* Animation for AI Toast */ @keyframes slideUp { from { transform: translate(-50%, 100%); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } } .animate-slide-up { animation: slideUp 0.3s ease-out; } /* Preview Mode Transitions */ #preview-container { transition: max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1); } /* Custom Checkbox */ input[type="checkbox"] { accent-color: var(--primary); } /* Chart SVG */ #line-chart { width: 100%; height: 100%; } /* Responsive adjustments */ @media (max-width: 1024px) { #left-sidebar { transform: translateX(-100%); position: absolute; z-index: 50; transition: transform 0.3s ease; } #left-sidebar.open { transform: translateX(0); } }