File size: 1,874 Bytes
a0004ee
 
aa38b70
 
 
 
 
ecf05f0
 
a0004ee
 
 
 
 
aa38b70
a0004ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0b791f7
a0004ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0b791f7
 
a0004ee
d8f19b8
 
 
 
 
 
 
0b791f7
 
 
 
 
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, 
        #a0d2eb 0%,  
        #e5eaf5 30%,  
        #d0bdf4 40%,  
        #8458B3 50%,  
        #a28089 100%
    );
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120vh;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 900px;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2.5em;
}

p {
    color: #666;
    font-size: 1.2em;
}

.button-container {
    margin-bottom: 20px;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

.paste-container {
    margin-top: 20px;
}

#paste-box {
    border: 2px dashed #007bff;
    border-radius: 5px;
    padding: 20px;
    min-height: 150px;
    cursor: text;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

#paste-box:focus {
    background-color: #e9f7ff;
}

#pasted-image {
    border: 2px solid #007bff;
    border-radius: 5px;
    max-width: 100%;
    margin-top: 20px;
}

.ocr-result {
    background-color: #e9ecef;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    color: #495057;
    font-size: 1em;
    text-align: left;
    white-space: pre-wrap;
    margin-top: 20px;
}

.loading {
    font-size: 1.5em;
    color: #007bff;
    margin-top: 20px;
}
.image-frame {
    border: 2px solid #ccc;
    padding: 10px;
    display: inline-block;
    margin-top: 20px;
}

#captured-image {
    max-width: 100%;
    height: auto;
}