/* ==============================
   GLOBAL WRAPPER
   ============================== */

.ab-enchere-wrapper {
    max-width: 520px;
    margin: 40px auto;
    padding: 25px;
    background: #f6efdf;
    border-radius: 6px;
    box-sizing: border-box;
    font-family: inherit;
}

/* ==============================
   TITRES
   ============================== */

.ab-enchere-wrapper h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 26px;
}

.ab-enchere-wrapper h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
}

/* ==============================
   FORMULAIRE
   ============================== */

.ab-form-enchere p {
    margin-bottom: 15px;
}

.ab-form-enchere label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.ab-form-enchere input[type="text"],
.ab-form-enchere input[type="email"],
.ab-form-enchere input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
    box-sizing: border-box;
}

.ab-form-enchere input:focus {
    outline: none;
    border-color: #c62828;
}

/* ==============================
   BOUTON
   ============================== */

.ab-btn {
    background: #c62828;
    color: #fff;
    border: none;
    padding: 10px 22px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s ease;
}

.ab-btn:hover {
    background: #a81f1f;
}

/* ==============================
   MESSAGES
   ============================== */

.ab-success {
    background: #e6f4ea;
    color: #1b5e20;
    border-left: 4px solid #2e7d32;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 3px;
}

.ab-error {
    background: #fdecea;
    color: #b71c1c;
    border-left: 4px solid #c62828;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 3px;
}

/* ==============================
   MEILLEURE ENCHÈRE (VENTE EN COURS)
   ============================== */

.ab-meilleure-enchere {
    margin-top: 30px;
    padding: 15px;
    background: #ffffff;
    border-left: 5px solid #c62828;
    border-radius: 3px;
}

.ab-meilleure-enchere strong {
    font-size: 20px;
}

/* ==============================
   VENTE TERMINÉE
   ============================== */

.ab-vente-terminee {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border: 2px solid #333;
    border-radius: 4px;
    text-align: center;
}

.ab-vente-terminee h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.ab-vente-terminee p {
    font-size: 20px;
    margin: 0;
    font-weight: bold;
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 600px) {
    .ab-enchere-wrapper {
        padding: 20px;
    }

    .ab-enchere-wrapper h2 {
        font-size: 22px;
    }

    .ab-vente-terminee h3 {
        font-size: 20px;
    }
}
/* Mise en valeur enchère gagnante */
.ab-vente-terminee p {
    color: #2e7d32; /* vert */
}

.ab-vente-terminee strong {
    color: #2e7d32;
}