@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:wght@400;700&display=swap');

body {
    font-family: 'Inria Serif', serif;
    background-color: #fdf6f1;
    color: #4e342e;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    background-color: #fff8f3;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.detail-enchere-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.detail-texte {
    flex: 1;
    min-width: 300px;
}

.detail-image {
    flex: 1;
    text-align: center;
    min-width: 300px;
}

.detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.titre-enchere {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #5d4037;
}

p {
    font-size: 18px;
    line-height: 1.6;
    margin: 10px 0;
}

.description-bloc {
    margin-top: 20px;
    background-color: #fff2e7;
    padding: 20px;
    border-radius: 15px;
}

.description-bloc h3 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #6d4c41;
}

.participer {
    text-align: center;
    margin-top: 30px;
}

.participer .btn {
    background-color: #8d6e63;
    color: white;
    font-size: 18px;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease;
    display: inline-block;
}

.participer .btn:hover {
    background-color: #6d4c41;
}

.sous-titre {
    font-size: 26px;
    margin-top: 40px;
    color: #5d4037;
}

.liste-offres {
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    background-color: #fffaf7;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #ddd0c4;
    text-align: center;
}

th {
    background-color: #f3e5e1;
    color: #5d4037;
}
h1, h2, h3 {
    font-weight: bold;          /* met le texte en gras */
    text-decoration: underline; /* ajoute un soulignement */
    font-family: 'Inria Serif', serif;
}
.detail-image {
    background-color: #e0d6ca; /* fond un peu plus foncé (beige/brun clair) */
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* ombre douce */
    max-width: 400px;
    margin: auto;
    text-align: center;
    transition: transform 0.3s ease;
}

.detail-image:hover {
    transform: scale(1.02); /* effet au survol */
}

.detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 4px solid #b19470; /* cadre élégant autour de l’image */
}

.liste-offres {
    margin-top: 30px;
    overflow-x: auto;
    border-radius: 12px;
    background-color: #fffaf4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 20px;
}

.liste-offres table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inria Serif', serif;
    color: #4b3b2b;
    font-size: 16px;
}

.liste-offres thead {
    background-color: #f5eadd;
}

.liste-offres th, .liste-offres td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e6dcd1;
}

.liste-offres tr:last-child td {
    border-bottom: none;
}

.liste-offres th {
    font-weight: bold;
    color: #6b4b3e;
}

.liste-offres tbody tr:hover {
    background-color: #fcf6ee;
    transition: background 0.3s ease;
}

.sous-titre {
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 10px;
    color: #543b2d;
}
.retour-enchere {
    margin: 20px 0;
    padding-left: 20px;
}

.retour-enchere a {
    text-decoration: none;
    font-size: 16px;
    color: #6d4c41;
    font-weight: bold;
    background-color: #f5e8df;
    padding: 8px 14px;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

.retour-enchere a:hover {
    background-color: #e0cfc0;
}
.gagnant-enchere {
    margin-top: 30px;
    padding: 15px;
    background-color: #f2f0eb;
    border: 1px solid #d9c9b6;
    border-radius: 12px;
    font-size: 18px;
    color: #3e2f1c;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.gagnant-message {
    background-color: #fff7e6;
    border-left: 6px solid #e0a96d;
    padding: 16px;
    margin-bottom: 20px;
    font-size: 1.1em;
    border-radius: 8px;
    color: #5a3e2b;
    font-family: 'Inria Serif', serif;
}

.liste-offres table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: 'Inria Serif', serif;
    background-color: #fdfaf6;
    border: 1px solid #d4c4aa;
    border-radius: 8px;
    overflow: hidden;
}

.liste-offres th,
.liste-offres td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #e8e2d2;
    font-size: 16px;
}

.liste-offres thead {
    background-color: #f4e8d4;
    color: #3b2d1f;
    font-weight: bold;
}

.liste-offres tbody tr:nth-child(even) {
    background-color: #f9f5ef;
}

.liste-offres tbody tr:hover {
    background-color: #f1e8dc;
    transition: background-color 0.3s ease;
}

.liste-offres strong {
    color: #9b5e2e;
}

.liste-offres td:first-child {
    font-size: 1.3em;
}
.trophee-gagnant {
    text-align: center;
    font-size: 3.5rem;
    margin-top: 30px;
    animation: zoomTrophy 1.5s ease-in-out;
}

@keyframes zoomTrophy {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
    

.btn-inscription {
    background-color: #8d6e63;
    color: white;
    font-size: 18px;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: 'Inria Serif', serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.btn-inscription:hover {
    background-color: #6d4c41;
}
.message {
    margin-top: 20px;
    padding: 12px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
}
