﻿
.auction-hero {
    background: linear-gradient(135deg, #fa8c16 0%, #ff6b35 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

    .auction-hero h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .auction-hero p {
        font-size: 1.1rem;
        opacity: 0.9;
        max-width: 600px;
        margin: 0 auto;
    }

.search-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #e9ecef;
}

.search-container {
    max-width: 1300px;
    margin: 0 auto;
}

.search-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.search-tabs {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0px 10px;
}

    .search-tabs .el-tabs {
        width: 100%;
        padding: 0px 10px;
    }

    .search-tabs .el-tabs__header {
        margin-bottom: 0;
        height: 100%;
    }

    .search-tabs .el-tabs__nav-wrap {
        display: flex;
        align-items: center;
    }

    .search-tabs .el-tabs__nav {
        display: flex;
        align-items: center;
    }

    .search-tabs .el-tabs__item {
        line-height: 52px;
        display: flex;
        align-items: center;
        padding: 0 20px;
    }

.el-tabs__nav-wrap::after {
    height: 0px;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 8px 0px 8px 16px;
    transition: border-color 0.3s ease;
    flex: 2;
    min-width: 400px;
    height: 52px;
}

    .search-input-group:focus-within {
        border-color: #fa8c16;
    }

    .search-input-group input {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        font-size: 16px;
        padding: 12px 0;
        color: #333;
    }

.search-btn {
    background: #fa8c16;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .search-btn:hover {
        background: #e67e0f;
    }

.filters-section {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.auctions-section {
    padding: 40px 0;
    background: white;
}

.auction-stats {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fa8c16;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.auction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.auction-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

    .auction-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .auction-card.featured {
        border: 2px solid #fa8c16;
    }

        .auction-card.featured::before {
            content: "Featured";
            position: absolute;
            top: 10px;
            right: 10px;
            background: #fa8c16;
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
        }


    .auction-card.featuredzh::before {
        content: "精选";
    }

    .auction-card.featureden::before {
        content: "Featured";
    }

    .auction-card.featuredzhtw::before {
        content: "精選";
    }

.auction-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.domain-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    word-break: break-all;
}

.domain-category {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.auction-body {
    padding: 20px;
}

.bid-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.current-bid {
    text-align: left;
}

.bid-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fa8c16;
}

.bid-label {
    color: #666;
    font-size: 0.9rem;
}

.time-left {
    text-align: right;
}

.time-remaining {
    font-size: 1.1rem;
    font-weight: 600;
    color: #dc3545;
}

.time-label {
    color: #666;
    font-size: 0.9rem;
}

.auction-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #f0f0f0;
}

.bid-input-group {
    display: flex;
    margin-bottom: 10px;
    gap: 10px;
}

.bid-input {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
}

    .bid-input:focus {
        outline: none;
        border-color: #fa8c16;
    }

.bid-btn {
    background: #fa8c16;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

    .bid-btn:hover {
        background: #e67e0f;
    }

    .bid-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

.bid-history {
    font-size: 0.9rem;
    color: #666;
}

.pagination-section {
    background: white;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-btn {
    border: 1px solid #e9ecef;
    background: white;
    color: #333;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .page-btn:hover {
        border-color: #fa8c16;
        color: #fa8c16;
    }

    .page-btn.active {
        background: #fa8c16;
        color: white;
        border-color: #fa8c16;
    }

    .page-btn:disabled {
        background: #f8f9fa;
        color: #ccc;
        cursor: not-allowed;
    }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

    .empty-state i {
        font-size: 4rem;
        color: #e9ecef;
        margin-bottom: 20px;
    }

    .empty-state h3 {
        margin-bottom: 10px;
        color: #333;
    }

@media (max-width: 768px) {
    .auction-grid {
        grid-template-columns: 1fr;
    }

    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        justify-content: space-between;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-row {
        flex-direction: column;
        gap: 15px;
    }

    .search-tabs {
        min-width: 100%;
        margin-bottom: 0px !important;
    }

    .search-input-group {
        min-width: 100%;
    }
}

.el-table__body .el-table__cell:first-child {
    padding: unset !important;
    text-align: center;
}
