.google-sign-in-btn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:12px 24px;background-color:#fff;border:1px solid #dadce0;border-radius:4px;font-size:14px;font-weight:500;font-family:Roboto,sans-serif;color:#3c4043;cursor:pointer;transition:all .2s ease;margin-bottom:16px}.google-sign-in-btn:hover{background-color:#f8f9fa;border-color:#dadce0;box-shadow:0 1px 2px #3c40434d,0 1px 3px 1px #3c404326}.google-sign-in-btn:active{background-color:#e8eaed;border-color:#dadce0;box-shadow:0 1px 2px #3c40434d,0 2px 6px 2px #3c404326}.google-sign-in-btn:focus{outline:none;border-color:#4285f4}.google-icon{flex-shrink:0}.google-text{white-space:nowrap;font-size:14px;letter-spacing:.25px}@media (prefers-color-scheme: dark){.google-sign-in-btn{background-color:#131314;border-color:#5f6368;color:#e8eaed}.google-sign-in-btn:hover{background-color:#1a1a1b;border-color:#5f6368}.google-sign-in-btn:active{background-color:#202021;border-color:#5f6368}}@-webkit-keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}:root{--rc-drag-handle-size: 12px;--rc-drag-handle-mobile-size: 24px;--rc-drag-handle-bg-colour: rgba(0, 0, 0, .2);--rc-drag-bar-size: 6px;--rc-border-color: rgba(255, 255, 255, .7);--rc-focus-color: #0088ff}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;max-width:100%}.ReactCrop *,.ReactCrop *:before,.ReactCrop *:after{-webkit-box-sizing:border-box;box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{overflow:hidden;max-height:inherit}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{display:block;max-width:100%;max-height:inherit}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>video{-ms-touch-action:none;touch-action:none}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection{-ms-touch-action:none;touch-action:none}.ReactCrop__crop-mask{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;width:calc(100% + .5px);height:calc(100% + .5px)}.ReactCrop__crop-selection{position:absolute;top:0;left:0;-webkit-transform:translateZ(0);transform:translateZ(0);cursor:move}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid var(--rc-border-color);opacity:.3}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px dashed white}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection){-webkit-animation:marching-ants 1s;animation:marching-ants 1s;background-image:-webkit-gradient(linear,left top,right top,color-stop(50%,#fff),color-stop(50%,#444)),-webkit-gradient(linear,left top,right top,color-stop(50%,#fff),color-stop(50%,#444)),-webkit-gradient(linear,left top,left bottom,color-stop(50%,#fff),color-stop(50%,#444)),-webkit-gradient(linear,left top,left bottom,color-stop(50%,#fff),color-stop(50%,#444));background-image:linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;color:#fff;-webkit-animation-play-state:running;animation-play-state:running;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";display:block;position:absolute;background-color:#fff6}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333333333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6666666667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333333333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6666666667%}.ReactCrop__drag-handle{position:absolute;width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color)}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{top:0;left:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);cursor:e-resize}.ReactCrop .ord-se{bottom:0;right:0;-webkit-transform:translate(50%,50%);transform:translate(50%,50%);cursor:se-resize}.ReactCrop .ord-s{bottom:0;left:50%;-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%);cursor:s-resize}.ReactCrop .ord-sw{bottom:0;left:0;-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%);cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:var(--rc-drag-bar-size);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:var(--rc-drag-bar-size);height:100%;-webkit-transform:translate(50%);transform:translate(50%)}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:var(--rc-drag-bar-size);-webkit-transform:translateY(50%);transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:var(--rc-drag-bar-size);height:100%;-webkit-transform:translate(-50%);transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media (pointer: coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}.form-canvas{min-height:400px;background:#fff;border-radius:.5rem;padding:2rem;position:relative}.form-canvas.drag-over{background:#f0f9ff;border:2px dashed #3b82f6}.form-canvas-empty{display:flex;align-items:center;justify-content:center;min-height:300px;color:#9ca3af;font-size:1.125rem;text-align:center}.form-fields{display:flex;flex-direction:column;gap:1rem}.form-field-wrapper{position:relative;padding:1rem;background:#f9fafb;border:2px solid transparent;border-radius:.5rem;cursor:pointer;transition:all .2s}.form-field-wrapper:hover{border-color:#e5e7eb}.form-field-wrapper.selected{border-color:#3b82f6;background:#eff6ff}.form-field-wrapper.dragging{opacity:.5}.form-field-controls{position:absolute;top:.5rem;right:.5rem;display:flex;gap:.25rem;opacity:0;transition:opacity .2s}.form-field-wrapper:hover .form-field-controls,.form-field-wrapper.selected .form-field-controls{opacity:1}.field-drag-handle,.field-delete{padding:.25rem;background:#fff;border:1px solid #e5e7eb;border-radius:.25rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.field-drag-handle{cursor:move}.field-drag-handle:hover,.field-delete:hover{background:#f3f4f6;border-color:#d1d5db}.field-delete:hover{color:#ef4444;border-color:#fecaca;background:#fee2e2}.form-field-content{pointer-events:none}.field-editor{height:100%;display:flex;flex-direction:column}.field-editor-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb}.field-editor-header h3{font-size:1rem;font-weight:600;color:#111827;margin:0}.delete-field-button{padding:.5rem;background:transparent;border:none;color:#6b7280;cursor:pointer;border-radius:.375rem;transition:all .2s}.delete-field-button:hover{color:#ef4444;background:#fee2e2}.field-editor-content{flex:1;padding:1.5rem;overflow-y:auto}.checkbox-group label{display:flex;align-items:center;gap:.5rem;font-weight:400;cursor:pointer}.checkbox-group input[type=checkbox]{width:1rem;height:1rem;cursor:pointer}.options-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.5rem}.option-item{display:grid;grid-template-columns:1fr 1fr auto;gap:.5rem;align-items:center}.delete-option-button{padding:.375rem;background:transparent;border:1px solid #e5e7eb;border-radius:.375rem;color:#6b7280;cursor:pointer;transition:all .2s}.delete-option-button:hover{color:#ef4444;border-color:#fecaca;background:#fee2e2}.add-option-button{display:flex;align-items:center;gap:.25rem;padding:.5rem .75rem;background:#fff;border:1px solid #d1d5db;border-radius:.375rem;color:#374151;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.add-option-button:hover{background:#f9fafb;border-color:#9ca3af}.form-settings{max-width:800px;margin:0 auto;padding:2rem}.settings-section{background:#fff;border-radius:.5rem;padding:1.5rem;margin-bottom:1.5rem;border:1px solid #e5e7eb}.settings-section h3{font-size:1.125rem;font-weight:600;color:#111827;margin-bottom:1.5rem}textarea.form-control{resize:vertical;min-height:80px}.checkbox-group{margin-bottom:1rem}.checkbox-group:last-child{margin-bottom:0}.checkbox-group label{display:flex;align-items:flex-start;gap:.5rem;font-size:.875rem;font-weight:400;color:#374151;cursor:pointer}.checkbox-group input[type=checkbox]{width:1rem;height:1rem;margin-top:.125rem;cursor:pointer}.help-text{font-size:.75rem;color:#6b7280;margin-top:.25rem;margin-left:1.5rem}.form-renderer{--form-primary: #3b82f6;--form-text: #111827;--form-background: #ffffff;--form-border: #e5e7eb}.form-title{font-size:1.5rem;font-weight:700;color:var(--form-text);margin-bottom:.5rem}.form-description{color:#6b7280;margin-bottom:2rem}.form-field{margin-bottom:1.5rem}.form-label{display:block;font-size:.875rem;font-weight:500;color:var(--form-text);margin-bottom:.5rem}.form-label .required{color:#ef4444;margin-left:.25rem}.form-help-text{font-size:.75rem;color:#6b7280;margin-bottom:.5rem}.form-error{font-size:.75rem;color:#ef4444;margin-top:.25rem}.form-input,.form-textarea,.form-select{width:100%;padding:.5rem .75rem;border:1px solid var(--form-border);border-radius:.375rem;font-size:.875rem;color:var(--form-text);background:var(--form-background);transition:border-color .2s}.form-input:focus,.form-textarea:focus,.form-select:focus{outline:none;border-color:var(--form-primary);box-shadow:0 0 0 3px #3b82f61a}.form-textarea{resize:vertical;min-height:80px}.form-radio-group,.form-checkbox-group{display:flex;flex-direction:column;gap:.5rem}.form-radio-label,.form-checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--form-text);cursor:pointer}.form-radio,.form-checkbox{width:1rem;height:1rem;cursor:pointer}.form-toggle{position:relative;display:inline-block;width:44px;height:24px}.form-toggle input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s;border-radius:24px}.toggle-slider:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:#fff;transition:.4s;border-radius:50%}.form-toggle input:checked+.toggle-slider{background-color:var(--form-primary)}.form-toggle input:checked+.toggle-slider:before{transform:translate(20px)}.form-rating{display:flex;gap:.25rem}.rating-star{padding:.25rem;background:none;border:none;cursor:pointer;color:#d1d5db;transition:color .2s}.rating-star:hover,.rating-star.filled{color:#fbbf24}.form-file-upload{border:2px dashed var(--form-border);border-radius:.375rem;padding:2rem;text-align:center;cursor:pointer;transition:all .2s}.form-file-upload:hover{border-color:var(--form-primary);background:#3b82f60d}.form-file-input{display:none}.file-upload-hint{color:#6b7280;font-size:.875rem;margin:0}.form-section-break{border:none;border-top:1px solid var(--form-border);margin:2rem 0}.form-heading{font-size:1.125rem;font-weight:600;color:var(--form-text);margin:1.5rem 0 1rem}.form-paragraph{color:#6b7280;margin:1rem 0}.form-divider{height:1px;background:var(--form-border);margin:1.5rem 0}.form-submit{margin-top:2rem}.form-submit.submit-left{text-align:left}.form-submit.submit-center{text-align:center}.form-submit.submit-right{text-align:right}.form-submit.submit-full .submit-button{width:100%}.submit-button{padding:.625rem 1.5rem;background:var(--form-primary);color:#fff;border:none;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.submit-button:hover:not(:disabled){background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 6px -1px #0000001a}.submit-button:disabled{opacity:.5;cursor:not-allowed}.theme-minimal{--form-border: #f3f4f6}.theme-minimal .form-input,.theme-minimal .form-textarea,.theme-minimal .form-select{border-color:transparent;background:#f9fafb}.theme-modern{--form-border: #e5e7eb}.theme-modern .form-input,.theme-modern .form-textarea,.theme-modern .form-select{border-width:2px}.spacing-compact .form-field{margin-bottom:1rem}.spacing-comfortable .form-field{margin-bottom:2rem}.radius-none .form-input,.radius-none .form-textarea,.radius-none .form-select,.radius-none .submit-button{border-radius:0}.radius-sm .form-input,.radius-sm .form-textarea,.radius-sm .form-select,.radius-sm .submit-button{border-radius:.25rem}.radius-lg .form-input,.radius-lg .form-textarea,.radius-lg .form-select,.radius-lg .submit-button{border-radius:.5rem}.size-sm{font-size:.875rem}.size-sm .form-input,.size-sm .form-textarea,.size-sm .form-select{font-size:.813rem;padding:.375rem .625rem}.size-lg{font-size:1.125rem}.size-lg .form-input,.size-lg .form-textarea,.size-lg .form-select{font-size:1rem;padding:.75rem 1rem}.form-preview{height:100%;display:flex;flex-direction:column;background:#f3f4f6}.preview-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 2rem;background:#fff;border-bottom:1px solid #e5e7eb}.preview-header h3{font-size:1.125rem;font-weight:600;color:#111827;margin:0}.preview-modes{display:flex;gap:.25rem;background:#f3f4f6;padding:.25rem;border-radius:.5rem}.preview-mode-button{padding:.5rem;background:transparent;border:none;color:#6b7280;cursor:pointer;border-radius:.375rem;transition:all .2s;display:flex;align-items:center;justify-content:center}.preview-mode-button:hover{background:#fff;color:#374151}.preview-mode-button.active{background:#fff;color:#3b82f6;box-shadow:0 1px 2px #0000000d}.preview-content{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem;overflow:auto}.preview-device{background:#fff;border-radius:.5rem;box-shadow:0 10px 15px -3px #0000001a;transition:all .3s ease}.preview-desktop{width:100%;max-width:1200px}.preview-tablet{width:768px;max-width:100%}.preview-mobile{width:375px;max-width:100%}.preview-screen{padding:2rem;overflow-y:auto;max-height:calc(100vh - 200px)}@media (max-width: 768px){.preview-tablet,.preview-mobile{width:100%}.preview-content,.preview-screen{padding:1rem}}.form-styling{max-width:800px;margin:0 auto;padding:2rem}.styling-section{background:#fff;border-radius:.5rem;padding:1.5rem;margin-bottom:1.5rem;border:1px solid #e5e7eb}.styling-section h3{font-size:1.125rem;font-weight:600;color:#111827;margin-bottom:1.5rem}.form-group{margin-bottom:1.5rem}.form-group:last-child{margin-bottom:0}.form-group label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.5rem}.form-control{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;transition:border-color .2s}.form-control:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.color-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.color-input-wrapper{display:flex;gap:.5rem;align-items:center}.color-input{width:40px;height:40px;border:1px solid #d1d5db;border-radius:.375rem;cursor:pointer;padding:0;background:none}.color-input::-webkit-color-swatch-wrapper{padding:2px}.color-input::-webkit-color-swatch{border:none;border-radius:.25rem}.form-builder{display:flex;flex-direction:column;height:100%;background:#f8fafc}.form-builder-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background:#fff;border-bottom:1px solid #e5e7eb}.form-builder-title{display:flex;align-items:center;gap:1rem}.form-name-input,.form-slug-input{padding:.5rem .75rem;border:1px solid #e5e7eb;border-radius:.375rem;font-size:1rem;transition:border-color .2s}.form-name-input:focus,.form-slug-input:focus{outline:none;border-color:#3b82f6}.form-name-input{font-weight:600;min-width:200px}.form-slug-input{font-family:monospace;font-size:.875rem;color:#6b7280;min-width:150px}.form-builder-tabs{display:flex;gap:.25rem}.tab-button{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:transparent;border:none;border-bottom:2px solid transparent;color:#6b7280;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.tab-button:hover{color:#374151}.tab-button.active{color:#3b82f6;border-bottom-color:#3b82f6}.form-builder-actions{display:flex;gap:.5rem}.form-builder-content{flex:1;overflow:hidden}.form-builder-workspace{display:flex;height:100%}.form-builder-sidebar{width:280px;background:#fff;border-right:1px solid #e5e7eb;overflow-y:auto}.form-builder-main{flex:1;padding:2rem;overflow-y:auto}.form-builder-properties{width:320px;background:#fff;border-left:1px solid #e5e7eb;overflow-y:auto}.empty-properties{padding:2rem;text-align:center;color:#6b7280}@media (max-width: 1024px){.form-builder-workspace{flex-direction:column}.form-builder-sidebar,.form-builder-properties{width:100%;border:none;border-bottom:1px solid #e5e7eb}.form-builder-main{padding:1rem}}@media (max-width: 640px){.form-builder-header{flex-wrap:wrap;gap:1rem}.form-builder-title{width:100%}.form-builder-tabs{width:100%;justify-content:center}.form-builder-actions{width:100%;justify-content:flex-end}}.form-builder-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:9999;display:flex;align-items:center;justify-content:center}.form-builder-modal{width:100%;height:100%;max-width:100vw;max-height:100vh;background-color:#fff;overflow:hidden;display:flex;flex-direction:column}.form-builder-modal .form-builder{flex:1;overflow:auto}.site-template-preview-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;z-index:9999;animation:fadeIn .2s ease-out;padding:20px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.site-template-preview-modal{background:#fff;border-radius:16px;box-shadow:0 24px 80px #0000004d;width:95vw;max-width:1400px;height:90vh;max-height:900px;overflow:hidden;animation:slideUp .3s ease-out;display:flex;flex-direction:column}@keyframes slideUp{0%{opacity:0;transform:translateY(30px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.site-template-preview-modal-header{position:relative;padding:24px 32px;border-bottom:1px solid #e5e7eb;background:#fff;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.template-info{flex:1;min-width:0}.template-name{font-size:24px;font-weight:700;color:#111827;margin:0 0 8px;line-height:1.2}.template-description{font-size:15px;color:#6b7280;margin:0 0 12px;line-height:1.4}.template-industry{display:inline-block;background:#f3f4f6;color:#374151;font-size:13px;font-weight:500;padding:4px 12px;border-radius:20px;text-transform:capitalize}.header-controls{display:flex;align-items:center;gap:20px}.viewport-controls{display:flex;align-items:center;gap:4px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:4px}.viewport-btn{display:flex;align-items:center;justify-content:center;padding:8px 12px;background:transparent;border:none;border-radius:6px;color:#6b7280;cursor:pointer;transition:all .2s;font-size:14px;font-weight:500}.viewport-btn:hover{background:#e5e7eb;color:#374151}.viewport-btn.active{background:#fff;color:#3b82f6;box-shadow:0 1px 3px #0000001a}.action-buttons{display:flex;align-items:center;gap:12px}.use-template-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.use-template-btn:hover{background:#2563eb;transform:translateY(-1px)}.close-btn{display:flex;align-items:center;justify-content:center;padding:8px;background:transparent;border:none;color:#6b7280;cursor:pointer;border-radius:8px;transition:all .2s}.close-btn:hover{background:#f3f4f6;color:#111827}.page-navigation{padding:16px 32px;border-bottom:1px solid #e5e7eb;background:#fafbfc;display:flex;align-items:center;gap:8px;overflow-x:auto;flex-shrink:0}.page-navigation::-webkit-scrollbar{height:4px}.page-navigation::-webkit-scrollbar-track{background:transparent}.page-navigation::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}.page-nav-btn{padding:8px 16px;background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap;flex-shrink:0}.page-nav-btn:hover{background:#f9fafb;border-color:#9ca3af}.page-nav-btn.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.site-template-preview-modal-content{flex:1;overflow:hidden;position:relative}.preview-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:16px;color:#6b7280}.spinner{width:32px;height:32px;border:3px solid #f3f4f6;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}.preview-loading p{font-size:16px;font-weight:500;margin:0}.preview-error{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:12px;color:#dc2626;padding:40px;text-align:center}.preview-error h3{font-size:20px;font-weight:600;margin:0}.preview-error p{font-size:15px;color:#6b7280;margin:0}.preview-container{height:100%;overflow-y:auto;background:#f8fafc;padding:20px}.preview-container::-webkit-scrollbar{width:8px}.preview-container::-webkit-scrollbar-track{background:#f1f5f9}.preview-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.preview-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.preview-viewport{transition:all .3s ease;position:relative}.preview-viewport-desktop{width:100%}.preview-viewport-tablet{width:768px;margin:0 auto;box-shadow:0 8px 32px #0000001f;border-radius:12px;overflow:hidden}.preview-viewport-mobile{width:375px;margin:0 auto;box-shadow:0 8px 32px #0000001f;border-radius:16px;overflow:hidden}.preview-main{min-height:400px}.sections-wrapper{position:relative}.builder-section{position:relative;overflow:hidden}.section-container{position:relative;z-index:1}.no-sections{display:flex;align-items:center;justify-content:center;padding:80px 20px;color:#6b7280;font-size:16px}.header-section,.footer-section{position:relative;z-index:10}@media (max-width: 1200px){.site-template-preview-modal{width:98vw;height:95vh}.site-template-preview-modal-header{padding:20px 24px}.template-name{font-size:20px}.header-controls{gap:16px}.page-navigation{padding:12px 24px}}@media (max-width: 768px){.site-template-preview-modal{width:100vw;height:100vh;border-radius:0;max-height:none}.site-template-preview-modal-backdrop{padding:0}.site-template-preview-modal-header{padding:16px 20px;flex-wrap:wrap;gap:16px}.template-info{width:100%;order:1}.header-controls{width:100%;order:2;justify-content:space-between}.template-name{font-size:18px}.template-description{font-size:14px}.viewport-controls{flex:1;justify-content:center}.viewport-btn{padding:6px 10px}.use-template-btn{padding:8px 16px;font-size:13px}.page-navigation{padding:12px 20px}.page-nav-btn{padding:6px 12px;font-size:13px}.preview-container{padding:12px}.preview-viewport-tablet,.preview-viewport-mobile{width:100%;box-shadow:none;border-radius:0}}@media (max-width: 480px){.action-buttons{flex-direction:column;width:100%;gap:8px}.use-template-btn{width:100%;justify-content:center}.close-btn{align-self:flex-end}}.site-templates-page{min-height:100vh;background:#f5f7fa}.site-templates-page .hero-section{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px 0 25px;text-align:center;min-height:auto!important;height:auto!important;display:block!important;align-items:initial!important}.hero-section h1{font-size:2rem;margin-bottom:.5rem;font-weight:700}.hero-section p{font-size:1rem;margin-bottom:1.25rem;opacity:.9;max-width:600px;margin-left:auto;margin-right:auto}.search-bar{max-width:500px;margin:0 auto;position:relative}.search-bar input{width:100%;padding:12px 45px 12px 20px;font-size:15px;border:none;border-radius:50px;box-shadow:0 5px 15px #0000001a}.search-clear-btn{position:absolute;right:5px;top:50%;transform:translateY(-50%);background:#e5e7eb;border:none;border-radius:50%;width:35px;height:35px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;color:#6b7280}.search-clear-btn:hover{background:#d1d5db;color:#374151}.categories-section{background:#fff;padding:12px 0;border-bottom:1px solid #e5e7eb;position:sticky;top:76px;z-index:100;box-shadow:0 2px 4px #0000000d}.categories-filter{display:flex;gap:10px;overflow-x:auto;padding-bottom:10px;scrollbar-width:thin}.category-btn{display:flex;align-items:center;gap:5px;padding:8px 16px;background:#f3f4f6;border:2px solid transparent;border-radius:25px;font-size:14px;font-weight:500;color:#4b5563;cursor:pointer;transition:all .2s ease;white-space:nowrap}.category-btn:hover{background:#e5e7eb;color:#1f2937}.category-btn.active{background:#667eea;color:#fff;border-color:#667eea}.category-icon{font-size:18px}.category-count{font-size:12px;opacity:.7;margin-left:4px}.templates-section{padding:40px 0 80px}.templates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:30px;margin-bottom:40px}.template-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #00000014;transition:all .3s ease}.template-card:hover{transform:translateY(-5px);box-shadow:0 12px 24px #0000001f}.template-thumbnail{position:relative;width:100%;height:250px;overflow:hidden;background:#f3f4f6}.template-thumbnail img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.placeholder-thumbnail{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);color:#9ca3af;font-size:14px}.premium-badge{position:absolute;top:10px;right:10px;background:#fbbf24;color:#92400e;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600}.template-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#000c;display:flex;align-items:center;justify-content:center;gap:10px;opacity:0;transition:opacity .3s ease}.template-card:hover .template-overlay{opacity:1}.btn-preview,.btn-use-template{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-preview{background:#fff;color:#1f2937}.btn-preview:hover{background:#f3f4f6}.btn-use-template{background:#667eea;color:#fff}.btn-use-template:hover{background:#5a67d8}.template-info{padding:20px}.template-info h3{font-size:1.25rem;margin-bottom:8px;color:#1f2937}.template-description{color:#6b7280;font-size:14px;margin-bottom:12px;line-height:1.5}.template-meta{display:flex;gap:15px;margin-bottom:12px}.meta-item{font-size:13px;color:#9ca3af}.template-features{display:flex;flex-wrap:wrap;gap:6px}.feature-tag{background:#ede9fe;color:#5b21b6;padding:4px 10px;border-radius:4px;font-size:12px}.loading-state,.empty-state{text-align:center;padding:80px 20px}.spinner{width:50px;height:50px;border:3px solid #f3f4f6;border-top-color:#667eea;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:40px}.pagination button{padding:8px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:6px;font-size:14px;font-weight:500;color:#4b5563;cursor:pointer;transition:all .2s ease}.pagination button:hover:not(:disabled){background:#f3f4f6;border-color:#d1d5db}.pagination button:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 768px){.hero-section{padding:25px 0 20px}.hero-section h1{font-size:1.5rem}.hero-section p{font-size:.9rem;margin-bottom:1rem}.search-bar input{font-size:14px;padding:12px 45px 12px 15px}.search-clear-btn{width:35px;height:35px}.templates-grid{grid-template-columns:1fr;gap:20px}.categories-filter{padding:0 20px}.categories-section{top:60px}}.site-template-detail{min-height:100vh;background:#f5f7fa}.loading-container,.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:80vh;text-align:center}.spinner{width:50px;height:50px;border:3px solid #f3f4f6;border-top-color:#667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:20px}@keyframes spin{to{transform:rotate(360deg)}}.template-header{background:#fff;padding:30px 0;border-bottom:1px solid #e5e7eb}.template-header .container{display:flex;flex-direction:column;gap:20px}.btn-back{align-self:flex-start;background:none;border:none;color:#6b7280;font-size:14px;cursor:pointer;padding:8px 0;transition:color .2s ease}.btn-back:hover{color:#4b5563}.template-title-section h1{font-size:2.5rem;margin-bottom:10px;color:#1f2937}.template-title-section p{font-size:1.125rem;color:#6b7280;margin-bottom:20px;line-height:1.6}.template-meta{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:20px}.meta-item{font-size:14px;color:#4b5563}.meta-item strong{color:#1f2937}.btn-create-site{align-self:flex-start;background:#667eea;color:#fff;border:none;padding:12px 30px;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:background .2s ease}.btn-create-site:hover{background:#5a67d8}.template-preview-section{padding:40px 0 80px}.preview-wrapper{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 12px #00000014;margin-bottom:40px}.template-preview-image{width:100%;height:auto;display:block}.preview-placeholder{height:500px;display:flex;align-items:center;justify-content:center;background:#f3f4f6;color:#9ca3af}.template-features{background:#fff;border-radius:12px;padding:30px;margin-bottom:30px}.template-features h2{font-size:1.5rem;margin-bottom:20px;color:#1f2937}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px}.feature-item{display:flex;align-items:center;gap:10px;padding:10px 0}.feature-icon{color:#10b981;font-size:20px;font-weight:700}.template-pages{background:#fff;border-radius:12px;padding:30px;margin-bottom:30px}.template-pages h2{font-size:1.5rem;margin-bottom:20px;color:#1f2937}.pages-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:15px}.page-item{display:flex;align-items:center;gap:10px;padding:12px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.page-icon{font-size:20px}.template-tags{background:#fff;border-radius:12px;padding:30px}.template-tags h3{font-size:1.25rem;margin-bottom:15px;color:#1f2937}.tags-list{display:flex;flex-wrap:wrap;gap:8px}.tag{background:#ede9fe;color:#5b21b6;padding:6px 12px;border-radius:6px;font-size:14px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:12px;width:100%;max-width:500px;box-shadow:0 20px 50px #0003}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid #e5e7eb}.modal-header h2{font-size:1.5rem;color:#1f2937}.modal-close{background:none;border:none;font-size:24px;color:#6b7280;cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.modal-close:hover{background:#f3f4f6;color:#1f2937}.modal-body{padding:24px}.form-group{margin-bottom:20px}.form-group label{display:block;font-size:14px;font-weight:500;color:#374151;margin-bottom:8px}.form-group input{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:16px;transition:border-color .2s ease}.form-group input:focus{outline:none;border-color:#667eea}.subdomain-input{display:flex;align-items:center}.subdomain-input input{border-radius:6px 0 0 6px;border-right:none}.subdomain-suffix{background:#f3f4f6;border:1px solid #d1d5db;border-left:none;border-radius:0 6px 6px 0;padding:10px 12px;font-size:16px;color:#6b7280}.form-help{font-size:13px;color:#6b7280;margin-top:6px}.modal-footer{display:flex;gap:10px;justify-content:flex-end;padding:20px 24px;border-top:1px solid #e5e7eb}.btn-secondary,.btn-primary{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-secondary{background:#f3f4f6;color:#4b5563}.btn-secondary:hover{background:#e5e7eb}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover:not(:disabled){background:#5a67d8}.btn-primary:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.template-title-section h1{font-size:2rem}.template-meta{flex-direction:column;gap:10px}.features-grid,.pages-list{grid-template-columns:1fr}}.theme-preview-banner{position:fixed;bottom:0;left:0;right:0;background-color:var(--theme-dark);color:#fff;padding:.75rem 1rem;display:flex;justify-content:center;align-items:center;z-index:1000;box-shadow:0 -2px 10px #0000001a}.theme-info{display:flex;align-items:center;gap:1rem}.theme-info span{font-size:.875rem}.theme-toggle-btn{padding:.25rem .75rem;background-color:var(--theme-primary);color:#fff;border:none;border-radius:var(--theme-radius-small);font-size:.875rem;cursor:pointer;transition:background-color .2s}.theme-toggle-btn:hover{background-color:var(--theme-primary);filter:brightness(1.1)}.close-banner-btn{position:absolute;right:1rem;background:none;border:none;color:#fff;cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;opacity:.7;transition:opacity .2s}.close-banner-btn:hover{opacity:1}.theme-selector-panel{position:fixed;bottom:60px;left:0;right:0;background-color:var(--theme-surface);border-top:1px solid var(--theme-border);padding:1rem;box-shadow:0 -5px 20px #0000001a;z-index:999}.theme-selector-grid{max-width:1200px;margin:0 auto;display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.theme-option{background:var(--theme-surface);border:2px solid var(--theme-border);border-radius:var(--theme-radius-medium);padding:.75rem;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;align-items:center;gap:.5rem;min-width:120px}.theme-option:hover{border-color:var(--theme-primary);transform:translateY(-2px);box-shadow:var(--theme-shadow-small)}.theme-option.active{border-color:var(--theme-primary);box-shadow:0 0 0 3px #0d6efd40}.theme-preview-colors{display:flex;gap:.25rem;height:30px;width:100%}.theme-preview-colors span{flex:1;border-radius:var(--theme-radius-small)}.theme-name{font-size:.875rem;color:var(--theme-text);font-weight:500}@media (max-width: 768px){.theme-selector-grid{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:.5rem}.theme-option{min-width:100px;flex-shrink:0}}
