﻿/* --- New Modern Bid Card --- */

.bid-card-section .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.bid-card {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in a row are the same height */
}

    .bid-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .bid-card .card-image-container {
        flex-shrink: 0;
        width: 180px; /* Fixed width for the image container */
    }

    .bid-card .card-image {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures the image covers the space without distortion */
    }

    .bid-card .card-content {
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Distributes space between content blocks */
        width: 100%;
    }

    .bid-card .item-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 0.5rem;
    }

    .bid-card .item-description-limit {
        font-size: 0.9rem;
        color: #666;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 2; /* Limit to 2 lines for compactness */
        margin-bottom: 1rem;
    }

    .bid-card .bid-info {
        margin-top: auto; /* Pushes the bid info to the bottom */
    }

    .bid-card .price-display {
        font-size: 1.5rem;
        font-weight: 700;
        color: #40B3A2; /* A modern teal color */
        margin-bottom: 1rem;
    }

        .bid-card .price-display .currency {
            font-size: 1rem;
            font-weight: 500;
            color: #777;
            margin-left: 5px;
        }

    .bid-card .bidder-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .bid-card .bidder-details {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .bid-card .bidder-avatar {
        width: 35px;
        height: 28px;
        border-radius: 50%;
        object-fit: cover;
    }

    .bid-card .bidder-name {
        font-size: 1rem;
        font-weight: 600;
        color: #555;
    }

    .bid-card .btn-bid-now {
        background: #f39c12;
        color: #fff;
        border: none;
        padding: 10px 20px;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        text-transform: uppercase;
    }

        .bid-card .btn-bid-now:hover {
            background: #e67e22;
        }
.bidder-avatar {
    font-size: 1.8rem; /* ajuste la taille */
    color: #808080; /* ou n'importe quelle couleur */
}