
        * {
            scrollbar-width: thin;
            scrollbar-color: #444 #1a1a1a;
        }
        *::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        *::-webkit-scrollbar-track {
            background: #1a1a1a;
        }
        *::-webkit-scrollbar-thumb {
            background: #444;
            border-radius: 4px;
        }
        
        body {
            font-family: 'Space Grotesk', sans-serif;
            background-color: #0a0a0a;
            color: #f0f0f0;
            transition: background-color 0.3s ease, color 0.3s ease;
        }
        .code-font {
            font-family: 'JetBrains Mono', monospace;
        }
        
        .api-card {
            background: linear-gradient(145deg, #1c1c1c, #232323);
            border: 1px solid rgba(100, 100, 100, 0.25);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .api-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
            transition: left 0.7s ease;
        }
        
        .api-card:hover::before {
            left: 100%;
        }
        
        .api-card:hover {
            border-color: rgba(120, 120, 120, 0.6);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
            transform: translateY(-3px);
        }

        .category-header {
            background: linear-gradient(135deg, rgba(40, 40, 40, 0.9), rgba(30, 30, 30, 0.9));
            border-bottom: 1px solid rgba(80, 80, 80, 0.3);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }
        
        .category-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(100, 100, 100, 0.5), transparent);
        }

        .search-input {
            background-color: rgba(28, 28, 28, 0.8);
            border: 1px solid rgba(100, 100, 100, 0.3);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }
        
        .search-input:focus {
            background-color: rgba(35, 35, 35, 0.9);
            border-color: rgba(120, 120, 120, 0.6);
            outline: none;
            box-shadow: 0 0 0 3px rgba(100, 100, 100, 0.2);
        }
        
        .endpoint-badge {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
            font-weight: 700;
            letter-spacing: 0.05em;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            position: relative;
            overflow: hidden;
        }
        
        .endpoint-badge::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.6s ease;
        }
        
        .endpoint-badge:hover::after {
            left: 100%;
        }
        
        .status-tag {
            background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.1));
            border: 1px solid rgba(34, 197, 94, 0.3);
            position: relative;
            overflow: hidden;
            padding: 3px 10px;
        }
        
        .status-tag::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), transparent);
            z-index: 1;
        }
        
        .status-tag:hover {
            background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(34, 197, 94, 0.15));
            transform: scale(1.05);
        }
        
        .loading-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(4px);
            z-index: 9999;
        }
        .loading-overlay.active {
            display: flex;
        }
        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        .notification-toast {
            background: linear-gradient(135deg, #222, #2a2a2a);
            border: 1px solid #444;
            color: #fff;
            transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
        }
        .notification-toast.show {
            transform: translateX(0);
        }
        
        .gradient-text {
            background: linear-gradient(-45deg, #fff, #aaa, #777);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-size: 200% auto;
            animation: gradientShift 3s ease-in-out infinite;
        }
        
        @keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }
        
        .theme-switch {
            background: linear-gradient(135deg, #222, #333);
            border: 1px solid #444;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }
        .theme-switch:hover {
            background: linear-gradient(135deg, #333, #444);
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
        }

        .media-preview-image {
            max-width: 100%;
            max-height: 400px;
            width: auto;
            height: auto;
            border-radius: 6px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }
        
        .feature-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: linear-gradient(135deg, rgba(100, 100, 100, 0.2), rgba(80, 80, 80, 0.1));
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            border: 1px solid rgba(100, 100, 100, 0.3);
        }
        
        .api-item {
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            position: relative;
            transition: all 0.3s ease;
        }
        
        .api-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 0;
            background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
            transition: height 0.3s ease;
        }
        
        .api-item:hover::before {
            height: 100%;
        }
        
        .api-item:last-child {
            border-bottom: none;
        }
        
        .api-item:hover {
            background: linear-gradient(90deg, rgba(40, 40, 40, 0.3), transparent);
        }
        
        .method-badge {
            min-width: 70px;
            text-align: center;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }
        
        .method-get {
            background: linear-gradient(135deg, #10b981, #059669);
        }
        
        .method-post {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
        }
        
        .method-put {
            background: linear-gradient(135deg, #f59e0b, #d97706);
        }
        
        .method-delete {
            background: linear-gradient(135deg, #ef4444, #dc2626);
        }
        
        .method-patch {
            background: linear-gradient(135deg, #8b5cf6, #7c3aed);
        }
        
        .param-input {
            background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(25, 25, 25, 0.9));
            border: 1px solid rgba(100, 100, 100, 0.3);
            transition: all 0.3s ease;
        }
        
        .param-input:focus {
            border-color: rgba(120, 120, 120, 0.6);
            background: linear-gradient(135deg, rgba(35, 35, 35, 0.9), rgba(30, 30, 30, 0.9));
            box-shadow: 0 0 0 2px rgba(100, 100, 100, 0.2);
            outline: none;
        }
        
        .response-box {
            background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(15, 15, 15, 0.9));
            border: 1px solid rgba(100, 100, 100, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .response-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, transparent 30%, rgba(100, 100, 100, 0.05) 50%, transparent 70%);
            animation: shimmer 2s infinite linear;
            background-size: 200% 100%;
        }
        
        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
            border: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .btn-primary::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.6s ease;
        }
        
        .btn-primary:hover::after {
            left: 100%;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
        }
        
        .btn-secondary {
            background: linear-gradient(135deg, rgba(100, 100, 100, 0.2), rgba(80, 80, 80, 0.1));
            border: 1px solid rgba(100, 100, 100, 0.3);
            transition: all 0.3s ease;
        }
        
        .btn-secondary:hover {
            background: linear-gradient(135deg, rgba(120, 120, 120, 0.3), rgba(100, 100, 100, 0.2));
            border-color: rgba(120, 120, 120, 0.5);
            transform: translateY(-1px);
        }
        
        .category-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: linear-gradient(135deg, rgba(100, 100, 100, 0.2), rgba(80, 80, 80, 0.1));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            border: 1px solid rgba(100, 100, 100, 0.3);
        }
        
        .light-theme {
            background-color: #f5f5f5;
            color: #333;
        }
        
        .light-theme .api-card {
            background: linear-gradient(145deg, #ffffff, #f0f0f0);
            border: 1px solid rgba(200, 200, 200, 0.5);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }
        
        .light-theme .api-card:hover {
            border-color: rgba(150, 150, 150, 0.8);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        }
        
        .light-theme .category-header {
            background: linear-gradient(135deg, rgba(250, 250, 250, 0.9), rgba(240, 240, 240, 0.9));
            border-bottom: 1px solid rgba(200, 200, 200, 0.5);
        }
        
        .light-theme .search-input {
            background-color: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(200, 200, 200, 0.5);
            color: #333;
        }
        
        .light-theme .search-input:focus {
            background-color: rgba(255, 255, 255, 0.95);
            border-color: rgba(150, 150, 150, 0.8);
            box-shadow: 0 0 0 3px rgba(200, 200, 200, 0.2);
        }
        
        .light-theme .api-item:hover {
            background: linear-gradient(90deg, rgba(240, 240, 240, 0.5), transparent);
        }
        
        .light-theme .response-box {
            background: linear-gradient(135deg, rgba(250, 250, 250, 0.9), rgba(245, 245, 245, 0.9));
            border: 1px solid rgba(200, 200, 200, 0.5);
        }
        
        .light-theme .param-input {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(250, 250, 250, 0.9));
            border: 1px solid rgba(200, 200, 200, 0.5);
            color: #333;
        }
        
        .light-theme .gradient-text {
            background: linear-gradient(-45deg, #333, #555, #777);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .light-theme .btn-secondary {
            background: linear-gradient(135deg, rgba(200, 200, 200, 0.2), rgba(180, 180, 180, 0.1));
            border: 1px solid rgba(200, 200, 200, 0.5);
            color: #555;
        }
        
        .light-theme .category-icon {
            background: linear-gradient(135deg, rgba(200, 200, 200, 0.2), rgba(180, 180, 180, 0.1));
            border: 1px solid rgba(200, 200, 200, 0.5);
        }
        
        .light-theme .feature-icon {
            background: linear-gradient(135deg, rgba(200, 200, 200, 0.2), rgba(180, 180, 180, 0.1));
            border: 1px solid rgba(200, 200, 200, 0.5);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        
        .stat-card {
            background: linear-gradient(135deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.8));
            border: 1px solid rgba(100, 100, 100, 0.3);
            border-radius: 12px;
            padding: 20px;
            transition: all 0.3s ease;
        }
        
        .light-theme .stat-card {
            background: linear-gradient(135deg, rgba(250, 250, 250, 0.8), rgba(240, 240, 240, 0.8));
            border: 1px solid rgba(200, 200, 200, 0.5);
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
        
        .stat-value {
            font-size: 2rem;
            font-weight: 700;
            background: linear-gradient(-45deg, #fff, #aaa, #777);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .light-theme .stat-value {
            background: linear-gradient(-45deg, #333, #555, #777);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .endpoint-count {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 0.75rem;
            color: #888;
            font-weight: 500;
        }

        .light-theme .endpoint-count {
            color: #666;
        }

        .path-display {
            background: linear-gradient(135deg, rgba(25, 25, 25, 0.9), rgba(20, 20, 20, 0.9));
            border: 1px solid rgba(100, 100, 100, 0.3);
            border-radius: 8px;
            padding: 12px 16px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.875rem;
            color: #d1d5db;
            position: relative;
            overflow: hidden;
        }

        .light-theme .path-display {
            background: linear-gradient(135deg, rgba(245, 245, 245, 0.9), rgba(240, 240, 240, 0.9));
            border: 1px solid rgba(200, 200, 200, 0.5);
            color: #4b5563;
        }

        .terminal-header {
            background: linear-gradient(135deg, #2d3748, #1a202c);
            border-bottom: 1px solid rgba(100, 100, 100, 0.3);
            padding: 10px 15px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
        }
        
        .terminal-dots {
            display: flex;
            gap: 6px;
        }
        
        .terminal-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }
        
        .terminal-dot-red {
            background: #ff5f56;
        }
        
        .terminal-dot-yellow {
            background: #ffbd2e;
        }
        
        .terminal-dot-green {
            background: #27ca3f;
        }
        
        .terminal-title {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            color: #a0aec0;
            font-weight: 600;
        }
        
        .terminal-body {
            background: #1a1a1a;
            border-bottom-left-radius: 8px;
            border-bottom-right-radius: 8px;
            padding: 15px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            line-height: 1.5;
            max-height: 200px;
            overflow-y: auto;
        }
        
        .light-theme .terminal-body {
            background: #2d3748;
            color: #e2e8f0;
        }
        
        .json-key {
            color: #60a5fa;
        }
        
        .json-string {
            color: #34d399;
        }
        
        .json-number {
            color: #fbbf24;
        }
        
        .json-boolean {
            color: #f87171;
        }
        
        .json-null {
            color: #9ca3af;
        }

        .media-preview-container {
            background: linear-gradient(135deg, rgba(25, 25, 25, 0.95), rgba(20, 20, 20, 0.95));
            border: 1px solid rgba(100, 100, 100, 0.3);
            border-radius: 12px;
            padding: 16px;
            margin: 16px 0;
        }

        .media-preview-wrapper {
            background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(25, 25, 25, 0.95));
            border: 1px solid rgba(100, 100, 100, 0.3);
            border-radius: 12px;
            overflow: hidden;
            margin: 16px 0;
        }

        .preview-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 16px;
            background: linear-gradient(135deg, rgba(40, 40, 40, 0.9), rgba(35, 35, 35, 0.9));
            border-bottom: 1px solid rgba(100, 100, 100, 0.2);
        }

        .file-info {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.875rem;
            color: #d1d5db;
            font-family: 'JetBrains Mono', monospace;
            max-width: 70%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .file-icon {
            width: 16px;
            height: 16px;
            color: #6b7280;
            flex-shrink: 0;
        }

        .file-extension {
            color: #9ca3af;
            font-size: 0.75rem;
            margin-left: 4px;
        }

        .preview-actions {
            display: flex;
            gap: 8px;
        }

        .btn-action {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 6px 12px;
            background: linear-gradient(135deg, rgba(55, 55, 55, 0.9), rgba(45, 45, 45, 0.9));
            border: 1px solid rgba(100, 100, 100, 0.3);
            border-radius: 6px;
            color: #d1d5db;
            font-size: 0.75rem;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .btn-action:hover {
            background: linear-gradient(135deg, rgba(65, 65, 65, 0.9), rgba(55, 55, 55, 0.9));
            border-color: rgba(120, 120, 120, 0.5);
            transform: translateY(-1px);
        }

        .btn-action svg {
            width: 12px;
            height: 12px;
            flex-shrink: 0;
        }

        .image-container {
            position: relative;
            padding: 16px;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 200px;
            max-height: 600px;
            overflow: hidden;
        }

        .preview-image {
            max-width: 100%;
            max-height: 500px;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            cursor: pointer;
            transition: transform 0.3s ease;
            object-fit: contain;
        }

        .preview-image:hover {
            transform: scale(1.02);
        }

        .image-overlay {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            text-align: center;
            pointer-events: none;
        }

        .image-size {
            background: rgba(0, 0, 0, 0.7);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            color: #9ca3af;
            display: inline-block;
        }

        .video-container {
            padding: 16px;
            position: relative;
        }

        .preview-video {
            width: 100%;
            max-height: 500px;
            border-radius: 8px;
            background: #000;
        }

        .video-controls {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            background: rgba(0, 0, 0, 0.8);
            border-radius: 8px;
            margin-top: 8px;
        }

        .video-btn {
            background: none;
            border: none;
            color: #fff;
            cursor: pointer;
            padding: 4px;
            border-radius: 4px;
            transition: background 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .video-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .video-btn svg {
            width: 20px;
            height: 20px;
        }

        .video-progress {
            flex: 1;
            height: 4px;
            border-radius: 2px;
            background: rgba(255, 255, 255, 0.2);
            cursor: pointer;
            -webkit-appearance: none;
        }

        .video-progress::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #3b82f6;
            cursor: pointer;
        }

        .audio-container {
            padding: 24px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
        }

        .preview-audio {
            width: 100%;
            max-width: 500px;
        }

        .audio-visualizer {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            height: 60px;
            width: 100%;
            max-width: 300px;
        }

        .audio-wave {
            width: 6px;
            background: linear-gradient(to top, #3b82f6, #60a5fa);
            border-radius: 3px;
            animation: wave 1.2s ease-in-out infinite;
        }

        .audio-wave:nth-child(2) { animation-delay: 0.1s; }
        .audio-wave:nth-child(3) { animation-delay: 0.2s; }
        .audio-wave:nth-child(4) { animation-delay: 0.3s; }
        .audio-wave:nth-child(5) { animation-delay: 0.4s; }

        @keyframes wave {
            0%, 100% { height: 20px; }
            50% { height: 40px; }
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 600px;
            overflow: hidden;
        }

        .preview-pdf {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 0;
        }

        .pdf-fallback {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: rgba(25, 25, 25, 0.95);
            color: #9ca3af;
            text-align: center;
            padding: 24px;
        }

        .pdf-fallback a {
            color: #60a5fa;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .pdf-fallback a:hover {
            color: #93c5fd;
            text-decoration: underline;
        }

        .document-container {
            padding: 48px 24px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .document-icon {
            width: 64px;
            height: 64px;
            color: #6b7280;
            margin-bottom: 16px;
        }

        .document-message {
            color: #9ca3af;
            margin-bottom: 8px;
            font-size: 0.875rem;
        }

        .document-hint {
            color: #6b7280;
            margin-bottom: 16px;
            font-size: 0.75rem;
        }

        .document-actions {
            display: flex;
            gap: 12px;
        }

        .document-link {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: linear-gradient(135deg, #3b82f6, #2563eb);
            color: white;
            text-decoration: none;
            border-radius: 6px;
            font-size: 0.875rem;
            transition: all 0.2s ease;
        }

        .document-link:hover {
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
            transform: translateY(-1px);
        }

        .document-link svg {
            width: 16px;
            height: 16px;
        }

        .unknown-container {
            padding: 48px 24px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .unknown-icon {
            width: 64px;
            height: 64px;
            color: #6b7280;
            margin-bottom: 16px;
        }

        .unknown-message {
            color: #9ca3af;
            margin-bottom: 16px;
            font-size: 0.875rem;
        }

        .unknown-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .unknown-link {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: linear-gradient(135deg, #3b82f6, #2563eb);
            color: white;
            text-decoration: none;
            border-radius: 6px;
            font-size: 0.875rem;
            transition: all 0.2s ease;
            border: none;
            cursor: pointer;
            font-family: inherit;
        }

        .unknown-link:hover {
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
            transform: translateY(-1px);
        }

        .unknown-link.secondary {
            background: linear-gradient(135deg, rgba(55, 55, 55, 0.9), rgba(45, 45, 45, 0.9));
            color: #d1d5db;
        }

        .unknown-link.secondary:hover {
            background: linear-gradient(135deg, rgba(65, 65, 65, 0.9), rgba(55, 55, 55, 0.9));
        }

        .unknown-link svg {
            width: 16px;
            height: 16px;
        }

        .error-container {
            padding: 48px 24px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .error-icon {
            width: 64px;
            height: 64px;
            color: #ef4444;
            margin-bottom: 16px;
        }

        .error-message {
            color: #f87171;
            margin-bottom: 16px;
            font-size: 0.875rem;
        }

        .error-detail {
            color: #9ca3af;
            margin-bottom: 16px;
            font-size: 0.75rem;
            max-width: 400px;
        }

        .light-theme .media-preview-container {
            background: linear-gradient(135deg, rgba(245, 245, 245, 0.95), rgba(240, 240, 240, 0.95));
            border: 1px solid rgba(200, 200, 200, 0.5);
        }

        .light-theme .media-preview-wrapper {
            background: linear-gradient(135deg, rgba(250, 250, 250, 0.95), rgba(245, 245, 245, 0.95));
            border: 1px solid rgba(200, 200, 200, 0.5);
        }

        .light-theme .preview-header {
            background: linear-gradient(135deg, rgba(250, 250, 250, 0.9), rgba(245, 245, 245, 0.9));
            border-bottom: 1px solid rgba(200, 200, 200, 0.3);
        }

        .light-theme .file-info {
            color: #374151;
        }

        .light-theme .file-icon {
            color: #9ca3af;
        }

        .light-theme .file-extension {
            color: #6b7280;
        }

        .light-theme .btn-action {
            background: linear-gradient(135deg, rgba(230, 230, 230, 0.9), rgba(220, 220, 220, 0.9));
            border: 1px solid rgba(200, 200, 200, 0.5);
            color: #374151;
        }

        .light-theme .btn-action:hover {
            background: linear-gradient(135deg, rgba(240, 240, 240, 0.9), rgba(230, 230, 230, 0.9));
            border-color: rgba(180, 180, 180, 0.7);
        }

        .light-theme .pdf-fallback {
            background: rgba(245, 245, 245, 0.95);
            color: #6b7280;
        }

        .light-theme .unknown-icon,
        .light-theme .document-icon {
            color: #9ca3af;
        }

        .light-theme .unknown-message,
        .light-theme .document-message {
            color: #6b7280;
        }

        .light-theme .document-hint {
            color: #9ca3af;
        }

        .light-theme .unknown-link.secondary {
            background: linear-gradient(135deg, rgba(230, 230, 230, 0.9), rgba(220, 220, 220, 0.9));
            color: #374151;
        }

        .light-theme .unknown-link.secondary:hover {
            background: linear-gradient(135deg, rgba(240, 240, 240, 0.9), rgba(230, 230, 230, 0.9));
        }

        @media (max-width: 640px) {
            .preview-header {
                flex-direction: column;
                gap: 12px;
                align-items: flex-start;
            }
            
            .file-info {
                max-width: 100%;
            }
            
            .preview-actions {
                width: 100%;
                justify-content: flex-end;
            }
            
            .pdf-container {
                height: 400px;
            }
            
            .unknown-actions {
                flex-direction: column;
                width: 100%;
            }
            
            .unknown-link {
                width: 100%;
                justify-content: center;
            }
        }