.wbdm-event { --event-red: #bd1238; --event-green: #116c50; color: #22252a; font-family: inherit; letter-spacing: 0; width: 100%; max-width: min(1240px, calc(100vw - 24px)); margin: 24px auto; padding: 0 20px 80px; box-sizing: border-box; overflow-x: hidden; }
.wbdm-event *, .wbdm-event *::before, .wbdm-event *::after { box-sizing: border-box; letter-spacing: 0; }
.wbdm-event [hidden], .wbdm-event-banner[hidden] { display: none !important; }
.row > .wbdm-event { flex: 0 0 auto; }
.wbdm-event h1 { font-size: 30px; line-height: 1.2; margin: 0; overflow-wrap: anywhere; }
.wbdm-event h2 { font-size: 22px; line-height: 1.3; margin: 24px 0 16px; overflow-wrap: anywhere; }
.wbdm-event h3 { font-size: 18px; line-height: 1.4; margin: 8px 0; }
.event-heading, .event-toolbar, .event-filters, .event-tabs { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0; }
.event-heading { border-bottom: 1px solid #d9dde0; }
.event-heading h1 { margin-right: auto; }
.wbdm-event button, .wbdm-event .event-link-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 9px 15px; border: 1px solid #b6bcc1; border-radius: 5px; background: #fff; color: #22252a; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: normal; }
.wbdm-event button:hover { background: #f0f2f3; border-color: #727980; }
.wbdm-event button:disabled { opacity: .5; cursor: not-allowed; }
.wbdm-event button:focus-visible, .wbdm-event a:focus-visible { outline: 3px solid #157f87; outline-offset: 3px; }
.wbdm-event button.event-primary { background: var(--event-red); color: #fff; border-color: var(--event-red); }
.event-tabs { border-bottom: 1px solid #d9dde0; gap: 4px; }
.event-tabs button { border: 0; background: none; border-radius: 0; border-bottom: 3px solid transparent; }
.event-tabs button[aria-selected="true"] { border-bottom-color: var(--event-red); color: var(--event-red); }
.event-connection { font-size: 13px; color: var(--event-green); }
.event-connection.is-error, .event-alert.is-error { color: #a51c20; }
.event-alert { min-height: 24px; padding: 8px 0; overflow-wrap: anywhere; }
.event-alert:not(:empty) { border-bottom: 1px solid #d9dde0; margin-bottom: 10px; }
.event-live { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 24px 0; border-bottom: 1px solid #d9dde0; }
.event-live-image { width: 100%; height: 360px; object-fit: contain; background: #f5f6f7; }
.event-live-details { min-width: 0; }
.event-lot-label { display: inline-block; font-size: 13px; font-weight: 700; color: #63696f; margin: 8px 0; }
.event-live h2 { font-size: 26px; margin: 8px 0 20px; }
.event-price { font-size: 36px; font-weight: 700; line-height: 1.2; margin: 12px 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.event-state { font-weight: 600; color: var(--event-green); }
.event-clock { display: block; min-height: 42px; font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--event-red); margin: 12px 0; }
.event-clock:empty { display: none; }
.event-bid-form { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; margin: 16px 0; }
.wbdm-event label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.wbdm-event label:has(input[type="checkbox"]) { flex-direction: row; align-items: center; }
.wbdm-event input:not([type="checkbox"]), .wbdm-event select, .wbdm-event textarea { font: inherit; font-size: 16px; min-height: 42px; padding: 8px 10px; border: 1px solid #b6bcc1; border-radius: 4px; color: #22252a; background: #fff; max-width: 100%; width: 100%; }
.event-bid-form input { width: 160px !important; }
.event-queue { border-top: 1px solid #d9dde0; }
.event-queue-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(90px, 130px) minmax(120px, 150px); align-items: center; gap: 14px; min-width: 0; padding: 14px 0; border-bottom: 1px solid #d9dde0; }
.event-queue-row img { width: 60px; height: 60px; object-fit: contain; background: #f5f6f7; }
.event-queue-row a { color: #22252a; text-decoration: none; overflow-wrap: anywhere; }
.event-queue-row a:hover { text-decoration: underline; }
.event-queue-row .event-row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.event-queue-row.is-current { border-left: 3px solid var(--event-red); padding-left: 10px; }
.event-queue-row small { display: block; color: #63696f; }
.event-queue-row strong { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.event-table-scroll { overflow-x: auto; }
.event-table { border-collapse: collapse; width: 100%; font-size: 14px; text-align: left; }
.event-table th, .event-table td { padding: 12px 10px; border-bottom: 1px solid #d9dde0; vertical-align: middle; }
.event-table th { background: #f1f3f4; }
.event-table td { min-width: 80px; max-width: 360px; overflow-wrap: anywhere; }
.event-table td select { min-width: 230px; max-width: 340px; }
.event-table input[type="number"] { width: 85px; }
.event-table .event-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.event-lots-table td:first-child, .event-lots-table th:first-child { width: 64px; min-width: 64px; text-align: center; }
.event-lots-table [data-map-title] { min-width: 220px; }
.event-lots-table tr.is-dragging { opacity: .45; }
.event-drag-handle { width: 42px; min-height: 36px !important; padding: 6px !important; cursor: grab; touch-action: none; user-select: none; }
.event-drag-handle:active { cursor: grabbing; }
.event-settings { display: grid; gap: 18px; max-width: 580px; margin-top: 24px; }
.event-settings button { justify-self: start; }
.wbdm-event dialog { width: min(520px, calc(100% - 32px)); border: 1px solid #d9dde0; border-radius: 8px; padding: 24px; max-height: calc(100dvh - 48px); overflow-y: auto; }
.wbdm-event dialog.event-history-dialog { width: min(760px, calc(100% - 32px)); }
.wbdm-event dialog::backdrop { background: rgb(0 0 0 / 45%); }
.wbdm-event dialog form { display: grid; gap: 16px; }
.wbdm-event dialog h2 { margin: 0; }
.event-product { margin: 0; padding: 0; }
.event-product [hidden], .wbdm-auction-single .quick-bids[hidden], .wbdm-auction-single [data-wbdm-my-bid-tile][hidden] { display: none !important; }
.event-product-final { display: grid; gap: 6px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #e5e7eb; }
.event-product-final .event-lot-label { margin: 0; }
.event-product-final .event-state { color: #116c50; }
.event-product-final .event-clock { color: #bd1238; }
.event-product .event-alert:empty { display: none; }
.event-product .event-connection { display: block; margin-bottom: 8px; }
.event-product .event-live { display: block; border: 0; padding: 0; }
.event-product .event-live-image, .event-product .event-live h2, .event-product .event-price { display: none; }
.event-product .event-clock { font-size: 28px; }
.wbdm-event-banner { position: fixed; z-index: 9990; left: 0; right: 0; bottom: 0; padding: 14px max(20px, env(safe-area-inset-left)) calc(14px + env(safe-area-inset-bottom)); background: #a90e30; color: #fff !important; font-size: 15px; font-weight: 600; text-align: center; text-decoration: none; overflow-wrap: anywhere; }
body:has(.wbdm-event-banner:not([hidden])) { padding-bottom: 72px; }
.event-empty { padding: 32px 0; color: #63696f; }
@media (max-width: 760px) { .wbdm-event { max-width: calc(100vw - 16px); padding-left: 12px; padding-right: 12px; } .wbdm-event h1 { font-size: 24px; } .event-live { grid-template-columns: minmax(0, 1fr); gap: 16px; } .event-live-image { height: 250px; } .event-live h2 { font-size: 22px; } .event-price { font-size: 30px; } .event-queue-row { grid-template-columns: 48px minmax(0, 1fr) minmax(82px, 100px); gap: 10px; } .event-queue-row img { width: 48px; height: 48px; } .event-row-actions { grid-column: 2 / -1; } .event-filters label { flex: 1; min-width: 120px; } .event-admin { margin-left: 0; } .event-heading { gap: 10px; } .event-product { padding: 0; } }
