/* ========== 以下为更新的组件样式 ========== */

/* 主容器 - 必须有左右边距 */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 广告条 - 三个元素横向排列（紧凑版） */
.hero-ad {
    background: linear-gradient(135deg, #fff4e8 0%, #ffe6d5 100%);
    border-radius: 20px;
    padding: 12px 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    border: 1px solid #ffdec2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.main-slogan {
    font-size: 1rem;
    font-weight: 800;
    color: #c73700;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.sub-slogan {
    font-size: 0.8rem;
    color: #b45a2b;
    flex-shrink: 0;
}

.contact-phone {
    font-size: 0.8rem;
    color: #7e4a2a;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 广告条响应式 - 小屏幕时换行，紧凑排列 */
@media (max-width: 850px) {
    .hero-ad {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        padding: 10px 16px;
        margin-bottom: 16px;
    }
    
    .main-slogan {
        font-size: 0.9rem;
    }
    
    .sub-slogan, .contact-phone {
        font-size: 0.75rem;
    }
    
    .contact-phone {
        white-space: normal;
    }
}

/* ========== 状态筛选栏和搜索框的容器 ========== */
.filter-search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* 状态筛选栏 */
.status-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    flex: 1;
}

.status-filter-item {
    display: inline-block;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 30px;
    background: #f5f7fa;
    color: #4a627a;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.status-filter-item:hover {
    background: #fff0e5;
    color: #ff6600;
    border-color: #ffe0cc;
}

.status-filter-item.active {
    background: #ff6600;
    color: white;
    box-shadow: 0 2px 6px rgba(255, 102, 0, 0.2);
    border-color: #ff6600;
}

/* 搜索框容器 */
.search-wrapper {
    flex-shrink: 0;
}

.search-box {
    display: inline-block;
    width: 420px;
    max-width: 100%;
}

.search-box form {
    display: flex;
    gap: 5px;
}

.search-box input {
    flex: 1;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s ease;
}

.search-box input:focus {
    border-color: #ff6600;
    box-shadow: 0 0 0 3px rgba(255,102,0,0.1);
}

.search-box button {
    padding: 8px 20px;
    background: #ff6600;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.search-box button:hover {
    background: #ff5500;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255,102,0,0.2);
}

.search-box button:active {
    transform: translateY(0);
}

/* 响应式：换行后紧凑排列 */
@media (max-width: 900px) {
    .filter-search-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .status-filter-bar {
        justify-content: center;
        gap: 6px;
    }
    
    .status-filter-item {
        padding: 4px 10px;
        font-size: 12px;
    }
    
    .search-wrapper {
        text-align: center;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .search-box button {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* 手机端进一步紧凑 */
@media (max-width: 600px) {
    .main-container {
        padding: 0 12px;
    }
    
    .status-filter-bar {
        gap: 4px;
    }
    
    .status-filter-item {
        padding: 3px 8px;
        font-size: 11px;
        border-radius: 25px;
    }
    
    .filter-search-container {
        gap: 10px;
        margin-bottom: 14px;
    }
}

/* ========== 两列布局 ========== */
.two-column {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* 左侧库存清单区域 */
.inventory-section {
    flex: 1.7;
    min-width: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    padding: 20px 0;
    overflow-x: auto;
}

/* 右侧开价区域 */
.bid-section {
    flex: 1.2;
    width: 360px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    padding: 20px;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    scrollbar-width: thin;
}

/* 右侧出价区滚动条 */
.bid-section::-webkit-scrollbar {
    width: 5px;
}
.bid-section::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.bid-section::-webkit-scrollbar-thumb {
    background: #ffb380;
    border-radius: 4px;
}

/* 响应式：手机端单列，更紧凑 */
@media (max-width: 768px) {
    .two-column {
        flex-direction: column;
        gap: 20px;
    }
    
    .inventory-section {
        flex: auto;
        width: 100%;
        padding: 15px 0;
    }
    
    .bid-section {
        position: static;
        max-height: none;
        width: 100%;
        padding: 15px;
    }
}

/* ========== 返回商品位置按钮 - 修复颜色 ========== */
.back-to-position-btn {
    display: block;
    width: 100%;
    background: #ff6600;
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 30px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.back-to-position-btn:hover {
    background: #ff5500;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,102,0,0.25);
}

.back-to-position-btn:active {
    transform: translateY(0);
}

/* 手机端保持按钮可见 */
@media (max-width: 768px) {
    .back-to-position-btn {
        display: block;
        padding: 10px 0;
        font-size: 13px;
    }
}

/* ========== 以下为原有样式（保持不变） ========== */

/* 表格包装器 - 添加横向滚动支持 */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 表格基本样式 - 与首页完全一致 */
.inventory-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 14px;
}

/* 表头样式 - 完全去掉背景色，字体灰色 */
.inventory-table th {
    padding: 12px 8px;
    text-align: left;
    font-weight: 500;
    color: #808080;
    border-bottom: 1px solid #e0e0e0;
    font-size: 13px;
    letter-spacing: 0.3px;
    background: none;
    white-space: nowrap;
}

/* 表格行样式 */
.inventory-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    white-space: nowrap;
}

/* 表格行悬停效果 */
.inventory-table tbody tr:hover {
    background-color: #fafafa;
}

/* 选中行效果 */
.inventory-table tbody tr.selected,
.inventory-table tbody tr.active {
    background-color: #fff8f0 !important;
    border-left: 3px solid #ff6600;
}

/* 状态标签基础样式 */
.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    cursor: pointer;
    animation: soft-pulse 3s infinite;
    white-space: nowrap;
}

/* 不同状态的颜色 */
.status-bid,
.status-open {
    background: linear-gradient(135deg, #e6f3ff, #d4e8ff);
    color: #1e4f8a;
    border: 1px solid #b8d6ff;
}

.status-sold {
    background: linear-gradient(135deg, #e6f4e6, #d4e8d4);
    color: #1f5c2b;
    border: 1px solid #b0d6b0;
}

.status-end,
.status-ended {
    background: linear-gradient(135deg, #ffe6e6, #ffd6d6);
    color: #8b2c2c;
    border: 1px solid #ffb8b8;
}

.status-completed {
    background: linear-gradient(135deg, #f5f5f5, #e9e9e9);
    color: #666;
    border: 1px solid #ddd;
}

.status-offline {
    background: linear-gradient(135deg, #f0f0f0, #e6e6e6);
    color: #8c8c8c;
    border: 1px solid #d4d4d4;
    cursor: default;
    opacity: 0.7;
}

/* 悬停效果 */
.status-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    filter: brightness(1.02);
}

/* 点击效果 */
.status-badge:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* 点击波纹效果 */
.status-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.status-badge:active::after {
    animation: status-ripple 0.3s ease-out;
}

@keyframes status-ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* 柔和脉冲效果 */
@keyframes soft-pulse {
    0% {
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    50% {
        box-shadow: 0 2px 8px rgba(255,102,0,0.1);
    }
    100% {
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
}

/* 选中行的状态标签 */
tr.selected .status-badge,
tr.active .status-badge {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(255,102,0,0.2);
}

/* 分页样式 */
.pagination {
    margin: 15px 0;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination a, .pagination span {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    font-size: 13px;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.pagination span.current {
    background: #ff6600;
    color: white;
    border-color: #ff6600;
}

.pagination span.disabled {
    color: #ccc;
    background: #f9f9f9;
    cursor: not-allowed;
}

/* 加载动画 */
.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff6600;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 0.8s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 出价记录项样式 */
.bid-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.bid-item:hover {
    background-color: #fafafa;
}

.bid-item.winner {
    background-color: #f0fff4;
    border-left: 3px solid #28a745;
}

/* 广告语样式 */
.ad-slogan {
    background: linear-gradient(135deg, #fff8e7, #fff0d0);
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
    border: 1px solid #ffe0b2;
    box-shadow: 0 2px 8px rgba(255,102,0,0.08);
    transition: all 0.3s ease;
}

.ad-slogan:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,102,0,0.15);
    border-color: #ffcc99;
}

/* 出价表单样式 */
.bid-form {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.bid-form-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 0 2px rgba(255,102,0,0.1);
}

.bid-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-primary {
    flex: 1;
    padding: 10px;
    background: #ff6600;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #ff5500;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    flex: 1;
    padding: 10px;
    background: white;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    border-color: #ff6600;
    color: #ff6600;
}

/* 选中商品信息区域 */
.selected-item-info {
    background: #fafafa;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 3px solid #ff6600;
}

.selected-item-info p {
    margin: 5px 0;
    font-size: 13px;
    color: #666;
    word-break: break-word;
}

.item-model {
    font-weight: bold;
    color: #333 !important;
    font-size: 14px !important;
}

/* 补偿金文字 */
.compensation-text {
    color: #ff884d;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

/* 卖家状态标签样式 */
.status-owner {
    background: linear-gradient(135deg, #fff4e6, #ffe8d4);
    color: #cc7b2c;
    border: 1px solid #ffd9b5;
    cursor: pointer;
}

.status-sold-owner {
    background: linear-gradient(135deg, #fff0e6, #ffe4d4);
    color: #cc7b2c;
    border: 1px solid #ffccaa;
    cursor: pointer;
}

/* 脉冲动画仅对可点击的状态生效 */
.status-bid, .status-owner, .status-open {
    animation: soft-pulse 3s infinite;
}

/* 已预定状态（非卖家）的脉冲效果稍弱 */
.status-sold {
    animation: soft-pulse 4s infinite;
    animation-timing-function: ease-in-out;
}

/* 已完成和已下架状态禁用悬停效果 */
.status-completed:hover, .status-offline:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    cursor: default;
}

/* 卖家状态标签悬停效果 */
.status-owner:hover, .status-sold-owner:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(204,123,44,0.15);
}

/* 出价记录容器 */
.bid-list-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 4px;
}

.bid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.bid-header h3 {
    margin: 0;
    font-size: 18px;
}

.item-badge {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
}

/* 商品卡片样式（与首页selected-item-info一致） */
.product-card {
    background: #fafafa;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 3px solid #ff6600;
}

.product-name {
    font-weight: bold;
    color: #333;
    font-size: 14px;
    margin-bottom: 8px;
    word-break: break-word;
}

.product-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    word-break: break-word;
}

.product-stock {
    color: #ff6600;
    font-weight: bold;
    margin: 8px 0;
}

/* 补偿金提示框 */
.compensation-tip {
    background: linear-gradient(135deg, #fff8e7, #fff0d0);
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
    border: 1px solid #ffe0b2;
}

.compensation-tip .tip-title {
    font-weight: bold;
    color: #cc7b2c;
    margin-bottom: 5px;
}

.compensation-tip .tip-text {
    font-size: 12px;
    color: #b45f2b;
}

/* 登录提示框 */
.login-prompt {
    text-align: center;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 15px 0;
}

.login-prompt .icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.login-prompt p {
    margin-bottom: 12px;
    color: #666;
}

.login-prompt a {
    display: inline-block;
    padding: 8px 24px;
    background: #ff6600;
    color: white;
    border-radius: 4px;
    text-decoration: none;
}

/* 商品结束面板 */
.goods-ended-panel {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 3px solid #ff6600;
}

.goods-ended-panel .ended-title {
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 8px;
}

.goods-ended-panel .ended-text {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.goods-ended-panel .ended-link {
    display: inline-block;
    padding: 6px 16px;
    background: #ff6600;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
}

/* 卖家面板 */
.owner-panel {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    text-align: center;
}

.owner-panel-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.owner-empty {
    color: #999;
    font-size: 13px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state .icon {
    font-size: 50px;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* 小屏幕手机进一步优化 */
@media (max-width: 480px) {
    .bid-item {
        padding: 10px 12px;
    }
    
    .selected-item-info p {
        font-size: 12px;
    }
    
    .btn-primary, .btn-outline {
        padding: 8px;
        font-size: 13px;
    }
    
    .back-to-position-btn {
        padding: 8px 0;
        font-size: 12px;
    }
}

/* 搜索栏 广告栏 状态栏*/
/* ========== 搜索栏 + 状态栏 合并行样式 ========== */
    .top-control-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px 20px;
        margin-bottom: 24px;
        background: #ffffff;
        padding: 6px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .search-wrapper {
        flex-shrink: 0;
    }
    
    .search-box {
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 40px;
        border: 1px solid #e2e8f0;
        transition: all 0.2s;
        box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    }
    .search-box:focus-within {
        border-color: #ff6600;
        box-shadow: 0 0 0 2px rgba(255,102,0,0.1);
    }
    .search-box input {
        width: 260px;
        padding: 8px 16px;
        border: none;
        background: transparent;
        font-size: 13px;
        outline: none;
        border-radius: 40px 0 0 40px;
        color: #1e293b;
    }
    .search-box input::placeholder {
        color: #94a3b8;
        font-weight: 400;
    }
    .search-box button {
        background: #ff6600;
        border: none;
        border-radius: 40px;
        padding: 8px 20px;
        margin: 3px;
        color: white;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.2s;
        white-space: nowrap;
    }
    .search-box button:hover {
        background: #e55a00;
    }
    .clear-seller-btn {
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        color: #475569;
        border-radius: 40px;
        padding: 6px 16px;
        font-size: 12px;
        margin-left: 8px;
        cursor: pointer;
        transition: all 0.2s;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    .clear-seller-btn:hover {
        background: #fee2e2;
        border-color: #ffb3b3;
        color: #dc2626;
    }
    
    .status-filter-bar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        flex: 1;
        justify-content: flex-end;
    }
    
    .status-filter-item {
        display: inline-block;
        padding: 5px 14px;
        font-size: 13px;
        font-weight: 500;
        border-radius: 30px;
        background: #f5f7fa;
        color: #4a627a;
        cursor: pointer;
        transition: all 0.2s ease;
        border: 1px solid transparent;
        white-space: nowrap;
        line-height: 1.4;
    }
    
    .status-filter-item:hover {
        background: #fff0e5;
        color: #ff6600;
        border-color: #ffe0cc;
    }
    
    .status-filter-item.active {
        background: #ff6600;
        color: white;
        box-shadow: 0 2px 6px rgba(255, 102, 0, 0.2);
        border-color: #ff6600;
    }
    
    .seller-filter-tip {
        background: #fff8f0;
        border-radius: 40px;
        padding: 6px 14px;
        font-size: 12px;
        color: #ff6600;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-left: 12px;
        border: 1px solid #ffedd5;
    }
    
    /* 表格固定布局 */
    .inventory-table {
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;
    }
    
    .inventory-table th:nth-child(1) { width: 7%; }
    .inventory-table th:nth-child(2) { width: 16%; }
    .inventory-table th:nth-child(3) { width: 16%; }
    .inventory-table th:nth-child(4) { width: 10%; }
    .inventory-table th:nth-child(5) { width: 9%; }
    .inventory-table th:nth-child(6) { width: 7%; }
    .inventory-table th:nth-child(7) { width: 8%; }
    .inventory-table th:nth-child(8) { width: 9%; }
    
    .inventory-table td {
        word-break: break-word;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding: 12px 8px;
        vertical-align: middle;
    }
    
    @media (max-width: 900px) {
        .inventory-table td {
            white-space: normal;
            font-size: 12px;
            padding: 8px 4px;
        }
        .inventory-table th {
            font-size: 12px;
            padding: 10px 4px;
        }
    }
    
    @media (max-width: 680px) {
        .inventory-table th,
        .inventory-table td {
            font-size: 11px;
            padding: 6px 3px;
        }
        .status-badge {
            font-size: 10px;
            padding: 2px 6px;
            white-space: nowrap;
        }
    }
    
    .status-badge {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 500;
        white-space: nowrap;
        text-align: center;
        line-height: 1.2;
    }
    
    /* 价格公开显示样式 */
    .public-price {
        font-weight: 600;
        color: #ff6600;
        background: #fff0e5;
        padding: 2px 8px;
        border-radius: 16px;
        font-size: 12px;
        display: inline-block;
    }
    
    .price-hidden {
        color: #c0c0c0;
        font-size: 12px;
    }
    
    @media (max-width: 780px) {
        .top-control-bar {
            flex-direction: column;
            align-items: stretch;
            gap: 12px;
        }
        .search-wrapper {
            width: 100%;
        }
        .search-box {
            width: 100%;
        }
        .search-box input {
            flex: 1;
            width: auto;
        }
        .status-filter-bar {
            justify-content: flex-start;
            overflow-x: auto;
            padding-bottom: 4px;
        }
        .status-filter-item {
            padding: 4px 12px;
            font-size: 12px;
        }
    }
    
    @media (max-width: 480px) {
        .status-filter-item {
            padding: 3px 10px;
            font-size: 11px;
        }
        .search-box input {
            padding: 7px 12px;
            font-size: 12px;
        }
        .search-box button {
            padding: 7px 16px;
            font-size: 12px;
        }
    }
    
    /* 返回按钮仅移动端显示 */
    .back-to-position-btn {
        display: none;
    }
    
    @media (max-width: 768px) {
        .back-to-position-btn {
            display: inline-block;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 40px;
            padding: 8px 16px;
            font-size: 12px;
            color: #475569;
            cursor: pointer;
            margin-top: 16px;
            transition: all 0.2s;
        }
        .back-to-position-btn:hover {
            background: #ff6600;
            color: white;
            border-color: #ff6600;
        }
    }
    
    .main-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 20px 24px;
    }
    .hero-ad {
        background: linear-gradient(135deg, #fff8ed 0%, #ffefdf 100%);
        border-radius: 20px;
        padding: 16px 24px;
        margin-bottom: 28px;
        text-align: center;
        box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    }
    .bid-section {
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.02), 0 0 0 1px #f0f0f0;
    }
    .inventory-table th {
        background: #fafcff;
    }
    .footer {
        margin-top: 48px;
    }
    .bid-form .btn-primary {
        background: #ff6600;
        border: none;
        border-radius: 40px;
        padding: 10px 20px;
    }
    .table-wrapper {
        overflow-x: auto;
        border-radius: 16px;
        border: 1px solid #edf2f7;
    }
    
    /* 开价记录中的价格样式 */
    .bid-price-public {
        font-weight: 700;
        color: #ff6600;
        font-size: 15px;
    }
    .bid-price-private {
        color: #c0c0c0;
        font-weight: normal;
    }