File size: 7,047 Bytes
ea9fd1b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
112
113
114
115
116
117
118
119
120
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
       background: #1a1a18; min-height: 100vh; display: flex; align-items: center; justify-content: center; }

.phone { background: #2C2C2A; border-radius: 36px; padding: 10px; width: 360px; margin: 20px auto; }
.screen { background: #F5F0E8; border-radius: 28px; overflow: hidden; min-height: 600px; position: relative; }

.status { background: #F5F0E8; padding: 10px 20px 4px; display: flex; justify-content: space-between; 
          font-size: 11px; color: #888780; }
.header { padding: 12px 20px 8px; }
.app-name { font-size: 22px; font-weight: 600; color: #2C2C2A; letter-spacing: -0.3px; }
.app-sub { font-size: 12px; color: #888780; margin-top: 2px; }

.search-bar { margin: 0 16px 14px; background: #EDE8DF; border-radius: 22px; padding: 9px 14px; 
              font-size: 13px; color: #888780; display: flex; align-items: center; gap: 8px; }
.search-bar input { background: transparent; border: none; outline: none; width: 100%; font-size: 13px; color: #2C2C2A; }
.search-icon { width: 14px; height: 14px; border: 1.5px solid #888780; border-radius: 50%; display: inline-block; }

.section-label { padding: 0 20px 8px; font-size: 11px; font-weight: 500; color: #888780; 
                 letter-spacing: 0.5px; text-transform: uppercase; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px 16px; }
.tile { border-radius: 16px; padding: 16px 14px; cursor: pointer; transition: transform 0.15s; }
.tile:hover { transform: scale(1.02); }
.tile:active { opacity: 0.8; }
.tile-icon { width: 32px; height: 32px; border-radius: 10px; margin-bottom: 10px; 
             display: flex; align-items: center; justify-content: center; font-size: 16px; }
.tile-title { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.tile-sub { font-size: 11px; opacity: 0.75; line-height: 1.4; }

.tile-islamic { background: #E8DFD0; }
.tile-islamic .tile-icon { background: #C9B99A; }
.tile-islamic .tile-title { color: #4A3B28; }
.tile-islamic .tile-sub { color: #6B5540; }

.tile-harass { background: #DCE4EE; }
.tile-harass .tile-icon { background: #BACADA; }
.tile-harass .tile-title { color: #1E3550; }
.tile-harass .tile-sub { color: #2D4C6A; }

.tile-inherit { background: #E0EAD8; }
.tile-inherit .tile-icon { background: #BFCEAF; }
.tile-inherit .tile-title { color: #2A4020; }
.tile-inherit .tile-sub { color: #3B5530; }

.tile-verify { background: #EDE0E8; }
.tile-verify .tile-icon { background: #CFAFC8; }
.tile-verify .tile-title { color: #3D1E38; }
.tile-verify .tile-sub { color: #5A2E52; }

.divider { height: 0.5px; background: #DDD8CE; margin: 0 16px 14px; }

.recent-label { padding: 0 20px 8px; font-size: 11px; font-weight: 500; color: #888780; 
                letter-spacing: 0.5px; text-transform: uppercase; }
.recent-item { margin: 0 16px 8px; background: #EDE8DF; border-radius: 12px; padding: 10px 14px; 
               display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.recent-item:hover { background: #E5DFD5; }
.recent-q { font-size: 12px; color: #3D3D3A; font-weight: 500; }
.recent-tag { font-size: 10px; padding: 2px 8px; border-radius: 10px; font-weight: 500; }
.tag-i { background: #C9B99A; color: #4A3B28; }
.tag-h { background: #BACADA; color: #1E3550; }
.tag-in { background: #BFCEAF; color: #2A4020; }

.toggle-row { display: flex; gap: 8px; margin: 0 16px 10px; }
.lang-btn { flex: 1; background: #EDE8DF; border-radius: 10px; padding: 7px; text-align: center; 
            font-size: 12px; color: #888780; cursor: pointer; border: none; }
.lang-btn.active { background: #2C2C2A; color: #F5F0E8; font-weight: 500; }

.nav-bar { background: #EDE8DF; margin: 8px 16px; border-radius: 16px; padding: 8px; 
           display: flex; justify-content: space-around; }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; 
            font-size: 10px; color: #888780; padding: 4px 8px; border-radius: 10px; cursor: pointer; }
.nav-item.active { background: #F5F0E8; color: #2C2C2A; font-weight: 500; }
.nav-dot { width: 20px; height: 20px; border-radius: 6px; background: currentColor; opacity: 0.3; }
.nav-item.active .nav-dot { opacity: 0.8; }

/* DETAIL SCREEN */
.detail-screen { background: #F5F0E8; border-radius: 28px; overflow: hidden; min-height: 600px; }
.back-btn { padding: 12px 20px 4px; font-size: 13px; color: #888780; cursor: pointer; }
.law-header { padding: 4px 20px 14px; border-bottom: 0.5px solid #DDD8CE; }
.law-badge { display: inline-flex; align-items: center; gap: 6px; background: #E8DFD0; 
             border-radius: 8px; padding: 4px 10px; margin-bottom: 8px; }
.law-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #C9B99A; }
.law-badge-txt { font-size: 11px; color: #4A3B28; font-weight: 500; }
.law-title { font-size: 18px; font-weight: 600; color: #2C2C2A; line-height: 1.3; }
.source-pill { margin-top: 6px; font-size: 11px; color: #3B6D11; background: #EAF3DE; 
               display: inline-block; padding: 3px 10px; border-radius: 8px; }

.answer-box { margin: 12px 16px; background: #FFF9F2; border: 0.5px solid #DDD8CE; 
              border-radius: 14px; padding: 14px; }
.answer-q { font-size: 12px; color: #888780; margin-bottom: 6px; }
.answer-text { font-size: 13px; color: #2C2C2A; line-height: 1.7; }

.cite-box { margin: 0 16px 10px; background: #E8DFD0; border-radius: 12px; padding: 10px 12px; 
            border-left: 3px solid #C9B99A; border-radius: 0 12px 12px 0; }
.cite-label { font-size: 10px; font-weight: 500; color: #6B5540; text-transform: uppercase; 
              letter-spacing: 0.4px; margin-bottom: 3px; }
.cite-text { font-size: 12px; color: #4A3B28; line-height: 1.5; }

.verify-badge { margin: 0 16px 10px; background: #E0EAD8; border-radius: 12px; padding: 8px 12px; 
                display: flex; align-items: center; gap: 8px; }
.verify-icon { width: 18px; height: 18px; border-radius: 50%; background: #3B6D11; 
               display: flex; align-items: center; justify-content: center; font-size: 10px; 
               color: white; flex-shrink: 0; }
.verify-text { font-size: 12px; color: #2A4020; }

.dept-box { margin: 0 16px 10px; background: #E0EAD8; border-radius: 12px; padding: 10px 12px; }
.dept-label { font-size: 10px; font-weight: 500; color: #3B5530; text-transform: uppercase; 
              letter-spacing: 0.4px; margin-bottom: 5px; }
.dept-name { font-size: 13px; font-weight: 600; color: #2A4020; }
.dept-action { font-size: 11px; color: #3B5530; margin-top: 2px; }

.submit-btn { margin: 8px 16px 0; background: #2C2C2A; color: #F5F0E8; border-radius: 14px; 
              padding: 12px; text-align: center; font-size: 14px; font-weight: 500; 
              cursor: pointer; transition: opacity 0.15s; }
.submit-btn:hover { opacity: 0.9; }
.submit-btn:active { opacity: 0.8; }

#loading { display: none !important; }
#loading.active { display: flex !important; }