File size: 4,804 Bytes
b2363b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
```html
<!DOCTYPE html>
<html lang="pt-BR" class="dark">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>FormForge - Preview Mobile</title>
    <link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2'><polygon points='1 6 1 22 8 18 16 22 21 18 21 2 16 6 8 2 1 6'/></svg>">
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" />
    <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
    <script>
        tailwind.config = {
            darkMode: 'class',
            theme: {
                extend: {
                    colors: {
                        primary: { 500: '#6366f1', 600: '#4f46e5' }
                    }
                }
            }
        }
    </script>
    <style>
        * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; margin: 0; padding: 0; background: #f3f4f6; }
        .phone-frame { max-width: 414px; margin: 0 auto; background: white; min-height: 100vh; position: relative; box-shadow: 0 0 50px rgba(0,0,0,0.1); }
        .header { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); color: white; padding: 1.25rem; position: sticky; top: 0; z-index: 100; }
        .form { padding: 1rem; padding-bottom: 6rem; }
        .field { margin-bottom: 1rem; background: white; padding: 1rem; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); border: 1px solid #e5e7eb; }
        .field-label { display: block; font-size: 0.875rem; font-weight: 600; color: #374151; margin-bottom: 0.5rem; }
        .field-required { color: #ef4444; margin-left: 0.25rem; }
        .field-input { width: 100%; padding: 0.75rem; border: 1px solid #d1d5db; border-radius: 8px; font-size: 16px; background: #f9fafb; }
        .field-input:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1); }
        .field-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E"); background-position: right 0.5rem center; background-repeat: no-repeat; background-size: 1.5em 1.5em; padding-right: 2.5rem; }
        .photo-upload { border: 2px dashed #d1d5db; border-radius: 8px; padding: 2rem; text-align: center; color: #6b7280; cursor: pointer; }
        .photo-upload.has-photo { border-color: #10b981; background: #d1fae5; color: #065f46; }
        .map-container { height: 200px; border-radius: 8px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); display: flex; align-items: center; justify-content: center; color: white; }
        .map-container.has-location { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
        .signature-pad { height: 120px; border: 2px dashed #d1d5db; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #9ca3af; }
        .signature-pad.has-signature { border-color: #10b981; background: #d1fae5; color: #065f46; }
        .submit-btn { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 414px; padding: 1rem; background: white; border-top: 1px solid #e5e7eb; }
        .submit-btn button { width: 100%; padding: 1rem; background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); color: white; border: none; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; }
        .dark body { background: #111827; }
        .dark .phone-frame { background: #1f2937; }
        .dark .field { background: #374151; border-color: #4b5563; }
        .dark .field-label { color: #f9fafb; }
        .dark .field-input { background: #1f2937; border-color: #4b5563; color: #f9fafb; }
        .dark .submit-btn { background: #1f2937; border-color: #374151; }
    </style>
</head>
<body>
    <div class="phone-frame">
        <div class="header">
            <h1 id="formTitle">Carregando...</h1>
            <p id="formSubtitle">Aguarde</p>
        </div>
        
        <form class="form" id="mobileForm">
            <div style="text-align: center; padding: 3rem; color: #9ca3af;">
                <div style="font-size: 3rem; margin-bottom: 1rem;">⏳</div>
                <p>Carregando formulário...</p>
            </div>
        </form>
        
        <div class="submit-btn">
           
___METADATA_START___
{"isNew":true,"userName":"mapolanski"}
___METADATA_END___