/* 拍卖大厅样式 */

.main-content {
    padding: 40px 0;
    background: #F5F5F5;
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面标题 */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, #C8102E 0%, #8B0A1E 100%);
    border-radius: 12px;
    color: white;
}

.page-header h1 {
    font-size: 36px;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.page-header .subtitle {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

/* 筛选工具栏 */
.filter-bar {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.filter-select {
    padding: 8px 15px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    outline: none;
}

.filter-select:hover {
    border-color: #C8102E;
}

.search-input {
    padding: 8px 15px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
    outline: none;
}

.search-input:focus {
    border-color: #C8102E;
}

.btn-search {
    padding: 8px 20px;
    background: #C8102E;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.btn-search:hover {
    background: #A00D25;
}

.btn-publish {
    padding: 10px 25px;
    background: linear-gradient(135deg, #C8102E 0%, #8B0A1E 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(200,16,46,0.3);
}

.btn-publish:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(200,16,46,0.4);
}

/* 统计信息栏 */
.stats-bar {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-right: 8px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #C8102E;
}

/* 拍卖列表 */
.auction-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* 拍卖卡片 */
.auction-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.auction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* 拍卖图片 */
.auction-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #F0F0F0;
}

/* 拍卖信息 */
.auction-info {
    padding: 20px;
}

.auction-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.auction-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    flex: 1;
}

.auction-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    margin-left: 10px;
}

.status-active {
    background: #FFF3E0;
    color: #FF6F00;
}

.status-pending {
    background: #E3F2FD;
    color: #1976D2;
}

.status-completed {
    background: #E8F5E9;
    color: #388E3C;
}

.status-failed {
    background: #FFEBEE;
    color: #D32F2F;
}

.auction-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.auction-specs {
    background: #F9F9F9;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.specs-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.specs-row:last-child {
    margin-bottom: 0;
}

.specs-label {
    color: #999;
}

.specs-value {
    color: #333;
    font-weight: 500;
}

/* 价格信息 */
.auction-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #E0E0E0;
}

.price-group {
    flex: 1;
}

.price-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.price-value {
    font-size: 24px;
    font-weight: bold;
    color: #C8102E;
}

.price-unit {
    font-size: 14px;
    color: #666;
}

/* 倒计时 */
.countdown {
    text-align: right;
}

.countdown-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.countdown-value {
    font-size: 18px;
    font-weight: bold;
    color: #FF6F00;
}

.countdown-value.urgent {
    color: #D32F2F;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
}

/* 出价按钮 */
.btn-bid {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #C8102E 0%, #8B0A1E 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
}

.btn-bid:hover {
    background: linear-gradient(135deg, #A00D25 0%, #6B081A 100%);
}

.btn-bid:disabled {
    background: #CCCCCC;
    cursor: not-allowed;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.page-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.page-btn:hover:not(:disabled) {
    border-color: #C8102E;
    color: #C8102E;
}

.page-btn.active {
    background: #C8102E;
    color: white;
    border-color: #C8102E;
}

.page-btn:disabled {
    background: #F5F5F5;
    color: #999;
    cursor: not-allowed;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 8px;
}

.empty-state img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
    color: #999;
}

/* 删除 @media (max-width: 768px) - 移动端样式在 mobile.css */
