*{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:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh}.auth-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.auth-form{background:#fff;padding:40px;border-radius:12px;box-shadow:0 10px 40px #0003;width:100%;max-width:420px}.auth-form h2{color:#333;margin-bottom:10px;font-size:28px}.auth-form .subtitle{color:#666;margin-bottom:30px;font-size:14px}.form-group{margin-bottom:16px}.form-group label{display:block;color:#333;font-weight:500;margin-bottom:8px;font-size:14px}.form-group input{width:100%;padding:12px 14px;border:2px solid #e0e0e0;border-radius:8px;font-size:14px;transition:all .3s ease}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.error-message{color:#dc2626;background:#fee2e2;padding:12px;border-radius:8px;margin-bottom:16px;font-size:14px}.btn{width:100%;padding:12px;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea66}.btn-primary:disabled{opacity:.7;cursor:not-allowed;transform:none}.btn-secondary{background:#f3f4f6;color:#333;border:1px solid #e5e7eb}.btn-secondary:hover{background:#e5e7eb}.auth-link{text-align:center;margin-top:20px;color:#666;font-size:14px}.auth-link a{color:#667eea;text-decoration:none;font-weight:600}.auth-link a:hover{text-decoration:underline}.dashboard-container{background:#f9fafb;min-height:100vh;padding:30px 20px}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:40px;flex-wrap:wrap;gap:20px}.dashboard-header h2{color:#1f2937;font-size:32px}.status-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:6px;font-size:13px;font-weight:500}.status-badge.connected{background:#d1fae5;color:#065f46}.status-badge.disconnected{background:#fee2e2;color:#991b1b}.btn-group{display:flex;gap:10px}.form-table{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #0000001a}.form-table table{width:100%;border-collapse:collapse}.form-table th{background:#f3f4f6;padding:16px;text-align:left;font-weight:600;color:#374151;font-size:14px;border-bottom:1px solid #e5e7eb}.form-table td{padding:16px;border-bottom:1px solid #e5e7eb;color:#6b7280;font-size:14px}.form-table tr:hover{background:#fafbfc}.form-table .actions{display:flex;gap:10px}.form-table a,.form-table button{padding:6px 12px;border-radius:6px;font-size:13px;font-weight:500;text-decoration:none;border:none;cursor:pointer;transition:all .2s ease}.form-table .btn-edit{background:#dbeafe;color:#1e40af}.form-table .btn-edit:hover{background:#bfdbfe}.form-table .btn-delete{background:#fee2e2;color:#991b1b}.form-table .btn-delete:hover{background:#fecaca}.form-container{max-width:600px;margin:40px auto;background:#fff;padding:40px;border-radius:12px;box-shadow:0 1px 3px #0000001a}.form-container h2{color:#1f2937;margin-bottom:30px;font-size:28px}.section{margin-bottom:25px}.section-title{color:#374151;font-weight:600;margin-bottom:15px;font-size:16px}.checkbox-group{padding:15px;background:#f9fafb;border-radius:8px}.checkbox-item{display:flex;align-items:center;gap:10px;margin-bottom:10px}.checkbox-item:last-child{margin-bottom:0}.checkbox-item input[type=checkbox]{width:18px;height:18px;cursor:pointer}.checkbox-item label{display:flex;align-items:center;cursor:pointer;flex:1}.field-type{color:#9ca3af;font-size:13px;margin-left:auto}.form-viewer{background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;padding:40px 20px}.form-viewer-card{background:#fff;max-width:600px;margin:0 auto;padding:40px;border-radius:12px;box-shadow:0 10px 40px #0003}.form-viewer-card h2{color:#1f2937;margin-bottom:10px;font-size:28px}.form-description{color:#6b7280;margin-bottom:30px;font-size:14px;line-height:1.6}.question-group{margin-bottom:25px}.question-label{display:flex;align-items:center;gap:6px;color:#1f2937;font-weight:500;margin-bottom:10px;font-size:15px}.required-badge{color:#dc2626;font-weight:700}.question-input{width:100%;padding:12px 14px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;transition:all .2s ease}.question-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.submit-buttons{display:flex;gap:10px;margin-top:30px}.success-message{background:#d1fae5;color:#065f46;padding:16px;border-radius:8px;margin-bottom:20px;font-size:14px}.responses-container{max-width:800px;margin:40px auto;background:#fff;padding:40px;border-radius:12px;box-shadow:0 1px 3px #0000001a}.response-item{padding:16px;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:15px;background:#fafbfc}.response-item:hover{border-color:#bfdbfe;background:#eff6ff}.response-header{display:flex;justify-content:space-between;margin-bottom:10px}.response-date{color:#6b7280;font-size:13px}.response-status{display:inline-block;padding:4px 8px;background:#dbeafe;color:#1e40af;border-radius:4px;font-size:12px;font-weight:600}.response-preview{color:#4b5563;font-size:13px;line-height:1.5}.loading{text-align:center;padding:40px;color:#6b7280;font-size:16px}.empty-state{text-align:center;padding:60px 20px;color:#6b7280}.empty-state h3{color:#374151;margin-bottom:10px;font-size:18px}@media (max-width: 768px){.dashboard-header{flex-direction:column;align-items:flex-start}.btn-group{flex-direction:column;width:100%}.btn-group button{width:100%}.form-table{font-size:12px}.form-table th,.form-table td{padding:12px 8px}.auth-form{padding:30px 20px}.form-container{margin:20px 10px;padding:30px 20px}}
