.auth-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}@media (max-width: 768px){.auth-container{padding:40px 15px 15px;align-items:flex-start}}@media (max-width: 480px){.auth-container{padding:30px 10px 10px}}.auth-card{background:#fff;border-radius:12px;padding:40px;width:100%;max-width:400px;box-shadow:0 10px 25px #0003}@media (max-width: 768px){.auth-card{padding:30px;max-width:100%}}@media (max-width: 480px){.auth-card{padding:24px 20px;border-radius:8px}}.auth-card h1{text-align:center;margin-bottom:8px;color:#1f2937;font-size:28px}@media (max-width: 768px){.auth-card h1{font-size:24px}}@media (max-width: 480px){.auth-card h1{font-size:20px}}.auth-subtitle{text-align:center;color:#6b7280;margin-bottom:30px}.error-message{background:#fee2e2;color:#dc2626;padding:12px;border-radius:6px;margin-bottom:20px;font-size:14px}.auth-footer{text-align:center;margin-top:20px;color:#6b7280}.auth-footer a{color:#4f46e5;text-decoration:none;font-weight:500}.auth-footer a:hover{text-decoration:underline}.auth-divider{display:flex;align-items:center;text-align:center;margin:20px 0;color:#9ca3af;font-size:14px}.auth-divider:before,.auth-divider:after{content:"";flex:1;border-bottom:1px solid #e5e7eb}.auth-divider span{padding:0 15px}.btn-google{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;color:#374151;border:1px solid #d1d5db;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.btn-google:hover{background:#f9fafb;border-color:#9ca3af}.btn-google:disabled{opacity:.6;cursor:not-allowed}.success-message{text-align:center;padding:20px}.success-message h2{margin:10px 0;color:#1f2937;font-size:20px}.success-message p{color:#6b7280;margin:8px 0;line-height:1.6}.success-message strong{color:#1f2937}.dashboard{min-height:100vh;background-color:#f5f5f5}.dashboard-header{background:#fff;border-bottom:1px solid #e5e7eb;padding:20px 0;margin-bottom:30px}@media (max-width: 768px){.dashboard-header{padding:15px 0;margin-bottom:20px}}@media (max-width: 480px){.dashboard-header{padding:12px 0;margin-bottom:15px}}.header-content{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px}.dashboard-brand{display:flex;align-items:center;gap:12px}.brand-logo{width:40px;height:40px;flex-shrink:0;object-fit:contain}.brand-text{display:flex;flex-direction:column;gap:4px}@media (max-width: 768px){.brand-logo{width:36px;height:36px}}@media (max-width: 480px){.brand-logo{width:32px;height:32px}.dashboard-brand{gap:8px}}.brand-title{font-size:24px;font-weight:700;color:#4f46e5;margin:0;padding:0;line-height:1.2}@media (max-width: 768px){.brand-title{font-size:20px}}@media (max-width: 480px){.brand-title{font-size:18px}.brand-subtitle{font-size:12px}}.brand-subtitle{font-size:14px;color:#6b7280;font-weight:400}.header-content h1{font-size:24px;color:#1f2937}.header-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap}@media (max-width: 768px){.header-actions{gap:10px}.header-actions .btn{padding:8px 12px;font-size:13px}}@media (max-width: 480px){.header-content{flex-direction:column;align-items:flex-start}.header-actions{width:100%;justify-content:space-between}.header-actions .btn{flex:1;min-width:0}.user-name{display:none}}.user-name{color:#6b7280;font-size:14px}.dashboard-actions{margin-bottom:30px}.create-form-btn{display:flex;align-items:center;gap:8px}.empty-state{text-align:center;padding:80px 20px;background:#fff;border-radius:8px}.empty-state h2{margin:20px 0 10px;color:#1f2937}.empty-state p{color:#6b7280;margin-bottom:30px}.forms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}@media (max-width: 1024px){.forms-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:15px}}@media (max-width: 768px){.forms-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:15px}}@media (max-width: 640px){.forms-grid{grid-template-columns:1fr;gap:15px}}.form-card{background:#fff;border-radius:8px;padding:20px;cursor:pointer;transition:all .2s;border:1px solid #e5e7eb}.form-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.form-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.form-card-actions{display:flex;gap:8px}.form-card h3{margin-bottom:8px;color:#1f2937;font-size:18px}.form-meta{color:#6b7280;font-size:14px;margin-bottom:15px}.form-card-footer{display:flex;gap:8px;flex-wrap:wrap}.btn-sm{padding:6px 12px;font-size:12px}@media (max-width: 768px){.form-card{padding:15px}.form-card h3{font-size:16px}.form-meta{font-size:13px}}@media (max-width: 480px){.form-card{padding:12px}.form-card-footer{flex-direction:column}.form-card-footer .btn{width:100%;justify-content:center}.form-card-actions{gap:4px}.icon-btn{padding:4px}}@media (max-width: 480px){.empty-state{padding:40px 15px}.empty-state h2{font-size:20px}.empty-state p{font-size:14px}}.field-palette{background:#fff;border-radius:8px;padding:20px;height:fit-content;max-height:50vh;overflow-y:auto;position:sticky;top:80px;z-index:2;flex-shrink:0}@media (max-width: 1024px){.field-palette{position:relative;top:0;max-height:400px;z-index:2;margin-bottom:15px;flex-shrink:0}}@media (max-width: 768px){.field-palette{padding:15px;max-height:350px;margin-bottom:15px;flex-shrink:0}}@media (max-width: 480px){.field-palette{padding:12px;max-height:300px;margin-bottom:12px;flex-shrink:0}.field-palette h3{font-size:14px}}.field-palette h3{margin-bottom:15px;color:#1f2937;font-size:16px;font-weight:600}.field-palette-categories{display:flex;flex-direction:column;gap:12px}.field-category{border:1px solid #e5e7eb;border-radius:6px;overflow:hidden}.category-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#f9fafb;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .2s}.category-header:hover{background:#f3f4f6}.category-name{font-size:12px;font-weight:600;color:#6b7280;letter-spacing:.5px}.category-toggle{font-size:18px;color:#9ca3af;font-weight:300}.field-palette-list{display:flex;flex-direction:column;gap:4px;padding:8px}.field-palette-item{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #e5e7eb;border-radius:6px;cursor:grab;transition:all .2s;background:#fff}.field-palette-item:hover{background:#f9fafb;border-color:#4f46e5}.field-palette-item.dragging{opacity:.5}.field-palette-item span{font-size:14px;color:#374151}@media (max-width: 768px){.field-palette-item{padding:10px}.field-palette-item span{font-size:13px}}@media (max-width: 480px){.field-palette-item{padding:8px}.field-palette-item span{font-size:12px}.category-header{padding:8px 10px}.category-name{font-size:11px}.field-palette-list{padding:6px;gap:3px}}.service-category-selector{display:flex;flex-direction:column;gap:20px;padding:16px;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb}.service-category-field,.service-services-field,.service-universal-tier-field{display:flex;flex-direction:column;gap:8px}.service-category-add-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.service-category-add-btn{padding:10px 14px;background-color:#2563eb;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:background-color .2s,opacity .2s}.service-category-add-btn:disabled{background-color:#9ca3af;cursor:not-allowed;opacity:.7}.service-category-cards{display:flex;flex-direction:column;gap:16px}.service-category-card{border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:16px;box-shadow:0 1px 2px #0000000a}.service-category-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:12px}.service-category-card-title{font-size:16px;font-weight:600;color:#111827;margin:0}.service-category-card-subtitle{font-size:13px;color:#6b7280;margin:0}.service-category-remove-btn{background:transparent;border:1px solid #f87171;color:#b91c1c;border-radius:6px;padding:6px 10px;font-size:13px;cursor:pointer;transition:all .2s}.service-category-remove-btn:hover:not(:disabled){background-color:#fee2e2}.service-category-remove-btn:disabled{opacity:.5;cursor:not-allowed}.service-category-empty-state{border:1px dashed #cbd5f5;border-radius:8px;padding:16px;text-align:center;background-color:#f1f5f9;color:#475569;font-size:14px}.service-field-label{font-weight:600;font-size:14px;color:#374151;display:flex;align-items:center;gap:4px}.service-field-label .required{color:#ef4444}.service-category-dropdown,.service-universal-tier-dropdown{padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;background:#fff;color:#111827;cursor:pointer;transition:border-color .2s}.service-category-dropdown:hover,.service-universal-tier-dropdown:hover{border-color:#9ca3af}.service-category-dropdown:focus,.service-universal-tier-dropdown:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.service-checkboxes{display:flex;flex-direction:column;gap:12px;max-height:400px;overflow-y:auto;padding:8px;background:#fff;border:1px solid #e5e7eb;border-radius:6px}.service-checkbox-item{display:flex;flex-direction:column;gap:8px;padding:8px;border-radius:4px;transition:background-color .2s}.service-checkbox-item:hover{background-color:#f3f4f6}.service-checkbox-label{display:flex;align-items:flex-start;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none}.service-checkbox{margin-top:2px;cursor:pointer;width:18px;height:18px;flex-shrink:0}.service-checkbox-text{font-size:14px;color:#374151;line-height:1.5}.service-options-row{margin-left:26px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.service-complexity-dropdown{padding:6px 10px;border:1px solid #d1d5db;border-radius:4px;font-size:13px;background:#fff;color:#111827;cursor:pointer;min-width:150px;max-width:300px;transition:border-color .2s}.service-complexity-dropdown:hover{border-color:#9ca3af}.service-complexity-dropdown:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.service-rate-field{display:flex;align-items:center;gap:6px}.service-rate-label{font-size:13px;font-weight:500;color:#6b7280;white-space:nowrap}.service-rate-input{padding:6px 10px;border:1px solid #d1d5db;border-radius:4px;font-size:13px;background:#fff;color:#111827;width:100px;transition:border-color .2s}.service-rate-input:hover{border-color:#9ca3af}.service-rate-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.service-rate-input::placeholder{color:#9ca3af}.service-field-help{font-size:12px;color:#6b7280;margin:0;font-style:italic}.service-checkboxes::-webkit-scrollbar{width:8px}.service-checkboxes::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.service-checkboxes::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.service-checkboxes::-webkit-scrollbar-thumb:hover{background:#94a3b8}.field-renderer{margin-bottom:var(--field-spacing, 20px)}.field-label{display:block;margin-bottom:8px;font-weight:500;color:inherit;font-size:inherit;font-family:inherit}.field-input,.field-textarea,.field-select{width:100%;border-radius:var(--border-radius, 8px);border:1px solid var(--border-color, #d1d5db);padding:10px 12px;font-size:inherit;font-family:inherit;color:inherit;transition:all .2s;background-color:#fff}.field-input:focus,.field-textarea:focus,.field-select:focus{outline:none;border-color:var(--primary-color, #4f46e5);box-shadow:0 0 0 3px #4f46e51a}.field-paragraph{padding:15px;background:#f9fafb;border-radius:var(--border-radius, 6px);color:inherit;line-height:1.6;font-family:inherit;font-size:inherit}.field-heading{margin:20px 0;font-weight:600}.full-name-wrapper,.address-wrapper,.appointment-wrapper{display:flex;flex-direction:column}.file-upload-wrapper{display:flex;flex-direction:column;gap:10px}.file-preview{display:flex;flex-wrap:wrap;gap:8px}.file-name{padding:6px 12px;background:#f3f4f6;border-radius:4px;font-size:12px;color:#6b7280}.image-upload-wrapper{display:flex;flex-direction:column;gap:10px}.image-preview{max-width:100%;max-height:300px;border-radius:6px;border:1px solid #e5e7eb}.signature-wrapper{display:flex;flex-direction:column;align-items:flex-start}.signature-wrapper canvas{background:#fff}.fill-blank-wrapper{display:flex;flex-direction:column;gap:8px;padding:15px;background:#f9fafb;border-radius:8px}.fill-blank-item{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px;background:#fff;border-radius:6px;border:1px solid #e5e7eb}.fill-blank-item span{color:#374151;font-size:inherit}.fill-blank-input{border-bottom:2px solid #4f46e5;border-top:none;border-left:none;border-right:none;border-radius:0;text-align:center;background:transparent}.fill-blank-input:focus{border-bottom:2px solid #4338ca;outline:none}.fill-blank-correct{font-size:12px;color:#10b981;font-weight:500;margin-left:5px}.product-list-wrapper{display:flex;flex-direction:column;gap:12px;border:1px solid #e5e7eb;border-radius:6px;padding:15px}.product-item{display:flex;align-items:center;gap:10px;padding:10px;background:#f9fafb;border-radius:4px}.product-total{margin-top:10px;padding-top:10px;border-top:1px solid #e5e7eb;font-weight:600;font-size:16px;color:#1f2937}.input-table-wrapper{overflow-x:auto}.input-table{width:100%;border-collapse:collapse;border:1px solid #e5e7eb}.input-table th,.input-table td{padding:10px;border:1px solid #e5e7eb;text-align:left}.input-table th{background:#f9fafb;font-weight:600;color:#374151}.table-input{width:100%;border:none;padding:6px;font-size:14px}.table-input:focus{outline:1px solid #4f46e5}.scale-rating-wrapper{display:flex;flex-direction:column;gap:10px}.scale-labels{display:flex;justify-content:space-between;font-size:12px;color:#6b7280}.scale-slider{width:100%;height:8px;border-radius:4px;background:#e5e7eb;outline:none;-webkit-appearance:none}.scale-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:#4f46e5;cursor:pointer}.scale-slider::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#4f46e5;cursor:pointer;border:none}.scale-value{text-align:center;font-weight:600;color:#4f46e5}.field-divider{margin:30px 0}.section-collapse-wrapper{border:1px solid #e5e7eb;border-radius:6px;overflow:hidden}.section-collapse-header{width:100%;display:flex;justify-content:space-between;align-items:center;padding:15px;background:#f9fafb;border:none;cursor:pointer;font-size:14px;font-weight:500;color:#374151;transition:background .2s}.section-collapse-header:hover{background:#f3f4f6}.section-collapse-content{padding:15px;background:#fff}.page-break{display:flex;align-items:center;gap:15px;margin:40px 0}.page-break-line{flex:1;height:1px;background:#e5e7eb}.page-break-label{color:#9ca3af;font-size:12px;font-weight:500}.captcha-wrapper{display:flex;flex-direction:column;gap:10px;align-items:flex-start}.captcha-display{padding:15px 25px;background:#f3f4f6;border:2px dashed #9ca3af;border-radius:6px;font-size:24px;font-weight:600;letter-spacing:5px;color:#1f2937;font-family:monospace}.spinner-wrapper{display:flex;align-items:center;gap:10px;padding:20px}.spinner{width:20px;height:20px;border:3px solid #f3f4f6;border-top:3px solid #4f46e5;border-radius:50%;animation:spin 1s linear infinite}.form-field-wrapper{display:flex;align-items:flex-start;gap:10px;padding:15px;border:2px solid transparent;border-radius:8px;cursor:pointer;transition:all .2s;background:#f9fafb;position:relative;user-select:none;-webkit-user-select:none;touch-action:pan-y}.form-field-wrapper:active{cursor:grabbing}.form-field-wrapper:hover{background:#f3f4f6;border-color:#d1d5db}.form-field-wrapper.selected{border-color:#4f46e5;background:#eef2ff}.form-field-wrapper.dragging{opacity:.4;transform:rotate(2deg);box-shadow:0 8px 16px #0003}.form-field-wrapper.drag-over{border-color:#4f46e5;border-style:dashed}.field-handle{cursor:grab;color:#9ca3af;padding:8px 4px;display:flex;align-items:center;pointer-events:auto;user-select:none;-webkit-user-select:none;touch-action:none;flex-shrink:0}.field-handle:active{cursor:grabbing}.field-handle:hover{color:#4f46e5;background:#f3f4f6;border-radius:4px}.field-content{flex:1;pointer-events:none}.field-actions{display:flex;gap:8px;opacity:0;transition:opacity .2s;pointer-events:auto}.form-field-wrapper:hover .field-actions{opacity:1}.icon-btn{background:none;border:none;padding:6px;cursor:pointer;color:#6b7280;border-radius:4px;transition:all .2s}.icon-btn:hover{background:#e5e7eb;color:#374151}.form-canvas-container{display:flex;flex-direction:column;gap:20px}.form-canvas{background:#fff;border-radius:8px;padding:30px;min-height:400px}@media (max-width: 768px){.form-canvas{padding:20px;min-height:300px}}@media (max-width: 480px){.form-canvas{padding:15px;min-height:250px}}.empty-canvas{text-align:center;padding:80px 20px;color:#9ca3af}.empty-canvas p{margin-bottom:8px;font-size:16px}.empty-canvas .hint{font-size:14px;color:#d1d5db}@media (max-width: 768px){.empty-canvas{padding:50px 15px}.empty-canvas p{font-size:14px}.empty-canvas .hint{font-size:13px}}@media (max-width: 480px){.empty-canvas{padding:40px 10px}.empty-canvas p{font-size:13px}.empty-canvas .hint{font-size:12px}}.fields-list{display:flex;flex-direction:column;gap:20px}@media (max-width: 768px){.fields-list{gap:15px}}@media (max-width: 480px){.fields-list{gap:12px}}.fields-list.drag-over{background:#f0f9ff;border:2px dashed #4f46e5;border-radius:8px;padding:10px}.preview-modal{max-width:700px;width:90%;max-height:90vh;overflow-y:auto}.preview-content{padding:20px 0}.preview-title{margin-bottom:30px;color:#1f2937;font-size:24px}.preview-form{display:flex;flex-direction:column;gap:25px}.form-actions{display:flex;gap:10px;margin-top:20px}.submission-success{padding:40px;text-align:center;background:#f0fdf4;border:1px solid #86efac;border-radius:8px;color:#166534}.submission-success p{font-size:16px;margin:0}.image-upload-component{margin-bottom:20px}.form-label{display:block;margin-bottom:8px;font-weight:500;color:#374151;font-size:14px}.upload-mode-selector{display:flex;gap:8px;margin-bottom:12px}.mode-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;border:1px solid #d1d5db;background:#fff;border-radius:6px;cursor:pointer;font-size:14px;color:#6b7280;transition:all .2s}.mode-btn:hover{background:#f9fafb;border-color:#9ca3af}.mode-btn.active{background:#eef2ff;border-color:#4f46e5;color:#4f46e5}.upload-section,.url-section{display:flex;flex-direction:column;gap:12px}.file-upload-area{position:relative}.file-input{position:absolute;width:0;height:0;opacity:0}.file-upload-label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:40px 20px;border:2px dashed #d1d5db;border-radius:8px;background:#f9fafb;cursor:pointer;transition:all .2s;text-align:center}.file-upload-label:hover{border-color:#4f46e5;background:#f3f4f6}.file-upload-label span{font-size:14px;color:#374151;font-weight:500}.file-upload-label small{font-size:12px;color:#6b7280}.image-preview-container{position:relative;display:inline-block;max-width:100%}.image-preview{max-width:100%;max-height:200px;border-radius:6px;border:1px solid #e5e7eb;object-fit:contain}.remove-image-btn{position:absolute;top:8px;right:8px;background:#000000b3;color:#fff;border:none;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}.remove-image-btn:hover{background:#000000e6}.upload-error{margin-top:8px;padding:8px 12px;background:#fee2e2;color:#dc2626;border-radius:6px;font-size:12px}.settings-modal{max-width:600px}.settings-content{padding:20px 0}.settings-actions{margin-top:30px;display:flex;justify-content:flex-end}.settings-section-divider{margin:30px 0 20px;padding-top:20px;border-top:2px solid #e5e7eb}.settings-section-divider h3{margin:0;color:#1f2937;font-size:18px;font-weight:600}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media (max-width: 768px){.form-row{grid-template-columns:1fr}}.conditional-logic-modal{max-width:700px}.conditional-logic-content{padding:20px 0}.help-text{color:#6b7280;margin-bottom:20px;font-size:14px}.logic-rule{border:1px solid #e5e7eb;border-radius:6px;padding:15px;margin-bottom:15px;background:#f9fafb}.rule-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;font-weight:600;color:#374151}.rule-conditions{display:grid;grid-template-columns:1fr;gap:15px}.modal-actions{display:flex;gap:10px;margin-top:20px;justify-content:flex-end}.field-editor{background:#fff}.field-editor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #e5e7eb}.field-editor-header h3{margin:0;font-size:18px;color:#1f2937}.field-editor-content{display:flex;flex-direction:column;gap:15px}.options-list{display:flex;flex-direction:column;gap:8px;margin-bottom:10px;max-height:300px;overflow-y:auto;padding:8px;background:#f9fafb;border-radius:6px}.option-item{display:flex;gap:8px;align-items:center}.option-item .input{flex:1}.option-item .btn{min-width:40px;padding:8px 12px;font-size:18px;line-height:1}.no-options-text{color:#9ca3af;font-size:14px;font-style:italic;padding:10px;text-align:center}.help-text{display:block;margin-top:6px;color:#6b7280;font-size:12px}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer}.checkbox-label input[type=checkbox]{width:auto;cursor:pointer}.field-renderer{width:100%}.field-label{display:block;margin-bottom:8px;font-weight:500;color:#374151;font-size:14px}.required{color:#ef4444;margin-left:4px}.field-input,.field-textarea,.field-select{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;font-family:inherit}.field-input:focus,.field-textarea:focus,.field-select:focus{outline:none;border-color:#4f46e5}.radio-group,.checkbox-group{display:flex;flex-direction:column;gap:10px}.radio-label,.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer}.radio-label input,.checkbox-label input{width:auto;cursor:pointer}.rating-group{display:flex;gap:4px}.rating-star{background:none;border:none;font-size:24px;color:#d1d5db;cursor:pointer;padding:0;transition:color .2s}.rating-star.filled,.rating-star:hover{color:#fbbf24}.field-description{margin-top:6px;font-size:12px;color:#6b7280}.field-placeholder{padding:20px;border:2px dashed #d1d5db;border-radius:6px;text-align:center;color:#9ca3af}@media (max-width: 1024px){.field-editor{padding:15px}.field-editor-header{padding-bottom:12px;margin-bottom:15px}.field-editor-header h3{font-size:16px}}@media (max-width: 768px){.field-editor{padding:12px}.field-editor-content{gap:12px}.options-list{max-height:200px;padding:6px}}@media (max-width: 480px){.field-editor{padding:10px}.field-editor-header h3{font-size:14px}.field-editor-content{gap:10px}.options-list{max-height:150px;gap:6px}.option-item{flex-wrap:wrap}.option-item .btn{min-width:35px;padding:6px 10px;font-size:16px}}.page-manager{background:#fff;border-radius:8px;padding:16px;border:1px solid #e5e7eb;margin-bottom:20px;position:sticky;top:calc(50vh + 100px);z-index:3;flex-shrink:0;visibility:visible;opacity:1;height:fit-content;max-height:calc(50vh - 20px);overflow-y:auto}@media (max-width: 1024px){.page-manager{position:sticky;top:495px;z-index:3;visibility:visible;opacity:1;max-height:calc(50vh - 20px)}}.page-manager-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.page-manager-header h3{font-size:16px;font-weight:600;color:#1f2937;margin:0}.pages-list{display:flex;flex-direction:column;gap:8px}.page-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#f9fafb;border-radius:6px;border:1px solid #e5e7eb}.page-info{display:flex;align-items:center;gap:10px;flex:1}.page-number{display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:#4f46e5;color:#fff;border-radius:50%;font-size:12px;font-weight:600}.page-name{font-weight:500;color:#1f2937}.page-fields-count{font-size:12px;color:#6b7280}.page-edit{display:flex;align-items:center;gap:8px;flex:1}.page-edit .input{flex:1;padding:6px 10px;font-size:14px}.page-actions{display:flex;gap:6px}.icon-btn{background:none;border:none;padding:4px;cursor:pointer;color:#6b7280;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:all .2s}.icon-btn:hover{background:#f3f4f6;color:#374151}.icon-btn.danger:hover{background:#fee2e2;color:#dc2626}@media (max-width: 1024px){.page-manager{padding:12px;margin-bottom:15px}.page-manager-header h3{font-size:14px}}@media (max-width: 768px){.page-manager{padding:12px;margin-bottom:15px;position:relative!important;top:0!important;max-height:none;height:auto;overflow:visible;z-index:1}.page-item{padding:8px 10px;flex-wrap:wrap;gap:8px}.page-info{width:100%}.page-actions{width:100%;justify-content:flex-end}}@media (max-width: 480px){.page-manager{padding:10px;margin-bottom:12px;position:relative!important;top:0!important;max-height:none;height:auto;overflow:visible}.page-manager-header{flex-wrap:wrap;gap:10px}.page-manager-header h3{font-size:13px}.page-manager-header .btn{font-size:12px;padding:6px 10px}.page-item{padding:8px;flex-direction:column;align-items:stretch}.page-info{flex-wrap:wrap;gap:8px}.page-number{width:20px;height:20px;font-size:11px}.page-name{font-size:13px}.page-fields-count{font-size:11px}.page-actions{justify-content:flex-end;margin-top:8px}}.form-builder{min-height:100vh;background-color:#f5f5f5}.builder-header{background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:100;box-shadow:0 1px 3px #0000000d}.builder-header-top{max-width:1400px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;border-bottom:1px solid #f3f4f6}.builder-header-top-left{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.btn-back{flex-shrink:0}.builder-header-title-section{max-width:1400px;margin:0 auto;padding:16px 20px;background:linear-gradient(135deg,#f9fafb,#fff);display:flex;flex-direction:column;gap:8px}.form-title-label{font-size:12px;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}@media (max-width: 1024px){.builder-header-top{padding:10px 15px}.builder-header-title-section{padding:14px 15px}}@media (max-width: 768px){.builder-header-top{padding:8px 12px;gap:10px}.builder-header-title-section{padding:12px;gap:6px}.form-title-label{font-size:11px}}@media (max-width: 640px){.builder-header-top{flex-direction:column;align-items:stretch}.builder-header-top-left{width:100%;justify-content:space-between;flex-wrap:nowrap}.builder-brand{width:auto;flex:1;min-width:0}.btn-back{margin-right:10px;flex-shrink:0}}.builder-brand{display:flex;align-items:center;gap:12px}.brand-logo{width:36px;height:36px;flex-shrink:0;object-fit:contain}@media (max-width: 768px){.brand-logo{width:32px;height:32px}.builder-brand{gap:10px}}@media (max-width: 480px){.brand-logo{width:28px;height:28px}.builder-brand{gap:8px}}.brand-title{font-size:20px;font-weight:700;color:#4f46e5;margin:0;padding:0;white-space:nowrap}@media (max-width: 768px){.brand-title{font-size:18px}}@media (max-width: 480px){.brand-title{font-size:16px;white-space:normal}}.form-title-input{width:100%;font-size:24px;font-weight:700;padding:12px 16px;background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;transition:all .2s}.form-title-input::placeholder{color:#9ca3af;font-weight:400}.form-title-input:hover{border-color:#d1d5db}.form-title-input:focus{outline:none;background:#fff;border:2px solid #4f46e5;box-shadow:0 0 0 3px #4f46e51a}@media (max-width: 768px){.form-title-input{font-size:20px;padding:10px 14px}}@media (max-width: 480px){.form-title-input{font-size:18px;padding:8px 12px}}.builder-actions{display:flex;gap:10px;flex-wrap:wrap}@media (max-width: 1024px){.builder-actions{gap:8px}.builder-actions .btn{padding:8px 12px;font-size:13px}}@media (max-width: 768px){.builder-actions{gap:6px}.builder-actions .btn{padding:6px 10px;font-size:12px}.builder-actions .btn span,.builder-actions .btn svg{display:none}.builder-actions .btn:before{content:attr(data-icon)}}@media (max-width: 640px){.builder-header-top{flex-direction:column;align-items:stretch}.builder-header-top-left{width:100%;justify-content:space-between}.builder-actions{width:100%;justify-content:space-between;flex-wrap:wrap;gap:8px}.builder-actions .btn{flex:1;min-width:0;padding:8px 6px;font-size:11px}}.builder-actions .btn{display:flex;align-items:center;gap:6px}.builder-content{max-width:1400px;margin:0 auto;padding:20px;display:grid;grid-template-columns:250px 1fr 300px;gap:20px}@media (max-width: 1200px){.builder-content{grid-template-columns:220px 1fr 280px;gap:15px}}@media (max-width: 1024px){.builder-content{grid-template-columns:200px 1fr;gap:15px}.field-editor-sidebar{position:fixed;top:70px;right:-320px;width:300px;max-height:calc(100vh - 80px);transition:right .3s ease;z-index:200;box-shadow:-2px 0 8px #0000001a}.field-editor-sidebar.open{right:0}}@media (max-width: 768px){.builder-content{grid-template-columns:1fr;padding:15px;gap:15px}.builder-left-panel{order:2}.form-canvas-container{order:1}.field-editor-backdrop{display:block;position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:299;transition:opacity .3s ease}.field-editor-sidebar{position:fixed!important;top:0!important;right:-100%!important;left:auto!important;width:100%!important;max-width:100%!important;max-height:100vh!important;height:100vh!important;z-index:300!important;border-radius:0!important;box-shadow:-4px 0 12px #00000026!important;overflow-y:auto!important;transition:right .3s ease!important}.field-editor-sidebar.open{right:0!important}}@media (max-width: 480px){.builder-content{padding:10px;gap:10px}.field-editor-backdrop{display:block;position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:299;transition:opacity .3s ease}.field-editor-sidebar{position:fixed!important;top:0!important;right:-100%!important;width:100%!important;max-width:100%!important;max-height:100vh!important;height:100vh!important;z-index:300!important;border-radius:0!important;transition:right .3s ease!important}.field-editor-sidebar.open{right:0!important}}.builder-left-panel{display:flex;flex-direction:column;gap:20px;position:relative;align-items:stretch;min-height:0;overflow:visible}@media (max-width: 1024px){.builder-left-panel{gap:15px}}@media (max-width: 768px){.builder-left-panel{gap:15px}}@media (max-width: 480px){.builder-left-panel{gap:12px}}.field-editor-sidebar{background:#fff;border-radius:8px;padding:0;border:1px solid #e5e7eb;max-height:calc(100vh - 120px);overflow-y:auto;position:sticky;top:80px}.field-editor-backdrop{display:none}@media (max-width: 768px){.field-editor-sidebar:not(.open){display:none!important}}.submissions-page{min-height:100vh;background-color:#f5f5f5}.submissions-header{background:#fff;border-bottom:1px solid #e5e7eb;padding:20px 0;margin-bottom:30px}.header-content{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.header-content h1{flex:1;font-size:24px;color:#1f2937;min-width:200px}@media (max-width: 768px){.header-content{gap:15px}.header-content h1{font-size:20px;min-width:0;width:100%}}@media (max-width: 480px){.header-content{flex-direction:column;align-items:stretch;gap:12px}.header-content h1{font-size:18px}.header-content>div{width:100%;display:flex;flex-direction:column;gap:10px}.header-content>div .btn{width:100%}}.submissions-list{display:flex;flex-direction:column;gap:20px}.submission-card{background:#fff;border-radius:8px;padding:20px;box-shadow:0 1px 3px #0000001a}.submission-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #e5e7eb;flex-wrap:wrap;gap:15px}@media (max-width: 768px){.submission-header{flex-direction:column;align-items:flex-start;gap:12px}.submission-meta{width:100%;justify-content:space-between}}@media (max-width: 480px){.submission-header h3{font-size:16px}.submission-meta{flex-direction:column;align-items:flex-start;gap:10px}.submission-meta .btn{width:100%}}.submission-header h3{margin:0;color:#1f2937;font-size:18px}.submission-meta{display:flex;align-items:center;gap:15px}.submission-meta span{color:#6b7280;font-size:14px}.submission-data{display:flex;flex-direction:column;gap:15px}.submission-field label{font-weight:500;color:#374151;font-size:14px}.field-value{color:#1f2937;padding:10px;background:#f9fafb;border-radius:6px;font-size:14px}.empty-state{text-align:center;padding:60px 40px;background:#fff;border-radius:8px;color:#6b7280}.empty-state p{margin-bottom:10px;font-size:16px}.empty-state .hint{color:#9ca3af;font-size:14px}@media (max-width: 768px){.submissions-header{padding:15px 0;margin-bottom:20px}.submission-card{padding:15px}}@media (max-width: 480px){.submissions-header{padding:12px 0;margin-bottom:15px}.submission-card{padding:12px}.empty-state{padding:40px 20px}.empty-state p{font-size:14px}.field-value{padding:8px;font-size:13px}.submission-field label{font-size:13px}}.public-form-page{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:40px 20px;display:flex;justify-content:center;align-items:flex-start;position:relative}@media (max-width: 768px){.public-form-page{padding:30px 15px}}@media (max-width: 480px){.public-form-page{padding:20px 10px}}.public-form-page:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-size:cover;background-position:center;background-repeat:no-repeat;opacity:.1;z-index:0}.public-form-container{width:100%;max-width:700px;position:relative;z-index:1}.public-form-card{background:#fff;border-radius:12px;padding:40px;box-shadow:0 10px 25px #0003;width:100%}@media (max-width: 768px){.public-form-card{padding:30px}}@media (max-width: 480px){.public-form-card{padding:20px;border-radius:8px}}.public-form{display:flex;flex-direction:column;gap:var(--field-spacing, 25px);font-family:inherit;font-size:inherit;color:inherit}.form-title{margin-bottom:30px;color:#1f2937;font-size:28px;text-align:center}@media (max-width: 768px){.form-title{font-size:24px;margin-bottom:25px}}@media (max-width: 480px){.form-title{font-size:20px;margin-bottom:20px}}.public-form{display:flex;flex-direction:column;gap:25px}.form-actions{margin-top:20px;display:flex;gap:12px;flex-wrap:wrap}@media (max-width: 768px){.form-actions{gap:10px}.form-actions .btn{flex:1;min-width:120px}}@media (max-width: 480px){.form-actions{flex-direction:column;gap:10px}.form-actions .btn{width:100%;min-width:0}}.btn-large{width:100%;padding:14px;font-size:16px}.submission-success{text-align:center;padding:40px 20px}.success-icon{width:80px;height:80px;border-radius:50%;background:#10b981;color:#fff;display:flex;align-items:center;justify-content:center;font-size:40px;margin:0 auto 20px}.submission-success h2{color:#1f2937;margin-bottom:10px}.submission-success p{color:#6b7280;font-size:16px}.error-message{text-align:center;padding:40px;color:#dc2626;font-size:18px}.form-logo-header{text-align:center;margin-bottom:20px}.form-header-logo{max-width:200px;max-height:100px;object-fit:contain}.form-preview-section{margin-top:30px;padding:20px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.form-preview-section h3{margin-bottom:15px;color:#1f2937}.preview-content{display:flex;flex-direction:column;gap:12px}.preview-item{display:flex;flex-direction:column;gap:4px;padding:10px;background:#fff;border-radius:6px}.preview-item strong{color:#374151;font-size:14px}.preview-item span{color:#1f2937;font-size:14px}.logo-wrapper{display:flex;justify-content:center;align-items:center;padding:20px}.logo-placeholder{width:200px;height:100px;border:2px dashed #d1d5db;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:14px}.form-logo{max-width:100%;height:auto}.form-progress{margin:20px 0;padding:16px;background:#f9fafb;border-radius:8px}.progress-fill{height:100%;background:linear-gradient(to right,var(--primary-color, #4f46e5),var(--secondary-color, #6366f1));border-radius:4px;transition:width .3s}.progress-text{text-align:center;font-size:14px;color:#6b7280;font-weight:500}.start-page{display:flex;flex-direction:column;gap:30px;padding:20px 0;text-align:center}.start-page-content{display:flex;flex-direction:column;gap:20px}.start-page-title{font-size:32px;font-weight:700;color:#1f2937;margin:0}.start-page-description{font-size:16px;line-height:1.6;color:#6b7280;text-align:left;max-width:600px;margin:0 auto}.start-page-description p{margin:0 0 16px}.start-page-description p:last-child{margin-bottom:0}.start-page-actions{display:flex;justify-content:center;margin-top:20px}.start-page-actions .btn{display:flex;align-items:center;gap:8px;padding:14px 32px;font-size:16px;font-weight:600}@media (max-width: 768px){.public-form{gap:20px}.form-progress{margin:15px 0;padding:12px}.progress-text{font-size:13px}}@media (max-width: 480px){.public-form{gap:16px}.form-progress{margin:12px 0;padding:10px}.progress-text{font-size:12px}.submission-success{padding:30px 15px}.success-icon{width:60px;height:60px;font-size:30px}.form-preview-section{padding:15px;margin-top:20px}.preview-item{padding:8px}.start-page{gap:24px;padding:15px 0}.start-page-title{font-size:24px}.start-page-description{font-size:14px}.start-page-actions .btn{padding:12px 24px;font-size:14px}}@media (max-width: 768px){.start-page-title{font-size:28px}.start-page-description{font-size:15px}}.table-view-page{min-height:100vh;background-color:#f5f5f5}.table-view-header{background:#fff;border-bottom:1px solid #e5e7eb;padding:20px 0;margin-bottom:30px}.table-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:20px}.search-box{display:flex;align-items:center;gap:10px;flex:1;max-width:400px;padding:10px 15px;background:#fff;border:1px solid #e5e7eb;border-radius:6px}.search-input{flex:1;border:none;outline:none;font-size:14px}.table-stats{color:#6b7280;font-size:14px}.table-wrapper{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a}.data-table{width:100%;border-collapse:collapse}.data-table th{background:#f9fafb;padding:12px 15px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;position:sticky;top:0;z-index:10}.data-table td{padding:12px 15px;border-bottom:1px solid #e5e7eb;color:#1f2937;font-size:14px}.data-table tbody tr:hover{background:#f9fafb}.data-table tbody tr:last-child td{border-bottom:none}.reports-page{min-height:100vh;background-color:#f5f5f5}.reports-header{background:#fff;border-bottom:1px solid #e5e7eb;padding:20px 0;margin-bottom:30px}.reports-controls{background:#fff;padding:20px;border-radius:8px;margin-bottom:20px}.report-content{background:#fff;border-radius:8px;padding:30px}.report-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid #e5e7eb}.report-header h2{margin:0;color:#1f2937}.report-stats{display:flex;gap:20px}.stat-item{display:flex;flex-direction:column;align-items:flex-end}.stat-label{font-size:12px;color:#6b7280;margin-bottom:4px}.stat-value{font-size:24px;font-weight:600;color:#1f2937}.report-chart{margin-top:30px}.report-chart h3{margin-bottom:20px;color:#374151;font-size:18px}.bar-chart,.rating-chart{display:flex;flex-direction:column;gap:15px}.bar-item,.rating-bar-item{display:flex;align-items:center;gap:15px}.bar-label,.rating-label{min-width:150px;font-size:14px;color:#374151}.bar-container{flex:1;height:30px;background:#f3f4f6;border-radius:4px;overflow:hidden;position:relative}.bar-fill{height:100%;background:linear-gradient(90deg,#4f46e5,#7c3aed);display:flex;align-items:center;justify-content:flex-end;padding:0 10px;transition:width .3s ease}.bar-value{color:#fff;font-size:12px;font-weight:600}.report-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-top:30px}.stat-card{display:flex;align-items:center;gap:15px;padding:20px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.stat-icon{width:50px;height:50px;display:flex;align-items:center;justify-content:center;background:#eef2ff;border-radius:8px;color:#4f46e5}.stat-content{flex:1}.stat-value-large{font-size:28px;font-weight:700;color:#1f2937;margin-top:4px}.report-info{padding:20px;background:#f9fafb;border-radius:6px;color:#6b7280}.workflows-page{min-height:100vh;background-color:#f5f5f5}.workflows-header{background:#fff;border-bottom:1px solid #e5e7eb;padding:20px 0;margin-bottom:30px}.header-content{display:flex;align-items:center;gap:20px}.header-content h1{flex:1;font-size:24px;color:#1f2937}.workflows-intro{background:#fff;padding:30px;border-radius:8px;margin-bottom:30px}.workflows-intro h2{margin-bottom:10px;color:#1f2937}.workflows-intro p{color:#6b7280;line-height:1.6}.workflows-list{display:flex;flex-direction:column;gap:20px}.workflow-card{background:#fff;border-radius:8px;padding:25px;box-shadow:0 1px 3px #0000001a}.workflow-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #e5e7eb}.workflow-title-section{display:flex;align-items:center;gap:15px;flex:1}.workflow-name-input{flex:1;font-size:18px;font-weight:600;border:none;padding:8px 12px;background:#f9fafb;border-radius:6px}.workflow-name-input:focus{outline:none;background:#fff;border:1px solid #4f46e5}.workflow-toggle{display:flex;align-items:center;gap:8px;cursor:pointer}.workflow-toggle input[type=checkbox]{width:auto;cursor:pointer}.workflow-content{display:flex;flex-direction:column;gap:20px}.workflow-actions{margin-top:20px}.actions-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.actions-header h3{margin:0;font-size:16px;color:#374151}.action-item{display:flex;align-items:flex-start;gap:10px;padding:15px;background:#f9fafb;border-radius:6px;margin-bottom:10px}.action-type{min-width:150px}.action-config{flex:1;display:flex;flex-direction:column;gap:10px}.add-workflow-btn{width:100%;padding:20px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:16px}.account-settings{min-height:100vh;background-color:#f9fafb;padding-bottom:40px}.account-settings *{text-align:left}.settings-header{background:#fff;border-bottom:1px solid #e5e7eb;padding:20px 0;margin-bottom:30px}.header-content h1{font-size:24px;color:#1f2937;margin:0}.container{max-width:900px;margin:0 auto;padding:0 20px}.account-settings .settings-section{background:#fff;border-radius:12px;padding:32px;margin-bottom:24px;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000001a}.account-settings .section-header{display:flex;align-items:flex-start;gap:10px;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #e5e7eb}.account-settings .section-header svg{color:#8b5cf6;flex-shrink:0;margin-top:0;stroke-width:1.5;width:24px;height:24px;align-self:flex-start}.account-settings .section-header>div{flex:1;min-width:0}.account-settings .section-header h2{font-size:24px;font-weight:700;color:#1f2937;margin:0 0 6px;line-height:1.2}.account-settings .section-header p{font-size:14px;color:#6b7280;margin:0;line-height:1.5}.account-settings .section-content{display:flex;flex-direction:column;gap:16px}.account-settings .form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:0}.account-settings .form-group label{font-size:14px;font-weight:500;color:#374151;margin-bottom:8px;display:block}.account-settings .form-group .input,.account-settings .form-group input.input,.account-settings .form-group select.input{padding:12px 14px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;transition:all .2s;background-color:#fff;width:100%;box-sizing:border-box}.account-settings .form-group .input::placeholder,.account-settings .form-group input.input::placeholder{color:#9ca3af}.account-settings .form-group .input:focus,.account-settings .form-group input.input:focus,.account-settings .form-group select.input:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.account-settings .checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:400}.account-settings .checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer}.account-settings .form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.status-badge{display:inline-block}.status{display:inline-block;padding:6px 12px;border-radius:6px;font-size:14px;font-weight:500}.status.active{background-color:#d1fae5;color:#065f46}.status.inactive{background-color:#fee2e2;color:#991b1b}.status.pending{background-color:#fef3c7;color:#92400e}.btn{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:all .2s}.btn-primary:hover:not(:disabled){background-color:#4338ca}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background-color:#f3f4f6;color:#374151}.btn-secondary:hover{background-color:#e5e7eb}.spinner{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 768px){.account-settings .form-row{grid-template-columns:1fr}.account-settings .section-header{flex-direction:column;gap:12px}}.analytics-page{min-height:100vh;background-color:#f5f5f5}.analytics-header{background:#fff;border-bottom:1px solid #e5e7eb;padding:20px 0;margin-bottom:30px}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px}.metric-card{background:#fff;border-radius:8px;padding:24px;display:flex;align-items:center;gap:16px;border:1px solid #e5e7eb;transition:all .2s}.metric-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.metric-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center}.metric-content h3{font-size:28px;font-weight:700;color:#1f2937;margin:0 0 4px}.metric-content p{font-size:14px;color:#6b7280;margin:0}.chart-section{background:#fff;border-radius:8px;padding:24px;margin-bottom:30px;border:1px solid #e5e7eb}.chart-section h2{font-size:20px;color:#1f2937;margin:0 0 20px}.chart-container{min-height:300px}.bar-chart{display:flex;align-items:flex-end;gap:12px;height:300px;padding:20px}.bar-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;height:100%}.bar{width:100%;background:linear-gradient(to top,#4f46e5,#6366f1);border-radius:4px 4px 0 0;min-height:4px;transition:all .3s;cursor:pointer}.bar:hover{opacity:.8}.bar-label{font-size:12px;color:#6b7280;text-align:center;transform:rotate(-45deg);white-space:nowrap}.bar-value{font-size:14px;font-weight:600;color:#1f2937}.no-data{text-align:center;color:#6b7280;padding:60px 20px}.field-stats-section{background:#fff;border-radius:8px;padding:24px;border:1px solid #e5e7eb}.field-stats-section h2{font-size:20px;color:#1f2937;margin:0 0 20px}.field-stats-list{display:flex;flex-direction:column;gap:16px}.field-stat-item{padding:16px;background:#f9fafb;border-radius:6px;border:1px solid #e5e7eb}.field-stat-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.field-name{font-weight:500;color:#1f2937}.field-rate{font-weight:600;color:#4f46e5}.progress-bar{width:100%;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden;margin-bottom:8px}.progress-fill{height:100%;background:linear-gradient(to right,#4f46e5,#6366f1);border-radius:4px;transition:width .3s}.field-stat-meta{font-size:12px;color:#6b7280}.container{max-width:1200px;margin:0 auto;padding:0 20px}@media (max-width: 768px){.metrics-grid{grid-template-columns:1fr}.bar-chart{flex-direction:column;height:auto}.bar-item{flex-direction:row;width:100%}.bar{height:40px;width:auto;flex:1}}.team-collaboration{min-height:100vh;background-color:#f5f5f5}.team-header{background:#fff;border-bottom:1px solid #e5e7eb;padding:20px 0;margin-bottom:30px}.header-content{display:flex;align-items:center;gap:15px}.header-content h1{flex:1;font-size:24px;color:#1f2937;margin:0}.container{max-width:1000px;margin:0 auto;padding:0 20px}.message{padding:12px 16px;border-radius:6px;margin-bottom:20px;font-size:14px}.message.success{background-color:#d1fae5;color:#065f46;border:1px solid #6ee7b7}.message.error{background-color:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.team-section{background:#fff;border-radius:8px;padding:24px;margin-bottom:24px;border:1px solid #e5e7eb}.section-header{display:flex;align-items:center;gap:12px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #e5e7eb}.section-header svg{color:#4f46e5}.section-header h2{font-size:20px;color:#1f2937;margin:0}.members-list,.invites-list{display:flex;flex-direction:column;gap:12px}.member-card,.invite-card{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#f9fafb;border-radius:6px;border:1px solid #e5e7eb}.member-info,.invite-info{display:flex;align-items:center;gap:12px;flex:1}.member-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#4f46e5,#6366f1);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px}.member-name{font-weight:500;color:#1f2937;margin-bottom:2px}.member-email,.invite-email{font-size:14px;color:#6b7280}.invite-role{font-size:12px;color:#9ca3af;margin-top:4px}.invite-date{font-size:12px;color:#9ca3af;margin-top:2px}.member-actions{display:flex;align-items:center;gap:10px}.role-select{width:150px;padding:6px 10px;font-size:14px}.permissions-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.permission-item{padding:16px;background:#f9fafb;border-radius:6px;border:1px solid #e5e7eb}.permission-role{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:#1f2937}.permission-item ul{margin:0;padding-left:20px;color:#6b7280;font-size:14px}.permission-item li{margin-bottom:6px}.empty-state{text-align:center;padding:40px 20px;color:#6b7280}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.invite-modal{background:#fff;border-radius:8px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #e5e7eb}.modal-header h2{margin:0;font-size:20px;color:#1f2937}.close-btn{background:none;border:none;font-size:24px;color:#6b7280;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:4px}.close-btn:hover{background:#f3f4f6}.modal-content{padding:20px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.loading{display:flex;justify-content:center;align-items:center;min-height:100vh;font-size:16px;color:#6b7280}@media (max-width: 768px){.member-card,.invite-card{flex-direction:column;align-items:flex-start;gap:12px}.member-actions{width:100%;justify-content:space-between}.permissions-info{grid-template-columns:1fr}}.client-submissions-page{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:40px 20px}.client-submissions-container{max-width:1200px;margin:0 auto}.client-submissions-header{background:#fff;border-radius:12px;padding:30px;margin-bottom:30px;box-shadow:0 4px 6px #0000001a}.back-link{display:inline-flex;align-items:center;gap:8px;color:#667eea;text-decoration:none;font-weight:500;margin-bottom:20px;transition:color .2s}.back-link:hover{color:#764ba2}.client-submissions-header h1{margin:0 0 10px;font-size:32px;color:#1f2937}.form-title-display{margin:0;font-size:18px;color:#6b7280}.no-submissions{background:#fff;border-radius:12px;padding:60px 30px;text-align:center;box-shadow:0 4px 6px #0000001a}.no-submissions svg{color:#9ca3af;margin-bottom:20px}.no-submissions h2{margin:0 0 10px;color:#1f2937}.no-submissions p{margin:0 0 30px;color:#6b7280}.submission-card{background:#fff;border-radius:12px;padding:30px;box-shadow:0 4px 6px #0000001a;transition:transform .2s,box-shadow .2s}.submission-card:hover{transform:translateY(-2px);box-shadow:0 6px 12px #00000026}.submission-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:20px;border-bottom:2px solid #e5e7eb;margin-bottom:20px}.submission-number{display:flex;align-items:center;gap:8px;font-weight:600;color:#1f2937;font-size:18px}.submission-date svg{color:#9ca3af}.submission-field{display:grid;grid-template-columns:200px 1fr;gap:16px;padding:12px;background:#f9fafb;border-radius:8px}.submission-field strong{color:#374151;font-weight:600}.submission-field span{color:#1f2937;word-break:break-word}@media (max-width: 768px){.client-submissions-header h1{font-size:24px}.submission-header{flex-direction:column;align-items:flex-start;gap:12px}.submission-field{grid-template-columns:1fr;gap:8px}}.client-portal{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.client-portal-container{max-width:1200px;margin:0 auto}.client-portal-header{background:#fff;border-radius:12px;padding:30px;margin-bottom:30px;box-shadow:0 4px 6px #0000001a}.header-content{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.header-left h1{margin:0 0 10px;color:#1f2937;font-size:32px}.form-description{color:#6b7280;margin:0;font-size:16px}.header-right{display:flex;align-items:center}.user-info{display:flex;align-items:center;gap:12px;background:#f3f4f6;padding:12px 20px;border-radius:8px}.user-info svg{color:#6b7280}.user-info span{color:#374151;font-weight:500}.btn-sm{padding:8px 16px;font-size:14px}.client-portal-content{background:#fff;border-radius:12px;padding:30px;box-shadow:0 4px 6px #0000001a}.submissions-section{width:100%}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid #e5e7eb}.section-header h2{margin:0;color:#1f2937;display:flex;align-items:center;gap:12px;font-size:24px}.empty-state{text-align:center;padding:60px 20px;color:#6b7280}.empty-state svg{color:#9ca3af;margin-bottom:20px}.empty-state h3{color:#374151;margin:20px 0 10px;font-size:24px}.empty-state p{margin:0 0 30px;font-size:16px}.btn-large{padding:16px 32px;font-size:18px}.submissions-list{display:grid;gap:20px}.submission-card{border:2px solid #e5e7eb;border-radius:12px;padding:24px;background:#f9fafb;transition:all .2s}.submission-card:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea1a}.submission-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #e5e7eb}.submission-number{display:flex;align-items:center;gap:10px;font-weight:600;color:#1f2937;font-size:18px}.submission-number svg{color:#667eea}.submission-date{display:flex;align-items:center;gap:8px;color:#6b7280;font-size:14px}.submission-content{display:grid;gap:16px}.submission-field{display:flex;flex-direction:column;gap:6px}.submission-field strong{color:#374151;font-size:14px;font-weight:600}.submission-field span{color:#1f2937;font-size:16px;padding:12px;background:#fff;border-radius:6px;border:1px solid #e5e7eb}.submission-footer{margin-top:20px;padding-top:15px;border-top:1px solid #e5e7eb;color:#6b7280;font-size:14px}.login-prompt-card{background:#fff;border-radius:12px;padding:60px 40px;text-align:center;max-width:500px;margin:100px auto;box-shadow:0 10px 25px #0000001a}.login-prompt-icon{font-size:64px;margin-bottom:20px}.login-prompt-card h1{margin:0 0 15px;color:#1f2937;font-size:28px}.login-prompt-card>p{color:#6b7280;margin:0 0 30px;font-size:16px}.login-prompt-actions{display:flex;flex-direction:column;gap:12px}.login-prompt-footer{margin-top:30px;color:#6b7280;font-size:14px}.login-prompt-footer a{color:#667eea;text-decoration:none;font-weight:500}.login-prompt-footer a:hover{text-decoration:underline}@media (max-width: 768px){.header-content{flex-direction:column}.section-header{flex-direction:column;align-items:flex-start;gap:20px}.submission-header{flex-direction:column;align-items:flex-start;gap:10px}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5}.loading{display:flex;justify-content:center;align-items:center;height:100vh;font-size:18px;color:#666}.container{max-width:1200px;margin:0 auto;padding:20px}@media (max-width: 768px){.container{padding:15px}}@media (max-width: 480px){.container{padding:10px}}.btn{padding:10px 20px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.btn-primary{background-color:#4f46e5;color:#fff}.btn-primary:hover{background-color:#4338ca}.btn-secondary{background-color:#6b7280;color:#fff}.btn-secondary:hover{background-color:#4b5563}.btn-danger{background-color:#ef4444;color:#fff}.btn-danger:hover{background-color:#dc2626}.btn-success{background-color:#10b981;color:#fff}.btn-success:hover{background-color:#059669}.btn-success:disabled{background-color:#10b981;opacity:.8}.input{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;transition:border-color .2s}.input:focus{outline:none;border-color:#4f46e5}.card{background:#fff;border-radius:8px;padding:20px;box-shadow:0 1px 3px #0000001a;margin-bottom:20px}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:6px;font-weight:500;color:#374151}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal{background:#fff;border-radius:8px;padding:24px;max-width:500px;width:90%;max-height:90vh;overflow-y:auto}@media (max-width: 480px){.modal{padding:16px;width:95%;max-height:95vh}}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-header h2{margin:0;font-size:20px}.close-btn{background:none;border:none;font-size:24px;cursor:pointer;color:#6b7280}.close-btn:hover{color:#374151}@media (max-width: 768px){body{font-size:14px}}@media (max-width: 480px){body{font-size:13px}}@media (max-width: 480px){.btn{padding:8px 16px;font-size:13px}}@media (max-width: 480px){.input{padding:8px 10px;font-size:13px}}@media (max-width: 768px){.card{padding:15px}}@media (max-width: 480px){.card{padding:12px}}
