/* 文档列表样式 */
/* docs内容框架 */
.docs-container {
    height: auto;
}

.docs-title {
    font-size: clamp(1.56rem, calc(1.473rem + 0.446vw), 2.19rem);
    font-weight: 700;
    margin-bottom: 30px;
}

.docs-title-count {
    color: #4285f4;
}

/* 文档列表容器 */
.doc-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(260px, 80vw, 600px), 1fr));
    gap: 20px;
}

/* 文档卡片 */
.doc-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: clamp(12px, 2vw, 20px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.doc-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: #e0e7ff;
}

/* 文档头部文字 */
.doc-header {
    display: flex;
    gap: clamp(6px, 2vw, 12px);
}

/* 文档图标 */
.doc-icon img {
    width: clamp(30px, calc(24.143px + 1.83vw), 71px);
    height: auto;
}

/* 文档内容 */
.doc-content {
    flex: 1;
    min-width: 0;
}

.doc-title {
    line-height: 1.4;
    font-size: clamp(0.75rem, calc(0.652rem + 0.491vw), 1.44rem);
    font-weight: 700;
}

/* 文档标签 */
.doc-tags {
    display: flex;
    gap: clamp(3px, 1vw, 8px);
    margin-bottom: 16px;
}

.doc-tag {
    display: inline-flex;
    align-items: center;
    padding: clamp(3px, 1vw,5px) clamp(4px, 1vw, 10px);
    background: #f5f8fe;
    color: #4981f5;
    border: 1px solid #e3ecfd;
    font-size: clamp(0.50rem, calc(0.429rem + 0.357vw), 1.00rem);
    font-weight: 500;
    border-radius: 8px;
    white-space: nowrap;
}

.doc-tags :first-child {
    background-color: #4d86fa;
    color: white;
}

/* 文档底部 */
.doc-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* 文档元数据 */
.doc-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: clamp(0.63rem, calc(0.580rem + 0.223vw), 0.94rem);
    font-weight: 400;
}

.doc-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.doc-meta-item svg {
    width: 14px;
    height: 14px;
}

/* 文档操作按钮 */
.doc-actions {
    display: flex;
    gap: 8px;
}

.doc-action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.doc-action-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.doc-action-btn.primary {
    background: linear-gradient(135deg, #4481f9 0%, #6b96fb 100%);
    color: #ffffff;
    border-color: #4481f9;
}

.doc-action-btn.primary:hover {
    background: linear-gradient(135deg, #3b73e6 0%, #5a85e8 100%);
    border-color: #3b73e6;
}

.doc-action-btn svg {
    width: 14px;
    height: 14px;
}