/* 确保body有padding-top，避免内容被header遮挡 */
body {
    padding-top: 70px !important; /* header高度为70px */
}

.dataset-detail-page {
    background: linear-gradient(-45deg, 
        rgba(255, 255, 255, 0.95),
        rgba(240, 248, 255, 0.9),
        rgba(236, 253, 245, 0.7),
        rgba(248, 250, 255, 0.9)
    );
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: calc(100vh - 60px);
    padding: 20px 0;
}

.dataset-detail-page .container {
    max-width: none;
    width: 84%;
    margin-left: 8%;
    margin-right: 8%;
    padding-left: 0;
    padding-right: 0;
}

.dataset-detail-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 20px;
}

.dataset-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.dataset-title h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.dataset-tag {
    background: #e6f7ff;
    color: #1890ff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

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

.btn-collect {
    border: 1px solid #d9d9d9;
    background: white;
}

.btn-collect.active {
    color: #ff4d4f;
    border-color: #ff4d4f;
}

.dataset-info {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
}

.info-item i {
    color: #1890ff;
}

.price-item {
    color: #ff4d4f;
    font-weight: 500;
    font-size: 16px;
}

.dataset-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.dataset-files {
    margin-top: 24px;
}

.dataset-files h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.dataset-files .table {
    margin-bottom: 0;
    border-color: #e5e7eb;
    font-size: 14px;
}

.dataset-files .table td {
    border-color: #e5e7eb;
    padding: 12px 16px;
    vertical-align: middle;
    color: #666;
}

.dataset-files .table tr:first-child {
    border-top: 1px solid #e5e7eb;
}

.dataset-table .date-cell {
    width: 100px;
    background-color: #f9fafb;
}

.dataset-table .name-cell {
    width: 35%;
}

.dataset-table .format-cell {
    width: 100px;
}

.dataset-table .count-cell {
    width: 100px;
}

.dataset-table .size-cell {
    width: 100px;
}

.dataset-table .action-cell {
    width: 100px;
    text-align: center;
}

.btn-download-login {
    color: #1890ff;
    border: 1px solid #1890ff;
    background: transparent;
    min-width: 80px;
}

.btn-download-login:hover {
    color: #40a9ff;
    border-color: #40a9ff;
    background-color: rgba(24, 144, 255, 0.1);
}

.dataset-files .badge {
    font-weight: normal;
    padding: 4px 8px;
    background-color: #f3f4f6 !important;
    color: #374151 !important;
}

.dataset-files .btn-sm {
    padding: 4px 12px;
    font-size: 13px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    margin-bottom: 12px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 4px;
    color: #1890ff;
}

.file-meta {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 500;
}

.file-size {
    color: #999;
    font-size: 12px;
}

.file-actions .btn {
    padding: 4px 12px;
    font-size: 13px;
}
