* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
         body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            min-height: 100vh;
        }

       


     .title-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 50px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.title-card h1 {
    color: white;
    font-size: 3em;
    margin: 0;
}

.title-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2em;
    margin: 10px 0 0 0;
}

        .documents-list {
            background: rgba(255, 255, 253, 0.8);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            backdrop-filter: blur(10px);
            margin-bottom:20px;
        }

        .documents-title {
            display: flex;
            align-items: center;
            gap: 10px;
            padding-bottom: 20px;
            border-bottom: 2px solid #f0f0f0;
            margin-bottom: 20px;
            color: #333;
            font-size: 1.3em;
            font-weight: 500;
        }

        .documents-title span {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.9em;
            margin-left: auto;
        }

        .document-item {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            border-radius: 12px;
            transition: all 0.3s ease;
            margin-bottom: 8px;
            background: white;
            border: 1px solid #eef2f6;
        }

        .document-item:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
            border-color: #667eea;
        }

        .document-icon {
            width: 45px;
            height: 45px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 22px;
            margin-right: 20px;
            flex-shrink: 0;
        }

        .document-info {
            flex-grow: 1;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 20px;
        }

        .document-name {
            font-size: 1.1em;
            font-weight: 600;
            color: #2d3748;
            min-width: 250px;
        }

        .document-tags {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .tag {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 4px 12px;
            background: #f7fafc;
            border-radius: 20px;
            font-size: 0.85em;
            color: #4a5568;
            border: 1px solid #e2e8f0;
        }

        .tag i {
            font-size: 14px;
            opacity: 0.7;
        }

        .document-link {
            margin-left: auto;
            text-decoration: none;
            color: #667eea;
            font-weight: 500;
            padding: 8px 16px;
            border-radius: 8px;
            transition: all 0.3s ease;
            background: #f7fafc;
            border: 1px solid #e2e8f0;
            font-size: 0.95em;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            flex-shrink: 0;
        }

        .document-link:hover {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-color: transparent;
        }

        .document-link::after {
            content: "→";
            transition: transform 0.3s ease;
        }

        .document-link:hover::after {
            transform: translateX(3px);
        }

        /* Категории документов */
        .category-section {
            margin-bottom: 30px;
        }

        .category-title {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 0;
            margin-bottom: 15px;
            border-bottom: 2px dashed #e2e8f0;
        }

        .category-title h2 {
            font-size: 1.2em;
            color: #4a5568;
            font-weight: 500;
        }

        .category-title .count {
            background: #e2e8f0;
            padding: 2px 10px;
            margin-bottom:15px;
            border-radius: 15px;
            font-size: 0.85em;
            color: #4a5568;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2.2em;
            }

            .documents-list {
                padding: 20px;
            }

            .document-item {
                flex-wrap: wrap;
                padding: 15px;
            }

            .document-info {
                width: 100%;
                margin: 10px 0;
                gap: 10px;
            }

            .document-name {
                min-width: 100%;
            }

            .document-link {
                width: 100%;
                justify-content: center;
                margin-left: 0;
            }

            .document-icon {
                width: 40px;
                height: 40px;
                font-size: 18px;
                margin-right: 15px;
            }
        }
         @media (max-width: 480px) {
            body {
                padding: 20px 10px;
            }

            .header h1 {
                font-size: 1.8em;
            }

            .documents-list {
                padding: 15px;
            }

            .document-tags {
                gap: 8px;
            }

            .tag {
                padding: 3px 8px;
                font-size: 0.8em;
            }
        }

        /* Статистика в шапке */
        .stats {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 20px;
            color: white;
        }

        .stat-item {
            text-align: center;
        }

        .stat-value {
            font-size: 1.8em;
            font-weight: 600;
            line-height: 1.2;
        }

        .stat-label {
            font-size: 0.9em;
            opacity: 0.9;
        }

        /* Анимация при загрузке */
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }