/* 竞拍系统样式 */

/* 列表卡片 */
.auction-item-card {
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.auction-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}
.auction-card-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bs-tertiary-bg);
}
.auction-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.auction-card-title {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--bs-body-color);
}

/* 详情页图片 */
.auction-detail-img {
    height: 350px;
    object-fit: contain;
    background: var(--bs-tertiary-bg);
}

/* 详情描述 */
.auction-description {
    word-break: break-word;
    line-height: 1.8;
}
.auction-description img {
    max-width: 100%;
}

/* 倒计时样式 */
.auction-countdown {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* 移动端适配 */
@media (max-width: 767.98px) {
    .auction-detail-img {
        height: 250px;
    }
    .auction-card-img-wrap {
        height: 140px;
    }
    .auction-item-card .p-3 {
        padding: 0.75rem !important;
    }
    .auction-card-title {
        font-size: 0.85rem;
    }
}

/* 出价输入框 */
#bidAmount {
    font-size: 1.1rem;
    font-weight: 600;
}

/* 出价记录表格 */
.auction-bid-table {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
    overflow: hidden;
}
.auction-bid-table thead th {
    background-color: var(--bs-tertiary-bg);
    font-weight: 600;
    color: var(--bs-secondary-color);
    border-bottom: 1px solid var(--bs-border-color);
}
.auction-bid-table td,
.auction-bid-table th {
    padding: 0.55rem 0.75rem;
    vertical-align: middle;
}
.auction-bid-table tbody tr:hover {
    background-color: var(--bs-tertiary-bg);
}
.auction-bid-table .auction-bid-top {
    background-color: rgba(var(--bs-danger-rgb), 0.06);
}
.auction-bid-table .auction-bid-top:hover {
    background-color: rgba(var(--bs-danger-rgb), 0.1);
}

/* 订单卡片 */
.order-card {
    border-left: 3px solid transparent;
}
.order-card.status-0 { border-left-color: var(--bs-warning); }
.order-card.status-1 { border-left-color: var(--bs-info); }
.order-card.status-2 { border-left-color: var(--bs-primary); }
.order-card.status-3 { border-left-color: var(--bs-success); }
.order-card.status-4 { border-left-color: var(--bs-secondary); }
.order-card.status-5 { border-left-color: var(--bs-danger); }