PluginProbe ʕ •ᴥ•ʔ
Download Manager / 3.3.63
Download Manager v3.3.63
3.3.65 3.3.64 3.3.63 3.3.62 3.3.61 3.3.60 3.3.59 3.3.58 3.3.57 3.3.56 trunk 2.1.3 2.3.0 2.5.96 2.5.97 2.6.2 2.6.96 2.8.3 2.9.99 3.0.4 3.1.05 3.1.07 3.1.08 3.1.11 3.1.12 3.1.14 3.1.17 3.1.18 3.1.22 3.1.23 3.1.24 3.1.25 3.1.26 3.1.27 3.1.28 3.2.04 3.2.13 3.2.14 3.2.16 3.2.18 3.2.19 3.2.21 3.2.22 3.2.23 3.2.24 3.2.25 3.2.27 3.2.28 3.2.29 3.2.30 3.2.31 3.2.32 3.2.33 3.2.34 3.2.35 3.2.37 3.2.38 3.2.39 3.2.40 3.2.41 3.2.42 3.2.43 3.2.44 3.2.45 3.2.46 3.2.47 3.2.48 3.2.49 3.2.50 3.2.51 3.2.52 3.2.53 3.2.54 3.2.55 3.2.56 3.2.57 3.2.58 3.2.59 3.2.60 3.2.61 3.2.63 3.2.64 3.2.65 3.2.66 3.2.67 3.2.68 3.2.69 3.2.70 3.2.71 3.2.72 3.2.73 3.2.74 3.2.75 3.2.76 3.2.77 3.2.78 3.2.79 3.2.80 3.2.81 3.2.82 3.2.83 3.2.84 3.2.85 3.2.86 3.2.87 3.2.88 3.2.89 3.2.90 3.2.91 3.2.92 3.2.93 3.2.94 3.2.95 3.2.96 3.2.97 3.2.98 3.2.99 3.3.00 3.3.01 3.3.02 3.3.03 3.3.04 3.3.05 3.3.06 3.3.07 3.3.08 3.3.09 3.3.10 3.3.11 3.3.12 3.3.13 3.3.14 3.3.15 3.3.16 3.3.17 3.3.18 3.3.19 3.3.20 3.3.21 3.3.22 3.3.23 3.3.24 3.3.25 3.3.26 3.3.27 3.3.28 3.3.29 3.3.30 3.3.31 3.3.32 3.3.33 3.3.34 3.3.35 3.3.36 3.3.37 3.3.38 3.3.39 3.3.40 3.3.41 3.3.42 3.3.43 3.3.44 3.3.45 3.3.46 3.3.47 3.3.48 3.3.49 3.3.50 3.3.51 3.3.52 3.3.53 3.3.54 3.3.55
download-manager / assets / css / author-dashboard.css
download-manager / assets / css Last commit date
admin-styles.css 2 weeks ago admin-styles.min.css 2 weeks ago author-dashboard.css 2 weeks ago author-dashboard.min.css 2 weeks ago front-dark.css 5 months ago front-dark.min.css 5 months ago front.css 2 weeks ago front.min.css 2 weeks ago gutenberg-styles.css 5 years ago gutenberg-styles.min.css 7 months ago jquery.dataTables.css 6 years ago jquery.dataTables.min.css 1 year ago jqueryFileTree.css 5 years ago jqueryFileTree.min.css 5 years ago kitchen-sink.html 2 weeks ago wpdm-dashboard.css 2 weeks ago wpdm-dashboard.min.css 2 weeks ago wpdm-elegant-history.css 2 weeks ago wpdm-elegant-history.min.css 2 weeks ago wpdm-elegant-insights.css 2 weeks ago wpdm-elegant-insights.min.css 2 weeks ago wpdm-elegant-overview.css 2 weeks ago wpdm-elegant-overview.min.css 2 weeks ago wpdm-gallery.css 2 weeks ago wpdm-lock-options.css 2 weeks ago
author-dashboard.css
1869 lines
1 /**
2 * Author Dashboard - Unified Styles
3 * Modern UI for the Author Dashboard frontend
4 * @package WPDM
5 */
6
7 /* ==========================================================================
8 Common Card Component
9 ========================================================================== */
10 .wpdm-author-dashboard .card,
11 .adb-card {
12 background: #fff;
13 border-radius: 12px;
14 border: 1px solid var(--color-border, #e2e8f0);
15 overflow: hidden;
16 margin-bottom: 20px;
17 }
18
19 .adb-card:last-child {
20 margin-bottom: 0;
21 }
22
23 .wpdm-author-dashboard .card-header,
24 .adb-card-header {
25 display: flex;
26 align-items: center;
27 justify-content: space-between;
28 padding: 16px 20px;
29 border-bottom: 1px solid var(--color-border, #e2e8f0);
30 background: var(--color-light, #f8fafc);
31 }
32
33 .adb-card-title {
34 display: flex;
35 align-items: center;
36 gap: 10px;
37 font-size: 15px;
38 font-weight: 600;
39 color: var(--color-dark, #1e293b);
40 }
41
42 .adb-card-title svg {
43 color: var(--color-primary);
44 }
45
46 .adb-card-actions {
47 display: flex;
48 align-items: center;
49 gap: 8px;
50 }
51
52 .wpdm-author-dashboard .card-body,
53 .adb-card-body {
54 background: #fff;
55 padding: 16px 18px;
56 }
57
58 .adb-card-body--padded {
59 padding: 16px 18px;
60 }
61 #adpcon {
62 display: flex;
63 flex-wrap: wrap;
64 }
65
66 /* Card Badge */
67 .adb-card-badge {
68 display: inline-flex;
69 align-items: center;
70 justify-content: center;
71 min-width: 22px;
72 height: 22px;
73 padding: 0 6px;
74 font-size: 12px;
75 font-weight: 600;
76 color: #fff;
77 background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-active) 100%);
78 border-radius: 11px;
79 }
80
81 /* ==========================================================================
82 Custom Checkbox (Auto-apply to all checkboxes)
83 ========================================================================== */
84
85 .wpdm-author-dashboard .card input[type="checkbox"],
86 .adb-card input[type="checkbox"],
87 .wpdm-frontend input[type="checkbox"] {
88 appearance: none;
89 -webkit-appearance: none;
90 width: 16px;
91 height: 16px;
92 background: #fff;
93 border: 1px solid #cbd5e1;
94 border-radius: 4px;
95 cursor: pointer;
96 position: relative;
97 transition: all 0.15s ease;
98 flex-shrink: 0;
99 vertical-align: middle;
100 margin: 0;
101 }
102
103 .wpdm-author-dashboard .card input[type="checkbox"]::after,
104 .adb-card input[type="checkbox"]::after,
105 .wpdm-frontend input[type="checkbox"]::after {
106 content: '';
107 position: absolute;
108 top: 2px;
109 left: 5px;
110 width: 4px;
111 height: 8px;
112 border: solid #fff;
113 border-width: 0 2px 2px 0;
114 transform: rotate(45deg) scale(0);
115 transition: transform 0.15s ease;
116 }
117
118 .wpdm-author-dashboard .card input[type="checkbox"]:hover,
119 .adb-card input[type="checkbox"]:hover,
120 .wpdm-frontend input[type="checkbox"]:hover {
121 border-color: var(--color-muted, #64748b);
122 }
123
124 .wpdm-author-dashboard .card input[type="checkbox"]:checked,
125 .adb-card input[type="checkbox"]:checked,
126 .wpdm-frontend input[type="checkbox"]:checked {
127 background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-active) 100%);
128 border-color: var(--color-success-active);
129 }
130
131 .wpdm-author-dashboard .card input[type="checkbox"]:checked::after,
132 .adb-card input[type="checkbox"]:checked::after,
133 .wpdm-frontend input[type="checkbox"]:checked::after {
134 transform: rotate(45deg) scale(1);
135 }
136
137 .wpdm-author-dashboard .card input[type="checkbox"]:focus,
138 .adb-card input[type="checkbox"]:focus,
139 .wpdm-frontend input[type="checkbox"]:focus {
140 outline: none;
141 box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
142 }
143
144 /* ==========================================================================
145 Featured Image Placeholder
146 ========================================================================== */
147
148 .wpdm-featured-image-placeholder {
149 display: flex;
150 flex-direction: column;
151 align-items: center;
152 justify-content: center;
153 gap: 12px;
154 min-height: 180px;
155 padding: 32px 20px;
156 background: var(--color-light, #f8fafc);
157 border: 2px dashed #e2e8f0;
158 border-radius: 8px;
159 color: var(--color-muted, #64748b);
160 text-decoration: none;
161 cursor: pointer;
162 transition: all 0.2s ease;
163 }
164
165 .wpdm-featured-image-placeholder:hover {
166 background: var(--color-light-hover, #f1f5f9);
167 border-color: #cbd5e1;
168 color: var(--color-muted, #64748b);
169 }
170
171 .wpdm-featured-image-placeholder:hover svg {
172 color: var(--color-primary);
173 transform: scale(1.05);
174 }
175
176 .wpdm-featured-image-placeholder svg {
177 color: #cbd5e1;
178 transition: all 0.2s ease;
179 }
180
181 .wpdm-featured-image-placeholder span {
182 font-size: 14px;
183 font-weight: 500;
184 }
185
186 /* ==========================================================================
187 Description Card (wp_editor specific styles)
188 ========================================================================== */
189
190 .adb-card--description .adb-card-body {
191 padding: 16px;
192 }
193
194 .adb-card--description .wp-editor-tabs {
195 padding: 4px;
196 }
197
198 .adb-card--description .wp-switch-editor {
199 background: #fff;
200 border: 1px solid var(--color-border, #e2e8f0);
201 border-radius: 4px;
202 color: var(--color-muted, #64748b);
203 font-size: 12px;
204 font-weight: 500;
205 padding: 4px 10px;
206 margin: 2px;
207 }
208
209 .adb-card--description .wp-switch-editor:hover {
210 background: var(--color-light-hover, #f1f5f9);
211 color: #374151;
212 }
213
214 .adb-card--description .wp-switch-editor.switch-tmce:focus,
215 .adb-card--description .wp-switch-editor.switch-html:focus,
216 .adb-card--description .html-active .wp-switch-editor.switch-html,
217 .adb-card--description .tmce-active .wp-switch-editor.switch-tmce {
218 background: var(--color-primary, #6366f1);
219 border-color: var(--color-primary, #6366f1);
220 color: #fff;
221 }
222
223 .adb-card--description .mce-toolbar-grp {
224 background: #f8fafc !important;
225 border-bottom: 1px solid #e2e8f0 !important;
226 }
227
228 .adb-card--description .mce-btn {
229 background: transparent !important;
230 border: none !important;
231 }
232
233 .adb-card--description .mce-btn:hover {
234 background: #e2e8f0 !important;
235 border-radius: 4px !important;
236 }
237
238 .adb-card--description .wp-editor-area {
239 border: none !important;
240 padding: 12px !important;
241 }
242
243 /* ==========================================================================
244 Package Settings Card
245 ========================================================================== */
246
247 /* Settings Tabs */
248 .wpdm-settings-tabs {
249 border-bottom: 1px solid #e5e7eb;
250 background: #f9fafb;
251 }
252
253 .wpdm-settings-tabs__nav {
254 display: flex;
255 gap: 2px;
256 padding: 12px 16px 0;
257 overflow-x: auto;
258 -webkit-overflow-scrolling: touch;
259 }
260
261 .wpdm-settings-tabs__btn {
262 display: inline-flex;
263 align-items: center;
264 gap: 8px;
265 padding: 10px 16px;
266 font-size: 13px;
267 font-weight: 500;
268 color: var(--color-muted, #64748b);
269 background: transparent;
270 border: none;
271 border-bottom: 2px solid transparent;
272 border-radius: 6px 6px 0 0;
273 cursor: pointer;
274 white-space: nowrap;
275 transition: all 0.15s ease;
276 }
277
278 .wpdm-settings-tabs__btn svg {
279 width: 16px;
280 height: 16px;
281 opacity: 0.7;
282 }
283
284 .wpdm-settings-tabs__btn:hover {
285 color: #374151;
286 background: var(--color-light-hover, #f1f5f9);
287 }
288
289 .wpdm-settings-tabs__btn.active {
290 color: var(--color-primary, #6366f1);
291 background: #fff;
292 border-bottom-color: var(--color-primary, #6366f1);
293 }
294
295 .wpdm-settings-tabs__btn.active svg {
296 opacity: 1;
297 }
298
299 .wpdm-settings-content {
300 background: #fff;
301 }
302
303 .wpdm-settings-panel {
304 display: none;
305 padding: 20px;
306 }
307
308 .wpdm-settings-panel.active {
309 display: block;
310 }
311
312 /* Settings Sections */
313 .wpdm-settings-section {
314 padding: 20px 0;
315 border-bottom: 1px solid var(--color-light-hover, #f1f5f9);
316 }
317
318 .wpdm-settings-section:first-child {
319 padding-top: 0;
320 }
321
322 .wpdm-settings-section:last-child {
323 border-bottom: none;
324 padding-bottom: 0;
325 }
326
327 .wpdm-settings-section__header {
328 margin-bottom: 16px;
329 }
330
331 .wpdm-settings-section__header h4 {
332 margin: 0 0 4px;
333 font-size: 14px;
334 font-weight: 600;
335 color: var(--color-dark, #1e293b);
336 }
337
338 .wpdm-settings-section__header p {
339 margin: 0;
340 font-size: 13px;
341 color: var(--color-muted, #64748b);
342 }
343
344 /* Settings Grid */
345 .wpdm-settings-grid {
346 display: grid;
347 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
348 gap: 16px;
349 }
350
351 /* Form Fields */
352 .wpdm-field {
353 display: flex;
354 flex-direction: column;
355 }
356
357 .wpdm-field--full {
358 grid-column: 1 / -1;
359 }
360
361 .wpdm-field__label {
362 font-size: 12px;
363 font-weight: 600;
364 color: #374151;
365 margin-bottom: 6px;
366 text-transform: uppercase;
367 letter-spacing: 0.025em;
368 }
369
370 .wpdm-field__input,
371 .wpdm-field select {
372 padding: 10px 12px;
373 font-size: 14px;
374 color: var(--color-dark, #1e293b);
375 background: #fff;
376 border: 1px solid var(--color-border, #e2e8f0);
377 border-radius: 8px;
378 transition: all 0.15s ease;
379 }
380
381 .wpdm-field__input:focus,
382 .wpdm-field select:focus {
383 outline: none;
384 border-color: var(--color-primary, #6366f1);
385 box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
386 }
387
388 .wpdm-field__input::placeholder {
389 color: var(--color-muted, #64748b);
390 }
391
392 .wpdm-field__group {
393 display: flex;
394 align-items: stretch;
395 }
396
397 .wpdm-field__group .wpdm-field__input {
398 flex: 1;
399 min-width: 0;
400 border-radius: 8px 0 0 8px;
401 border-right: none;
402 }
403
404 .wpdm-field__suffix {
405 display: flex;
406 align-items: center;
407 padding: 0 12px;
408 font-size: 13px;
409 color: var(--color-muted, #64748b);
410 background: var(--color-light, #f8fafc);
411 border: 1px solid var(--color-border, #e2e8f0);
412 border-radius: 0 8px 8px 0;
413 white-space: nowrap;
414 }
415
416 .wpdm-field__hint {
417 margin-top: 6px;
418 font-size: 12px;
419 color: var(--color-muted, #64748b);
420 }
421
422 /* Stats Row */
423 .wpdm-stats-row {
424 display: grid;
425 grid-template-columns: repeat(2, 1fr);
426 gap: 16px;
427 }
428
429 .wpdm-stat-input {
430 display: flex;
431 align-items: center;
432 gap: 12px;
433 padding: 14px;
434 background: var(--color-light, #f8fafc);
435 border: 1px solid var(--color-border, #e2e8f0);
436 border-radius: 10px;
437 transition: all 0.15s ease;
438 }
439
440 .wpdm-stat-input:hover {
441 border-color: #cbd5e1;
442 }
443
444 .wpdm-stat-input__icon {
445 width: 40px;
446 height: 40px;
447 display: flex;
448 align-items: center;
449 justify-content: center;
450 border-radius: 10px;
451 flex-shrink: 0;
452 }
453
454 .wpdm-stat-input__icon--views {
455 background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
456 color: #2563eb;
457 }
458
459 .wpdm-stat-input__icon--downloads {
460 background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
461 color: #059669;
462 }
463
464 .wpdm-stat-input__content {
465 flex: 1;
466 min-width: 0;
467 }
468
469 .wpdm-stat-input__content label {
470 display: block;
471 font-size: 11px;
472 font-weight: 600;
473 color: var(--color-muted, #64748b);
474 text-transform: uppercase;
475 letter-spacing: 0.05em;
476 margin-bottom: 4px;
477 }
478
479 .wpdm-stat-input__field {
480 width: 100%;
481 padding: 6px 10px;
482 font-size: 16px;
483 font-weight: 600;
484 color: var(--color-dark, #1e293b);
485 background: #fff;
486 border: 1px solid var(--color-border, #e2e8f0);
487 border-radius: 6px;
488 transition: all 0.15s ease;
489 }
490
491 .wpdm-stat-input__field:focus {
492 outline: none;
493 border-color: var(--color-primary, #6366f1);
494 box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
495 }
496
497 /* Option Rows */
498 .wpdm-option-row {
499 display: flex;
500 align-items: center;
501 justify-content: space-between;
502 gap: 20px;
503 padding: 16px 0;
504 border-bottom: 1px solid var(--color-light-hover, #f1f5f9);
505 }
506
507 .wpdm-option-row:last-child {
508 border-bottom: none;
509 padding-bottom: 0;
510 }
511
512 .wpdm-option-row:first-child {
513 padding-top: 0;
514 }
515
516 .wpdm-option-row__info {
517 flex: 1;
518 min-width: 0;
519 }
520
521 .wpdm-option-row__label {
522 display: block;
523 font-size: 14px;
524 font-weight: 500;
525 color: var(--color-dark, #1e293b);
526 margin-bottom: 2px;
527 }
528
529 .wpdm-option-row__desc {
530 display: block;
531 font-size: 12px;
532 color: var(--color-muted, #64748b);
533 }
534
535 /* Segmented Control */
536 .wpdm-segmented {
537 display: inline-flex;
538 background: var(--color-light-hover, #f1f5f9);
539 border-radius: 8px;
540 padding: 4px;
541 }
542
543 .wpdm-segmented__option {
544 display: block;
545 cursor: pointer;
546 margin: 0 !important;
547 }
548
549 .wpdm-segmented__option input {
550 position: absolute;
551 opacity: 0;
552 pointer-events: none;
553 }
554
555 .wpdm-segmented__option span {
556 display: block;
557 padding: 6px 14px;
558 font-size: 13px;
559 font-weight: 500;
560 color: var(--color-muted, #64748b);
561 background: transparent;
562 border-radius: 6px;
563 transition: all 0.15s ease;
564 white-space: nowrap;
565 }
566
567 .wpdm-segmented__option:hover span {
568 color: #374151;
569 }
570
571 .wpdm-segmented__option input:checked + span {
572 background: #fff;
573 color: var(--color-dark, #1e293b);
574 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
575 }
576
577 /* Select2 Override */
578 .adb-card .select2-container {
579 width: 100% !important;
580 }
581
582 .adb-card .select2-container--default .select2-selection--multiple {
583 min-height: 42px;
584 padding: 4px 8px;
585 border: 1px solid var(--color-border, #e2e8f0);
586 border-radius: 8px;
587 }
588
589 .adb-card .select2-container--default .select2-selection--multiple:focus,
590 .adb-card .select2-container--default.select2-container--focus .select2-selection--multiple {
591 border-color: var(--color-primary, #6366f1);
592 box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
593 }
594
595 .adb-card .select2-container--default .select2-selection--multiple .select2-selection__choice {
596 background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
597 border: 1px solid #c7d2fe;
598 border-radius: 6px;
599 padding: 4px 10px;
600 font-size: 13px;
601 color: #4338ca;
602 }
603
604 .adb-card .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
605 color: var(--color-primary);
606 margin-right: 6px;
607 }
608 #attach-file-section .btn{
609 font-size: 10px;
610 }
611 .w3eden .btn.wpdm-google {
612 background: var(--color-primary);
613 color: #fff;
614 }
615 /* ==========================================================================
616 Attached Files Card
617 ========================================================================== */
618
619 .wpdm-attached-files__list {
620 padding: 16px;
621 }
622
623 /* Empty State */
624 .wpdm-attached-files__empty {
625 padding: 48px 24px;
626 text-align: center;
627 }
628
629 .wpdm-attached-files__empty-icon {
630 display: inline-flex;
631 align-items: center;
632 justify-content: center;
633 width: 80px;
634 height: 80px;
635 background: var(--color-light-hover, #f1f5f9);
636 border-radius: 50%;
637 margin-bottom: 16px;
638 }
639
640 .wpdm-attached-files__empty-icon svg {
641 color: var(--color-muted, #64748b);
642 }
643
644 .wpdm-attached-files__empty-text {
645 margin: 0 0 4px;
646 font-size: 15px;
647 font-weight: 500;
648 color: #475569;
649 }
650
651 .wpdm-attached-files__empty-hint {
652 margin: 0;
653 font-size: 13px;
654 color: var(--color-muted, #64748b);
655 }
656
657 /* File Card */
658 .wpdm-file-card {
659 background: #fff;
660 border: 1px solid var(--color-border, #e2e8f0);
661 border-radius: 10px;
662 margin-bottom: 12px;
663 transition: all 0.2s ease;
664 }
665
666 .wpdm-file-card:last-child {
667 margin-bottom: 0;
668 }
669
670 .wpdm-file-card:hover {
671 border-color: #cbd5e1;
672 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
673 }
674
675 .wpdm-file-card.is-deleted {
676 background: #fef2f2;
677 border-color: #fecaca;
678 }
679
680 .wpdm-file-card.is-deleted .wpdm-file-card__name {
681 text-decoration: line-through;
682 color: #ef4444;
683 }
684
685 .wpdm-file-card__header {
686 display: flex;
687 align-items: center;
688 gap: 12px;
689 padding: 14px 16px;
690 cursor: pointer;
691 }
692
693 .wpdm-file-card__drag {
694 display: flex;
695 align-items: center;
696 justify-content: center;
697 width: 24px;
698 color: #cbd5e1;
699 cursor: grab;
700 transition: color 0.15s ease;
701 }
702
703 .wpdm-file-card__drag:hover {
704 color: var(--color-muted, #64748b);
705 }
706
707 .wpdm-file-card__icon {
708 flex-shrink: 0;
709 width: 40px;
710 height: 40px;
711 display: flex;
712 align-items: center;
713 justify-content: center;
714 background: var(--color-light, #f8fafc);
715 border-radius: 8px;
716 overflow: hidden;
717 }
718
719 .wpdm-file-card__thumb {
720 width: 100%;
721 height: 100%;
722 object-fit: cover;
723 }
724
725 .wpdm-file-card__type-icon {
726 width: 28px;
727 height: 28px;
728 object-fit: contain;
729 }
730
731 .wpdm-file-card__info {
732 flex: 1;
733 min-width: 0;
734 display: flex;
735 align-items: center;
736 gap: 8px;
737 }
738
739 .wpdm-file-card__name {
740 font-size: 14px;
741 font-weight: 500;
742 color: var(--color-dark, #1e293b);
743 white-space: nowrap;
744 overflow: hidden;
745 text-overflow: ellipsis;
746 }
747
748 .wpdm-file-card__ext {
749 flex-shrink: 0;
750 font-size: 11px;
751 font-weight: 500;
752 color: var(--color-muted, #64748b);
753 text-transform: uppercase;
754 padding: 2px 8px;
755 background: var(--color-light-hover, #f1f5f9);
756 border-radius: 4px;
757 }
758
759 .wpdm-file-card__actions {
760 display: flex;
761 align-items: center;
762 gap: 4px;
763 }
764
765 .wpdm-file-card__btn {
766 display: flex;
767 align-items: center;
768 justify-content: center;
769 width: 32px;
770 height: 32px;
771 padding: 0;
772 background: transparent;
773 border: none;
774 border-radius: 6px;
775 color: var(--color-muted, #64748b);
776 cursor: pointer;
777 transition: all 0.15s ease;
778 }
779
780 .wpdm-file-card__btn:hover {
781 background: var(--color-light-hover, #f1f5f9);
782 color: #475569;
783 }
784
785 .wpdm-file-card__btn--toggle svg {
786 transition: transform 0.2s ease;
787 }
788
789 .wpdm-file-card.is-expanded .wpdm-file-card__btn--toggle svg {
790 transform: rotate(180deg);
791 }
792
793 .wpdm-file-card__btn--delete:hover {
794 background: #fef2f2;
795 color: #ef4444;
796 }
797
798 .wpdm-file-card.is-deleted .wpdm-file-card__btn--delete {
799 background: #dcfce7;
800 color: #16a34a;
801 }
802
803 /* File Card Body */
804 .wpdm-file-card__body {
805 display: none;
806 padding: 0 16px 16px;
807 border-top: 1px solid #f1f5f9;
808 }
809
810 .wpdm-file-card.is-expanded .wpdm-file-card__body {
811 display: block;
812 }
813
814 .wpdm-file-card__fields {
815 padding-top: 16px;
816 display: grid;
817 gap: 16px;
818 }
819
820 /* Form Elements (Attached Files) */
821 .wpdm-form-group {
822 display: flex;
823 flex-direction: column;
824 gap: 6px;
825 }
826
827 .wpdm-form-label {
828 font-size: 13px;
829 font-weight: 500;
830 color: #475569;
831 }
832
833 .wpdm-form-control {
834 width: 100%;
835 height: 40px;
836 padding: 0 12px;
837 font-size: 14px;
838 color: var(--color-dark, #1e293b);
839 background: #fff;
840 border: 1px solid var(--color-border, #e2e8f0);
841 border-radius: 8px;
842 transition: all 0.15s ease;
843 }
844
845 .wpdm-form-control:focus {
846 outline: none;
847 border-color: var(--color-primary);
848 box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
849 }
850
851 .wpdm-form-control--sm {
852 height: 34px;
853 font-size: 13px;
854 }
855
856 .wpdm-form-control::placeholder {
857 color: var(--color-muted, #64748b);
858 }
859
860 /* Input Group */
861 .wpdm-input-group {
862 display: flex;
863 align-items: stretch;
864 }
865
866 .wpdm-input-group .wpdm-form-control {
867 border-top-right-radius: 0;
868 border-bottom-right-radius: 0;
869 }
870
871 .wpdm-input-group__addon {
872 display: flex;
873 align-items: center;
874 padding: 0 12px;
875 font-size: 14px;
876 font-weight: 500;
877 color: var(--color-muted, #64748b);
878 background: var(--color-light, #f8fafc);
879 border: 1px solid var(--color-border, #e2e8f0);
880 border-right: none;
881 border-radius: 8px 0 0 8px;
882 }
883
884 .wpdm-input-group__btn {
885 display: flex;
886 align-items: center;
887 justify-content: center;
888 padding: 0 12px;
889 background: var(--color-light, #f8fafc);
890 border: 1px solid var(--color-border, #e2e8f0);
891 border-left: none;
892 border-radius: 0 8px 8px 0;
893 color: var(--color-muted, #64748b);
894 cursor: pointer;
895 transition: all 0.15s ease;
896 }
897
898 .wpdm-input-group__btn:hover {
899 background: #e2e8f0;
900 color: #475569;
901 }
902
903 /* License Pricing */
904 .wpdm-license-pricing,
905 .wpdm-simple-price {
906 padding-top: 4px;
907 }
908
909 .wpdm-license-grid {
910 display: grid;
911 grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
912 gap: 12px;
913 margin-top: 8px;
914 }
915
916 .wpdm-license-item {
917 display: flex;
918 flex-direction: column;
919 gap: 4px;
920 }
921
922 .wpdm-license-item__name {
923 font-size: 12px;
924 font-weight: 500;
925 color: var(--color-muted, #64748b);
926 }
927
928 /* Button Styles */
929 .wpdm-btn {
930 display: inline-flex;
931 align-items: center;
932 justify-content: center;
933 gap: 6px;
934 padding: 8px 14px;
935 font-size: 13px;
936 font-weight: 500;
937 text-decoration: none;
938 border-radius: 8px;
939 border: none;
940 cursor: pointer;
941 transition: all 0.15s ease;
942 }
943
944 .wpdm-btn--sm {
945 padding: 6px 10px;
946 font-size: 12px;
947 }
948
949 .wpdm-btn--secondary {
950 color: #475569;
951 background: #fff;
952 border: 1px solid var(--color-border, #e2e8f0);
953 }
954
955 .wpdm-btn--secondary:hover {
956 background: var(--color-light, #f8fafc);
957 border-color: #cbd5e1;
958 }
959
960 /* Sortable */
961 .wpdm-file-card.ui-sortable-helper {
962 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
963 transform: rotate(1deg);
964 }
965
966 .wpdm-file-card.ui-sortable-placeholder {
967 visibility: visible !important;
968 background: var(--color-light-hover, #f1f5f9);
969 border: 2px dashed #cbd5e1;
970 border-radius: 10px;
971 }
972
973 /* ==========================================================================
974 Lock Options
975 ========================================================================== */
976
977 .wpdm-locks {
978 padding: 0;
979 }
980
981 .wpdm-locks__header {
982 display: flex;
983 align-items: flex-start;
984 gap: 14px;
985 padding: 0 0 20px;
986 margin-bottom: 20px;
987 border-bottom: 1px solid var(--color-light-hover, #f1f5f9);
988 }
989
990 .wpdm-locks__header-icon {
991 width: 44px;
992 height: 44px;
993 display: flex;
994 align-items: center;
995 justify-content: center;
996 background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
997 border-radius: 12px;
998 color: #d97706;
999 flex-shrink: 0;
1000 }
1001
1002 .wpdm-locks__header-text h4 {
1003 margin: 0 0 4px;
1004 font-size: 16px;
1005 font-weight: 600;
1006 color: var(--color-dark, #1e293b);
1007 }
1008
1009 .wpdm-locks__header-text p {
1010 margin: 0;
1011 font-size: 13px;
1012 color: var(--color-muted, #64748b);
1013 }
1014
1015 .wpdm-locks__section-header {
1016 display: flex;
1017 align-items: center;
1018 gap: 8px;
1019 padding: 16px 0 12px;
1020 margin-top: 8px;
1021 font-size: 12px;
1022 font-weight: 600;
1023 color: var(--color-muted, #64748b);
1024 text-transform: uppercase;
1025 letter-spacing: 0.05em;
1026 }
1027
1028 .wpdm-locks__section-header svg {
1029 opacity: 0.6;
1030 }
1031
1032 .wpdm-locks__list {
1033 display: flex;
1034 flex-direction: column;
1035 gap: 12px;
1036 }
1037
1038 /* Lock Card */
1039 .wpdm-lock-card {
1040 background: #fff;
1041 border: 1px solid var(--color-border, #e2e8f0);
1042 border-radius: 12px;
1043 overflow: hidden;
1044 transition: all 0.2s ease;
1045 }
1046
1047 .wpdm-lock-card:hover {
1048 border-color: #cbd5e1;
1049 }
1050
1051 .wpdm-lock-card--active {
1052 border-color: var(--color-primary, #6366f1);
1053 box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
1054 }
1055
1056 .wpdm-lock-card__header {
1057 display: flex;
1058 align-items: center;
1059 gap: 14px;
1060 padding: 16px;
1061 cursor: pointer;
1062 }
1063
1064 .wpdm-lock-card__icon {
1065 width: 40px;
1066 height: 40px;
1067 display: flex;
1068 align-items: center;
1069 justify-content: center;
1070 border-radius: 10px;
1071 flex-shrink: 0;
1072 }
1073
1074 .wpdm-lock-card__icon--terms { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); color: #2563eb; }
1075 .wpdm-lock-card__icon--password { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); color: #d97706; }
1076 .wpdm-lock-card__icon--email { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); color: #059669; }
1077 .wpdm-lock-card__icon--linkedin { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); color: #0077b5; }
1078 .wpdm-lock-card__icon--twitter { background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%); color: #000; }
1079 .wpdm-lock-card__icon--twitter-follow { background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%); color: #374151; }
1080 .wpdm-lock-card__icon--facebook { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); color: #1877f2; }
1081
1082 .wpdm-lock-card__info {
1083 flex: 1;
1084 min-width: 0;
1085 }
1086
1087 .wpdm-lock-card__title {
1088 display: block;
1089 font-size: 14px;
1090 font-weight: 600;
1091 color: var(--color-dark, #1e293b);
1092 margin-bottom: 2px;
1093 }
1094
1095 .wpdm-lock-card__desc {
1096 display: block;
1097 font-size: 12px;
1098 color: var(--color-muted, #64748b);
1099 }
1100
1101 /* Toggle Switch */
1102 .wpdm-toggle {
1103 position: relative;
1104 display: inline-block;
1105 width: 44px;
1106 height: 24px;
1107 flex-shrink: 0;
1108 }
1109
1110 .wpdm-toggle input {
1111 opacity: 0;
1112 width: 0;
1113 height: 0;
1114 }
1115
1116 .wpdm-toggle__slider {
1117 position: absolute;
1118 cursor: pointer;
1119 inset: 0;
1120 background: #e2e8f0;
1121 border-radius: 24px;
1122 transition: all 0.2s ease;
1123 }
1124
1125 .wpdm-toggle__slider::before {
1126 content: '';
1127 position: absolute;
1128 height: 18px;
1129 width: 18px;
1130 left: 3px;
1131 bottom: 3px;
1132 background: #fff;
1133 border-radius: 50%;
1134 transition: all 0.2s ease;
1135 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
1136 }
1137
1138 .wpdm-toggle input:checked + .wpdm-toggle__slider {
1139 background: var(--color-primary, #6366f1);
1140 }
1141
1142 .wpdm-toggle input:checked + .wpdm-toggle__slider::before {
1143 transform: translateX(20px);
1144 }
1145
1146 /* Lock Card Body */
1147 .wpdm-lock-card__body {
1148 padding: 0 16px 16px;
1149 border-top: 1px solid #f1f5f9;
1150 margin-top: 0;
1151 }
1152
1153 /* Lock Fields */
1154 .wpdm-lock-field {
1155 margin-top: 14px;
1156 }
1157
1158 .wpdm-lock-field:first-child {
1159 margin-top: 16px;
1160 }
1161
1162 .wpdm-lock-field__label {
1163 display: block;
1164 font-size: 12px;
1165 font-weight: 600;
1166 color: #374151;
1167 margin-bottom: 6px;
1168 }
1169
1170 .wpdm-lock-field__hint {
1171 font-weight: 400;
1172 color: var(--color-muted, #64748b);
1173 margin-left: 8px;
1174 }
1175
1176 .wpdm-lock-field__input,
1177 .wpdm-lock-field__textarea {
1178 width: 100%;
1179 padding: 10px 12px;
1180 font-size: 14px;
1181 color: var(--color-dark, #1e293b);
1182 background: var(--color-light, #f8fafc);
1183 border: 1px solid var(--color-border, #e2e8f0);
1184 border-radius: 8px;
1185 transition: all 0.15s ease;
1186 }
1187
1188 .wpdm-lock-field__input:focus,
1189 .wpdm-lock-field__textarea:focus {
1190 outline: none;
1191 background: #fff;
1192 border-color: var(--color-primary, #6366f1);
1193 box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
1194 }
1195
1196 .wpdm-lock-field__input::placeholder,
1197 .wpdm-lock-field__textarea::placeholder {
1198 color: var(--color-muted, #64748b);
1199 }
1200
1201 .wpdm-lock-field__textarea {
1202 resize: vertical;
1203 min-height: 80px;
1204 }
1205
1206 .wpdm-lock-field__group {
1207 display: flex;
1208 gap: 8px;
1209 }
1210
1211 .wpdm-lock-field__group .wpdm-lock-field__input {
1212 flex: 1;
1213 }
1214
1215 .wpdm-lock-field__group--compact {
1216 max-width: 280px;
1217 }
1218
1219 .wpdm-lock-field__group--prefix {
1220 display: flex;
1221 gap: 0;
1222 }
1223
1224 .wpdm-lock-field__group--prefix .wpdm-lock-field__input {
1225 border-radius: 0 8px 8px 0;
1226 }
1227
1228 .wpdm-lock-field__prefix {
1229 display: flex;
1230 align-items: center;
1231 padding: 0 12px;
1232 font-size: 14px;
1233 font-weight: 500;
1234 color: var(--color-muted, #64748b);
1235 background: #e2e8f0;
1236 border: 1px solid var(--color-border, #e2e8f0);
1237 border-right: none;
1238 border-radius: 8px 0 0 8px;
1239 }
1240
1241 .wpdm-lock-field__suffix {
1242 display: flex;
1243 align-items: center;
1244 padding: 0 12px;
1245 font-size: 13px;
1246 color: var(--color-muted, #64748b);
1247 background: var(--color-light-hover, #f1f5f9);
1248 border: 1px solid var(--color-border, #e2e8f0);
1249 border-radius: 8px;
1250 white-space: nowrap;
1251 }
1252
1253 .wpdm-lock-field__btn {
1254 display: inline-flex;
1255 align-items: center;
1256 gap: 6px;
1257 padding: 10px 16px;
1258 font-size: 13px;
1259 font-weight: 500;
1260 color: #fff;
1261 background: var(--color-primary, #6366f1);
1262 border: none;
1263 border-radius: 8px;
1264 cursor: pointer;
1265 white-space: nowrap;
1266 transition: all 0.15s ease;
1267 }
1268
1269 .wpdm-lock-field__btn:hover {
1270 background: var(--color-primary-hover, #4f46e5);
1271 }
1272
1273 .wpdm-lock-field__note {
1274 display: block;
1275 margin-top: 6px;
1276 font-size: 12px;
1277 color: var(--color-muted, #64748b);
1278 }
1279
1280 .wpdm-lock-field-row {
1281 display: grid;
1282 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
1283 gap: 14px;
1284 }
1285
1286 /* Lock Checkbox */
1287 .wpdm-lock-checkbox {
1288 display: flex;
1289 align-items: center;
1290 gap: 10px;
1291 cursor: pointer;
1292 }
1293
1294 .wpdm-lock-checkbox input {
1295 position: absolute;
1296 opacity: 0;
1297 pointer-events: none;
1298 }
1299
1300 .wpdm-lock-checkbox__box {
1301 width: 18px;
1302 height: 18px;
1303 border: 2px solid #cbd5e1;
1304 border-radius: 4px;
1305 transition: all 0.15s ease;
1306 position: relative;
1307 }
1308
1309 .wpdm-lock-checkbox__box::after {
1310 content: '';
1311 position: absolute;
1312 top: 2px;
1313 left: 5px;
1314 width: 5px;
1315 height: 9px;
1316 border: solid #fff;
1317 border-width: 0 2px 2px 0;
1318 transform: rotate(45deg);
1319 opacity: 0;
1320 transition: opacity 0.15s ease;
1321 }
1322
1323 .wpdm-lock-checkbox input:checked + .wpdm-lock-checkbox__box {
1324 background: var(--color-primary, #6366f1);
1325 border-color: var(--color-primary, #6366f1);
1326 }
1327
1328 .wpdm-lock-checkbox input:checked + .wpdm-lock-checkbox__box::after {
1329 opacity: 1;
1330 }
1331
1332 .wpdm-lock-checkbox__label {
1333 font-size: 13px;
1334 color: #475569;
1335 }
1336
1337 /* Lock Info & Warning */
1338 .wpdm-lock-info,
1339 .wpdm-lock-warning {
1340 display: flex;
1341 align-items: flex-start;
1342 gap: 10px;
1343 padding: 12px;
1344 border-radius: 8px;
1345 font-size: 13px;
1346 margin-top: 16px;
1347 }
1348
1349 .wpdm-lock-info {
1350 background: #f0f9ff;
1351 color: #0369a1;
1352 }
1353
1354 .wpdm-lock-info svg {
1355 flex-shrink: 0;
1356 margin-top: 1px;
1357 }
1358
1359 .wpdm-lock-warning {
1360 background: #fef3c7;
1361 color: #92400e;
1362 }
1363
1364 .wpdm-lock-warning svg {
1365 flex-shrink: 0;
1366 margin-top: 1px;
1367 }
1368
1369 .wpdm-lock-warning a {
1370 color: #d97706;
1371 font-weight: 500;
1372 }
1373
1374 /* ==========================================================================
1375 Modal Styles (Password Generator)
1376 ========================================================================== */
1377
1378 .wpdm-modal {
1379 display: none;
1380 position: fixed;
1381 inset: 0;
1382 z-index: 100000;
1383 align-items: center;
1384 justify-content: center;
1385 padding: 20px;
1386 }
1387
1388 .wpdm-modal.open {
1389 display: flex;
1390 }
1391
1392 .wpdm-modal__backdrop {
1393 position: absolute;
1394 inset: 0;
1395 background: rgba(0, 0, 0, 0.5);
1396 backdrop-filter: blur(4px);
1397 }
1398
1399 .wpdm-modal__container {
1400 position: relative;
1401 width: 100%;
1402 max-width: 480px;
1403 background: #fff;
1404 border-radius: 16px;
1405 box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
1406 overflow: hidden;
1407 }
1408
1409 .wpdm-modal__header {
1410 display: flex;
1411 align-items: center;
1412 justify-content: space-between;
1413 padding: 20px 24px;
1414 border-bottom: 1px solid #e5e7eb;
1415 }
1416
1417 .wpdm-modal__title {
1418 display: flex;
1419 align-items: center;
1420 gap: 10px;
1421 font-size: 16px;
1422 font-weight: 600;
1423 color: var(--color-dark, #1e293b);
1424 }
1425
1426 .wpdm-modal__title svg {
1427 color: var(--color-primary, #6366f1);
1428 }
1429
1430 .wpdm-modal__close {
1431 width: 32px;
1432 height: 32px;
1433 display: flex;
1434 align-items: center;
1435 justify-content: center;
1436 background: transparent;
1437 border: none;
1438 border-radius: 8px;
1439 color: var(--color-muted, #64748b);
1440 cursor: pointer;
1441 transition: all 0.15s ease;
1442 }
1443
1444 .wpdm-modal__close:hover {
1445 background: var(--color-light-hover, #f1f5f9);
1446 color: var(--color-dark, #1e293b);
1447 }
1448
1449 .wpdm-modal__body {
1450 padding: 24px;
1451 }
1452
1453 .wpdm-modal__footer {
1454 display: flex;
1455 justify-content: flex-end;
1456 gap: 12px;
1457 padding: 16px 24px;
1458 background: var(--color-light, #f8fafc);
1459 border-top: 1px solid #e5e7eb;
1460 }
1461
1462 .wpdm-modal__btn {
1463 display: inline-flex;
1464 align-items: center;
1465 gap: 8px;
1466 padding: 10px 20px;
1467 font-size: 14px;
1468 font-weight: 500;
1469 border-radius: 8px;
1470 cursor: pointer;
1471 transition: all 0.15s ease;
1472 }
1473
1474 .wpdm-modal__btn--secondary {
1475 background: #fff;
1476 color: #475569;
1477 border: 1px solid var(--color-border, #e2e8f0);
1478 }
1479
1480 .wpdm-modal__btn--secondary:hover {
1481 background: var(--color-light-hover, #f1f5f9);
1482 }
1483
1484 .wpdm-modal__btn--primary {
1485 background: var(--color-primary, #6366f1);
1486 color: #fff;
1487 border: none;
1488 }
1489
1490 .wpdm-modal__btn--primary:hover {
1491 background: var(--color-primary-hover, #4f46e5);
1492 }
1493
1494 /* Password Generator Styles */
1495 .wpdm-pwgen-grid {
1496 display: grid;
1497 grid-template-columns: 1fr 1fr;
1498 gap: 16px;
1499 margin-bottom: 20px;
1500 }
1501
1502 .wpdm-pwgen-field label {
1503 display: block;
1504 font-size: 12px;
1505 font-weight: 600;
1506 color: #374151;
1507 margin-bottom: 6px;
1508 }
1509
1510 .wpdm-pwgen-field input {
1511 width: 100%;
1512 padding: 10px 12px;
1513 font-size: 14px;
1514 color: var(--color-dark, #1e293b);
1515 background: var(--color-light, #f8fafc);
1516 border: 1px solid var(--color-border, #e2e8f0);
1517 border-radius: 8px;
1518 }
1519
1520 .wpdm-pwgen-field input:focus {
1521 outline: none;
1522 border-color: var(--color-primary, #6366f1);
1523 box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
1524 }
1525
1526 .wpdm-pwgen-strength {
1527 margin-bottom: 20px;
1528 }
1529
1530 .wpdm-pwgen-strength label {
1531 display: block;
1532 font-size: 12px;
1533 font-weight: 600;
1534 color: #374151;
1535 margin-bottom: 10px;
1536 }
1537
1538 .wpdm-pwgen-strength__slider input {
1539 width: 100%;
1540 height: 6px;
1541 -webkit-appearance: none;
1542 appearance: none;
1543 background: linear-gradient(to right, #ef4444, #f59e0b, #22c55e, #10b981);
1544 border-radius: 3px;
1545 outline: none;
1546 }
1547
1548 .wpdm-pwgen-strength__slider input::-webkit-slider-thumb {
1549 -webkit-appearance: none;
1550 width: 18px;
1551 height: 18px;
1552 background: #fff;
1553 border: 2px solid #6366f1;
1554 border-radius: 50%;
1555 cursor: pointer;
1556 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
1557 }
1558
1559 .wpdm-pwgen-strength__labels {
1560 display: flex;
1561 justify-content: space-between;
1562 margin-top: 6px;
1563 font-size: 11px;
1564 color: var(--color-muted, #64748b);
1565 }
1566
1567 .wpdm-pwgen-btn {
1568 width: 100%;
1569 display: flex;
1570 align-items: center;
1571 justify-content: center;
1572 gap: 8px;
1573 padding: 12px;
1574 font-size: 14px;
1575 font-weight: 500;
1576 color: #fff;
1577 background: var(--color-primary, #6366f1);
1578 border: none;
1579 border-radius: 8px;
1580 cursor: pointer;
1581 margin-bottom: 20px;
1582 transition: all 0.15s ease;
1583 }
1584
1585 .wpdm-pwgen-btn:hover {
1586 background: var(--color-primary-hover, #4f46e5);
1587 }
1588
1589 .wpdm-pwgen-output label {
1590 display: block;
1591 font-size: 12px;
1592 font-weight: 600;
1593 color: #374151;
1594 margin-bottom: 6px;
1595 }
1596
1597 .wpdm-pwgen-output textarea {
1598 width: 100%;
1599 padding: 12px;
1600 font-size: 13px;
1601 font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
1602 color: var(--color-dark, #1e293b);
1603 background: var(--color-light, #f8fafc);
1604 border: 1px solid var(--color-border, #e2e8f0);
1605 border-radius: 8px;
1606 resize: vertical;
1607 }
1608
1609 .wpdm-pwgen-output textarea:focus {
1610 outline: none;
1611 border-color: var(--color-primary, #6366f1);
1612 box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
1613 }
1614
1615 /* ==========================================================================
1616 Filter Tabs & Search Box
1617 ========================================================================== */
1618
1619 .adb-filter-tabs {
1620 display: inline-flex;
1621 background: var(--color-light-hover, #f1f5f9);
1622 border-radius: 8px;
1623 padding: 4px;
1624 gap: 4px;
1625 }
1626
1627 .adb-filter-tab {
1628 display: inline-flex;
1629 align-items: center;
1630 gap: 6px;
1631 padding: 8px 14px;
1632 font-size: 13px;
1633 font-weight: 500;
1634 color: var(--color-muted, #64748b);
1635 background: transparent;
1636 border: none;
1637 border-radius: 6px;
1638 text-decoration: none;
1639 cursor: pointer;
1640 transition: all 0.15s ease;
1641 white-space: nowrap;
1642 }
1643
1644 .adb-filter-tab:hover {
1645 color: var(--color-dark, #1e293b);
1646 background: rgba(255, 255, 255, 0.5);
1647 text-decoration: none;
1648 }
1649
1650 .adb-filter-tab.active {
1651 color: var(--color-dark, #1e293b);
1652 background: #fff;
1653 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
1654 }
1655
1656 .adb-filter-tab svg {
1657 opacity: 0.7;
1658 }
1659
1660 .adb-filter-tab.active svg {
1661 opacity: 1;
1662 color: var(--color-primary, #6366f1);
1663 }
1664
1665 .adb-search-box {
1666 display: flex;
1667 align-items: center;
1668 flex: 1;
1669 min-width: 200px;
1670 max-width: 400px;
1671 background: #fff;
1672 border: 1px solid var(--color-border, #e2e8f0);
1673 border-radius: 8px;
1674 padding-left: 12px;
1675 transition: all 0.15s ease;
1676 }
1677
1678 .adb-search-box:focus-within {
1679 border-color: var(--color-primary, #6366f1);
1680 box-shadow: 0 0 0 3px var(--color-primary-light, rgba(99, 102, 241, 0.1));
1681 }
1682
1683 .adb-search-box svg {
1684 color: var(--color-muted, #94a3b8);
1685 flex-shrink: 0;
1686 }
1687
1688 .adb-search-box input {
1689 flex: 1;
1690 border: none;
1691 background: transparent;
1692 padding: 10px 12px;
1693 font-size: 14px;
1694 color: var(--color-dark, #1e293b);
1695 outline: none;
1696 }
1697
1698 .adb-search-box input::placeholder {
1699 color: var(--color-muted, #94a3b8);
1700 }
1701
1702 .adb-search-btn {
1703 display: inline-flex;
1704 align-items: center;
1705 justify-content: center;
1706 padding: 8px 16px;
1707 margin: 4px;
1708 font-size: 13px;
1709 font-weight: 500;
1710 color: #fff;
1711 background: linear-gradient(135deg, var(--color-primary, #6366f1) 0%, var(--color-primary-hover, #4f46e5) 100%);
1712 border: none;
1713 border-radius: 6px;
1714 cursor: pointer;
1715 transition: all 0.15s ease;
1716 }
1717
1718 .adb-search-btn:hover {
1719 background: linear-gradient(135deg, var(--color-primary-hover, #4f46e5) 0%, var(--color-primary-active, #4338ca) 100%);
1720 }
1721
1722 /* ==========================================================================
1723 Responsive Styles
1724 ========================================================================== */
1725
1726 @media (max-width: 640px) {
1727 /* Common Card */
1728 .adb-card-header {
1729 flex-direction: column;
1730 align-items: flex-start;
1731 gap: 12px;
1732 }
1733
1734 .adb-card-actions {
1735 width: 100%;
1736 }
1737
1738 /* Package Settings */
1739 .wpdm-settings-tabs__nav {
1740 padding: 8px 12px 0;
1741 }
1742
1743 .wpdm-settings-tabs__btn {
1744 padding: 8px 12px;
1745 font-size: 12px;
1746 }
1747
1748 .wpdm-settings-tabs__btn span {
1749 display: none;
1750 }
1751
1752 .wpdm-settings-tabs__btn svg {
1753 width: 18px;
1754 height: 18px;
1755 }
1756
1757 .wpdm-settings-panel {
1758 padding: 16px;
1759 }
1760
1761 .wpdm-settings-grid {
1762 grid-template-columns: 1fr;
1763 }
1764
1765 .wpdm-stats-row {
1766 grid-template-columns: 1fr;
1767 }
1768
1769 .wpdm-option-row {
1770 flex-direction: column;
1771 align-items: flex-start;
1772 }
1773
1774 .wpdm-option-row__control {
1775 width: 100%;
1776 margin-top: 10px;
1777 }
1778
1779 .wpdm-segmented {
1780 width: 100%;
1781 display: flex;
1782 }
1783
1784 .wpdm-segmented__option {
1785 flex: 1;
1786 }
1787
1788 .wpdm-segmented__option span {
1789 text-align: center;
1790 padding: 8px 10px;
1791 }
1792
1793 /* Attached Files */
1794 .wpdm-file-card__header {
1795 padding: 12px;
1796 }
1797
1798 .wpdm-file-card__info {
1799 flex-direction: column;
1800 align-items: flex-start;
1801 gap: 4px;
1802 }
1803
1804 .wpdm-license-grid {
1805 grid-template-columns: 1fr;
1806 }
1807
1808 /* Lock Options */
1809 .wpdm-lock-card__header {
1810 flex-wrap: wrap;
1811 }
1812
1813 .wpdm-lock-card__info {
1814 flex: 1 1 calc(100% - 70px);
1815 order: 1;
1816 }
1817
1818 .wpdm-toggle {
1819 order: 2;
1820 }
1821
1822 .wpdm-lock-card__icon {
1823 order: 0;
1824 }
1825
1826 .wpdm-lock-field__group {
1827 flex-direction: column;
1828 }
1829
1830 .wpdm-lock-field__btn {
1831 width: 100%;
1832 justify-content: center;
1833 }
1834
1835 .wpdm-pwgen-grid {
1836 grid-template-columns: 1fr;
1837 }
1838
1839 .wpdm-modal__footer {
1840 flex-direction: column;
1841 }
1842
1843 .wpdm-modal__btn {
1844 width: 100%;
1845 justify-content: center;
1846 }
1847
1848 /* Filter & Search */
1849 .adb-filter-tabs {
1850 width: 100%;
1851 }
1852
1853 .adb-filter-tab {
1854 flex: 1;
1855 justify-content: center;
1856 padding: 8px 10px;
1857 font-size: 12px;
1858 }
1859
1860 .adb-filter-tab svg {
1861 display: none;
1862 }
1863
1864 .adb-search-box {
1865 width: 100%;
1866 max-width: none;
1867 }
1868 }
1869