@tailwind base;@tailwind components;@tailwind utilities;.header-section{background:hsla(0,0%,100%,.95);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:1px solid hsla(0,0%,100%,.2);padding:1.5rem 0;margin-bottom:2rem}.logo-icon{width:50px;height:50px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff!important}.header-title{font-size:1.75rem;font-weight:700;color:#1a202c;margin:0}.header-subtitle{color:#64748b;font-size:.95rem;font-weight:400}.stats-badge{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:.5rem 1rem;border-radius:20px;font-size:.85rem;font-weight:500;display:flex;align-items:center}.admin-panel,.preview-panel{background:hsla(0,0%,100%,.95);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:20px;box-shadow:0 20px 40px rgba(0,0,0,.1);border:1px solid hsla(0,0%,100%,.2);overflow:hidden;height:-moz-fit-content;height:fit-content}.panel-header,.preview-header{padding:2rem;background:linear-gradient(135deg,rgba(102,126,234,.1),rgba(118,75,162,.1));border-bottom:1px solid hsla(0,0%,100%,.2)}.panel-icon{width:40px;height:40px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff}.panel-title,.preview-title{font-size:1.25rem;font-weight:600;color:#1a202c}.panel-subtitle,.preview-subtitle{color:#64748b;font-size:.9rem}.add-field-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:12px;font-weight:500;display:flex;align-items:center;transition:all .3s ease;box-shadow:0 4px 15px rgba(102,126,234,.3)}.add-field-btn:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(102,126,234,.4);color:#fff}.form-config-section{padding:2rem;border-bottom:1px solid #e2e8f0}.config-group{margin-bottom:1.5rem}.config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:1rem;gap:1rem}.config-group-full{grid-column:1/-1}.config-label{display:block;font-weight:500;color:#374151;margin-bottom:.5rem;font-size:.95rem}.config-input{width:100%;padding:.875rem 1.125rem;border:2px solid #e2e8f0;border-radius:12px;font-size:.95rem;transition:all .3s ease;background:#fff}.config-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.1)}.form-select-type{width:50%;padding:8px;border:1px solid #ccc;border-radius:8px;font-size:14px;outline:none;transition:border-color .2s,box-shadow .2s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px}.form-select-type:focus{border-color:#007bff;box-shadow:0 0 0 3px rgba(0,123,255,.15)}.form-select-full{width:100%}.fields-section{padding:1rem}.section-title{font-size:1.1rem;font-weight:600;color:#1a202c;margin-bottom:1.5rem}.fields-list{gap:.75rem}.field-item,.fields-list{display:flex;flex-direction:column}.field-item{background:#fff;border:2px solid #e2e8f0;border-radius:16px;padding:1.25rem;gap:1rem;transition:border-color .2s ease,box-shadow .2s ease,opacity .2s ease}.field-enabled{border-color:#10b981;background:linear-gradient(135deg,rgba(16,185,129,.05),rgba(16,185,129,.02))}.field-disabled{opacity:.6}.field-item-dragging{opacity:.45}.field-card-top{display:flex;align-items:flex-start;gap:1rem;width:100%}.field-main{flex:1 1;gap:1rem}.field-main,.field-toggle{display:flex;align-items:center}.field-toggle{width:40px;height:40px;border-radius:10px;border:none;justify-content:center;transition:all .3s ease}.toggle-enabled{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.toggle-disabled{background:#f1f5f9;color:#64748b}.field-content{flex:1 1}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.75rem 1rem;gap:.75rem 1rem}.field-control-input,.field-grid-item{min-width:0}.field-helper-text{color:#64748b;display:block;font-size:.8rem;line-height:1.5}.drag-handle-btn{width:36px;height:36px;border:none;border-radius:10px;background:#f8fafc;color:#64748b;display:inline-flex;align-items:center;justify-content:center;cursor:-webkit-grab;cursor:grab;flex-shrink:0}.drag-handle-btn:active{cursor:-webkit-grabbing;cursor:grabbing}.field-label-input{font-weight:500;color:#1a202c;border:none;background:transparent;padding:.25rem 0;font-size:.95rem;width:100%}.field-label-input:focus{outline:none;background:#fff;border:1px solid #667eea;border-radius:6px;padding:.25rem .5rem}.field-meta{display:flex;align-items:center;gap:.5rem;margin-top:.25rem}.field-name,.field-type{font-size:.8rem;color:#64748b}.field-separator{color:#cbd5e1}.field-actions{display:flex;align-items:center;gap:1rem}.field-checkbox{display:inline-flex;align-items:center;gap:.5rem;color:#475569;font-size:.9rem;font-weight:500}.required-label{font-size:.85rem;color:#64748b;font-weight:500;margin:0}.delete-btn{width:36px;height:36px;border-radius:8px;border:none;background:#fef2f2;color:#dc2626;display:flex;align-items:center;justify-content:center;transition:all .3s ease}.delete-btn:hover{background:#fee2e2;transform:scale(1.05)}.option-editor{border-top:1px solid #e2e8f0;padding-top:1rem;width:100%}.option-editor-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.add-option-btn{border:1px solid #cbd5e1;background:#f8fafc;color:#334155;border-radius:10px;padding:.625rem .875rem;font-size:.85rem;font-weight:600;display:inline-flex;align-items:center}.option-row{display:flex;align-items:center;gap:.75rem;padding:.75rem 0}.option-row+.option-row{border-top:1px dashed #e2e8f0}.option-row-dragging{opacity:.45}.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.75rem;gap:.75rem;flex:1 1}.option-drag-handle{width:32px;height:32px}.preview-content{padding:2rem;min-height:600px;display:flex;align-items:center;justify-content:center}.form-preview{width:100%;max-width:500px;background:#fff;border-radius:20px;padding:2.5rem;box-shadow:0 10px 30px rgba(0,0,0,.1);border:1px solid #e2e8f0}.form-header{text-align:center;margin-bottom:2.5rem}.form-title{font-size:1.75rem;font-weight:700;color:#1a202c;margin-bottom:.75rem}.form-description{color:#64748b;font-size:1rem;line-height:1.6}.form-body{gap:1.5rem}.form-body,.form-group{display:flex;flex-direction:column}.form-label-preview{font-weight:500;color:#374151;margin-bottom:.5rem;font-size:.95rem}.required-indicator{color:#dc2626;margin-left:.25rem}.form-control-preview{width:100%;padding:.875rem 1.125rem;border:2px solid #e2e8f0;border-radius:12px;font-size:.95rem;transition:all .3s ease;background:#fff}.form-control-preview:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.1)}.submit-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:1rem 2rem;border-radius:12px;font-weight:600;font-size:1rem;transition:all .3s ease;margin-top:1rem;box-shadow:0 4px 15px rgba(102,126,234,.3)}.submit-btn:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(102,126,234,.4)}.submit-btn:disabled{cursor:not-allowed;opacity:.65;transform:none;box-shadow:none}.empty-state{text-align:center;padding:3rem 2rem}.empty-icon{width:80px;height:80px;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);border-radius:20px;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;color:#64748b}.empty-title{font-size:1.25rem;font-weight:600;color:#1a202c;margin-bottom:.75rem}.empty-text{color:#64748b;font-size:1rem;line-height:1.6}.preview-stats{background:rgba(102,126,234,.1);color:#667eea;padding:.5rem 1rem;border-radius:20px;font-size:.85rem;font-weight:500}.preview-helper-text{color:#64748b;margin-bottom:.5rem}.visibility-toggle{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:.875rem 1rem;background:#fff;color:#1e293b;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-weight:600}.visibility-toggle-visible{border-color:rgba(5,150,105,.35);background:rgba(16,185,129,.08);color:#047857}.visibility-toggle-hidden{border-color:rgba(100,116,139,.35);background:rgba(148,163,184,.12);color:#475569}.visibility-chip{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .875rem;border-radius:999px;font-size:.85rem;font-weight:700}.visibility-chip-visible{background:rgba(16,185,129,.12);color:#047857}.visibility-chip-hidden{background:rgba(148,163,184,.16);color:#475569}.builder-save-bar{position:-webkit-sticky;position:sticky;bottom:0;display:flex;justify-content:center;width:100%;padding:0 0 1rem;z-index:20}@media (max-width:1200px){.col-xl-5,.col-xl-7{flex:0 0 100%;max-width:100%}.admin-panel{margin-bottom:2rem}}@media (max-width:768px){.config-grid,.field-grid,.option-grid{grid-template-columns:1fr}.field-card-top{flex-wrap:wrap}.field-actions{width:100%;justify-content:space-between}.option-editor-header{flex-direction:column}}.sortable-list{display:flex;flex-direction:column;gap:.75rem}.sortable-list-item{display:flex;align-items:stretch;gap:.75rem;padding:.875rem;border:1px solid #dbe4ee;border-radius:14px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.04);transition:box-shadow .2s ease,border-color .2s ease,opacity .2s ease}.sortable-list-item:hover{border-color:#b8c8dc;box-shadow:0 14px 32px rgba(15,23,42,.08)}.sortable-list-item-dragging{opacity:.45}.sortable-list-handle{width:42px;min-width:42px;border:1px solid #dbe4ee;border-radius:12px;background:#f8fafc;color:#475569;display:flex;align-items:center;justify-content:center;cursor:-webkit-grab;cursor:grab}.sortable-list-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.sortable-list-content{flex:1 1;min-width:0}.sortable-panel{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:1rem;box-shadow:0 18px 40px rgba(15,23,42,.05)}.sortable-panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1rem}.sortable-panel-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.sortable-panel-meta{font-size:.9rem;color:#64748b}.sortable-rank-badge{display:inline-flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:.875rem;font-weight:700}