/* Marly's Auction — tableau des enchères en direct, shortcode [marlys_auction_live_table]. */
.wc-auction-live-table-wrapper { margin:20px 0; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; }
.wc-auction-live-controls { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; padding:15px; background:#f8f9fa; border-radius:8px; }
.wc-auction-live-sort { display:flex; align-items:center; gap:10px; }
.wc-auction-live-sort label { font-weight:600; margin:0; }
.wc-auction-sort-btn { padding:8px 16px; border:2px solid #aaa; background:white; color:#333; border-radius:6px; cursor:pointer; transition:all 0.3s; font-size:14px; display:flex; align-items:center; gap:6px; }
.wc-auction-sort-btn:hover { border-color:#27ae60; background:#f0fff4; }
.wc-auction-sort-btn.active { border-color:#27ae60; background:#27ae60; color:white; }
.wc-auction-live-status { display:flex; align-items:center; gap:8px; font-size:13px; color:#666; }
.wc-auction-live-indicator { width:10px; height:10px; background:#27ae60; border-radius:50%; animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.wc-auction-live-table-container { overflow-x:auto; border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,.1); }
.wc-auction-live-table.wc-auction-compact { width:100%; border-collapse:collapse; background:white; font-size:14px; }
.wc-auction-live-table.wc-auction-compact thead { background:#e8ecf0; color:#1a1a1a; border-bottom:2px solid #c0c8d0; }
.wc-auction-live-table.wc-auction-compact th { padding:10px 8px; text-align:left; font-weight:700; font-size:12px; text-transform:uppercase; letter-spacing:.6px; white-space:nowrap; color:#1a1a1a; }
.wc-auction-live-table.wc-auction-compact tbody tr { border-bottom:1px solid #eee; transition:all .3s ease; }
.wc-auction-live-table.wc-auction-compact tbody tr:nth-child(even) { background:#fafafa; }
.wc-auction-live-table.wc-auction-compact tbody tr:hover { background:#f0f0f0 !important; }
.wc-auction-live-table.wc-auction-compact tbody tr.new-bid { background:#fff5f5 !important; border-left:4px solid #e74c3c; animation:highlightRow 2s ease; }
@keyframes highlightRow { 0%{background:#ffe5e5;transform:scale(1.02)} 100%{background:#fff5f5;transform:scale(1)} }
.wc-auction-live-table.wc-auction-compact tbody tr.urgent { border-left:4px solid #f39c12; }
.wc-auction-live-table.wc-auction-compact td { padding:6px 8px; white-space:nowrap; vertical-align:middle; font-size:13px; }
.col-title { width:25%; min-width:150px; }
.col-current-bid { width:15%; min-width:100px; }
.col-last-bid { width:15%; min-width:120px; }
.col-time { width:15%; min-width:100px; }
.col-bidder { width:15%; min-width:120px; }
.col-action { width:15%; min-width:100px; text-align:center; }
.wc-auction-product-name { font-weight:600; color:#2c3e50; text-decoration:none; display:block; }
.wc-auction-product-name:hover { color:#3498db; text-decoration:underline; }
.wc-auction-current-price { font-size:16px; font-weight:700; color:#27ae60; display:block; }
.wc-auction-last-bid-info { display:flex; flex-direction:column; gap:2px; }
.wc-auction-last-bid-amount { font-weight:600; color:#e74c3c; font-size:14px; }
.wc-auction-bid-count { font-size:11px; color:#95a5a6; }
.wc-auction-time-ago { color:#7f8c8d; font-size:13px; }
.wc-auction-bidder-name { display:flex; align-items:center; gap:4px; color:#34495e; font-size:13px; }
.wc-auction-bid-btn { padding:8px 16px; background:#0A1628; color:#C9A84C; border:2px solid #C9A84C; border-radius:6px; cursor:pointer; font-weight:700; font-size:13px; transition:all .3s; text-decoration:none; display:inline-block; }
.wc-auction-bid-btn:hover { background:#C9A84C; color:#0A1628; transform:translateY(-2px); box-shadow:0 4px 12px rgba(201,168,76,.35); text-decoration:none; }
.wc-auction-live-legend { margin-top:15px; display:flex; gap:20px; font-size:13px; color:#666; }
.wc-auction-legend-dot { display:inline-block; width:12px; height:12px; border-radius:50%; background:#f39c12; margin-right:6px; }
.wc-auction-legend-dot.new-bid { background:#e74c3c; }
.dashicons.spin { animation:spin 1s linear infinite; }
@keyframes spin { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }
@media(max-width:768px) {
    .wc-auction-live-controls { flex-direction:column; gap:15px; }
    .wc-auction-live-table.wc-auction-compact { font-size:12px; }
    .wc-auction-live-table.wc-auction-compact th,
    .wc-auction-live-table.wc-auction-compact td { padding:8px 6px; }
    .col-time,.col-bidder { display:none; }
    .wc-auction-current-price { font-size:14px; }
    .wc-auction-bid-btn { padding:6px 12px; font-size:12px; }
}
