
        :where([class^="ri-"])::before {
            content: "\f3c2";
        }

        .category-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 0.75rem;
            overflow: hidden;
            position: relative;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .category-card:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
        }

        .category-card.active {
            border: 2px solid #3b82f6;
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 10px 30px rgba(59, 130, 246, 0.2);
            transform: translateY(-2px);
        }

        .category-card.active::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
            z-index: 1;
            pointer-events: none;
        }

        .editor-toolbar {
            border-bottom: 1px solid #e5e7eb;
            padding: 12px 16px;
            background: #f9fafb;
            border-radius: 8px 8px 0 0;
        }

        .editor-content {
            min-height: 400px;
            padding: 16px;
            border: 1px solid #e5e7eb;
            border-top: none;
            border-radius: 0 0 8px 8px;
            background: white;
            outline: none;
        }

        .editor-content:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .template-card {
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .template-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .template-card.selected {
            border-color: #3b82f6;
            background: #f0f8ff;
        }

        .preview-modal {
            backdrop-filter: blur(8px);
        }

        .upload-area {
            border: 2px dashed #d1d5db;
            transition: all 0.3s ease;
        }

        .upload-area:hover {
            border-color: #3b82f6;
            background: #f0f8ff;
        }

        .upload-area.dragover {
            border-color: #3b82f6;
            background: #dbeafe;
        }

        .content-block {
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            margin-bottom: 16px;
            background: white;
        }

        .content-block:hover {
            border-color: #3b82f6;
        }

        .block-toolbar {
            background: #f9fafb;
            border-bottom: 1px solid #e5e7eb;
            padding: 8px 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .ai-generating {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.5;
            }
        }

        .char-counter {
            font-size: 12px;
            color: #6b7280;
        }

        .char-counter.warning {
            color: #f59e0b;
        }

        .char-counter.error {
            color: #ef4444;
        }

        .rich-editor .ql-editor {
            min-height: 200px;
            font-size: 14px;
            line-height: 1.6;
        }

        .rich-editor .ql-toolbar {
            border-top: 1px solid #e5e7eb;
            border-left: 1px solid #e5e7eb;
            border-right: 1px solid #e5e7eb;
            border-bottom: none;
            border-radius: 8px 8px 0 0;
            background: #f9fafb;
        }

        .rich-editor .ql-container {
            border-left: 1px solid #e5e7eb;
            border-right: 1px solid #e5e7eb;
            border-bottom: 1px solid #e5e7eb;
            border-top: none;
            border-radius: 0 0 8px 8px;
            background: white;
        }

        .rich-editor .ql-editor:focus {
            outline: none;
        }

        .rich-editor .ql-container.ql-snow {
            border: 1px solid #e5e7eb;
            border-top: none;
        }

        .rich-editor .ql-toolbar.ql-snow {
            border: 1px solid #e5e7eb;
            border-bottom: none;
        }
