/* 通用样式 */
.wpfm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 表单样式 */
.wpfm-form {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wpfm-form .form-group {
    margin-bottom: 15px;
}

.wpfm-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.wpfm-form input[type="text"],
.wpfm-form input[type="email"],
.wpfm-form input[type="password"],
.wpfm-form input[type="number"],
.wpfm-form select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wpfm-form .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.wpfm-form .btn-primary {
    background: #2271b1;
    color: #fff;
}

.wpfm-form .btn-primary:hover {
    background: #135e96;
}

/* 表格样式 */
.wpfm-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wpfm-table th,
.wpfm-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.wpfm-table th {
    background: #f5f5f5;
    font-weight: 500;
}

.wpfm-table tr:hover {
    background: #f9f9f9;
}

/* 按钮样式 */
.wpfm-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.wpfm-btn-primary {
    background: #2271b1;
    color: #fff;
}

.wpfm-btn-primary:hover {
    background: #135e96;
    color: #fff;
}

.wpfm-btn-danger {
    background: #dc3545;
    color: #fff;
}

.wpfm-btn-danger:hover {
    background: #c82333;
    color: #fff;
}

/* 消息提示样式 */
.wpfm-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.wpfm-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpfm-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 文件上传区域样式 */
.wpfm-upload-area {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 4px;
    background: #f9f9f9;
}

.wpfm-upload-area:hover {
    border-color: #2271b1;
}

/* 加载动画 */
.wpfm-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #2271b1;
    border-radius: 50%;
    animation: wpfm-spin 1s linear infinite;
}

@keyframes wpfm-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .wpfm-container {
        padding: 10px;
    }
    
    .wpfm-table {
        display: block;
        overflow-x: auto;
    }
    
    .wpfm-form input[type="text"],
    .wpfm-form input[type="email"],
    .wpfm-form input[type="password"],
    .wpfm-form input[type="number"],
    .wpfm-form select {
        width: 100%;
    }
}

/* 通用样式 */
.wpfm-register-form,
.wpfm-login-form,
.wpfm-user-center,
.wpfm-upload-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* 表单样式 */
.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 按钮样式 */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #007bff;
    border: none;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* 文件上传区域 */
.drop-zone {
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drop-zone:hover {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.05);
}

.drop-zone.dragover {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.drop-zone-prompt {
    color: #666;
}

.drop-zone-prompt i {
    color: #007bff;
}

/* 文件列表 */
#file-list {
    margin-top: 1rem;
}

/* 文件列表项样式 */
.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    transition: background-color 0.2s;
}

.file-item:hover {
    background-color: #f1f1f1;
}

.file-item .file-details {
    flex-grow: 1;
    margin: 0 10px;
}

.file-item .file-name {
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.file-item .file-quantity {
    display: flex;
    align-items: center;
}

.file-item .file-quantity label {
    margin-right: 5px;
    font-size: 14px;
    color: #555;
}

.file-item .file-quantity .quantity-input {
    max-width: 70px;
}

.remove-file-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #dc3545;
    cursor: pointer;
    padding: 0 5px;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
}

.remove-file-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* 用户中心 */
.wpfm-user-center, .wpfm-user-center * {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.card {
    border: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.card-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* 表格样式 */
.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
}

.table td {
    vertical-align: middle;
}

/* 状态标签 */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.bg-success {
    background: #28a745 !important;
}

.bg-secondary {
    background: #6c757d !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .wpfm-register-form,
    .wpfm-login-form,
    .wpfm-user-center,
    .wpfm-upload-form {
        margin: 1rem;
        padding: 1rem;
    }
    
    .table-responsive {
        margin: 0 -1rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wpfm-register-form,
.wpfm-login-form,
.wpfm-user-center,
.wpfm-upload-form {
    animation: fadeIn 0.5s ease-out;
}

/* 用户信息卡片 */
.user-info-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 25px;
    margin-bottom: 30px;
}

.user-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.user-avatar .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #666;
}

.user-details h2 {
    margin: 0 0 5px;
    font-size: 24px;
    color: #23282d;
}

.user-email {
    color: #666;
    font-size: 14px;
}

/* 文件列表卡片 */
.files-card, .files-card *, .files-table, .files-table * {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.files-card h3 {
    margin: 0 0 20px;
    font-size: 20px;
    color: #23282d;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* 文件表格样式 */
.files-table {
    width: 100%;
    border-collapse: collapse;
}

.files-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #23282d;
    border-bottom: 2px solid #eee;
}

.files-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #444;
}

.files-table tr:hover {
    background: #f8f9fa;
}

/* 状态标签 */
.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.status-priced {
    background: #e6f4ea;
    color: #46b450;
}

.status-pending {
    background: #fff8e5;
    color: #ffb900;
}

/* 价格显示 */
.price {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 500;
}

/* 上传时间 */
.upload-time {
    color: #666;
    font-size: 13px;
}

/* 空状态提示 */
.no-files {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-files .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.no-files p {
    margin: 0;
    font-size: 16px;
}

/* 响应式调整 */
@media screen and (max-width: 782px) {
    .wpfm-user-center {
        padding: 20px 10px;
    }
    
    .user-info-header {
        flex-direction: column;
        text-align: center;
    }
    
    .user-avatar {
        margin: 0 0 15px;
    }
    
    .files-table {
        display: block;
        overflow-x: auto;
    }
    
    .files-table th,
    .files-table td {
        padding: 10px;
    }
}

/* 动画效果 */
.user-info-card,
.files-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.user-info-card:hover,
.files-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 加载状态 */
.loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8) url('../images/loading.gif') center no-repeat;
    background-size: 20px;
}

/* 通知消息 */
.notice {
    margin: 15px 0;
    padding: 12px 15px;
    border-left: 4px solid #fff;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    background: #fff;
    border-radius: 3px;
}

.notice-success {
    border-left-color: #46b450;
}

.notice-error {
    border-left-color: #dc3232;
}

.notice p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* 分页样式 */
.wpfm-pagination {
    margin-top: 20px;
    text-align: center;
}

.wpfm-pagination-info {
    display: block;
    margin-bottom: 10px;
    color: #666;
}

.wpfm-pagination-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.wpfm-pagination-links a,
.wpfm-pagination-links span {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
    background: #fff;
    min-width: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.wpfm-pagination-links a:hover {
    background: #f5f5f5;
    border-color: #ccc;
    color: #333;
}

.wpfm-pagination-links .current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.wpfm-pagination-links .prev,
.wpfm-pagination-links .next {
    padding: 5px 15px;
}

@media screen and (max-width: 600px) {
    .wpfm-pagination-links {
        gap: 3px;
    }
    
    .wpfm-pagination-links a,
    .wpfm-pagination-links span {
        padding: 3px 8px;
        font-size: 14px;
        min-width: 25px;
    }
}

/* 进度条样式 */
.wpfm-progress-container {
    transition: opacity 0.5s ease-in-out;
}

.progress-bar.bg-success, .progress-bar.bg-danger {
    color: #fff;
}

/* 通知样式 */
.wpfm-notification {
    position: fixed;
    top: 50px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    animation: wpfm-fade-in-out 4s ease-in-out;
}

.wpfm-notification.is-success {
    background-color: #28a745;
}

.wpfm-notification.is-error {
    background-color: #dc3545;
}

@keyframes wpfm-fade-in-out {
    0% { opacity: 0; transform: translateY(-20px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

.entry-content {
    width: 100% !important;
    margin: 0 auto !important;
    max-width: 100vw !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.entry-content .wpfm-user-center {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 30px 15px !important;
}

/* 新版用户中心整体布局 */
.wpfm-user-center-modern {
    width: 88vw;
    max-width: 88vw;
    margin: 40px auto;
    padding: 0;
    background: none;
    display: block;
    box-sizing: border-box;
}

.wpfm-user-welcome-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #2271b1 0%, #4e9fd1 100%);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(34,113,177,0.08);
    padding: 36px 48px;
    margin-bottom: 32px;
}
.wpfm-user-welcome-card .avatar {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 32px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.wpfm-user-welcome-card .avatar .fa-user {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: #2271b1;
    opacity: 0.7;
    z-index: 2;
    pointer-events: none;
}
.wpfm-user-welcome-card .avatar .dashicons {
    opacity: 0.3;
}
.wpfm-user-welcome-card .info {
    flex: 1;
}
.wpfm-user-welcome-card h2 {
    margin: 0 0 8px 0;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
}
.wpfm-user-welcome-card .email {
    font-size: 1.1rem;
    color: #e0e0e0;
}
.wpfm-user-welcome-card .upload-btn {
    background: #fff;
    color: #2271b1;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(34,113,177,0.08);
    transition: background 0.2s, color 0.2s;
}
.wpfm-user-welcome-card .upload-btn:hover {
    background: #2271b1;
    color: #fff;
}

.wpfm-user-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.wpfm-user-welcome-card .logout-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
}

.wpfm-user-welcome-card .logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.wpfm-files-card-modern {
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
    overflow-x: auto;
}
.wpfm-files-table-modern {
    min-width: 1200px;
    width: 100%;
}
.wpfm-files-table-modern th, .wpfm-files-table-modern td {
    padding: 18px 14px;
    text-align: left;
    font-size: 1.08rem;
}
.wpfm-files-table-modern th {
    background: #f4f8fb;
    color: #2271b1;
    font-weight: 700;
    border-bottom: 2px solid #e3eaf1;
}
.wpfm-files-table-modern td {
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}
.wpfm-files-table-modern tr:last-child td {
    border-bottom: none;
}
.badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
}
.badge-pending {
    background: #fff8e5;
    color: #ffb900;
}
.badge-priced {
    background: #e6f4ea;
    color: #46b450;
}
.no-files {
    text-align: center;
    color: #aaa;
    font-size: 1.1rem;
    padding: 32px 0;
}
.wpfm-pagination-modern {
    margin-top: 32px;
    text-align: center;
}
.wpfm-pagination-modern .page-numbers {
    display: inline-block;
    margin: 0 6px;
    padding: 8px 16px;
    border-radius: 6px;
    background: #f4f8fb;
    color: #2271b1;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.wpfm-pagination-modern .page-numbers.current, .wpfm-pagination-modern .page-numbers:hover {
    background: #2271b1;
    color: #fff;
}
@media (max-width: 900px) {
    .wpfm-user-center-modern {
        width: 98vw;
        padding: 0 2vw;
    }
    .wpfm-user-welcome-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .wpfm-user-welcome-card .avatar {
        margin: 0 0 16px 0;
        align-self: center;
    }
    .wpfm-user-welcome-card .info {
        width: 100%;
    }
    .wpfm-user-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: 16px;
    }
    .wpfm-user-welcome-card .upload-btn,
    .wpfm-user-welcome-card .logout-btn {
        width: 100%;
        text-align: center;
    }
    .wpfm-files-card-modern {
        padding: 16px 4px;
    }
    .wpfm-files-table-modern th, .wpfm-files-table-modern td {
        padding: 10px 6px;
        font-size: 0.98rem;
    }
}

body.page-id-8 .container,
body.page-id-8 .entry-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.page-id-8 .wpfm-user-center-modern {
    width: 80vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 40px;
    margin-bottom: 40px;
    box-sizing: border-box;
    display: block;
    background: none;
    padding: 0;
}
body.page-id-8 .wpfm-user-welcome-card,
body.page-id-8 .wpfm-files-card-modern {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 32px 0;
}
body.page-id-8 .wpfm-files-table-modern {
    max-width: 100%;
    overflow-x: auto;
}

body.page-id-9 {
    overflow-x: hidden !important;
}
body.page-id-9 .container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}
body.page-id-9 .entry-content {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.page-id-9 .wpfm-user-center-modern {
    width: 88vw !important;
    max-width: 88vw !important;
    margin: 40px auto !important;
    padding: 0 !important;
    background: none !important;
    display: block !important;
    box-sizing: border-box !important;
}

body.page-id-9 .site-content,
body.page-id-9 .main-content,
body.page-id-9 .content-area,
body.page-id-9 .container,
body.page-id-9 .entry-content {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
    position: static !important;
    box-sizing: border-box !important;
}
body.page-id-9 .wpfm-user-center-modern {
    width: 88vw !important;
    max-width: 88vw !important;
    margin: 40px auto !important;
    padding: 0 !important;
    background: none !important;
    display: block !important;
    box-sizing: border-box !important;
    float: none !important;
    position: static !important;
}

body.page-id-8 .entry-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
} 

/* === 新增：用户中心移动端自适应优化 === */
@media (max-width: 600px) {
  .wpfm-user-center-modern {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 8px auto !important;
    padding: 0 2vw !important;
  }
  .wpfm-user-welcome-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 18px 6px !important;
  }
  .wpfm-user-welcome-card .avatar {
    margin: 0 0 12px 0 !important;
    align-self: center !important;
  }
  .wpfm-user-welcome-card .upload-btn {
    margin-top: 12px !important;
    width: 100% !important;
    text-align: center !important;
  }
  .wpfm-files-card-modern {
    padding: 8px 2px !important;
  }
  .wpfm-files-table-modern {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .wpfm-files-table-modern thead,
  .wpfm-files-table-modern tbody,
  .wpfm-files-table-modern th,
  .wpfm-files-table-modern td,
  .wpfm-files-table-modern tr {
    display: block !important;
  }
  .wpfm-files-table-modern th,
  .wpfm-files-table-modern td {
    min-width: 120px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    font-size: 0.98rem !important;
    padding: 8px 6px !important;
  }
  .wpfm-files-table-modern tr {
    border-bottom: 1px solid #eee !important;
  }
  .wpfm-files-table-modern thead {
    border-bottom: 2px solid #2271b1 !important;
  }
  .wpfm-files-card-modern h3 {
    font-size: 1.08rem !important;
    margin-bottom: 10px !important;
  }
  .wpfm-pagination-modern {
    font-size: 0.95rem !important;
    padding: 6px 0 !important;
  }
} 

/* 手机端卡片式文件列表 */
@media (max-width: 600px) {
  .wpfm-files-table-modern, .wpfm-pagination-modern {
    display: none !important;
  }
  .wpfm-files-list-mobile {
    display: block !important;
    margin: 0;
    padding: 0;
  }
  .wpfm-file-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(34,113,177,0.08);
    margin-bottom: 18px;
    padding: 16px 14px;
    font-size: 1rem;
    line-height: 1.6;
  }
  .wpfm-file-card .file-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
  }
  .wpfm-file-card .file-label {
    color: #888;
    font-size: 0.95em;
    min-width: 70px;
  }
  .wpfm-file-card .file-value {
    color: #222;
    font-weight: 500;
    text-align: right;
    flex: 1;
  }
  .wpfm-file-card .file-actions {
    margin-top: 10px;
    text-align: right;
  }
  .wpfm-file-card .file-actions .btn,
  .wpfm-file-card .file-actions .wpfm-btn {
    font-size: 0.98em;
    padding: 6px 16px;
    border-radius: 6px;
    margin-left: 6px;
    margin-bottom: 0;
  }
}
@media (min-width: 601px) {
  .wpfm-files-list-mobile {
    display: none !important;
  }
} 

/* 手机端卡片式文件列表美化 */
@media (max-width: 600px) {
  .wpfm-files-list-mobile {
    display: block !important;
    margin: 0;
    padding: 0;
  }
  .wpfm-file-card {
    background: linear-gradient(135deg, #f8fbff 0%, #eaf3fa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(34,113,177,0.10);
    margin-bottom: 22px;
    padding: 18px 14px 14px 14px;
    font-size: 1.04rem;
    line-height: 1.7;
    border: 1px solid #e3eaf1;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s;
  }
  .wpfm-file-card:hover {
    box-shadow: 0 8px 24px rgba(34,113,177,0.16);
  }
  .wpfm-file-card .file-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 2px;
    border-bottom: 1px dashed #e3eaf1;
  }
  .wpfm-file-card .file-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  .wpfm-file-card .file-label {
    color: #7a8ca3;
    font-size: 0.97em;
    min-width: 70px;
    font-weight: 500;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
  }
  .wpfm-file-card .file-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #2271b1;
    border-radius: 50%;
    margin-right: 7px;
    opacity: 0.18;
  }
  .wpfm-file-card .file-value {
    color: #23282d;
    font-weight: 600;
    text-align: right;
    flex: 1;
    font-size: 1.08em;
    word-break: break-all;
  }
  .wpfm-file-card .file-value.status-pending {
    color: #ff9800;
    background: #fff8e5;
    border-radius: 8px;
    padding: 2px 10px;
    font-size: 0.98em;
    font-weight: 700;
    margin-left: 8px;
  }
  .wpfm-file-card .file-value.status-priced {
    color: #46b450;
    background: #e6f4ea;
    border-radius: 8px;
    padding: 2px 10px;
    font-size: 0.98em;
    font-weight: 700;
    margin-left: 8px;
  }
  .wpfm-file-card .file-actions {
    margin-top: 16px;
    text-align: center;
  }
  .wpfm-file-card .file-actions .btn,
  .wpfm-file-card .file-actions .wpfm-btn {
    font-size: 1.05em;
    padding: 8px 22px;
    border-radius: 8px;
    margin: 0 6px;
    margin-bottom: 0;
    background: linear-gradient(90deg, #2271b1 0%, #4e9fd1 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(34,113,177,0.08);
    transition: background 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .wpfm-file-card .file-actions .btn:active,
  .wpfm-file-card .file-actions .wpfm-btn:active {
    background: #2271b1;
    box-shadow: 0 1px 2px rgba(34,113,177,0.10);
  }
  .wpfm-file-card .file-actions .btn .dashicons,
  .wpfm-file-card .file-actions .wpfm-btn .dashicons {
    font-size: 1.2em;
    margin-right: 2px;
  }
} 

@media (max-width: 600px) {
  .wpfm-files-list-mobile {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100vw;
    box-sizing: border-box;
    padding: 0 0;
    margin: 0;
  }
  .wpfm-file-card {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    margin: 0;
    word-break: break-word;
    box-sizing: border-box;
    align-self: stretch;
  }
  .wpfm-file-card .file-row {
    flex-wrap: wrap;
    word-break: break-word;
    justify-content: flex-start;
  }
  .wpfm-file-card .file-label, .wpfm-file-card .file-value {
    word-break: break-word;
    min-width: 0;
    text-align: left;
  }
} 