/* 下载记录公示样式 */

/* 让包含短代码的页面使用全宽布局 */
.drp-fullwidth .content,
.drp-fullwidth .entry-content,
.drp-fullwidth .post-content,
.drp-fullwidth article,
.drp-fullwidth .container {
    max-width: 1200px !important;
    width: 100% !important;
}

/* 隐藏侧边栏（如果有） */
.drp-fullwidth .sidebar,
.drp-fullwidth #sidebar,
.drp-fullwidth .widget-area {
    display: none !important;
}

/* 主内容区全宽 */
.drp-fullwidth .main,
.drp-fullwidth #main,
.drp-fullwidth .site-main {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.drp-container {
    max-width: 100%;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.drp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.drp-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.drp-total {
    font-size: 14px;
    color: #666;
}

.drp-table-wrapper {
    overflow-x: auto;
}

.drp-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.drp-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.drp-table th {
    padding: 12px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.drp-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #444;
    text-align: center;
}

.drp-table tbody tr:hover {
    background-color: #f8f9fa;
}

.drp-table tbody tr:last-child td {
    border-bottom: none;
}

.drp-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.drp-title a:hover {
    color: #667eea;
}

.drp-deleted {
    color: #999;
    font-style: italic;
}

.drp-user {
    color: #666;
}

.drp-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.drp-badge-download {
    background-color: #e3f2fd;
    color: #1976d2;
}

.drp-badge-view {
    background-color: #fff3e0;
    color: #f57c00;
}

.drp-time {
    color: #888;
    font-size: 13px;
    white-space: nowrap;
}

.drp-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    background: #f9f9f9;
    border-radius: 8px;
}

.drp-error {
    text-align: center;
    padding: 20px;
    color: #d32f2f;
    background: #ffebee;
    border-radius: 8px;
}

.drp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 15px;
}

.drp-page-link {
    display: inline-block;
    padding: 0 10px;
    background: transparent;
    color: #888 !important;
    text-decoration: none;
    border: none;
    font-size: 14px;
    transition: all 0.2s;
}

.drp-page-link:hover {
    background: transparent;
    color: #667eea !important;
    border: none;
}

.drp-page-info {
    padding: 8px 12px;
    color: #666;
    font-size: 14px;
    background: #f5f5f5;
    border-radius: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .drp-table th,
    .drp-table td {
        padding: 10px 8px;
        font-size: 13px;
    }
    
    .drp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .drp-pagination {
        flex-wrap: wrap;
    }
}
