/* Make sold booths clickable (plugin sets cursor:not-allowed which prevents
   the affordance that they can be clicked to show info). */
.seating-plan-container .seat.booked,
.seating-plan-container .table-shape.booked,
.seating-plan-container .ga-area-shape.booked,
.seating-plan-container .whole-table-booking .table-shape.booked {
    cursor: pointer !important;
}

/* Standalone tooltip, appended to <body>. */
#omg-ale-les-booth-tooltip {
    position: fixed;
    z-index: 999999;
    min-width: 220px;
    max-width: 300px;
    background: #334155;
    color: #f1f5f9;
    border: 1px solid #475569;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    font-size: 13px;
    line-height: 1.45;
    overflow: hidden;
    pointer-events: auto;
    cursor: default;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.12s ease-out, transform 0.12s ease-out;
    white-space: normal;
}
#omg-ale-les-booth-tooltip.omg-ale-les-visible {
    opacity: 1;
    transform: translateY(0);
}
#omg-ale-les-booth-tooltip * {
    cursor: default;
}
#omg-ale-les-booth-tooltip a,
#omg-ale-les-booth-tooltip button {
    cursor: pointer;
}

#omg-ale-les-booth-tooltip .omg-ale-les-close {
    position: absolute;
    top: 4px;
    right: 6px;
    z-index: 2;
    width: 26px;
    height: 26px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 22px;
    line-height: 1;
    padding: 0;
    border-radius: 50%;
}
#omg-ale-les-booth-tooltip .omg-ale-les-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #1e293b;
}

#omg-ale-les-booth-tooltip .omg-ale-les-sold-booth {
    padding: 0;
}

#omg-ale-les-booth-tooltip .omg-ale-les-booth-number {
    background: #ffffff;
    color: #1a202c;
    font-weight: 600;
    font-size: 0.95em;
    padding: 10px 36px 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

#omg-ale-les-booth-tooltip .omg-ale-les-exhibitor-image {
    display: block;
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    background: #ffffff;
    padding: 8px;
    box-sizing: border-box;
}

/* White / light logos: swap the white box for a flat grey backdrop.
   The color comes from a CSS variable set by the JS using the per-event
   value picked in the metabox; #bbb is the default fallback. */
#omg-ale-les-booth-tooltip .omg-ale-les-exhibitor-image.omg-ale-les-white-logo {
    background: var(--omg-ale-les-white-logo-bg, #bbbbbb);
}

#omg-ale-les-booth-tooltip .omg-ale-les-exhibitor-name {
    padding: 10px 14px 4px;
    font-weight: 600;
    font-size: 1em;
    color: #ffffff;
}

#omg-ale-les-booth-tooltip .omg-ale-les-exhibitor-desc {
    padding: 0 14px 8px;
    font-size: 0.9em;
    color: #cbd5e1;
}

#omg-ale-les-booth-tooltip .omg-ale-les-contact-block {
    padding: 6px 14px 10px;
    font-size: 0.85em;
    color: #e2e8f0;
}
#omg-ale-les-booth-tooltip .omg-ale-les-contact-label {
    color: #94a3b8;
    margin-right: 4px;
}
#omg-ale-les-booth-tooltip .omg-ale-les-contact-block a {
    color: #93c5fd;
    text-decoration: none;
}
#omg-ale-les-booth-tooltip .omg-ale-les-contact-block a:hover {
    text-decoration: underline;
}

#omg-ale-les-booth-tooltip .omg-ale-les-sold-label {
    display: block;
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fecaca;
    background: rgba(185, 28, 28, 0.25);
    border-top: 1px solid rgba(185, 28, 28, 0.4);
    text-align: center;
}

#omg-ale-les-booth-tooltip .omg-ale-les-edit-link {
    display: block;
    padding: 8px 14px;
    font-size: 0.85em;
    color: #93c5fd;
    text-decoration: none;
    background: rgba(30, 64, 175, 0.2);
    border-top: 1px solid rgba(30, 64, 175, 0.4);
    text-align: center;
    transition: background-color 0.15s;
}
#omg-ale-les-booth-tooltip .omg-ale-les-edit-link:hover {
    background: rgba(30, 64, 175, 0.35);
    color: #bfdbfe;
}
