/* ============================
   Auctions Browse Page
   ============================ */

.auctions-browse-page h1 {
    margin-bottom: 24px;
}

.auctions-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

/* ============================
   Auction Event Card
   ============================ */

.auction-event-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
}

.auction-event-card:hover {
    box-shadow: var(--shadow-elevated);
    transform: translateY(-3px);
}

/* Photo Section */
.event-photo-section {
    position: relative;
    height: 200px;
    background: #f0f0f0;
}

.event-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #9ca3af;
    font-size: 14px;
}

.event-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-status-badge.active,
.event-status-badge.live {
    background: #dcfce7;
    color: #166534;
}

.event-status-badge.ending-soon {
    background: #fef3c7;
    color: #92400e;
}

.event-status-badge.ended {
    background: #fee2e2;
    color: #991b1b;
}

.event-status-badge.upcoming {
    background: #dbeafe;
    color: #1e40af;
}

/* Info Section */
.event-info-section {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.event-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: var(--color-primary);
}

.event-vehicle-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--color-muted);
    font-weight: 500;
}

.vehicle-icon {
    font-size: 1.1rem;
}

/* Dates */
.event-dates {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #f8fafc;
    border-radius: var(--radius-md);
}

.date-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date-label {
    font-size: 0.8rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.date-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* View Button */
.event-view-btn {
    margin-top: auto;
    text-align: center;
    width: 100%;
}

/* ============================
   Responsive
   ============================ */

@media (max-width: 500px) {
    .auctions-list {
        grid-template-columns: 1fr;
    }

    .event-title {
        font-size: 1.2rem;
    }
}
