/* Money and buttons use the style guide palette (Felix 2026-10-15): the amount box was pink, money totals are #75BD7E (stronger green, was #AFCAB2). */
/* Also the look of every record pop-up: invoices and Financials payments use .cx-booking-detail too
   (app.components.portal.record-overview, Felix 2026-10-16), so all "open a record" pop-ups match. */
/* Keep the content scrollable and actions reachable on small screens. */
.cx-booking-detail .modal-dialog { margin: 12px; max-height: calc(100dvh - 24px); }
.cx-booking-detail .modal-content { background: #202022; color: #fff; border: 1px solid #ffffff18; border-radius: 20px; box-shadow: 0 24px 80px #0006; overflow: hidden; }
.cx-booking-detail .modal-header { padding: 22px; border-bottom: 1px solid #ffffff0d; align-items: center; }
.cx-booking-detail__eyebrow { display: block; color: #9A9A9A; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 8px; }
.cx-booking-detail .modal-title { color: #fff; font-size: clamp(18px, 3vw, 24px); letter-spacing: -.025em; overflow-wrap: anywhere; }
.cx-booking-detail .btn-close { filter: invert(1) grayscale(1); opacity: .75; flex-shrink: 0; }
.cx-booking-detail .modal-body { padding: 22px; overscroll-behavior: contain; }
.cx-booking-detail__summary { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 20px; background: var(--portal-surface-raised, #2B2B2B); border: 1px solid var(--portal-border, #3C3C3C); border-radius: 8px; margin-bottom: 26px; }
.cx-booking-detail__label, .cx-booking-detail__grid dt { color: #b9b9c0; font-size: 12px; font-weight: 400; }
.cx-booking-detail__amount { display: block; margin-top: 6px; color: var(--portal-total, #75BD7E); font-size: 27px; font-weight: 600; letter-spacing: -.04em; line-height: 1.25; }
/* The amount is a <strong>, and portal-records.css forces bold text in pop-ups to the normal text colour, so the money colour needs this stronger rule. */
.nk-body.nk-body:is(.portal-booker, .portal-entertainer) .cx-booking-detail .modal-content .cx-booking-detail__amount { color: var(--portal-total, #75BD7E) !important; }
.cx-booking-detail__status { padding: 6px 11px; border-radius: 30px; background: #ffffff09; border: 1px solid #ffffff1a; color: #fff; font-size: 12px; }
.cx-booking-detail__section-title { color: #fff; font-size: 14px; margin-bottom: 18px; }
.cx-booking-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 28px; margin: 0; }
.cx-booking-detail__grid dd { color: #fff; font-size: 14px; font-weight: 500; margin: 5px 0 0; overflow-wrap: anywhere; }
.cx-booking-detail__agency { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #ffffff0d; color: #fff; font-size: 13px; }
.cx-booking-detail .modal-footer { padding: 16px 22px; gap: 10px; border-top: 1px solid #ffffff0d; background: #1b1b1d; }
.cx-booking-detail .modal-footer .btn { margin: 0; min-height: 44px; border-radius: 8px; justify-content: center; font-size: 13px; }
.cx-booking-detail__download { background: var(--portal-accent, #5B8060); border: 1px solid var(--portal-accent, #5B8060); color: #fff; width: 100%; }
.cx-booking-detail__download:hover { background: var(--portal-accent-hover, #48684C); border-color: var(--portal-accent-hover, #48684C); color: #fff; }
.cx-booking-detail__close { border: 1px solid #ffffff24; color: #fff; width: 100%; }
.cx-booking-detail__close:hover { color: #fff; background: #ffffff0c; }
.cx-booking-detail .btn:focus-visible { outline: 2px solid #9DBCA2; outline-offset: 3px; }
.cx-booking-detail [hidden] { display: none !important; }
.cx-booking-adjustment-view { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; }
.cx-booking-adjustment-view__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.cx-booking-adjustment-view__notice { margin-bottom: 22px; padding: 14px 16px; border: 1px solid #5B8060; border-radius: 8px; background: #26372a; color: #e6eee7; font-size: 14px; line-height: 1.5; }
.cx-booking-adjustment-view__package { padding: 16px; border: 1px solid var(--portal-border, #3C3C3C); border-radius: 8px; background: var(--portal-surface-raised, #2B2B2B); }
.cx-booking-adjustment-view__note { margin: 0; padding: 16px; border: 1px solid var(--portal-border, #3C3C3C); border-radius: 8px; color: #fff; white-space: pre-wrap; overflow-wrap: anywhere; }
/* Expand into two balanced columns while keeping the address full width. */
@media (min-width: 576px) {
    /* 760px (was 680px, Felix 2026-10-17, U75): room for the five quick jumps on one line. */
    .cx-booking-detail .modal-dialog { max-width: 760px; margin: 24px auto; max-height: calc(100dvh - 48px); }
    .cx-booking-detail .modal-header, .cx-booking-detail .modal-body { padding: 26px 30px; }
    .cx-booking-detail__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
    .cx-booking-detail__field--venue_address { grid-column: 1 / -1; }
    .cx-booking-detail__summary { align-items: center; }
    .cx-booking-detail .modal-footer { padding: 18px 30px; }
    .cx-booking-detail .modal-footer .btn { width: auto; }
}

/* D2 (Felix 2026-10-17): the refund line on a cancelled booking. */
.cx-booking-detail .cx-booking-detail__refund-note { margin: 12px 0 0; color: #C9C9C9 !important; font-size: 14px; line-height: 1.5; }
