/* Basic styling for the auction room */
.mazedi-auction-room {
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
}

.mazedi-auction-room h2 {
    color: #333;
    margin-top: 0;
}

/* Progress Bar */
.mazedi-progress-bar {
    margin-bottom: 15px;
}

.mazedi-progress-bar p {
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #555;
}

.mazedi-progress-bar .bar-container {
    background-color: #e0e0e0;
    border-radius: 5px;
    height: 10px;
    overflow: hidden;
}

.mazedi-progress-bar .bar {
    background-color: #4CAF50; /* Green */
    height: 100%;
    width: 0%; /* Will be updated by JS */
    border-radius: 5px;
    transition: width 0.5s ease-in-out;
}

/* Countdown */
.mazedi-countdown {
    font-size: 1.2em;
    font-weight: bold;
    color: #D32F2F; /* Red */
    margin-bottom: 15px;
}

/* Real-time Bid Area */
.mazedi-bid-history {
    border: 1px solid #ddd;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
    background-color: #f9f9f9;
}

.mazedi-bid-history h3 {
    margin-top: 0;
    color: #666;
}

.mazedi-bid-history ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mazedi-bid-history li {
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
    font-size: 0.9em;
}

.mazedi-bid-history li:last-child {
    border-bottom: none;
}

/* Bid Form */
.mazedi-bid-form {
    margin-bottom: 20px;
}

.mazedi-bid-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.mazedi-bid-form input[type="number"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.mazedi-bid-form button {
    background-color: #0073aa; /* WordPress blue */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.mazedi-bid-form button:hover {
    background-color: #005177;
}

/* Contract Modal (basic styling, will be hidden by default) */
#mazedi-contract-modal {
    border: 1px solid #ccc;
    padding: 20px;
    background-color: #fefefe;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: fixed; /* Or absolute, depending on desired behavior */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 80%;
    max-width: 600px;
}

#mazedi-contract-modal h3 {
    margin-top: 0;
}

#mazedi-contract-modal button {
    margin-top: 15px;
}

/* WooCommerce My Account - Mes Enchères */
.woocommerce-MyAccount-navigation-link--my-auctions a {
    font-weight: bold;
}

.woocommerce-MyAccount-content table.account-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-MyAccount-content table.account-orders-table th,
.woocommerce-MyAccount-content table.account-orders-table td {
    border: 1px solid #eee;
    padding: 8px;
    text-align: left;
}

.woocommerce-MyAccount-content table.account-orders-table th {
    background-color: #f5f5f5;
}

.woocommerce-MyAccount-content table.account-orders-table a {
    color: #0073aa;
    text-decoration: none;
}

.woocommerce-MyAccount-content table.account-orders-table a:hover {
    text-decoration: underline;
}


