@chipstcp/upyog-css 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/dist/index.css +21523 -0
  2. package/dist/index.min.css +1 -0
  3. package/img/browser-icon.png +0 -0
  4. package/img/m_seva_white_logo.png +0 -0
  5. package/img/mseva-demo.png +0 -0
  6. package/package.json +63 -0
  7. package/src/components/CardBasedOptions.scss +536 -0
  8. package/src/components/CitizenHomeCard.scss +228 -0
  9. package/src/components/EllipsisMenu.scss +17 -0
  10. package/src/components/EventCalendarView.scss +10 -0
  11. package/src/components/FAQ.scss +64 -0
  12. package/src/components/NewAccordianCitizen.scss +130 -0
  13. package/src/components/OnGroundEventCard.scss +72 -0
  14. package/src/components/PageBasedInput.scss +30 -0
  15. package/src/components/PopupHeadingLabel.scss +15 -0
  16. package/src/components/PropertySearchForm.scss +58 -0
  17. package/src/components/SearchForm.scss +57 -0
  18. package/src/components/SearchOnRadioButton.scss +10 -0
  19. package/src/components/StandaloneSearchBar.scss +10 -0
  20. package/src/components/SurveyModal.scss +195 -0
  21. package/src/components/TimeLine.scss +96 -0
  22. package/src/components/WhatsNewCard.scss +13 -0
  23. package/src/components/actionLink.scss +3 -0
  24. package/src/components/actionbar.scss +100 -0
  25. package/src/components/bannercomponents.scss +137 -0
  26. package/src/components/body.scss +423 -0
  27. package/src/components/buttons.scss +142 -0
  28. package/src/components/card.scss +968 -0
  29. package/src/components/cardHeaderWithOptions.scss +16 -0
  30. package/src/components/changeLanguage.scss +3 -0
  31. package/src/components/charts.scss +186 -0
  32. package/src/components/checkbox.scss +83 -0
  33. package/src/components/checkpoint.scss +65 -0
  34. package/src/components/citizenInfoLabel.scss +14 -0
  35. package/src/components/custombtn.scss +16 -0
  36. package/src/components/datatable.scss +119 -0
  37. package/src/components/datewrap.scss +21 -0
  38. package/src/components/detailscard.scss +6 -0
  39. package/src/components/detailscontainer.scss +13 -0
  40. package/src/components/documentSection.scss +134 -0
  41. package/src/components/filters.scss +98 -0
  42. package/src/components/grey.scss +3 -0
  43. package/src/components/hoc/InboxComposer.scss +111 -0
  44. package/src/components/hoc/index.scss +1 -0
  45. package/src/components/howItWorks.scss +71 -0
  46. package/src/components/imageviewer.scss +33 -0
  47. package/src/components/info-banner.scss +35 -0
  48. package/src/components/inputotp.scss +15 -0
  49. package/src/components/keynote.scss +29 -0
  50. package/src/components/languageSelector.scss +24 -0
  51. package/src/components/loader.scss +96 -0
  52. package/src/components/map.scss +36 -0
  53. package/src/components/menu.scss +0 -0
  54. package/src/components/metricsTable.scss +27 -0
  55. package/src/components/multiLink.scss +118 -0
  56. package/src/components/multiSelectDropdown.scss +89 -0
  57. package/src/components/navbar.scss +377 -0
  58. package/src/components/newFooter.scss +82 -0
  59. package/src/components/plusMinus.scss +15 -0
  60. package/src/components/popup.scss +27 -0
  61. package/src/components/radiobtn.scss +47 -0
  62. package/src/components/ratingstar.scss +33 -0
  63. package/src/components/roundedLabel.scss +10 -0
  64. package/src/components/searchAction.scss +27 -0
  65. package/src/components/sectionalDropdown.scss +43 -0
  66. package/src/components/selectdropdown.scss +302 -0
  67. package/src/components/staticDynamicMessages.scss +111 -0
  68. package/src/components/staticSideBar.scss +27 -0
  69. package/src/components/statushighlight.scss +17 -0
  70. package/src/components/submiterrors.scss +11 -0
  71. package/src/components/summary.scss +29 -0
  72. package/src/components/table.scss +383 -0
  73. package/src/components/tag.scss +27 -0
  74. package/src/components/telephone.scss +17 -0
  75. package/src/components/textfields.scss +146 -0
  76. package/src/components/toast.scss +31 -0
  77. package/src/components/toggleSwitch.scss +41 -0
  78. package/src/components/topbar.scss +218 -0
  79. package/src/components/uploadcomponents.scss +116 -0
  80. package/src/index.scss +2087 -0
  81. package/src/modules/BPA/index.scss +98 -0
  82. package/src/modules/adv/index.scss +643 -0
  83. package/src/modules/hrms/index.scss +1328 -0
  84. package/src/modules/rentAndLease/index.scss +238 -0
  85. package/src/pages/citizen/CitizenEngagementNotificationWrapper.scss +8 -0
  86. package/src/pages/citizen/CitizenLogin.scss +50 -0
  87. package/src/pages/citizen/DocumentList.scss +455 -0
  88. package/src/pages/citizen/Events.scss +47 -0
  89. package/src/pages/citizen/HomePageWrapper.scss +215 -0
  90. package/src/pages/citizen/InboxCard.scss +378 -0
  91. package/src/pages/citizen/SurveyList.scss +25 -0
  92. package/src/pages/citizen/citizenDocument.scss +26 -0
  93. package/src/pages/citizen/citizenNewLogin.scss +352 -0
  94. package/src/pages/citizen/container.scss +33 -0
  95. package/src/pages/citizen/loaderMessage.scss +342 -0
  96. package/src/pages/citizen/payment/payment-type.scss +3 -0
  97. package/src/pages/citizen/updatePropertyNumber.scss +46 -0
  98. package/src/pages/common/form.scss +26 -0
  99. package/src/pages/common/newApplicationTimeline.scss +341 -0
  100. package/src/pages/common/pgrUICssfix.scss +129 -0
  101. package/src/pages/common/requiredField.scss +3 -0
  102. package/src/pages/common/sanctionFeeTable.scss +92 -0
  103. package/src/pages/common/searchIcon.scss +13 -0
  104. package/src/pages/common/sitePhotoGraphs.scss +27 -0
  105. package/src/pages/common/stepForm.scss +41 -0
  106. package/src/pages/employee/EmployeeLogin.scss +7 -0
  107. package/src/pages/employee/cardfix.scss +14 -0
  108. package/src/pages/employee/container.scss +73 -0
  109. package/src/pages/employee/dashboard.scss +204 -0
  110. package/src/pages/employee/disconnection.scss +426 -0
  111. package/src/pages/employee/dss.scss +251 -0
  112. package/src/pages/employee/faq.scss +353 -0
  113. package/src/pages/employee/footer.scss +69 -0
  114. package/src/pages/employee/form-fields.scss +27 -0
  115. package/src/pages/employee/header.scss +262 -0
  116. package/src/pages/employee/iframe.scss +66 -0
  117. package/src/pages/employee/inbox.scss +1110 -0
  118. package/src/pages/employee/index.scss +694 -0
  119. package/src/pages/employee/landing.scss +1803 -0
  120. package/src/pages/employee/login.scss +253 -0
  121. package/src/pages/employee/oldMobileInbox.scss +5 -0
  122. package/src/pages/employee/popupmodule.scss +47 -0
  123. package/src/pages/employee/response.scss +3 -0
  124. package/src/pages/employee/scroll-table.scss +114 -0
  125. package/src/pages/employee/surveys.scss +469 -0
  126. package/src/pages/employee/tooltip.scss +36 -0
  127. package/src/pages/employee/updateNumber.scss +13 -0
  128. package/src/pages/swach/index.scss +232 -0
  129. package/src/pages/ws/index.scss +119 -0
  130. package/svg/arrowdown.svg +1 -0
  131. package/svg/arrowleft.svg +1 -0
  132. package/svg/calendar.svg +1 -0
  133. package/svg/camera.svg +4 -0
  134. package/svg/check.svg +4 -0
  135. package/svg/close.svg +4 -0
  136. package/svg/error.svg +4 -0
  137. package/svg/error2.svg +5 -0
  138. package/svg/searchicon.svg +4 -0
  139. package/svg/starempty.svg +4 -0
  140. package/svg/starfilled.svg +5 -0
  141. package/svg/success.svg +4 -0
Binary file
Binary file
Binary file
package/package.json ADDED
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "@chipstcp/upyog-css",
3
+ "version": "1.0.0",
4
+ "license": "MIT",
5
+ "main": "dist/index.css",
6
+ "engines": {
7
+ "node": ">=10"
8
+ },
9
+ "cssConfig": {
10
+ "prefix": ""
11
+ },
12
+ "scripts": {
13
+ "start": "gulp build",
14
+ "build:prod": "gulp build",
15
+ "prepublish": "yarn build:prod",
16
+ "deploy": "gulp && cp -R svg example && cp -R img example && gh-pages -d example"
17
+ },
18
+ "browserslist": [
19
+ "> 3%",
20
+ "last 2 versions"
21
+ ],
22
+ "style": "./dist/index.css",
23
+ "dependencies": {
24
+ "node-sass": "4.14.1",
25
+ "normalize.css": "8.0.1",
26
+ "postcss-scss": "3.0.5",
27
+ "tailwindcss": "^1.9.6",
28
+ "yarn": "^1.22.22"
29
+ },
30
+ "devDependencies": {
31
+ "autoprefixer": "^10.4.4",
32
+ "cssnano": "4.1.11",
33
+ "gh-pages": "3.2.3",
34
+ "gulp": "4.0.2",
35
+ "gulp-clean": "^0.4.0",
36
+ "gulp-clean-css": "^4.3.0",
37
+ "gulp-livereload": "^4.0.2",
38
+ "gulp-postcss": "9.0.1",
39
+ "gulp-rename": "^2.0.0",
40
+ "gulp-sass": "^4.1.1",
41
+ "postcss": "8.4.12",
42
+ "postcss-cli": "8.3.1",
43
+ "postcss-header": "2.0.0",
44
+ "postcss-import": "^12.0.1",
45
+ "postcss-prefixer": "2.1.3",
46
+ "postcss-preset-env": "^6.7.1",
47
+ "postcss-scss": "3.0.5",
48
+ "sass": "1.49.11"
49
+ },
50
+ "files": [
51
+ "dist/index.min.css",
52
+ "dist/index.css",
53
+ "svg/**/*.svg",
54
+ "img/**/*.png",
55
+ "src/**/*.scss",
56
+ "src/**/*.css"
57
+ ],
58
+ "directories": {
59
+ "example": "example"
60
+ },
61
+ "author": "",
62
+ "description": ""
63
+ }
@@ -0,0 +1,536 @@
1
+ .CardBasedOptions {
2
+ box-shadow: #32325d14 0px 50px 100px -20px, rgb(0 0 0 / 18%) 0px 30px 60px -30px, #0a254038 0px -2px 6px 0px inset;
3
+ border-radius: 12px;
4
+ padding: 0px !important;
5
+ @apply bg-white mb-md px-sm py-md mx-sm rounded w-full;
6
+ .headContent {
7
+ @apply flex justify-between mb-lg;
8
+ h2 {
9
+ @apply text-heading-s font-bold text-text-primary;
10
+ }
11
+ p {
12
+ @apply text-link text-primary-main font-medium cursor-pointer;
13
+ }
14
+ }
15
+
16
+ .mainContent {
17
+ margin: 15px;
18
+ @apply flex justify-evenly;
19
+
20
+ .CardBasedOptionsMainChildOption {
21
+ width: 25%;
22
+
23
+ @apply text-center;
24
+ margin: auto;
25
+ .ChildOptionImageWrapper {
26
+ margin: auto !important;
27
+ background: #f5fbff;
28
+ mix-blend-mode: normal;
29
+ padding-top: 14px;
30
+ @apply h-12 w-12 rounded-full cursor-pointer;
31
+ svg {
32
+ height: 20px;
33
+ width: 20px;
34
+ fill: #1359c8;
35
+ margin: auto;
36
+ }
37
+ }
38
+ .ChildOptionName {
39
+ font-size: 12px;
40
+ line-height: 14px;
41
+ color: #2947a3;
42
+ }
43
+ }
44
+ }
45
+ }
46
+
47
+ @screen dt {
48
+ .CardBasedOptions {
49
+ width: calc(100% - 16px);
50
+ padding: 0px !important;
51
+ height: 250px !important;
52
+ }
53
+ }
54
+ .citizen .ServicesSection .CardBasedOptions:nth-child(odd) {
55
+ .employeeCustomCard {
56
+ background-image: url("https://raw.githubusercontent.com/anujkit/msevaImages/refs/heads/main/citizenDashboardImage1.png");
57
+ background-size: cover;
58
+ }
59
+ }
60
+ .citizen .ServicesSection .CardBasedOptions:nth-child(even) {
61
+ .employeeCustomCard {
62
+ background-image: url("https://raw.githubusercontent.com/anujkit/msevaImages/refs/heads/main/citizenDashBoardImage2.png");
63
+ background-size: cover;
64
+ }
65
+ }
66
+ .citizen .employeeCustomCard {
67
+ border-radius: 10px;
68
+ background-image: url("https://raw.githubusercontent.com/anujkit/msevaImages/refs/heads/main/citizenDashboardImage1.png");
69
+ background-size: cover;
70
+ .employeeCustomCard {
71
+ border-radius: 10px;
72
+ background-image: url("https://raw.githubusercontent.com/anujkit/msevaImages/refs/heads/main/citizenDashboardImage1.png");
73
+ background-size: cover;
74
+ }
75
+ }
76
+ .employee-card-banner {
77
+ background-color: white;
78
+ width: 88%;
79
+ height: 60%;
80
+ bottom: 0px;
81
+ position: absolute;
82
+ margin-bottom: -10%;
83
+ left: 6%;
84
+ box-shadow: 1px 5px 6px 0px #e3e4e3;
85
+ border-radius: 10px;
86
+ }
87
+ .citizen .employee-card-banner {
88
+ margin-bottom: -5% !important;
89
+ height: 65% !important;
90
+ }
91
+ .text-employee-card {
92
+ font-size: 1.5rem;
93
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
94
+ position: absolute;
95
+ top: 10%;
96
+ padding-left: 10%;
97
+ color: white !important;
98
+ }
99
+ .citizen .employee-card-banner .citizenAllServiceGrid {
100
+ display: flex-root !important;
101
+ height: 100% !important;
102
+ }
103
+
104
+ /* CardBasedOptions styles — all classes prefixed with new-card- */
105
+
106
+ .new-card-root {
107
+ width: 100%;
108
+ box-sizing: border-box;
109
+ }
110
+
111
+ /* Header section */
112
+ .new-card-header-section {
113
+ display: flex;
114
+ justify-content: space-between;
115
+ align-items: center;
116
+ margin-bottom: 24px;
117
+ padding-bottom: 16px;
118
+ border-bottom: 2px solid #3B82F6;
119
+ }
120
+
121
+ .new-card-header-title {
122
+ font-size: 28px;
123
+ font-weight: 700;
124
+ color: #111827;
125
+ margin: 0;
126
+ }
127
+
128
+ .new-card-view-button {
129
+ background: transparent;
130
+ border: none;
131
+ color: #3B82F6;
132
+ font-size: 16px;
133
+ font-weight: 600;
134
+ cursor: pointer;
135
+ display: flex;
136
+ align-items: center;
137
+ gap: 4px;
138
+ padding: 8px 16px;
139
+ border-radius: 8px;
140
+ transition: background 0.2s ease;
141
+ }
142
+ .new-card-view-button:hover {
143
+ background: #EFF6FF;
144
+ }
145
+
146
+ /* Cards grid */
147
+ .new-card-cards-grid {
148
+ display: flex;
149
+ flex-wrap: wrap;
150
+ gap: 0;
151
+ justify-content: flex-start;
152
+ margin: -8px;
153
+ width: 100%;
154
+ box-sizing: border-box;
155
+ }
156
+
157
+ /* Individual option card */
158
+ .new-card-option {
159
+ border-radius: 12px;
160
+ padding: 24px;
161
+ margin: 8px;
162
+ min-width: 220px;
163
+ flex: 1 1 calc(25% - 16px);
164
+ max-width: calc(25% - 16px);
165
+ cursor: pointer;
166
+ transition: all 0.2s ease;
167
+ border: 1px solid #E5E7EB;
168
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
169
+ transform: translateY(0);
170
+ box-sizing: border-box;
171
+ }
172
+ .new-card-option:hover {
173
+ box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
174
+ transform: translateY(-4px);
175
+ }
176
+
177
+ /* Icon wrapper */
178
+ .new-card-icon {
179
+ width: 56px;
180
+ height: 56px;
181
+ border-radius: 50%;
182
+ display: flex;
183
+ align-items: center;
184
+ justify-content: center;
185
+ margin-bottom: 16px;
186
+ color: #fff;
187
+ font-size: 24px;
188
+ }
189
+ .new-card-icon svg {
190
+ width: 28px;
191
+ height: 28px;
192
+ fill: #fff;
193
+ }
194
+
195
+ /* Service name and access row */
196
+ .new-card-service-name {
197
+ font-size: 18px;
198
+ font-weight: 600;
199
+ color: #111827;
200
+ margin-bottom: 8px;
201
+ }
202
+
203
+ .new-card-access {
204
+ font-size: 14px;
205
+ color: #6B7280;
206
+ display: flex;
207
+ align-items: center;
208
+ justify-content: space-between;
209
+ }
210
+
211
+ /* Arrow */
212
+ .new-card-arrow {
213
+ color: #3B82F6;
214
+ font-size: 18px;
215
+ }
216
+
217
+ /* Per-index background classes (backgrounds for the card root) */
218
+ .new-card-bg-0 { background: #EFF6FF; }
219
+ .new-card-bg-1 { background: #ECFDF5; }
220
+ .new-card-bg-2 { background: #F5F3FF; }
221
+ .new-card-bg-3 { background: #DBEAFE; }
222
+ .new-card-bg-4 { background: #FCE7F3; }
223
+ .new-card-bg-5 { background: #ECFDF5; }
224
+ .new-card-bg-6 { background: #FEF3C7; }
225
+ .new-card-bg-7 { background: #DBEAFE; }
226
+ .new-card-bg-8 { background: #F3E8FF; }
227
+ .new-card-bg-9 { background: #FEE2E2; }
228
+ .new-card-bg-10 { background: #FFF7ED; }
229
+ .new-card-bg-11 { background: #FEFCE8; }
230
+ .new-card-bg-12 { background: #F0FDF4; }
231
+ .new-card-bg-13 { background: #EFF6FF; }
232
+ .new-card-bg-14 { background: #FAF5FF; }
233
+
234
+ /* Per-index icon background classes */
235
+ .new-card-icon-bg-0 { background: #3B82F6; }
236
+ .new-card-icon-bg-1 { background: #10B981; }
237
+ .new-card-icon-bg-2 { background: #8B5CF6; }
238
+ .new-card-icon-bg-3 { background: #0EA5E9; }
239
+ .new-card-icon-bg-4 { background: #EC4899; }
240
+ .new-card-icon-bg-5 { background: #059669; }
241
+ .new-card-icon-bg-6 { background: #F59E0B; }
242
+ .new-card-icon-bg-7 { background: #0284C7; }
243
+ .new-card-icon-bg-8 { background: #9333EA; }
244
+ .new-card-icon-bg-9 { background: #EF4444; }
245
+ .new-card-icon-bg-10 { background: #EA580C; }
246
+ .new-card-icon-bg-11 { background: #CA8A04; }
247
+ .new-card-icon-bg-12 { background: #16A34A; }
248
+ .new-card-icon-bg-13 { background: #2563EB; }
249
+ .new-card-icon-bg-14 { background: #A855F7; }
250
+
251
+ /* Responsive adjustments */
252
+ @media (max-width: 1024px) {
253
+ .new-card-option { flex: 1 1 calc(50% - 16px); max-width: calc(50% - 16px); }
254
+ }
255
+ @media (max-width: 640px) {
256
+ .new-card-option { flex: 1 1 100%; max-width: 100%; }
257
+ }
258
+
259
+ @media screen and (min-width: 300px) {
260
+ .CardBasedOptions {
261
+ height: 200px;
262
+ }
263
+ .employeeCustomCard {
264
+ font-size: 1rem;
265
+ }
266
+ }
267
+
268
+
269
+ /* CitizenHomeCardSecond styles — all classes start with chc- to avoid collisions */
270
+
271
+ /* Root and header */
272
+ .chc-root {
273
+ width: 100%;
274
+ box-sizing: border-box;
275
+ }
276
+
277
+ .chc-header {
278
+ font-size: 20px;
279
+ font-weight: 600;
280
+ margin-bottom: 20px;
281
+ color: #1F1F1F;
282
+ }
283
+
284
+ /* Card container */
285
+ .chc-card-container {
286
+ display: grid;
287
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
288
+ gap: 16px;
289
+ margin-bottom: 24px;
290
+ width: 100%;
291
+ box-sizing: border-box;
292
+ }
293
+
294
+ /* Option to override grid if needed (keeps spacing) */
295
+ .chc-no-grid {
296
+ display: block;
297
+ }
298
+
299
+ /* Card */
300
+ .chc-card {
301
+ padding: 24px;
302
+ border-radius: 12px;
303
+ display: flex;
304
+ gap: 16px;
305
+ align-items: flex-start;
306
+ cursor: pointer;
307
+ transition: transform 0.18s ease, box-shadow 0.18s ease;
308
+ text-decoration: none;
309
+ border: none;
310
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
311
+ color: inherit;
312
+ box-sizing: border-box;
313
+ }
314
+
315
+ .chc-card:hover,
316
+ .chc-card:focus {
317
+ transform: translateY(-6px);
318
+ box-shadow: 0 8px 18px rgba(0,0,0,0.12);
319
+ outline: none;
320
+ }
321
+
322
+ /* Icon container */
323
+ .chc-icon {
324
+ width: 48px;
325
+ height: 48px;
326
+ border-radius: 12px;
327
+ display: flex;
328
+ align-items: center;
329
+ justify-content: center;
330
+ flex-shrink: 0;
331
+ color: #FFFFFF;
332
+ box-sizing: border-box;
333
+ }
334
+
335
+ /* Six background variants for cards (index % 6) */
336
+ .chc-card-bg-0 { background-color: #EBF3FE; }
337
+ .chc-card-bg-1 { background-color: #E8F8F5; }
338
+ .chc-card-bg-2 { background-color: #F3EBFF; }
339
+ .chc-card-bg-3 { background-color: #FEF3E8; }
340
+ .chc-card-bg-4 { background-color: #FCE8F3; }
341
+ .chc-card-bg-5 { background-color: #E0F2FE; }
342
+
343
+ /* Icon background variants */
344
+ .chc-icon-bg-0 { background-color: #2B6FED; color: #FFFFFF; }
345
+ .chc-icon-bg-1 { background-color: #0FA76F; color: #FFFFFF; }
346
+ .chc-icon-bg-2 { background-color: #8B5CF6; color: #FFFFFF; }
347
+ .chc-icon-bg-3 { background-color: #F97316; color: #FFFFFF; }
348
+ .chc-icon-bg-4 { background-color: #EC4899; color: #FFFFFF; }
349
+ .chc-icon-bg-5 { background-color: #0EA5E9; color: #FFFFFF; }
350
+
351
+ /* Content */
352
+ .chc-content {
353
+ flex: 1;
354
+ display: flex;
355
+ flex-direction: column;
356
+ gap: 4px;
357
+ }
358
+
359
+ .chc-title {
360
+ font-size: 16px;
361
+ font-weight: 600;
362
+ color: #1F1F1F;
363
+ margin: 0;
364
+ line-height: 1.4;
365
+ }
366
+
367
+ .chc-description {
368
+ font-size: 14px;
369
+ color: #666666;
370
+ margin: 0;
371
+ line-height: 1.5;
372
+ }
373
+
374
+ /* Arrow container */
375
+ .chc-arrow-container {
376
+ display: flex;
377
+ align-items: center;
378
+ justify-content: center;
379
+ flex-shrink: 0;
380
+ }
381
+
382
+ /* Info section */
383
+ .chc-info {
384
+ margin-top: 16px;
385
+ }
386
+
387
+ /* Responsive adjustments */
388
+ @media (max-width: 1024px) {
389
+ .chc-card-container {
390
+ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
391
+ }
392
+ .chc-header {
393
+ font-size: 18px;
394
+ }
395
+ }
396
+
397
+ @media (max-width: 640px) {
398
+ .chc-card-container {
399
+ grid-template-columns: 1fr;
400
+ }
401
+ .chc-header {
402
+ font-size: 18px;
403
+ }
404
+ }
405
+
406
+ /* CitizenHomeCardWithExternalLink styles — all classes start with chcwe- to avoid collisions */
407
+
408
+ /* Root and header */
409
+ .chcwe-root {
410
+ width: 100%;
411
+ box-sizing: border-box;
412
+ }
413
+
414
+ .chcwe-header {
415
+ font-size: 20px;
416
+ font-weight: 600;
417
+ margin-bottom: 20px;
418
+ color: #1F1F1F;
419
+ }
420
+
421
+ /* Card container */
422
+ .chcwe-card-container {
423
+ display: grid;
424
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
425
+ gap: 16px;
426
+ margin-bottom: 24px;
427
+ width: 100%;
428
+ box-sizing: border-box;
429
+ }
430
+
431
+ /* Card — link element */
432
+ .chcwe-card {
433
+ padding: 24px;
434
+ border-radius: 12px;
435
+ display: flex;
436
+ gap: 16px;
437
+ align-items: flex-start;
438
+ cursor: pointer;
439
+ transition: transform 0.2s ease, box-shadow 0.2s ease;
440
+ text-decoration: none;
441
+ border: none;
442
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
443
+ color: inherit;
444
+ box-sizing: border-box;
445
+ }
446
+
447
+ .chcwe-card:hover,
448
+ .chcwe-card:focus {
449
+ transform: translateY(-6px);
450
+ box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
451
+ outline: none;
452
+ }
453
+
454
+ /* Card background variants (index % 6) */
455
+ .chcwe-card-bg-0 { background-color: #EBF3FE; }
456
+ .chcwe-card-bg-1 { background-color: #E8F8F5; }
457
+ .chcwe-card-bg-2 { background-color: #F3EBFF; }
458
+ .chcwe-card-bg-3 { background-color: #FEF3E8; }
459
+ .chcwe-card-bg-4 { background-color: #FCE8F3; }
460
+ .chcwe-card-bg-5 { background-color: #E0F2FE; }
461
+
462
+ /* Icon container */
463
+ .chcwe-icon {
464
+ width: 48px;
465
+ height: 48px;
466
+ border-radius: 12px;
467
+ display: flex;
468
+ align-items: center;
469
+ justify-content: center;
470
+ flex-shrink: 0;
471
+ color: #FFFFFF;
472
+ box-sizing: border-box;
473
+ }
474
+
475
+ /* Icon background variants */
476
+ .chcwe-icon-bg-0 { background-color: #2B6FED; }
477
+ .chcwe-icon-bg-1 { background-color: #0FA76F; }
478
+ .chcwe-icon-bg-2 { background-color: #8B5CF6; }
479
+ .chcwe-icon-bg-3 { background-color: #F97316; }
480
+ .chcwe-icon-bg-4 { background-color: #EC4899; }
481
+ .chcwe-icon-bg-5 { background-color: #0EA5E9; }
482
+
483
+ /* Content */
484
+ .chcwe-content {
485
+ flex: 1;
486
+ display: flex;
487
+ flex-direction: column;
488
+ gap: 4px;
489
+ }
490
+
491
+ .chcwe-title {
492
+ font-size: 16px;
493
+ font-weight: 600;
494
+ color: #1F1F1F;
495
+ margin: 0;
496
+ line-height: 1.4;
497
+ }
498
+
499
+ .chcwe-description {
500
+ font-size: 14px;
501
+ color: #666666;
502
+ margin: 0;
503
+ line-height: 1.5;
504
+ }
505
+
506
+ /* Arrow container */
507
+ .chcwe-arrow-container {
508
+ display: flex;
509
+ align-items: center;
510
+ justify-content: center;
511
+ flex-shrink: 0;
512
+ }
513
+
514
+ /* Info section */
515
+ .chcwe-info {
516
+ margin-top: 16px;
517
+ }
518
+
519
+ /* Responsive adjustments */
520
+ @media (max-width: 1024px) {
521
+ .chcwe-card-container {
522
+ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
523
+ }
524
+ .chcwe-header {
525
+ font-size: 18px;
526
+ }
527
+ }
528
+
529
+ @media (max-width: 640px) {
530
+ .chcwe-card-container {
531
+ grid-template-columns: 1fr;
532
+ }
533
+ .chcwe-header {
534
+ font-size: 18px;
535
+ }
536
+ }