    
        .sidebar-title {
            padding: 8px 16px;
            font-size: 10px;
            color: #94a3b8;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .sidebar-item {
            display: flex;
            padding: 6px 16px;
            color: #64748b;
            text-decoration: none;
            font-size: 13px;
            cursor: pointer;
            transition: all 150ms;
        }
        .sidebar-item:hover {
            background: #f1f5f9;
            color: #1e293b;
        }
        .sidebar-item.active {
            background: #fff;
            color: #3b82f6;
            font-weight: 500;
        }
        /* Main content */
        .main {
            flex: 1;
            padding: 24px;
            overflow-y: auto;
        }
        .placeholder {
            color: #94a3b8;
            font-size: 14px;
        }
        .component-content {
            display: none !important;
        }
        .component-content.active {
            display: block !important;
        }
        .component-title {
            font-size: 18px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 8px;
        }
        .component-desc {
            font-size: 13px;
            color: #64748b;
            margin-bottom: 24px;
        }
        .demo-box {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            padding: 24px;
            margin-bottom: 16px;
        }
        .demo-row {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        /* Icon Button */
        .icon-btn {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            border: 1px solid #d6d6e7;
            border-radius: 4px;
            cursor: pointer;
            color: #23263b;
            transition: all 150ms;
            flex: none;
        }
        .icon-btn:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
            color: #3498db;
        }
        .icon-btn svg {
            width: 16px;
            height: 16px;
        }
        /* Icon Button Variants */
        .icon-btn.danger:hover {
            background: #fef2f2;
            border-color: #fecaca;
            color: #e74c3c;
        }
        .icon-btn.warning:hover {
            background: #fffbeb;
            border-color: #fde68a;
            color: #e67e22;
        }
        .icon-btn.success:hover {
            background: #f0fdf4;
            border-color: #bbf7d0;
            color: #2ecc71;
        }
        /* Tooltip */
        .tooltip {
            position: relative;
        }
        .tooltip::after {
            content: attr(data-tip);
            position: absolute;
            bottom: calc(100% + 6px);
            left: 50%;
            transform: translateX(-50%);
            padding: 4px 8px;
            background: #1e293b;
            color: white;
            font-size: 11px;
            font-weight: 400;
            white-space: nowrap;
            border-radius: 0;
            opacity: 0;
            visibility: hidden;
            transition: all 150ms;
            pointer-events: none;
            z-index: 100;
        }
        .tooltip::before {
            content: '';
            position: absolute;
            bottom: calc(100% + 2px);
            left: 50%;
            transform: translateX(-50%);
            border: 4px solid transparent;
            border-top-color: #1e293b;
            opacity: 0;
            visibility: hidden;
            transition: all 150ms;
            pointer-events: none;
            z-index: 100;
        }
        .tooltip:hover::after,
        .tooltip:hover::before {
            opacity: 1;
            visibility: visible;
        }
        /* Tooltip positions */
        .tooltip.tip-bottom::after {
            bottom: auto;
            top: calc(100% + 6px);
        }
        .tooltip.tip-bottom::before {
            bottom: auto;
            top: calc(100% + 2px);
            border-top-color: transparent;
            border-bottom-color: #1e293b;
        }
        .tooltip.tip-left::after {
            bottom: auto;
            top: 50%;
            left: auto;
            right: calc(100% + 6px);
            transform: translateY(-50%);
        }
        .tooltip.tip-left::before {
            bottom: auto;
            top: 50%;
            left: auto;
            right: calc(100% + 2px);
            transform: translateY(-50%);
            border-top-color: transparent;
            border-left-color: #1e293b;
        }
        .tooltip.tip-right::after {
            bottom: auto;
            top: 50%;
            left: calc(100% + 6px);
            transform: translateY(-50%);
        }
        .tooltip.tip-right::before {
            bottom: auto;
            top: 50%;
            left: calc(100% + 2px);
            transform: translateY(-50%);
            border-top-color: transparent;
            border-right-color: #1e293b;
        }
        /* Text Button */
        .text-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 0px 12px;
            line-height: 30px;
            background: white;
            border: 1px solid #d6d6e7;
            border-radius: 4px;
            cursor: pointer;
            color: #23263b;
            font-size: 13px;
            font-weight: 500;
            transition: all 150ms;
            text-wrap-mode: nowrap;
            flex: none;
        }
        .text-btn:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
            color: #3498db;
        }
        .text-btn svg {
            width: 16px;
            height: 16px;
            flex: none;
        }
        /* Text Button Variants */
        .text-btn.danger:hover {
            background: #fef2f2;
            border-color: #fecaca;
            color: #e74c3c;
        }
        .text-btn.warning:hover {
            background: #fffbeb;
            border-color: #fde68a;
            color: #e67e22;
        }
        .text-btn.success:hover {
            background: #f0fdf4;
            border-color: #bbf7d0;
            color: #2ecc71;
        }
        /* Primary filled button */
        .text-btn.primary {
            background: #3498db;
            border-color: #3498db;
            color: white;
        }
        .text-btn.primary:hover {
            background: #2980b9;
            border-color: #2980b9;
            color: white;
        }
        /* Danger filled button */
        .text-btn.danger-filled {
            background: #e74c3c;
            border-color: #e74c3c;
            color: white;
        }
        .text-btn.danger-filled:hover {
            background: #c0392b;
            border-color: #c0392b;
            color: white;
        }
        /* Warning filled button */
        .text-btn.warning-filled {
            background: #e67e22;
            border-color: #e67e22;
            color: white;
        }
        .text-btn.warning-filled:hover {
            background: #d35400;
            border-color: #d35400;
            color: white;
        }
        /* Success filled button */
        .text-btn.success-filled {
            background: #2ecc71;
            border-color: #2ecc71;
            color: white;
        }
        .text-btn.success-filled:hover {
            background: #27ae60;
            border-color: #27ae60;
            color: white;
        }
        /* Link style - no background, just text */
        .text-btn.link {
            background: transparent;
            border: none;
            color: #3498db;
            padding: 8px 12px;
        }
        .text-btn.link:hover {
            background: #eff6ff;
            color: #3498db;
        }
        /* Page Title */
        .page-title {
            margin-bottom: 24px;
        }
        .page-title .subtitle {
            font-size: 11px;
            font-weight: 400;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 4px;
        }
        .page-title .title {
            font-size: 24px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 12px;
        }
        .page-title .description {
            font-size: 13px;
            color: #64748b;
            margin-top: 12px;
            line-height: 1.5;
        }
        .page-title .info-row {
            display: flex;
            align-items: center;
            gap: 24px;
        }
        .page-title .info-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            color: #64748b;
        }
        .page-title .info-item .icon-badge {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #3498db;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .page-title .info-item .icon-badge svg {
            width: 10px;
            height: 10px;
            color: white;
        }
        .page-title .info-item svg.icon-outline {
            width: 18px;
            height: 18px;
            color: #64748b;
        }
        .page-title .info-item .value {
            color: #3498db;
            font-weight: 500;
        }
        /* Tab Menu */
        .tab-menu {
            display: flex;
            align-items: center;
            gap: 0;
            border-bottom: 1px solid #e2e8f0;
        }
        .tab-menu .tab-item {
            padding: 12px 16px;
            font-size: 13px;
            color: #64748b;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            margin-bottom: -1px;
            transition: all 150ms;
        }
        .tab-menu .tab-item:hover {
            color: #1e293b;
        }
        .tab-menu .tab-item.active {
            color: #3498db;
            border-bottom-color: #3498db;
        }
        /* Tab Menu Style 2 - Pills */
        .tab-menu.pills {
            border-bottom: none;
            gap: 8px;
            background: #f1f5f9;
            padding: 4px;
            border-radius: 0;
            width: fit-content;
        }
        .tab-menu.pills .tab-item {
            padding: 8px 16px;
            border-radius: 0;
            border-bottom: none;
            margin-bottom: 0;
        }
        .tab-menu.pills .tab-item.active {
            background: white;
            color: #1e293b;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        /* Tab Menu Style 3 - Boxed */
        .tab-menu.boxed {
            border-bottom: 1px solid #e2e8f0;
            gap: 0;
        }
        .tab-menu.boxed .tab-item {
            padding: 10px 20px;
            border: 1px solid transparent;
            border-bottom: none;
            margin-bottom: -1px;
            border-radius: 0 6px 0 0;
        }
        .tab-menu.boxed .tab-item.active {
            border-color: #e2e8f0;
            background: white;
            color: #1e293b;
        }
        /* Tab Menu Style 7 - Segmented */
        .tab-menu.segmented {
            border-bottom: none;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            overflow: hidden;
            width: fit-content;
        }
        .tab-menu.segmented .tab-item {
            padding: 10px 20px;
            border-bottom: none;
            margin-bottom: 0;
            border-right: 1px solid #e2e8f0;
        }
        .tab-menu.segmented .tab-item:last-child {
            border-right: none;
        }
        .tab-menu.segmented .tab-item.active {
            background: #3498db;
            color: white;
        }
        /* Tab Menu Style 9 - Bordered */
        .tab-menu.bordered {
            border-bottom: none;
            gap: 8px;
        }
        .tab-menu.bordered .tab-item {
            padding: 8px 16px;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            margin-bottom: 0;
        }
        .tab-menu.bordered .tab-item:hover {
            border-color: #94a3b8;
        }
        .tab-menu.bordered .tab-item.active {
            border-color: #3498db;
            background: #eff6ff;
        }
        /* Dialog */
        .dialog-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(30, 58, 95, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 200ms;
        }
        .dialog-overlay.open {
            opacity: 1;
            visibility: visible;
        }
        .dialog {
            background: white;
            border-radius: 0;
            padding: 24px;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 20px 50px rgba(0,0,0,0.2);
            transform: scale(0.95);
            transition: transform 200ms;
        }
        .dialog-overlay.open .dialog {
            transform: scale(1);
        }
        .dialog-title {
            font-size: 18px;
            font-weight: 500;
            color: #1e293b;
            margin-bottom: 12px;
        }
        .dialog-content {
            font-size: 14px;
            color: #64748b;
            line-height: 1.6;
            margin-bottom: 24px;
        }
        .dialog-actions {
            display: flex;
            justify-content: flex-end;
            gap: 8px;
        }
        .dialog-btn {
            padding: 8px 16px;
            font-size: 13px;
            font-weight: 500;
            border: none;
            background: transparent;
            color: #3498db;
            cursor: pointer;
            border-radius: 0;
            transition: background 150ms;
        }
        .dialog-btn:hover {
            background: #eff6ff;
        }
        .dialog-btn.primary {
            background: #3498db;
            color: white;
        }
        .dialog-btn.primary:hover {
            background: #2980b9;
        }
        /* Demo dialog (relative positioning for demo) */
        .demo-dialog-overlay {
            position: relative;
            background: rgba(30, 58, 95, 0.5);
            padding: 40px;
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .demo-dialog-overlay .dialog {
            transform: scale(1);
            position: relative;
        }
        /* Dialog with list */
        .dialog-list {
            margin: 0 -24px;
            padding: 0;
            list-style: none;
        }
        .dialog-list-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 12px 24px;
            cursor: pointer;
            transition: background 150ms;
        }
        .dialog-list-item:hover {
            background: #f8fafc;
        }
        .dialog-list-item input[type="radio"] {
            width: 20px;
            height: 20px;
            accent-color: #3498db;
        }
        .dialog-list-item label {
            font-size: 14px;
            color: #1e293b;
            cursor: pointer;
        }
        /* Dialog with form */
        .dialog-form-group {
            margin-bottom: 16px;
        }
        .dialog-form-label {
            display: block;
            font-size: 12px;
            color: #64748b;
            margin-bottom: 8px;
        }
        .dialog-form-label .required {
            color: #e74c3c;
        }
        .dialog-input {
            width: 100%;
            padding: 8px 0;
            font-size: 14px;
            border: none;
            border-bottom: 1px solid #e2e8f0;
            outline: none;
            background: transparent;
            color: #1e293b;
        }
        .dialog-input:focus {
            border-bottom-color: #3498db;
        }
        /* Scrollable dialog */
        .dialog.scrollable .dialog-content {
            max-height: 300px;
            overflow-y: auto;
            margin: 0 -24px;
            padding: 0 24px;
        }
        /* Input Group Styles */
        .input-group {
            margin-bottom: 16px;
        }
        .input-group label {
            display: block;
            font-size: 13px;
            color: #64748b;
            margin-bottom: 6px;
        }
        .input-group label .required {
            color: #e74c3c;
        }
        /* Floating Label Style */
        .input-group.floating {
            position: relative;
        }
        .input-group.floating input,
        .input-group.floating textarea {
            width: 100%;
            padding: 20px 12px 8px;
            font-size: 14px;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            outline: none;
            background: white;
            color: #1e293b;
            transition: all 200ms;
        }
        .input-group.floating label {
            position: absolute;
            top: 14px;
            left: 12px;
            font-size: 14px;
            color: #94a3b8;
            transition: all 200ms;
            pointer-events: none;
            margin-bottom: 0;
        }
        .input-group.floating input:focus,
        .input-group.floating textarea:focus {
            border-color: #3498db;
        }
        .input-group.floating input:focus + label,
        .input-group.floating input:not(:placeholder-shown) + label,
        .input-group.floating textarea:focus + label,
        .input-group.floating textarea:not(:placeholder-shown) + label {
            top: 6px;
            font-size: 11px;
            color: #3498db;
        }
        .input-group.floating .checkbox-row {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .input-group.floating .checkbox-row input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: #3498db;
        }
        /* Custom Select Box */
        .custom-select {
            position: relative;
            width: 100%;
        }
        .custom-select.floating {
            margin-bottom: 16px;
        }
        .custom-select .select-trigger {
            width: 100%;
            padding: 14px 40px 14px 12px;
            font-size: 14px;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            outline: none;
            background: white;
            color: transparent;
            cursor: pointer;
            transition: all 200ms;
            text-align: left;
            position: relative;
        }
        .custom-select.has-value .select-trigger,
        .custom-select.open .select-trigger {
            padding: 20px 40px 8px 12px;
            color: #1e293b;
        }
        .custom-select .select-trigger::after {
            content: '';
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 5px solid #94a3b8;
            transition: transform 200ms;
        }
        .custom-select.open .select-trigger::after {
            transform: translateY(-50%) rotate(180deg);
        }
        .custom-select .select-trigger:hover {
            border-color: #94a3b8;
        }
        .custom-select.open .select-trigger,
        .custom-select .select-trigger:focus {
            border-color: #3498db;
        }
        .custom-select .select-label {
            position: absolute;
            top: 50%;
            left: 12px;
            transform: translateY(-50%);
            font-size: 14px;
            color: #94a3b8;
            transition: all 200ms;
            pointer-events: none;
            z-index: 1;
        }
        .custom-select.has-value .select-label,
        .custom-select.open .select-label {
            top: 8px;
            transform: translateY(0);
            font-size: 11px;
            color: #3498db;
        }
        .custom-select .select-options {
            position: absolute;
            top: calc(100% + 4px);
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            z-index: 100;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: all 200ms;
            max-height: 200px;
            overflow-y: auto;
        }
        .custom-select.open .select-options {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .custom-select .select-option {
            padding: 10px 12px;
            font-size: 14px;
            color: #1e293b;
            cursor: pointer;
            transition: background 150ms;
        }
        .custom-select .select-option:hover {
            background: #f8fafc;
        }
        .custom-select .select-option.selected {
            background: #eff6ff;
            color: #3498db;
        }
        /* Popup Overlay */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            padding: 20px;
        }
        /* Popup */
        .popup {
            background: white;
            border-radius: 4px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
            width: 100%;
            max-width: 520px;
            overflow: hidden;
        }
        .popup-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 24px;
            border-bottom: 1px solid #ededed;
            background: #f7f7f7;
        }
        .popup-title {
            font-size: 18px;
            font-weight: 600;
            color: #1e293b;
        }
        .popup-close {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            border: none;
            border-radius: 0;
            cursor: pointer;
            color: #64748b;
            transition: all 150ms;
        }
        .popup-close:hover {
            background: #f1f5f9;
            color: #1e293b;
        }
        .popup-close svg {
            width: 20px;
            height: 20px;
        }
        .popup-body {
            padding: 24px;
        }
        .popup-info {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 14px 16px;
            background: #f0f9ff;
            border: 1px solid #bae6fd;
            border-radius: 0;
            margin-bottom: 20px;
        }
        .popup-info-icon {
            flex-shrink: 0;
            width: 20px;
            height: 20px;
            color: #0284c7;
        }
        .popup-info-text {
            font-size: 13px;
            color: #0c4a6e;
            line-height: 1.5;
        }
        .popup-label {
            display: block;
            font-size: 14px;
            font-weight: 500;
            color: #374151;
            margin-bottom: 8px;
        }
        .popup-input {
            width: 100%;
            padding: 12px 14px;
            font-size: 14px;
            border: 2px solid #3b82f6;
            border-radius: 0;
            outline: none;
            background: white;
            color: #1e293b;
            transition: all 200ms;
        }
        .popup-input::placeholder {
            color: #94a3b8;
        }
        .popup-input:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }
        .popup-btn {
            width: 100%;
            padding: 8px 20px;
            font-size: 15px;
            font-weight: 500;
            color: white;
            background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: all 200ms;
            margin-top: 20px;
        }
        .popup-btn:hover {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }
        .popup-btn:active {
            transform: translateY(0);
        }
        .popup-btn.danger {
            background: #ef4444;
        }
        .popup-btn.danger:hover {
            background: #dc2626;
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
        }
        .popup-btn-outline {
            width: 100%;
            padding: 14px 20px;
            font-size: 15px;
            font-weight: 500;
            color: #374151;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            cursor: pointer;
            transition: all 200ms;
        }
        .popup-btn-outline:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
        }
        .popup-actions {
            display: flex;
            gap: 12px;
            margin-top: 20px;
        }
        .popup-warning {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #dc2626;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 12px;
        }
        .popup-warning-icon {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }
        .popup-text {
            font-size: 14px;
            color: #4b5563;
            line-height: 1.6;
            margin-bottom: 16px;
        }
        .popup-text strong {
            color: #1e293b;
        }
        .popup-stat {
            background: #f3f4f6;
            border-radius: 0;
            padding: 12px 16px;
            font-size: 14px;
            color: #374151;
            margin-bottom: 16px;
        }
        .popup-stat strong {
            color: #1e293b;
        }
        .popup-checkbox {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 8px;
        }
        .popup-checkbox input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin-top: 2px;
            accent-color: #3b82f6;
            flex-shrink: 0;
        }
        .popup-checkbox-label {
            font-size: 14px;
            color: #1e293b;
            font-weight: 500;
        }
        .popup-checkbox-desc {
            font-size: 13px;
            color: #6b7280;
            margin-left: 28px;
        }
        /* Chart */
        .chart-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            padding: 20px 24px;
        }
        .chart-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
        }
        .chart-title {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .chart-title.blue {
            color: #3b82f6;
        }
        .chart-title.pink {
            color: #ec4899;
        }
        .chart-title-icon {
            width: 16px;
            height: 16px;
        }
        .chart-period {
            font-size: 13px;
            color: #3b82f6;
        }
        .chart-metric {
            padding: 16px 0;
            border-bottom: 1px solid #f1f5f9;
        }
        .chart-metric:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        .chart-metric-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .chart-metric-label {
            font-size: 13px;
            color: #6b7280;
        }
        .chart-metric-value {
            font-size: 28px;
            font-weight: 600;
            color: #1e293b;
            margin-top: 4px;
        }
        .chart-sparkline {
            width: 200px;
            height: 40px;
        }
        .chart-sparkline path {
            fill: none;
            stroke: #3b82f6;
            stroke-width: 2;
        }
        /* Stat Cards */
        .stat-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            padding: 20px;
            min-height: 140px;
            display: flex;
            flex-direction: column;
        }
        .stat-header {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 8px;
        }
        .stat-label {
            font-size: 14px;
            font-weight: 500;
            color: #374151;
        }
        .stat-info-icon {
            width: 16px;
            height: 16px;
            color: #9ca3af;
        }
        .stat-value {
            font-size: 28px;
            font-weight: 600;
            color: #1e293b;
        }
        .stat-sub {
            font-size: 13px;
            color: #6b7280;
            margin-left: 8px;
            font-weight: 400;
        }
        .stat-chart {
            flex: 1;
            display: flex;
            align-items: flex-end;
            margin-top: 12px;
        }
        .stat-chart svg {
            width: 100%;
            height: 50px;
        }
        .stat-chart path {
            fill: none;
            stroke: #3b82f6;
            stroke-width: 2;
        }
        .stat-chart path.fill {
            fill: rgba(59, 130, 246, 0.1);
            stroke: none;
        }
        .stat-empty {
            font-size: 13px;
            color: #3b82f6;
            margin-top: auto;
        }
        .stat-btn {
            display: inline-flex;
            align-items: center;
            padding: 8px 12px;
            font-size: 13px;
            color: #374151;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            cursor: pointer;
            margin-top: 8px;
        }
        .stat-btn:hover {
            background: #f8fafc;
        }
        .stat-error {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            flex: 1;
            padding: 12px;
            background: #fef2f2;
            border: 1px solid #fecaca;
            border-radius: 0;
            margin-top: 8px;
        }
        .stat-error-icon {
            width: 20px;
            height: 20px;
            color: #9ca3af;
            margin-bottom: 4px;
        }
        .stat-error-text {
            font-size: 13px;
            font-weight: 500;
            color: #374151;
        }
        .stat-error-code {
            font-size: 12px;
            color: #6b7280;
        }
        .stat-error-btn {
            padding: 6px 16px;
            font-size: 13px;
            color: #374151;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            cursor: pointer;
            margin-top: 8px;
        }
        /* Data Table */
        .data-table-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            overflow: hidden;
        }
        .data-table-header {
            padding: 16px 20px;
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
            border-bottom: 1px solid #e2e8f0;
        }
        .data-table {
            width: 100%;
        }
        .data-table th {
            padding: 12px 20px;
            font-size: 12px;
            font-weight: 500;
            color: #6b7280;
            text-align: left;
            background: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
        }
        .data-table th:last-child {
            text-align: right;
        }
        .data-table td {
            padding: 14px 20px;
            font-size: 14px;
            color: #1e293b;
            border-bottom: 1px solid #f1f5f9;
        }
        .data-table tr:last-child td {
            border-bottom: none;
        }
        .data-table td:last-child {
            text-align: right;
        }
        .data-table-link {
            color: #3b82f6;
            text-decoration: none;
        }
        .data-table-link:hover {
            text-decoration: underline;
        }
        .data-table-product {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .data-table-product-img {
            width: 32px;
            height: 32px;
            background: #f1f5f9;
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }
        .data-table-eye {
            width: 18px;
            height: 18px;
            color: #9ca3af;
            cursor: pointer;
        }
        .data-table-eye:hover {
            color: #3b82f6;
        }
        .data-table-footer {
            padding: 14px 20px;
            text-align: center;
            border-top: 1px solid #e2e8f0;
        }
        .data-table-more {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 13px;
            color: #3b82f6;
            text-decoration: none;
            font-weight: 500;
        }
        .data-table-more:hover {
            text-decoration: underline;
        }
        /* Chart Tooltip */
        .chart-tooltip {
            background: #1e293b;
            border-radius: 0;
            padding: 12px 16px;
            min-width: 160px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        .chart-tooltip-title {
            font-size: 13px;
            font-weight: 500;
            color: white;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            margin-bottom: 10px;
        }
        .chart-tooltip-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            padding: 4px 0;
        }
        .chart-tooltip-label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: rgba(255,255,255,0.8);
        }
        .chart-tooltip-dot {
            width: 10px;
            height: 10px;
            border-radius: 0;
            flex-shrink: 0;
        }
        .chart-tooltip-dot.blue { background: #3b82f6; }
        .chart-tooltip-dot.light-blue { background: #60a5fa; }
        .chart-tooltip-dot.cyan { background: #22d3d3; }
        .chart-tooltip-dot.pink { background: #ec4899; }
        .chart-tooltip-dot.purple { background: #8b5cf6; }
        .chart-tooltip-dot.orange { background: #f97316; }
        .chart-tooltip-dot.yellow { background: #eab308; }
        .chart-tooltip-dot.green { background: #22c55e; }
        .chart-tooltip-dot.gray { background: #6b7280; }
        .chart-tooltip-value {
            font-size: 13px;
            font-weight: 600;
            color: white;
        }
        /* Simple Tooltip */
        .chart-tooltip-simple {
            background: #1e293b;
            border-radius: 0;
            padding: 12px 16px;
            min-width: 140px;
        }
        .chart-tooltip-date {
            font-size: 12px;
            color: rgba(255,255,255,0.7);
            text-transform: uppercase;
            margin-bottom: 4px;
        }
        .chart-tooltip-big-value {
            font-size: 20px;
            font-weight: 600;
            color: white;
        }
        /* No Data Tooltip */
        .chart-tooltip-empty {
            background: #1e293b;
            border-radius: 0;
            padding: 12px 16px;
            min-width: 180px;
        }
        .chart-tooltip-empty-title {
            font-size: 13px;
            color: rgba(255,255,255,0.6);
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            margin-bottom: 10px;
        }
        /* Progress Bar */
        .progress-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            padding: 20px;
        }
        .progress-item {
            margin-bottom: 16px;
        }
        .progress-item:last-child {
            margin-bottom: 0;
        }
        .progress-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }
        .progress-label {
            font-size: 14px;
            font-weight: 500;
            color: #374151;
        }
        .progress-value {
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
        }
        .progress-bar {
            height: 8px;
            background: #e2e8f0;
            border-radius: 0;
            overflow: hidden;
        }
        .progress-fill {
            height: 100%;
            border-radius: 0;
            transition: width 0.3s ease;
        }
        .progress-fill.blue { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
        .progress-fill.green { background: linear-gradient(90deg, #22c55e, #4ade80); }
        .progress-fill.purple { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
        .progress-fill.orange { background: linear-gradient(90deg, #f97316, #fb923c); }
        .progress-fill.pink { background: linear-gradient(90deg, #ec4899, #f472b6); }
        .progress-fill.cyan { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
        /* KPI Card */
        .kpi-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            padding: 20px;
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .kpi-icon {
            width: 48px;
            height: 48px;
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .kpi-icon.blue { background: #eff6ff; color: #3b82f6; }
        .kpi-icon.green { background: #f0fdf4; color: #22c55e; }
        .kpi-icon.purple { background: #f5f3ff; color: #8b5cf6; }
        .kpi-icon.orange { background: #fff7ed; color: #f97316; }
        .kpi-icon.pink { background: #fdf2f8; color: #ec4899; }
        .kpi-icon svg {
            width: 24px;
            height: 24px;
        }
        .kpi-content {
            flex: 1;
        }
        .kpi-label {
            font-size: 13px;
            color: #6b7280;
            margin-bottom: 4px;
        }
        .kpi-value {
            font-size: 24px;
            font-weight: 700;
            color: #1e293b;
        }
        .kpi-change {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 13px;
            font-weight: 500;
            margin-top: 4px;
        }
        .kpi-change.up { color: #22c55e; }
        .kpi-change.down { color: #ef4444; }
        .kpi-change svg {
            width: 16px;
            height: 16px;
        }
        /* Gauge Card */
        .gauge-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            padding: 20px;
            text-align: center;
        }
        .gauge-title {
            font-size: 14px;
            font-weight: 500;
            color: #374151;
            margin-bottom: 16px;
        }
        .gauge-container {
            position: relative;
            width: 140px;
            height: 70px;
            margin: 0 auto;
        }
        .gauge-bg {
            fill: none;
            stroke: #e2e8f0;
            stroke-width: 12;
        }
        .gauge-fill {
            fill: none;
            stroke-width: 12;
            stroke-linecap: round;
            transition: stroke-dashoffset 0.5s ease;
        }
        .gauge-fill.blue { stroke: #3b82f6; }
        .gauge-fill.green { stroke: #22c55e; }
        .gauge-fill.orange { stroke: #f97316; }
        .gauge-fill.red { stroke: #ef4444; }
        .gauge-value {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            font-size: 24px;
            font-weight: 700;
            color: #1e293b;
        }
        .gauge-label {
            font-size: 13px;
            color: #6b7280;
            margin-top: 8px;
        }
        /* Activity Timeline */
        .timeline-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            padding: 20px;
        }
        .timeline-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 16px;
        }
        .timeline-item {
            display: flex;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid #f1f5f9;
        }
        .timeline-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        .timeline-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin-top: 5px;
            flex-shrink: 0;
        }
        .timeline-dot.blue { background: #3b82f6; }
        .timeline-dot.green { background: #22c55e; }
        .timeline-dot.orange { background: #f97316; }
        .timeline-dot.purple { background: #8b5cf6; }
        .timeline-dot.pink { background: #ec4899; }
        .timeline-content {
            flex: 1;
        }
        .timeline-text {
            font-size: 14px;
            color: #374151;
        }
        .timeline-text strong {
            color: #1e293b;
        }
        .timeline-time {
            font-size: 12px;
            color: #9ca3af;
            margin-top: 4px;
        }
        /* Horizontal Bar */
        .hbar-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            padding: 20px;
        }
        .hbar-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 16px;
        }
        .hbar-item {
            margin-bottom: 12px;
        }
        .hbar-item:last-child {
            margin-bottom: 0;
        }
        .hbar-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 6px;
        }
        .hbar-label {
            font-size: 13px;
            color: #374151;
        }
        .hbar-value {
            font-size: 13px;
            font-weight: 600;
            color: #1e293b;
        }
        .hbar-bar {
            height: 24px;
            background: #f1f5f9;
            border-radius: 0;
            overflow: hidden;
        }
        .hbar-fill {
            height: 100%;
            border-radius: 0;
            display: flex;
            align-items: center;
            padding-left: 8px;
            font-size: 11px;
            font-weight: 600;
            color: white;
        }
        .hbar-fill.blue { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
        .hbar-fill.green { background: linear-gradient(90deg, #22c55e, #4ade80); }
        .hbar-fill.purple { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
        .hbar-fill.orange { background: linear-gradient(90deg, #f97316, #fb923c); }
        /* Mini Stat Card */
        .mini-stat {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            padding: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .mini-stat-left {
            display: flex;
            flex-direction: column;
        }
        .mini-stat-value {
            font-size: 20px;
            font-weight: 700;
            color: #1e293b;
        }
        .mini-stat-label {
            font-size: 12px;
            color: #6b7280;
            margin-top: 2px;
        }
        .mini-stat-badge {
            padding: 4px 8px;
            border-radius: 0;
            font-size: 12px;
            font-weight: 600;
        }
        .mini-stat-badge.up {
            background: #f0fdf4;
            color: #22c55e;
        }
        .mini-stat-badge.down {
            background: #fef2f2;
            color: #ef4444;
        }
        /* Leaderboard Card */
        .leaderboard-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            overflow: hidden;
        }
        .leaderboard-header {
            padding: 16px 20px;
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
            border-bottom: 1px solid #e2e8f0;
        }
        .leaderboard-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 20px;
            border-bottom: 1px solid #f1f5f9;
        }
        .leaderboard-item:last-child {
            border-bottom: none;
        }
        .leaderboard-rank {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 700;
            flex-shrink: 0;
        }
        .leaderboard-rank.gold { background: #fef3c7; color: #d97706; }
        .leaderboard-rank.silver { background: #f1f5f9; color: #64748b; }
        .leaderboard-rank.bronze { background: #fed7aa; color: #c2410c; }
        .leaderboard-rank.default { background: #f8fafc; color: #94a3b8; }
        .leaderboard-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 600;
            color: white;
        }
        .leaderboard-info {
            flex: 1;
        }
        .leaderboard-name {
            font-size: 14px;
            font-weight: 500;
            color: #1e293b;
        }
        .leaderboard-sub {
            font-size: 12px;
            color: #9ca3af;
        }
        .leaderboard-score {
            font-size: 16px;
            font-weight: 700;
            color: #1e293b;
        }
        /* Comparison Card */
        .comparison-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            padding: 20px;
        }
        .comparison-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        .comparison-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .comparison-period {
            font-size: 13px;
            color: #3b82f6;
        }
        .comparison-row {
            display: flex;
            gap: 16px;
            margin-bottom: 16px;
        }
        .comparison-row:last-child {
            margin-bottom: 0;
        }
        .comparison-item {
            flex: 1;
            padding: 16px;
            border-radius: 0;
            background: #f8fafc;
        }
        .comparison-label {
            font-size: 12px;
            color: #6b7280;
            margin-bottom: 8px;
        }
        .comparison-value {
            font-size: 24px;
            font-weight: 700;
            color: #1e293b;
        }
        .comparison-change {
            font-size: 12px;
            font-weight: 500;
            margin-top: 4px;
        }
        .comparison-change.up { color: #22c55e; }
        .comparison-change.down { color: #ef4444; }
        /* Status List */
        .status-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            padding: 20px;
        }
        .status-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 16px;
        }
        .status-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #f1f5f9;
        }
        .status-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        .status-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .status-icon {
            width: 32px;
            height: 32px;
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .status-icon.blue { background: #eff6ff; color: #3b82f6; }
        .status-icon.green { background: #f0fdf4; color: #22c55e; }
        .status-icon.purple { background: #f5f3ff; color: #8b5cf6; }
        .status-icon.orange { background: #fff7ed; color: #f97316; }
        .status-icon svg {
            width: 18px;
            height: 18px;
        }
        .status-label {
            font-size: 14px;
            color: #374151;
        }
        .status-badge {
            padding: 4px 10px;
            border-radius: 0;
            font-size: 12px;
            font-weight: 500;
        }
        .status-badge.success { background: #f0fdf4; color: #22c55e; }
        .status-badge.warning { background: #fffbeb; color: #d97706; }
        .status-badge.error { background: #fef2f2; color: #ef4444; }
        .status-badge.info { background: #eff6ff; color: #3b82f6; }
        /* Notification Card */
        .notification-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            overflow: hidden;
        }
        .notification-header {
            padding: 16px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #e2e8f0;
        }
        .notification-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .notification-count {
            background: #ef4444;
            color: white;
            font-size: 11px;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 0;
        }
        .notification-item {
            display: flex;
            gap: 12px;
            padding: 14px 20px;
            border-bottom: 1px solid #f1f5f9;
            transition: background 0.15s;
        }
        .notification-item:hover {
            background: #f8fafc;
        }
        .notification-item.unread {
            background: #eff6ff;
        }
        .notification-item:last-child {
            border-bottom: none;
        }
        .notification-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .notification-icon.blue { background: #dbeafe; color: #3b82f6; }
        .notification-icon.green { background: #dcfce7; color: #22c55e; }
        .notification-icon.orange { background: #fed7aa; color: #f97316; }
        .notification-icon.red { background: #fecaca; color: #ef4444; }
        .notification-icon svg {
            width: 18px;
            height: 18px;
        }
        .notification-content {
            flex: 1;
        }
        .notification-text {
            font-size: 14px;
            color: #374151;
            line-height: 1.4;
        }
        .notification-text strong {
            color: #1e293b;
        }
        .notification-time {
            font-size: 12px;
            color: #9ca3af;
            margin-top: 4px;
        }
        /* Usage Bar Card */
        .usage-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            padding: 20px;
        }
        .usage-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 16px;
        }
        .usage-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .usage-subtitle {
            font-size: 13px;
            color: #6b7280;
            margin-top: 2px;
        }
        .usage-value-wrap {
            text-align: right;
        }
        .usage-value {
            font-size: 20px;
            font-weight: 700;
            color: #1e293b;
        }
        .usage-total {
            font-size: 13px;
            color: #9ca3af;
        }
        .usage-bar {
            height: 12px;
            background: #e2e8f0;
            border-radius: 0;
            overflow: hidden;
            display: flex;
        }
        .usage-fill {
            height: 100%;
            transition: width 0.3s ease;
        }
        .usage-fill:first-child { border-radius: 0 0 0 6px; }
        .usage-fill:last-child { border-radius: 0 6px 6px 0; }
        .usage-legend {
            display: flex;
            gap: 16px;
            margin-top: 12px;
        }
        .usage-legend-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: #6b7280;
        }
        .usage-legend-dot {
            width: 8px;
            height: 8px;
            border-radius: 0;
        }
        /* Search Stats Card */
        .search-stats-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 24px;
        }
        .search-stats-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        .search-stats-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .search-stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
        }
        .search-stat-item {
            text-align: center;
            padding: 16px;
            background: #f8fafc;
        }
        .search-stat-value {
            font-size: 28px;
            font-weight: 700;
            color: #3498db;
        }
        .search-stat-label {
            font-size: 12px;
            color: #64748b;
            margin-top: 4px;
        }
        .search-stat-trend {
            font-size: 11px;
            font-weight: 600;
            margin-top: 8px;
        }
        .search-stat-trend.up { color: #27ae60; }
        .search-stat-trend.down { color: #e74c3c; }
        /* Query List */
        .query-list-card {
            background: white;
            border: 1px solid #e2e8f0;
        }
        .query-list-header {
            padding: 16px 20px;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .query-list-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .query-list-item {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            border-bottom: 1px solid #f1f5f9;
        }
        .query-list-item:last-child {
            border-bottom: none;
        }
        .query-rank {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 700;
            color: #64748b;
            background: #f1f5f9;
            margin-right: 12px;
        }
        .query-text {
            flex: 1;
            font-size: 14px;
            color: #1e293b;
        }
        .query-count {
            font-size: 14px;
            font-weight: 600;
            color: #3498db;
        }
        .query-bar {
            width: 100px;
            height: 6px;
            background: #e2e8f0;
            margin-left: 12px;
        }
        .query-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, #3498db, #5dade2);
        }
        /* Email Campaign Card */
        .email-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .email-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        .email-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .email-subtitle {
            font-size: 12px;
            color: #64748b;
            margin-top: 2px;
        }
        .email-badge {
            padding: 4px 10px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
        }
        .email-badge.sent { background: #e8f5e9; color: #27ae60; }
        .email-badge.draft { background: #f1f5f9; color: #64748b; }
        .email-badge.scheduled { background: #e3f2fd; color: #3498db; }
        .email-metrics {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            margin-bottom: 20px;
        }
        .email-metric {
            text-align: center;
            padding: 12px;
            background: #f8fafc;
        }
        .email-metric-value {
            font-size: 20px;
            font-weight: 700;
            color: #1e293b;
        }
        .email-metric-label {
            font-size: 11px;
            color: #64748b;
            margin-top: 2px;
        }
        .email-funnel {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .email-funnel-step {
            flex: 1;
            height: 8px;
            position: relative;
        }
        .email-funnel-step::after {
            content: '';
            position: absolute;
            right: -4px;
            top: 50%;
            transform: translateY(-50%);
            border: 4px solid transparent;
            border-left-color: #e2e8f0;
        }
        .email-funnel-step:last-child::after {
            display: none;
        }
        .email-funnel-fill {
            height: 100%;
        }
        /* Tracking Events Card */
        .tracking-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .tracking-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        .tracking-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .tracking-live {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            font-weight: 500;
            color: #27ae60;
        }
        .tracking-live-dot {
            width: 8px;
            height: 8px;
            background: #27ae60;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        .tracking-event {
            display: flex;
            align-items: flex-start;
            padding: 12px 0;
            border-bottom: 1px solid #f1f5f9;
        }
        .tracking-event:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        .tracking-icon {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            flex-shrink: 0;
        }
        .tracking-icon.view { background: #e3f2fd; color: #3498db; }
        .tracking-icon.click { background: #e8f5e9; color: #27ae60; }
        .tracking-icon.cart { background: #fff3e0; color: #e67e22; }
        .tracking-icon.purchase { background: #fce4ec; color: #e74c3c; }
        .tracking-icon.search { background: #f3e5f5; color: #9b59b6; }
        .tracking-icon svg {
            width: 16px;
            height: 16px;
        }
        .tracking-content {
            flex: 1;
        }
        .tracking-text {
            font-size: 13px;
            color: #374151;
        }
        .tracking-text strong {
            color: #1e293b;
        }
        .tracking-meta {
            display: flex;
            gap: 12px;
            margin-top: 4px;
            font-size: 11px;
            color: #94a3b8;
        }
        .tracking-time {
            font-size: 12px;
            color: #94a3b8;
            white-space: nowrap;
        }
        /* Conversion Funnel */
        .funnel-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .funnel-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 20px;
        }
        .funnel-step {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
        }
        .funnel-step:last-child {
            margin-bottom: 0;
        }
        .funnel-label {
            width: 120px;
            font-size: 13px;
            color: #64748b;
        }
        .funnel-bar-container {
            flex: 1;
            height: 32px;
            background: #f1f5f9;
            position: relative;
        }
        .funnel-bar {
            height: 100%;
            display: flex;
            align-items: center;
            padding-left: 12px;
            font-size: 12px;
            font-weight: 600;
            color: white;
        }
        .funnel-value {
            width: 80px;
            text-align: right;
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
            margin-left: 12px;
        }
        .funnel-percent {
            font-size: 12px;
            color: #64748b;
            font-weight: 400;
        }
        /* Heatmap Grid */
        .heatmap-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .heatmap-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 16px;
        }
        .heatmap-grid {
            display: grid;
            grid-template-columns: 40px repeat(7, 1fr);
            gap: 2px;
        }
        .heatmap-day {
            font-size: 10px;
            color: #94a3b8;
            text-align: center;
            padding: 4px 0;
        }
        .heatmap-hour {
            font-size: 10px;
            color: #94a3b8;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding-right: 8px;
        }
        .heatmap-cell {
            aspect-ratio: 1;
            transition: transform 0.15s;
        }
        .heatmap-cell:hover {
            transform: scale(1.1);
            z-index: 1;
        }
        .heatmap-legend {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 4px;
            margin-top: 12px;
            font-size: 10px;
            color: #94a3b8;
        }
        .heatmap-legend-cell {
            width: 16px;
            height: 16px;
        }
        /* Real-time Counter */
        .realtime-card {
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            padding: 24px;
            color: white;
        }
        .realtime-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        .realtime-title {
            font-size: 13px;
            color: rgba(255,255,255,0.7);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .realtime-live {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 11px;
            color: #4ade80;
        }
        .realtime-value {
            font-size: 56px;
            font-weight: 700;
            line-height: 1;
            margin-bottom: 8px;
        }
        .realtime-label {
            font-size: 14px;
            color: rgba(255,255,255,0.6);
        }
        .realtime-stats {
            display: flex;
            gap: 24px;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }
        .realtime-stat {
            display: flex;
            flex-direction: column;
        }
        .realtime-stat-value {
            font-size: 20px;
            font-weight: 600;
        }
        .realtime-stat-label {
            font-size: 12px;
            color: rgba(255,255,255,0.5);
        }
        /* Revenue Card */
        .revenue-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .revenue-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 16px;
        }
        .revenue-title {
            font-size: 13px;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .revenue-amount {
            font-size: 32px;
            font-weight: 700;
            color: #1e293b;
            margin: 8px 0;
        }
        .revenue-change {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 8px;
            font-size: 12px;
            font-weight: 600;
        }
        .revenue-change.up { background: #e8f5e9; color: #27ae60; }
        .revenue-change.down { background: #fef2f2; color: #e74c3c; }
        .revenue-breakdown {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid #e2e8f0;
        }
        .revenue-item {
            text-align: center;
        }
        .revenue-item-value {
            font-size: 18px;
            font-weight: 600;
            color: #1e293b;
        }
        .revenue-item-label {
            font-size: 11px;
            color: #64748b;
            margin-top: 2px;
        }
        /* Order Card */
        .order-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 16px;
        }
        .order-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        .order-id {
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
        }
        .order-status {
            padding: 4px 10px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
        }
        .order-status.pending { background: #fff3e0; color: #e67e22; }
        .order-status.processing { background: #e3f2fd; color: #3498db; }
        .order-status.shipped { background: #e8f5e9; color: #27ae60; }
        .order-status.delivered { background: #f3e5f5; color: #9b59b6; }
        .order-status.cancelled { background: #fef2f2; color: #e74c3c; }
        .order-customer {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
        }
        .order-avatar {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, #3498db, #2980b9);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 600;
            color: white;
        }
        .order-name {
            font-size: 14px;
            color: #1e293b;
        }
        .order-email {
            font-size: 12px;
            color: #64748b;
        }
        .order-items {
            padding: 12px 0;
            border-top: 1px solid #f1f5f9;
            border-bottom: 1px solid #f1f5f9;
        }
        .order-item {
            display: flex;
            justify-content: space-between;
            font-size: 13px;
            padding: 4px 0;
        }
        .order-item-name {
            color: #374151;
        }
        .order-item-price {
            color: #1e293b;
            font-weight: 500;
        }
        .order-total {
            display: flex;
            justify-content: space-between;
            padding-top: 12px;
            font-weight: 600;
        }
        .order-total-label {
            color: #64748b;
        }
        .order-total-amount {
            color: #1e293b;
            font-size: 16px;
        }
        /* Goal Card */
        .goal-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .goal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        .goal-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .goal-badge {
            font-size: 11px;
            font-weight: 600;
            padding: 4px 8px;
        }
        .goal-badge.on-track { background: #e8f5e9; color: #27ae60; }
        .goal-badge.at-risk { background: #fff3e0; color: #e67e22; }
        .goal-badge.behind { background: #fef2f2; color: #e74c3c; }
        .goal-progress {
            margin-bottom: 12px;
        }
        .goal-progress-bar {
            height: 12px;
            background: #e2e8f0;
            overflow: hidden;
        }
        .goal-progress-fill {
            height: 100%;
            transition: width 0.3s;
        }
        .goal-stats {
            display: flex;
            justify-content: space-between;
            font-size: 13px;
        }
        .goal-current {
            color: #1e293b;
            font-weight: 600;
        }
        .goal-target {
            color: #64748b;
        }
        /* Rating Card */
        .rating-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .rating-header {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 16px;
        }
        .rating-score {
            font-size: 48px;
            font-weight: 700;
            color: #1e293b;
            line-height: 1;
        }
        .rating-stars {
            display: flex;
            gap: 2px;
            color: #f59e0b;
            margin-bottom: 4px;
        }
        .rating-stars svg {
            width: 18px;
            height: 18px;
        }
        .rating-count {
            font-size: 13px;
            color: #64748b;
        }
        .rating-bars {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .rating-bar-row {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .rating-bar-label {
            width: 20px;
            font-size: 12px;
            color: #64748b;
            text-align: right;
        }
        .rating-bar {
            flex: 1;
            height: 8px;
            background: #e2e8f0;
        }
        .rating-bar-fill {
            height: 100%;
            background: #f59e0b;
        }
        .rating-bar-count {
            width: 40px;
            font-size: 12px;
            color: #64748b;
        }
        /* Ticket Card */
        .ticket-card {
            background: white;
            border: 1px solid #e2e8f0;
        }
        .ticket-header {
            padding: 16px 20px;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .ticket-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .ticket-item {
            display: flex;
            gap: 12px;
            padding: 14px 20px;
            border-bottom: 1px solid #f1f5f9;
        }
        .ticket-item:last-child {
            border-bottom: none;
        }
        .ticket-priority {
            width: 4px;
            flex-shrink: 0;
        }
        .ticket-priority.high { background: #e74c3c; }
        .ticket-priority.medium { background: #e67e22; }
        .ticket-priority.low { background: #27ae60; }
        .ticket-content {
            flex: 1;
        }
        .ticket-subject {
            font-size: 14px;
            color: #1e293b;
            margin-bottom: 4px;
        }
        .ticket-meta {
            font-size: 12px;
            color: #64748b;
        }
        .ticket-status {
            padding: 4px 8px;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            align-self: center;
        }
        .ticket-status.open { background: #e3f2fd; color: #3498db; }
        .ticket-status.in-progress { background: #fff3e0; color: #e67e22; }
        .ticket-status.resolved { background: #e8f5e9; color: #27ae60; }
        /* Product Card */
        .product-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 16px;
        }
        .product-image {
            width: 100%;
            height: 140px;
            background: #f8fafc;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 48px;
            margin-bottom: 12px;
        }
        .product-name {
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 4px;
        }
        .product-sku {
            font-size: 12px;
            color: #64748b;
            margin-bottom: 8px;
        }
        .product-price-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        .product-price {
            font-size: 18px;
            font-weight: 700;
            color: #1e293b;
        }
        .product-stock {
            font-size: 12px;
            font-weight: 500;
            padding: 2px 8px;
        }
        .product-stock.in-stock { background: #e8f5e9; color: #27ae60; }
        .product-stock.low-stock { background: #fff3e0; color: #e67e22; }
        .product-stock.out-of-stock { background: #fef2f2; color: #e74c3c; }
        .product-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            padding-top: 12px;
            border-top: 1px solid #f1f5f9;
        }
        .product-stat {
            text-align: center;
            padding: 8px;
            background: #f8fafc;
        }
        .product-stat-value {
            font-size: 16px;
            font-weight: 600;
            color: #1e293b;
        }
        .product-stat-label {
            font-size: 10px;
            color: #64748b;
        }
        /* Team Card */
        .team-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .team-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        .team-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .team-count {
            font-size: 13px;
            color: #64748b;
        }
        .team-members {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .team-member {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .team-avatar {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 600;
            color: white;
        }
        .team-info {
            flex: 1;
        }
        .team-name {
            font-size: 14px;
            font-weight: 500;
            color: #1e293b;
        }
        .team-role {
            font-size: 12px;
            color: #64748b;
        }
        .team-status {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }
        .team-status.online { background: #27ae60; }
        .team-status.away { background: #e67e22; }
        .team-status.offline { background: #94a3b8; }
        /* Geo Card */
        .geo-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .geo-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        .geo-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .geo-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .geo-item {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .geo-flag {
            font-size: 20px;
        }
        .geo-info {
            flex: 1;
        }
        .geo-country {
            font-size: 14px;
            color: #1e293b;
        }
        .geo-bar {
            height: 6px;
            background: #e2e8f0;
            margin-top: 4px;
        }
        .geo-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, #3498db, #5dade2);
        }
        .geo-value {
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
            min-width: 60px;
            text-align: right;
        }
        /* Calendar Card */
        .calendar-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        .calendar-month {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .calendar-nav {
            display: flex;
            gap: 8px;
        }
        .calendar-nav-btn {
            width: 28px;
            height: 28px;
            border: 1px solid #e2e8f0;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #64748b;
        }
        .calendar-nav-btn:hover {
            background: #f8fafc;
        }
        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 2px;
        }
        .calendar-day-header {
            font-size: 11px;
            color: #94a3b8;
            text-align: center;
            padding: 8px 0;
        }
        .calendar-day {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            color: #374151;
            cursor: pointer;
        }
        .calendar-day:hover {
            background: #f1f5f9;
        }
        .calendar-day.other-month {
            color: #cbd5e1;
        }
        .calendar-day.today {
            background: #3498db;
            color: white;
            font-weight: 600;
        }
        .calendar-day.has-event {
            position: relative;
        }
        .calendar-day.has-event::after {
            content: '';
            position: absolute;
            bottom: 4px;
            width: 4px;
            height: 4px;
            background: #e74c3c;
            border-radius: 50%;
        }
        /* Task Card */
        .task-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .task-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        .task-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .task-add {
            width: 28px;
            height: 28px;
            border: 1px dashed #e2e8f0;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #64748b;
            font-size: 16px;
        }
        .task-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .task-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 10px;
            background: #f8fafc;
        }
        .task-checkbox {
            width: 18px;
            height: 18px;
            border: 2px solid #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            flex-shrink: 0;
            margin-top: 2px;
        }
        .task-checkbox.checked {
            background: #27ae60;
            border-color: #27ae60;
            color: white;
        }
        .task-checkbox svg {
            width: 12px;
            height: 12px;
        }
        .task-content {
            flex: 1;
        }
        .task-text {
            font-size: 13px;
            color: #374151;
        }
        .task-text.completed {
            text-decoration: line-through;
            color: #94a3b8;
        }
        .task-due {
            font-size: 11px;
            color: #64748b;
            margin-top: 4px;
        }
        .task-due.overdue {
            color: #e74c3c;
        }
        /* Weather Card */
        .weather-card {
            background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
            padding: 20px;
            color: white;
        }
        .weather-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 16px;
        }
        .weather-location {
            font-size: 14px;
            opacity: 0.9;
        }
        .weather-date {
            font-size: 12px;
            opacity: 0.7;
        }
        .weather-main {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 20px;
        }
        .weather-icon {
            font-size: 56px;
        }
        .weather-temp {
            font-size: 48px;
            font-weight: 700;
            line-height: 1;
        }
        .weather-desc {
            font-size: 14px;
            opacity: 0.9;
        }
        .weather-details {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            padding-top: 16px;
            border-top: 1px solid rgba(255,255,255,0.2);
        }
        .weather-detail {
            text-align: center;
        }
        .weather-detail-value {
            font-size: 16px;
            font-weight: 600;
        }
        .weather-detail-label {
            font-size: 11px;
            opacity: 0.7;
        }
        /* Subscription Card */
        .subscription-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .subscription-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 16px;
        }
        .subscription-plan {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .subscription-price {
            text-align: right;
        }
        .subscription-amount {
            font-size: 24px;
            font-weight: 700;
            color: #1e293b;
        }
        .subscription-period {
            font-size: 12px;
            color: #64748b;
        }
        .subscription-features {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 16px;
        }
        .subscription-feature {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #374151;
        }
        .subscription-feature svg {
            width: 16px;
            height: 16px;
            color: #27ae60;
        }
        .subscription-usage {
            padding-top: 16px;
            border-top: 1px solid #e2e8f0;
        }
        .subscription-usage-header {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            margin-bottom: 8px;
        }
        .subscription-usage-label {
            color: #64748b;
        }
        .subscription-usage-value {
            color: #1e293b;
            font-weight: 500;
        }
        .subscription-usage-bar {
            height: 8px;
            background: #e2e8f0;
        }
        .subscription-usage-fill {
            height: 100%;
            background: linear-gradient(90deg, #3498db, #5dade2);
        }
        /* Coupon Card */
        .coupon-card {
            background: white;
            border: 2px dashed #e2e8f0;
            padding: 20px;
            position: relative;
            overflow: hidden;
        }
        .coupon-card::before,
        .coupon-card::after {
            content: '';
            position: absolute;
            width: 24px;
            height: 24px;
            background: #f8fafc;
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
        }
        .coupon-card::before { left: -12px; }
        .coupon-card::after { right: -12px; }
        .coupon-badge {
            display: inline-block;
            padding: 4px 12px;
            background: #e74c3c;
            color: white;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 12px;
        }
        .coupon-discount {
            font-size: 32px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 4px;
        }
        .coupon-desc {
            font-size: 13px;
            color: #64748b;
            margin-bottom: 16px;
        }
        .coupon-code-wrap {
            display: flex;
            gap: 8px;
        }
        .coupon-code {
            flex: 1;
            padding: 10px 16px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            font-family: monospace;
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
            letter-spacing: 2px;
        }
        .coupon-copy {
            padding: 10px 16px;
            background: #3498db;
            color: white;
            border: none;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
        }
        .coupon-expiry {
            font-size: 11px;
            color: #94a3b8;
            margin-top: 12px;
        }
        /* Invoice Card */
        .invoice-card {
            background: white;
            border: 1px solid #e2e8f0;
        }
        .invoice-header {
            padding: 16px 20px;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .invoice-number {
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
        }
        .invoice-status {
            padding: 4px 10px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
        }
        .invoice-status.paid { background: #e8f5e9; color: #27ae60; }
        .invoice-status.pending { background: #fff3e0; color: #e67e22; }
        .invoice-status.overdue { background: #fef2f2; color: #e74c3c; }
        .invoice-body {
            padding: 16px 20px;
        }
        .invoice-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            font-size: 13px;
        }
        .invoice-label {
            color: #64748b;
        }
        .invoice-value {
            color: #1e293b;
        }
        .invoice-total {
            display: flex;
            justify-content: space-between;
            padding: 12px 20px;
            background: #f8fafc;
            font-weight: 600;
        }
        .invoice-total-label {
            color: #64748b;
        }
        .invoice-total-amount {
            font-size: 18px;
            color: #1e293b;
        }
        /* Shipping Card */
        .shipping-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .shipping-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        .shipping-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .shipping-id {
            font-size: 12px;
            color: #64748b;
            margin-top: 2px;
        }
        .shipping-status {
            padding: 4px 10px;
            font-size: 11px;
            font-weight: 600;
        }
        .shipping-status.in-transit { background: #e3f2fd; color: #3498db; }
        .shipping-status.out-for-delivery { background: #fff3e0; color: #e67e22; }
        .shipping-status.delivered { background: #e8f5e9; color: #27ae60; }
        .shipping-timeline {
            position: relative;
            padding-left: 24px;
        }
        .shipping-timeline::before {
            content: '';
            position: absolute;
            left: 7px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: #e2e8f0;
        }
        .shipping-step {
            position: relative;
            padding-bottom: 16px;
        }
        .shipping-step:last-child {
            padding-bottom: 0;
        }
        .shipping-step::before {
            content: '';
            position: absolute;
            left: -20px;
            top: 4px;
            width: 12px;
            height: 12px;
            border: 2px solid #e2e8f0;
            background: white;
        }
        .shipping-step.completed::before {
            background: #27ae60;
            border-color: #27ae60;
        }
        .shipping-step.current::before {
            border-color: #3498db;
            box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
        }
        .shipping-step-title {
            font-size: 13px;
            font-weight: 500;
            color: #1e293b;
        }
        .shipping-step-time {
            font-size: 11px;
            color: #64748b;
            margin-top: 2px;
        }
        /* AB Test Card */
        .abtest-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .abtest-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        .abtest-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .abtest-status {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: #27ae60;
        }
        .abtest-variants {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }
        .abtest-variant {
            padding: 16px;
            border: 2px solid #e2e8f0;
        }
        .abtest-variant.winner {
            border-color: #27ae60;
            background: #f0fdf4;
        }
        .abtest-variant-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        .abtest-variant-name {
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
        }
        .abtest-variant-badge {
            font-size: 10px;
            font-weight: 700;
            padding: 2px 6px;
            background: #27ae60;
            color: white;
        }
        .abtest-metric {
            margin-bottom: 8px;
        }
        .abtest-metric:last-child {
            margin-bottom: 0;
        }
        .abtest-metric-header {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            margin-bottom: 4px;
        }
        .abtest-metric-label {
            color: #64748b;
        }
        .abtest-metric-value {
            font-weight: 600;
            color: #1e293b;
        }
        .abtest-metric-bar {
            height: 6px;
            background: #e2e8f0;
        }
        .abtest-metric-fill {
            height: 100%;
        }
        /* Browser Stats */
        .browser-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .browser-header {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 16px;
        }
        .browser-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .browser-item {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .browser-icon {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }
        .browser-info {
            flex: 1;
        }
        .browser-name {
            font-size: 13px;
            color: #1e293b;
        }
        .browser-bar {
            height: 6px;
            background: #e2e8f0;
            margin-top: 4px;
        }
        .browser-bar-fill {
            height: 100%;
        }
        .browser-percent {
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
            min-width: 45px;
            text-align: right;
        }
        /* Session Card */
        .session-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .session-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        .session-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .session-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }
        .session-item {
            padding: 16px;
            background: #f8fafc;
        }
        .session-value {
            font-size: 24px;
            font-weight: 700;
            color: #1e293b;
        }
        .session-label {
            font-size: 12px;
            color: #64748b;
            margin-top: 4px;
        }
        .session-change {
            font-size: 11px;
            font-weight: 600;
            margin-top: 8px;
        }
        .session-change.up { color: #27ae60; }
        .session-change.down { color: #e74c3c; }
        /* SEO Card */
        .seo-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .seo-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        .seo-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .seo-score {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }
        .seo-score-circle {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 700;
            color: white;
        }
        .seo-score-circle.good { background: #27ae60; }
        .seo-score-circle.average { background: #e67e22; }
        .seo-score-circle.poor { background: #e74c3c; }
        .seo-score-details {
            flex: 1;
        }
        .seo-score-label {
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
        }
        .seo-score-desc {
            font-size: 12px;
            color: #64748b;
            margin-top: 2px;
        }
        .seo-items {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .seo-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
        }
        .seo-item-icon {
            width: 16px;
            height: 16px;
        }
        .seo-item-icon.pass { color: #27ae60; }
        .seo-item-icon.fail { color: #e74c3c; }
        .seo-item-icon.warn { color: #e67e22; }
        /* Chat Card */
        .chat-card {
            background: white;
            border: 1px solid #e2e8f0;
            display: flex;
            flex-direction: column;
            height: 320px;
        }
        .chat-header {
            padding: 12px 16px;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .chat-avatar {
            width: 32px;
            height: 32px;
            background: linear-gradient(135deg, #27ae60, #229954);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 600;
            color: white;
        }
        .chat-user-info {
            flex: 1;
        }
        .chat-user-name {
            font-size: 13px;
            font-weight: 600;
            color: #1e293b;
        }
        .chat-user-status {
            font-size: 11px;
            color: #27ae60;
        }
        .chat-body {
            flex: 1;
            padding: 16px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .chat-message {
            max-width: 80%;
            padding: 10px 14px;
            font-size: 13px;
            line-height: 1.4;
        }
        .chat-message.received {
            background: #f1f5f9;
            color: #374151;
            align-self: flex-start;
        }
        .chat-message.sent {
            background: #3498db;
            color: white;
            align-self: flex-end;
        }
        .chat-time {
            font-size: 10px;
            color: #94a3b8;
            margin-top: 4px;
        }
        .chat-footer {
            padding: 12px 16px;
            border-top: 1px solid #e2e8f0;
            display: flex;
            gap: 8px;
        }
        .chat-input {
            flex: 1;
            padding: 8px 12px;
            border: 1px solid #e2e8f0;
            font-size: 13px;
            outline: none;
        }
        .chat-input:focus {
            border-color: #3498db;
        }
        .chat-send {
            padding: 8px 16px;
            background: #3498db;
            color: white;
            border: none;
            font-size: 13px;
            cursor: pointer;
        }
        /* Announcement Card */
        .announcement-card {
            background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
            padding: 20px;
            color: white;
        }
        .announcement-badge {
            display: inline-block;
            padding: 4px 10px;
            background: rgba(255,255,255,0.2);
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 12px;
        }
        .announcement-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .announcement-desc {
            font-size: 13px;
            opacity: 0.9;
            line-height: 1.5;
            margin-bottom: 16px;
        }
        .announcement-btn {
            display: inline-block;
            padding: 10px 20px;
            background: white;
            color: #9b59b6;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
        }
        /* Quick Actions */
        .quick-actions-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .quick-actions-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 16px;
        }
        .quick-actions-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
        }
        .quick-action {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 16px 8px;
            background: #f8fafc;
            cursor: pointer;
            transition: all 0.15s;
        }
        .quick-action:hover {
            background: #f1f5f9;
        }
        .quick-action-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
        }
        .quick-action-icon svg {
            width: 24px;
            height: 24px;
        }
        .quick-action-label {
            font-size: 12px;
            color: #374151;
            text-align: center;
        }
        .quick-actions-header {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 16px;
        }
        .quick-action-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 16px 8px;
            background: #f8fafc;
            cursor: pointer;
            transition: all 0.15s;
        }
        .quick-action-item:hover {
            background: #f1f5f9;
        }
        .quick-actions-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .quick-action-row {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            background: #f8fafc;
        }
        .quick-action-icon.small {
            width: 32px;
            height: 32px;
            font-size: 14px;
        }
        .quick-action-text {
            font-size: 13px;
            font-weight: 500;
            color: #1e293b;
        }
        .quick-action-desc {
            font-size: 12px;
            color: #64748b;
            margin-left: auto;
        }

        /* Activity Feed */
        .activity-feed-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .activity-feed-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        .activity-feed-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .activity-feed-filter {
            font-size: 12px;
            color: #64748b;
            cursor: pointer;
        }
        .activity-feed-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .activity-feed-item {
            display: flex;
            gap: 12px;
            padding: 12px;
            background: #f8fafc;
        }
        .activity-feed-icon {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            flex-shrink: 0;
        }
        .activity-feed-content {
            flex: 1;
        }
        .activity-feed-text {
            font-size: 13px;
            color: #374151;
            line-height: 1.4;
        }
        .activity-feed-time {
            font-size: 11px;
            color: #94a3b8;
            margin-top: 4px;
        }

        /* Data Table */
        .data-table-container {
            background: white;
            border: 1px solid #e2e8f0;
        }
        .data-table-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 20px;
            border-bottom: 1px solid #e2e8f0;
        }
        .data-table-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .data-table-actions {
            display: flex;
            gap: 8px;
        }
        .data-table-btn {
            padding: 8px 16px;
            font-size: 13px;
            border: 1px solid #e2e8f0;
            background: white;
            color: #374151;
            cursor: pointer;
        }
        .data-table-btn.primary {
            background: #3498db;
            border-color: #3498db;
            color: white;
        }
        .data-table {
            width: 100%;
            border-collapse: collapse;
        }
        .data-table th,
        .data-table td {
            padding: 12px 20px;
            text-align: left;
            border-bottom: 1px solid #e2e8f0;
        }
        .data-table th {
            font-size: 12px;
            font-weight: 600;
            color: #64748b;
            text-transform: uppercase;
            background: #f8fafc;
        }
        .data-table td {
            font-size: 14px;
            color: #374151;
        }
        .table-status {
            display: inline-block;
            padding: 4px 8px;
            font-size: 11px;
            font-weight: 500;
        }
        .table-status.active {
            background: rgba(39, 174, 96, 0.1);
            color: #27ae60;
        }
        .table-status.warning {
            background: rgba(230, 126, 34, 0.1);
            color: #e67e22;
        }
        .table-action {
            font-size: 12px;
            color: #3498db;
            cursor: pointer;
            margin-right: 8px;
        }
        .table-action.danger {
            color: #e74c3c;
        }
        .data-table-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 20px;
        }
        .data-table-info {
            font-size: 13px;
            color: #64748b;
        }
        .data-table-pagination {
            display: flex;
            gap: 4px;
        }
        .pagination-btn {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #e2e8f0;
            background: white;
            color: #374151;
            cursor: pointer;
            font-size: 13px;
        }
        .pagination-btn.active {
            background: #3498db;
            border-color: #3498db;
            color: white;
        }

        /* File Upload */
        .file-upload-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .file-upload-zone {
            border: 2px dashed #cbd5e1;
            padding: 40px;
            text-align: center;
            cursor: pointer;
            transition: all 0.15s;
        }
        .file-upload-zone:hover {
            border-color: #3498db;
            background: rgba(52, 152, 219, 0.05);
        }
        .file-upload-icon {
            font-size: 48px;
            margin-bottom: 12px;
        }
        .file-upload-text {
            font-size: 15px;
            font-weight: 500;
            color: #374151;
        }
        .file-upload-subtext {
            font-size: 13px;
            color: #94a3b8;
            margin-top: 4px;
        }
        .file-upload-btn {
            margin-top: 16px;
            padding: 10px 24px;
            background: #3498db;
            color: white;
            border: none;
            font-size: 14px;
            cursor: pointer;
        }
        .file-upload-info {
            display: flex;
            justify-content: space-between;
            margin-top: 12px;
            font-size: 12px;
            color: #94a3b8;
        }
        .file-upload-header {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 16px;
        }
        .file-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .file-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            background: #f8fafc;
        }
        .file-icon {
            font-size: 24px;
        }
        .file-info {
            flex: 1;
        }
        .file-name {
            font-size: 14px;
            font-weight: 500;
            color: #374151;
        }
        .file-meta {
            font-size: 12px;
            color: #94a3b8;
        }
        .file-progress {
            height: 4px;
            background: #e2e8f0;
            margin-top: 6px;
        }
        .file-progress-bar {
            height: 100%;
            background: #3498db;
        }
        .file-status {
            font-size: 16px;
        }
        .file-status.success { color: #27ae60; }
        .file-status.error { color: #e74c3c; }
        .file-status.uploading { color: #3498db; animation: spin 1s linear infinite; }
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* Notification Center */
        .notification-center {
            background: white;
            border: 1px solid #e2e8f0;
        }
        .notification-center-header {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 16px 20px;
            border-bottom: 1px solid #e2e8f0;
        }
        .notification-center-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .notification-badge {
            background: #e74c3c;
            color: white;
            font-size: 11px;
            padding: 2px 8px;
        }
        .notification-tabs {
            display: flex;
            border-bottom: 1px solid #e2e8f0;
        }
        .notification-tab {
            flex: 1;
            padding: 12px;
            font-size: 13px;
            color: #64748b;
            background: none;
            border: none;
            cursor: pointer;
            border-bottom: 2px solid transparent;
        }
        .notification-tab.active {
            color: #3498db;
            border-bottom-color: #3498db;
        }
        .notification-list {
            max-height: 300px;
            overflow-y: auto;
        }
        .notification-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 16px 20px;
            border-bottom: 1px solid #f1f5f9;
        }
        .notification-item.unread {
            background: rgba(52, 152, 219, 0.05);
        }
        .notification-dot {
            width: 8px;
            height: 8px;
            background: #3498db;
            margin-top: 6px;
        }
        .notification-icon {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }
        .notification-content {
            flex: 1;
        }
        .notification-message {
            font-size: 13px;
            color: #374151;
            line-height: 1.4;
        }
        .notification-time {
            font-size: 11px;
            color: #94a3b8;
            margin-top: 4px;
        }
        .notification-footer {
            display: flex;
            justify-content: space-between;
            padding: 12px 20px;
            border-top: 1px solid #e2e8f0;
        }
        .notification-action {
            font-size: 13px;
            color: #3498db;
            background: none;
            border: none;
            cursor: pointer;
        }

        /* User Profile Card */
        .user-profile-card {
            background: white;
            border: 1px solid #e2e8f0;
            overflow: hidden;
            text-align: center;
        }
        .user-profile-cover {
            height: 80px;
            background: linear-gradient(135deg, #3498db, #2980b9);
        }
        .user-profile-avatar {
            width: 64px;
            height: 64px;
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: 600;
            margin: -32px auto 0;
            position: relative;
        }
        .user-profile-info {
            padding: 16px;
        }
        .user-profile-name {
            font-size: 16px;
            font-weight: 600;
            color: #1e293b;
        }
        .user-profile-role {
            font-size: 13px;
            color: #64748b;
            margin-top: 4px;
        }
        .user-profile-stats {
            display: flex;
            border-top: 1px solid #e2e8f0;
        }
        .user-profile-stat {
            flex: 1;
            padding: 16px;
        }
        .user-profile-stat:not(:last-child) {
            border-right: 1px solid #e2e8f0;
        }
        .user-profile-stat-value {
            font-size: 18px;
            font-weight: 600;
            color: #1e293b;
        }
        .user-profile-stat-label {
            font-size: 11px;
            color: #94a3b8;
            margin-top: 4px;
        }
        .user-profile-btn {
            width: calc(100% - 32px);
            margin: 0 16px 16px;
            padding: 10px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            color: #374151;
            font-size: 13px;
            cursor: pointer;
        }

        /* Stat Comparison */
        .stat-comparison-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .stat-comparison-header {
            margin-bottom: 16px;
        }
        .stat-comparison-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        .stat-comparison-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #f1f5f9;
        }
        .stat-comparison-label {
            font-size: 13px;
            color: #64748b;
        }
        .stat-comparison-values {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .stat-comparison-current {
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
        }
        .stat-comparison-vs {
            font-size: 11px;
            color: #94a3b8;
        }
        .stat-comparison-previous {
            font-size: 14px;
            color: #94a3b8;
        }
        .stat-comparison-change {
            font-size: 12px;
            padding: 2px 6px;
        }
        .stat-comparison-change.up {
            background: rgba(39, 174, 96, 0.1);
            color: #27ae60;
        }
        .stat-comparison-change.down {
            background: rgba(231, 76, 60, 0.1);
            color: #e74c3c;
        }

        /* Empty State */
        .empty-state {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 40px 20px;
            text-align: center;
        }
        .empty-state-icon {
            font-size: 48px;
            margin-bottom: 16px;
        }
        .empty-state-title {
            font-size: 16px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 8px;
        }
        .empty-state-text {
            font-size: 14px;
            color: #64748b;
            line-height: 1.5;
            margin-bottom: 20px;
        }
        .empty-state-btn {
            padding: 10px 24px;
            background: #3498db;
            color: white;
            border: none;
            font-size: 14px;
            cursor: pointer;
        }
        .empty-state-btn.secondary {
            background: white;
            color: #374151;
            border: 1px solid #e2e8f0;
        }

        /* Skeleton Loader */
        .skeleton-card {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 20px;
        }
        .skeleton {
            background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
        }
        @keyframes shimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        .skeleton-avatar {
            width: 48px;
            height: 48px;
            margin-bottom: 16px;
        }
        .skeleton-circle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
        }
        .skeleton-line {
            height: 14px;
            margin-bottom: 12px;
        }
        .skeleton-image {
            width: 100%;
            height: 120px;
            margin-bottom: 16px;
        }

        /* Pricing Toggle */
        .pricing-toggle-container {
            display: flex;
            justify-content: center;
        }
        .pricing-toggle {
            display: flex;
            align-items: center;
            gap: 12px;
            background: white;
            border: 1px solid #e2e8f0;
            padding: 12px 20px;
        }
        .pricing-toggle-label {
            font-size: 14px;
            color: #64748b;
        }
        .pricing-toggle-label.active {
            color: #1e293b;
            font-weight: 500;
        }
        .pricing-save {
            font-size: 11px;
            color: #27ae60;
            background: rgba(39, 174, 96, 0.1);
            padding: 2px 6px;
            margin-left: 4px;
        }
        .pricing-toggle-switch {
            width: 48px;
            height: 24px;
            background: #e2e8f0;
            cursor: pointer;
            position: relative;
        }
        .pricing-toggle-slider {
            width: 20px;
            height: 20px;
            background: white;
            position: absolute;
            top: 2px;
            left: 2px;
            transition: all 0.2s;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        /* Tables */
        .table-container {
            background: white;
        }
        .table-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 20px;
            border-bottom: 1px solid #e2e8f0;
        }
        .table-title-row {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .table-main-title {
            font-size: 16px;
            font-weight: 600;
            color: #1e293b;
        }
        .table-info-icon {
            color: #94a3b8;
            font-size: 14px;
            cursor: help;
        }
        .table-actions {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .table-search {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border: 1px solid #e2e8f0;
            background: white;
        }
        .table-search-icon {
            color: #94a3b8;
        }
        .table-search-input {
            border: none;
            outline: none;
            font-size: 14px;
            color: #374151;
            width: 150px;
        }
        .table-search-input::placeholder {
            color: #94a3b8;
        }
        .table-per-page {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 8px 12px;
            border: 1px solid #e2e8f0;
            background: white;
            font-size: 14px;
            color: #374151;
            cursor: pointer;
        }
        .table-icon-btn {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #e2e8f0;
            background: white;
            color: #64748b;
            cursor: pointer;
        }
        .table-icon-btn:hover {
            background: #f8fafc;
        }

        /* Searches Table */
        .searches-table {
            width: 100%;
            border-collapse: collapse;
        }
        .searches-table th {
            padding: 12px 16px;
            text-align: left;
            font-size: 13px;
            font-weight: 500;
            color: #64748b;
            background: #fafbfc;
            border-bottom: 1px solid #e2e8f0;
        }
        .searches-table td {
            padding: 12px 16px;
            font-size: 14px;
            color: #374151;
            border-bottom: 1px solid #f1f5f9;
        }
        .searches-table tbody tr:hover {
            background: #f8fafc;
        }
        .row-number {
            color: #94a3b8;
            font-size: 13px;
        }
        .query-link {
            color: #3b5998;
            text-decoration: none;
        }
        .query-link:hover {
            text-decoration: underline;
        }
        .view-btn {
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #e2e8f0;
            background: white;
            cursor: pointer;
            font-size: 14px;
            opacity: 0.6;
        }
        .view-btn:hover {
            opacity: 1;
            background: #f8fafc;
        }

        .table-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 20px;
            border-top: 1px solid #e2e8f0;
        }
        .table-showing {
            font-size: 13px;
            color: #64748b;
        }
        .table-pagination {
            display: flex;
            gap: 4px;
        }
        .table-pagination .pagination-btn {
            min-width: 32px;
            height: 32px;
            padding: 0 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #e2e8f0;
            background: white;
            color: #374151;
            font-size: 13px;
            cursor: pointer;
        }
        .table-pagination .pagination-btn:hover:not(.disabled):not(.active) {
            background: #f8fafc;
        }
        .table-pagination .pagination-btn.active {
            background: #3b5998;
            border-color: #3b5998;
            color: white;
        }
        .table-pagination .pagination-btn.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Basic Table */
        .basic-table {
            width: 100%;
            border-collapse: collapse;
        }
        .basic-table th {
            padding: 14px 16px;
            text-align: left;
            font-size: 13px;
            font-weight: 600;
            color: #374151;
            background: #f8fafc;
            border-bottom: 2px solid #e2e8f0;
        }
        .basic-table td {
            padding: 14px 16px;
            font-size: 14px;
            color: #374151;
            border-bottom: 1px solid #f1f5f9;
        }
        .basic-table tbody tr:hover {
            background: #fafbfc;
        }
        .status-badge {
            display: inline-block;
            padding: 4px 10px;
            font-size: 12px;
            font-weight: 500;
        }
        .status-badge.success {
            background: rgba(39, 174, 96, 0.1);
            color: #27ae60;
        }
        .status-badge.warning {
            background: rgba(230, 126, 34, 0.1);
            color: #e67e22;
        }
        .status-badge.danger {
            background: rgba(231, 76, 60, 0.1);
            color: #e74c3c;
        }

        /* Striped Table */
        .striped-table {
            width: 100%;
            border-collapse: collapse;
        }
        .striped-table th {
            padding: 14px 16px;
            text-align: left;
            font-size: 13px;
            font-weight: 600;
            color: #374151;
            background: #f1f5f9;
            border-bottom: 1px solid #e2e8f0;
        }
        .striped-table td {
            padding: 14px 16px;
            font-size: 14px;
            color: #374151;
        }
        .striped-table tbody tr:nth-child(odd) {
            background: #fafbfc;
        }
        .striped-table tbody tr:nth-child(even) {
            background: white;
        }

        /* Compact Table */
        .compact-table {
            width: 100%;
            border-collapse: collapse;
        }
        .compact-table th {
            padding: 8px 12px;
            text-align: left;
            font-size: 11px;
            font-weight: 600;
            color: #64748b;
            text-transform: uppercase;
            background: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
        }
        .compact-table td {
            padding: 8px 12px;
            font-size: 13px;
            color: #374151;
            border-bottom: 1px solid #f1f5f9;
        }

        /* Sortable Table */
        .sortable-table {
            width: 100%;
            border-collapse: collapse;
        }
        .sortable-table th {
            padding: 14px 16px;
            text-align: left;
            font-size: 13px;
            font-weight: 600;
            color: #374151;
            background: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
        }
        .sortable-table th.sortable {
            cursor: pointer;
            user-select: none;
        }
        .sortable-table th.sortable:hover {
            background: #f1f5f9;
        }
        .sort-icon {
            margin-left: 4px;
            color: #94a3b8;
        }
        .sortable-table th.sort-asc .sort-icon,
        .sortable-table th.sort-desc .sort-icon {
            color: #3b5998;
        }
        .sortable-table td {
            padding: 14px 16px;
            font-size: 14px;
            color: #374151;
            border-bottom: 1px solid #f1f5f9;
        }
        .table-action-btn {
            padding: 6px 12px;
            font-size: 12px;
            border: 1px solid #e2e8f0;
            background: white;
            color: #374151;
            cursor: pointer;
            margin-right: 4px;
        }
        .table-action-btn:hover {
            background: #f8fafc;
        }
        .table-action-btn.danger {
            color: #e74c3c;
            border-color: #fecaca;
        }
        .table-action-btn.danger:hover {
            background: #fef2f2;
        }

        /* Selectable Table */
        .table-toolbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 16px;
            background: #eff6ff;
            border-bottom: 1px solid #bfdbfe;
        }
        .selected-count {
            font-size: 13px;
            color: #3b5998;
            font-weight: 500;
        }
        .toolbar-actions {
            display: flex;
            gap: 8px;
        }
        .toolbar-btn {
            padding: 6px 14px;
            font-size: 13px;
            border: 1px solid #3b5998;
            background: white;
            color: #3b5998;
            cursor: pointer;
        }
        .toolbar-btn:hover {
            background: #eff6ff;
        }
        .toolbar-btn.danger {
            border-color: #e74c3c;
            color: #e74c3c;
        }
        .toolbar-btn.danger:hover {
            background: #fef2f2;
        }
        .selectable-table {
            width: 100%;
            border-collapse: collapse;
        }
        .selectable-table th {
            padding: 14px 16px;
            text-align: left;
            font-size: 13px;
            font-weight: 600;
            color: #374151;
            background: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
        }
        .selectable-table td {
            padding: 14px 16px;
            font-size: 14px;
            color: #374151;
            border-bottom: 1px solid #f1f5f9;
        }
        .selectable-table tbody tr:hover {
            background: #f8fafc;
        }
        .selectable-table tbody tr.selected {
            background: #eff6ff;
        }
        .table-checkbox {
            width: 16px;
            height: 16px;
            cursor: pointer;
        }

        /* Alias label */
        .alias {
            display: inline-block;
            padding: 2px 6px;
            background: #f1f5f9;
            border-radius: 0;
            font-size: 10px;
            color: #64748b;
            font-family: monospace;
            margin-left: 8px;
        }
        /* Color Swatches */
        .color-palette {
            display: flex;
            gap: 4px;
            margin-bottom: 16px;
        }
        .color-palette-title {
            font-size: 12px;
            font-weight: 600;
            color: #475569;
            margin-bottom: 8px;
        }
        .color-swatch {
            width: 60px;
            height: 60px;
            border-radius: 0;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding-bottom: 4px;
            font-size: 9px;
            font-family: monospace;
            color: white;
            text-shadow: 0 1px 2px rgba(0,0,0,0.3);
            cursor: pointer;
            transition: transform 150ms;
            position: relative;
        }
        .color-swatch:hover {
            transform: scale(1.05);
        }
        .color-swatch.light-text {
            color: #1e293b;
            text-shadow: none;
        }
        .color-group {
            margin-bottom: 24px;
        }
        .color-row {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }
        .color-set {
            margin-bottom: 20px;
        }
        .color-var {
            display: block;
            font-size: 10px;
            color: #94a3b8;
            margin-top: 4px;
            font-family: monospace;
        }
        /* Dropdown */
        .dropdown {
            position: relative;
            display: inline-block;
        }
        .dropdown-trigger {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            cursor: pointer;
            color: #475569;
            font-size: 13px;
            font-weight: 500;
            transition: all 150ms;
        }
        .dropdown-trigger:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
        }
        .dropdown-trigger svg {
            width: 16px;
            height: 16px;
        }
        .dropdown-trigger .chevron {
            width: 12px;
            height: 12px;
            transition: transform 200ms;
        }
        .dropdown.open .dropdown-trigger .chevron {
            transform: rotate(180deg);
        }
        .dropdown-menu {
            position: absolute;
            top: calc(100% + 4px);
            left: 0;
            min-width: 180px;
            width: max-content;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: all 150ms;
        }
        .dropdown.open .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .dropdown-menu-title {
            padding: 10px 14px 6px;
            font-size: 10px;
            font-weight: 600;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 14px;
            font-size: 13px;
            color: #475569;
            cursor: pointer;
            transition: all 150ms;
        }
        .dropdown-item:hover {
            background: #f8fafc;
            color: #1e293b;
        }
        .dropdown-item svg {
            width: 16px;
            height: 16px;
            color: #94a3b8;
        }
        .dropdown-item:hover svg {
            color: #64748b;
        }
        .dropdown-item.danger:hover {
            background: #fef2f2;
            color: #e74c3c;
        }
        .dropdown-item.danger:hover svg {
            color: #e74c3c;
        }
        .dropdown-item .subtitle {
            color: #94a3b8;
            font-weight: 400;
        }
        .dropdown-divider {
            height: 1px;
            background: #f1f5f9;
            margin: 0;
        }
        /* Alert Bar */
        .alert-bar {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 0;
            font-size: 13px;
            line-height: 1.4;
            white-space: nowrap;
        }
        .alert-bar svg {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
        }
        .alert-bar a {
            font-weight: 500;
            text-decoration: underline;
        }
        .alert-bar .alert-close {
            margin-left: auto;
            background: none;
            border: none;
            cursor: pointer;
            padding: 4px;
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 150ms;
        }
        .alert-bar .alert-close svg {
            width: 16px;
            height: 16px;
        }
        /* Alert Info (Blue) */
        .alert-bar.info {
            background: #eff6ff;
            color: #1e40af;
            border: 1px solid #bfdbfe;
            width: 100%;
            border-radius: 4px;
        }
        .alert-bar.info a {
            color: #1e40af;
        }
        .alert-bar.info .alert-close:hover {
            background: #dbeafe;
        }
        /* Alert Success (Green) */
        .alert-bar.success {
            background: #f0fdf4;
            color: #166534;
            border: 1px solid #bbf7d0;
        }
        .alert-bar.success a {
            color: #166534;
        }
        .alert-bar.success .alert-close:hover {
            background: #dcfce7;
        }
        /* Alert Warning (Yellow) */
        .alert-bar.warning {
            background: #fffbeb;
            color: #92400e;
            border: 1px solid #fde68a;
        }
        .alert-bar.warning a {
            color: #92400e;
        }
        .alert-bar.warning .alert-close:hover {
            background: #fef3c7;
        }
        /* Alert Danger (Red) */
        .alert-bar.danger {
            background: #fef2f2;
            color: #991b1b;
            border: 1px solid #fecaca;
        }
        .alert-bar.danger a {
            color: #991b1b;
        }
        .alert-bar.danger .alert-close:hover {
            background: #fee2e2;
        }
        /* Alert Neutral (Gray) */
        .alert-bar.neutral {
            background: #f8fafc;
            color: #475569;
            border: 1px solid #e2e8f0;
        }
        .alert-bar.neutral a {
            color: #334155;
        }
        .alert-bar.neutral .alert-close:hover {
            background: #f1f5f9;
        }
        /* Switch */
        .switch {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            font-size: 13px;
            color: #475569;
        }
        .switch input {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }
        .switch-track {
            position: relative;
            width: 36px;
            height: 20px;
            background: #cbd5e1;
            border-radius: 0;
            transition: all 200ms;
        }
        .switch-track::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            width: 16px;
            height: 16px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
            transition: all 200ms;
        }
        .switch input:checked + .switch-track {
            background: #3498db;
        }
        .switch input:checked + .switch-track::after {
            left: 18px;
        }
        .switch:hover .switch-track {
            background: #94a3b8;
        }
        .switch input:checked:hover + .switch-track {
            background: #2980b9;
        }
        /* Switch Sizes */
        .switch.small .switch-track {
            width: 28px;
            height: 16px;
        }
        .switch.small .switch-track::after {
            width: 12px;
            height: 12px;
        }
        .switch.small input:checked + .switch-track::after {
            left: 14px;
        }
        .switch.large .switch-track {
            width: 44px;
            height: 24px;
            border-radius: 0;
        }
        .switch.large .switch-track::after {
            width: 20px;
            height: 20px;
        }
        .switch.large input:checked + .switch-track::after {
            left: 22px;
        }
        /* Switch Colors */
        .switch.success input:checked + .switch-track {
            background: #2ecc71;
        }
        .switch.success input:checked:hover + .switch-track {
            background: #27ae60;
        }
        .switch.warning input:checked + .switch-track {
            background: #e67e22;
        }
        .switch.warning input:checked:hover + .switch-track {
            background: #d35400;
        }
        .switch.danger input:checked + .switch-track {
            background: #e74c3c;
        }
        .switch.danger input:checked:hover + .switch-track {
            background: #c0392b;
        }
        /* Switch Disabled */
        .switch.disabled {
            cursor: not-allowed;
            opacity: 0.5;
        }
        .switch.disabled:hover .switch-track {
            background: #cbd5e1;
        }
        .switch.disabled input:checked:hover + .switch-track {
            background: #3498db;
        }
        /* Search Bar */
        .search-bar {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            padding: 0px 14px;
            height: 32px;
            background: white;
            border: 1px solid #d6d6e7;
            border-radius: 4px;
            transition: all 150ms;
        }
        .search-bar:focus-within {
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }
        .search-bar svg {
            width: 16px;
            height: 16px;
            color: #94a3b8;
            flex-shrink: 0;
        }
        .search-bar input {
            flex: 1;
            border: none;
            outline: none;
            font-size: 14px;
            color: #23263b;
            background: transparent;
            padding: 0;
            border-radius: 0;
            box-shadow: none;
        }
        .search-bar input::placeholder {
            color: #94a3b8;
        }
        .search-bar .search-clear {
            background: none;
            border: none;
            padding: 4px;
            cursor: pointer;
            color: #94a3b8;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 150ms;
        }
        .search-bar .search-clear:hover {
            color: #64748b;
        }
        .search-bar .search-clear svg {
            width: 16px;
            height: 16px;
        }
        .search-bar .search-info {
            font-size: 12px;
            color: #3498db;
            white-space: nowrap;
            flex-shrink: 0;
        }
        /* Badge */
        .badge {
            display: inline-block;
            padding: 3px 8px;
            font-size: 11px;
            font-weight: 500;
            border-radius: 0;
            line-height: 1.2;
        }
        .badge-primary {
            background: #eff6ff;
            color: #3b82f6;
        }
        .badge-secondary {
            background: #f1f5f9;
            color: #64748b;
        }
        .badge-success {
            background: #f0fdf4;
            color: #22c55e;
        }
        .badge-danger {
            background: #fef2f2;
            color: #ef4444;
        }
        .badge-warning {
            background: #fffbeb;
            color: #f59e0b;
        }
        .badge-info {
            background: #f0f9ff;
            color: #0ea5e9;
        }
        /* List */
        .list {
            border: none;
            border-radius: 0;
            background: transparent;
            overflow: visible;
        }
        .list-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-bottom: 1px solid #e2e8f0;
            background: white;
            transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
            outline: none;
            -webkit-user-drag: element;
        }
        .list-item:focus {
            outline: none;
        }
        .list-item[draggable="true"] {
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            user-select: none;
        }
        .list-item:last-child {
            border-bottom: 1px solid #e2e8f0;
        }
        .list-item:hover {
            background: #f8fafc;
        }
        .list.dragging-active .list-item:hover {
            background: white;
        }
        .list-item .drag-handle {
            color: #cbd5e1;
            cursor: grab;
            display: flex;
            align-items: center;
        }
        .list-item .drag-handle:hover {
            color: #94a3b8;
        }
        .list-item .drag-handle:active {
            cursor: grabbing;
        }
        .list-item .drag-handle svg {
            width: 16px;
            height: 16px;
        }
        .list-item.dragging {
            opacity: 1;
            background: white;
            border-color: transparent;
        }
        .list-item:not(.dragging) {
            transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .list-item-content {
            flex: 1;
            font-size: 13px;
            color: #1e293b;
            font-weight: 500;
        }
        .list-item-content.two-line {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .list-item-content .title {
            font-size: 13px;
            color: #1e293b;
            font-weight: 500;
        }
        .list-item-content .subtitle {
            font-size: 12px;
            color: #94a3b8;
            font-weight: 400;
        }
        .list-item-content.inline {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .list-item-content.inline .title {
            font-size: 13px;
            color: #1e293b;
            font-weight: 500;
            min-width: 80px;
            flex-shrink: 0;
        }
        .list-item-content.inline .subtitle {
            font-size: 12px;
            color: #94a3b8;
            font-weight: 400;
        }
        .list-item-actions {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .list-item-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 8px;
            background: #f1f5f9;
            border-radius: 0;
            font-size: 12px;
            color: #3498db;
            cursor: pointer;
            transition: all 150ms;
        }
        .list-item-badge:hover {
            background: #e2e8f0;
        }
        .list-item-badge svg {
            width: 12px;
            height: 12px;
        }
        /* Mini Dropdown for List Badge */
        .mini-dropdown {
            position: relative;
            display: inline-block;
        }
        .mini-dropdown-menu {
            position: absolute;
            top: calc(100% + 4px);
            right: 0;
            min-width: 120px;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: all 150ms;
        }
        .mini-dropdown.open .mini-dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .mini-dropdown-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 12px;
            font-size: 12px;
            color: #475569;
            cursor: pointer;
            transition: all 150ms;
        }
        .mini-dropdown-item:first-child {
            border-radius: 0 5px 0 0;
        }
        .mini-dropdown-item:last-child {
            border-radius: 0 0 5px 5px;
        }
        .mini-dropdown-item:hover {
            background: #f8fafc;
        }
        .mini-dropdown-item.selected {
            background: #eff6ff;
        }
        .mini-dropdown-item .check-icon {
            color: #3498db;
            width: 14px;
            height: 14px;
        }

/* Drag & Drop Sortable */
tr.drag-over {
    background: #dbeafe !important;
    border-top: 2px solid #3b82f6;
}
tr[draggable="true"] .drag-handle {
    cursor: move;
}
tr[draggable="true"]:hover {
    background: #f8fafc;
}


/* ========================================
   SWITCH COMPONENT
   ======================================== */
.switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #475569;
}
.switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.switch-track {
    position: relative;
    width: 36px;
    height: 20px;
    background: #cbd5e1;
    border-radius: 10px;
    transition: all 200ms;
}
.switch-track::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: all 200ms;
}
.switch input:checked + .switch-track {
    background: #3498db;
}
.switch input:checked + .switch-track::after {
    left: 18px;
}
.switch:hover .switch-track {
    background: #94a3b8;
}
.switch input:checked:hover + .switch-track {
    background: #2980b9;
}
/* Switch Sizes */
.switch.small .switch-track {
    width: 28px;
    height: 16px;
}
.switch.small .switch-track::after {
    width: 12px;
    height: 12px;
}
.switch.small input:checked + .switch-track::after {
    left: 14px;
}
.switch.large .switch-track {
    width: 44px;
    height: 24px;
}
.switch.large .switch-track::after {
    width: 20px;
    height: 20px;
}
.switch.large input:checked + .switch-track::after {
    left: 22px;
}
/* Switch Colors */
.switch.success input:checked + .switch-track {
    background: #2ecc71;
}
.switch.success input:checked:hover + .switch-track {
    background: #27ae60;
}
.switch.warning input:checked + .switch-track {
    background: #e67e22;
}
.switch.warning input:checked:hover + .switch-track {
    background: #d35400;
}
.switch.danger input:checked + .switch-track {
    background: #e74c3c;
}
.switch.danger input:checked:hover + .switch-track {
    background: #c0392b;
}
/* Switch Disabled */
.switch.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.switch.disabled:hover .switch-track {
    background: #cbd5e1;
}
.switch.disabled input:checked:hover + .switch-track {
    background: #3498db;
}
