/* document-loader.css */
/* 文档列表样式 */


#documentContainer * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


#documentContainer {
    background-color: #fff;
    /*padding: 40px;*/
    border-radius: 12px;
}

#documentContainer .document-list {
    list-style: none;
}

#documentContainer .document-item {
    display: flex;
    align-items: flex-start;
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 5px;
    background: #f8f9fb;
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 4px solid transparent;
}

#documentContainer .document-item:hover {
    background: linear-gradient(135deg, #273e9315 0%, #1e2d6f15 100%);
    transform: translateX(8px);
    border-left-color: #273e93;
    box-shadow: 0 4px 12px rgba(39, 62, 147, 0.15);
}

#documentContainer .date-box {
    width: 85px;
    height: 65px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
    border: 2px solid #273e93;
}

#documentContainer .date-top {
    background: linear-gradient(135deg, #273e93 0%, #1e2d6f 100%);
    color: #fff;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

#documentContainer .date-bottom {
    background-color: #fff;
    color: #273e93;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

#documentContainer .document-content {
    flex: 1;
}

#documentContainer .document-title {
    color: #333;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

#documentContainer .document-desc {
    /*color: #666;*/
    font-size: 13px;
    line-height: 1.6;
}

/* 分页样式 */
#documentContainer .pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 50px;
    padding: 25px;
    gap: 12px;
    /*background: #f5f7fb;*/
    border-radius: 12px;
}

#documentContainer .page-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #273e93 0%, #1e2d6f 100%);
    border: none;
    border-radius: 10px;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(39, 62, 147, 0.3);
    font-weight: 700;
}

#documentContainer .page-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(39, 62, 147, 0.4);
}

#documentContainer .page-btn:active:not(:disabled) {
    transform: translateY(0);
}

#documentContainer .page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

#documentContainer .page-input {
    width: 70px;
    height: 48px;
    border: 2px solid #273e93;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    color: #333;
    font-weight: 700;
    transition: all 0.2s ease;
    background: #fff;
}

#documentContainer .page-input:focus {
    box-shadow: 0 0 0 4px rgba(39, 62, 147, 0.2);
    outline: none;
    border-color: #1e2d6f;
}

#documentContainer .page-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin: 0 12px;
}

#documentContainer .page-divider {
    color: #ddd;
    font-size: 18px;
    font-weight: 300;
}

#documentContainer .page-total {
    font-size: 30px;
    color: #555;
    font-weight: 700;
}

/* 错误提示 */
#documentContainer .error-message {
    padding: 20px;
    background-color: #fee;
    color: #c33;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

/* 响应式 */
@media (max-width: 600px) {
    #documentContainer {
        padding: 25px 15px;
    }

    #documentContainer .pagination {
        gap: 8px;
        padding: 20px;
    }

    #documentContainer .page-btn,
    #documentContainer .page-input {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}