/**
 * Book Now - mobile-first, full-bleed map with bottom artist cards
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Reset theme container */
body.book-now-page { overflow: hidden; }

body.book-now-page .site-content,
body.book-now-page .content-area,
body.book-now-page .entry-content,
body.book-now-page main,
body.book-now-page .page-content {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
}

body.book-now-page .site { max-width: none !important; }

body.book-now-page .entry-header,
body.book-now-page .page-header,
body.book-now-page h1.entry-title,
body.book-now-page .page-title {
    display: none !important;
}

/* App - full viewport (light mode) */
.book-now-app {
    position: fixed;
    inset: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f5f5;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    z-index: 100;
}

/* Map - fills entire screen (hidden) */
.book-now-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
}

/* Hero background - artist profile photo or live player when card selected */
.book-now-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: #f5f5f5;
    overflow: hidden;
}

/* Background photo layer — no blur until the live player is active */
.bn-hero-blur-bg {
    position: absolute;
    inset: -24px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    transition: filter 0.4s ease;
}

/* Blur kicks in only when the live player is on top */
.book-now-hero-bg.has-live-player .bn-hero-blur-bg {
    filter: blur(4px);
}

/* Live player sits on top of the hero background image */
.bn-hero-live-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/* Video player fills the hero area; object-fit:contain keeps aspect ratio
   and background:transparent makes the letterbox areas see-through,
   so the artist's banner image shows behind the video */
.bn-hero-live-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: contain;
    background: transparent;
}

.bn-hero-live-badge {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(239, 68, 68, 0.88);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    pointer-events: none;
    white-space: nowrap;
    animation: bn-live-pulse 2s infinite;
}

/* Brand logo - top left overlay */
.book-now-brand {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 500;
    max-width: 150px;
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
}

/* Top-right action column */
.bn-top-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Shared style for top-right icon buttons */
.bn-top-btn {
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: #333;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: background 0.15s, color 0.15s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
    box-sizing: border-box;
}

.bn-top-btn:hover,
.bn-top-btn:active {
    background: #fff;
    color: #111;
    transform: scale(1.06);
}

/* Search icon button - top right overlay (legacy selector kept for JS) */
.book-now-search-btn {
    /* inherits .bn-top-btn */
}

/* Account button with photo */
.bn-account-btn.has-photo {
    padding: 0;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.9);
}
.bn-account-btn-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

/* Login modal */
.bn-login-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.bn-login-modal {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 36px 28px 28px;
    width: 100%;
    max-width: 360px;
    color: #111;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
}
.bn-login-brand {
    display: block;
    height: 26px;
    margin: 0 auto 20px;
    object-fit: contain;
}
.bn-login-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
.bn-login-close:hover { color: #333; }
.bn-login-header { margin-bottom: 20px; }
.bn-login-header h3 { font-size: 18px; font-weight: 700; color: #111; margin: 0 0 4px; }
.bn-login-header p  { font-size: 13px; color: #888; margin: 0; }
.bn-login-field { margin-bottom: 14px; text-align: left; }
.bn-login-field label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .5px; }
.bn-login-field input { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid #e5e7eb; background: #f9fafb; color: #111; font-size: 14px; box-sizing: border-box; outline: none; transition: border-color .15s, background .15s; }
.bn-login-field input:focus { border-color: #333; background: #fff; }
.bn-login-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: 13px; }
.bn-login-check { display: flex; align-items: center; gap: 6px; color: #666; cursor: pointer; }
.bn-login-link { color: #555; text-decoration: underline; font-size: 13px; }
.bn-login-link:hover { color: #111; }
.bn-login-error { background: #fef2f2; border: 1px solid #fca5a5; border-radius: 8px; padding: 10px 12px; font-size: 13px; color: #dc2626; margin-bottom: 14px; text-align: left; }
.bn-login-submit { width: 100%; padding: 12px; border-radius: 10px; border: none; background: #111; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s; }
.bn-login-submit:hover:not(:disabled) { background: #333; }
.bn-login-submit:disabled { opacity: .6; cursor: default; }
.bn-login-footer { margin-top: 16px; font-size: 13px; color: #999; }
.bn-login-footer a { color: #555; text-decoration: underline; }
.bn-login-footer a:hover { color: #111; }

/* Dashboard redirect modal */
.bn-dash-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.bn-dash-modal {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 36px 28px 28px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.bn-dash-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
.bn-dash-close:hover { color: #333; }
.bn-dash-icon {
    font-size: 36px;
    color: #333;
    margin-bottom: 14px;
}
.bn-dash-title {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
}
.bn-dash-msg {
    font-size: 14px;
    color: #555;
    margin: 0 0 24px;
    line-height: 1.5;
}
.bn-dash-role {
    color: #111;
    font-weight: 700;
}
.bn-dash-go-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background 0.15s;
    box-sizing: border-box;
}
.bn-dash-go-btn:hover { background: #333; color: #fff; }
.bn-dash-cancel {
    background: none;
    border: none;
    font-size: 13px;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
    text-decoration: underline;
}
.bn-dash-cancel:hover { color: #555; }

/* Account modal extras */
.bn-account-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.bn-account-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    border: 3px solid #f0f0f0;
    flex-shrink: 0;
}
.bn-account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bn-account-email {
    font-size: 13px;
    color: #888;
    margin: 0 0 8px;
}
.bn-account-role-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #555;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 3px 12px;
    margin: 0 0 22px;
}
.bn-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, border-color .15s;
    box-sizing: border-box;
}
.bn-logout-btn:hover { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }

/* Account modal – wider scrollable */
.bn-account-modal {
    max-height: 90vh;
    overflow-y: auto;
}
/* My Account button */
.bn-account-myaccount-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    background: #f0f4ff;
    border: 1px solid #c7d2fe;
    color: #4338ca;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 14px;
    transition: background .15s, border-color .15s;
    box-sizing: border-box;
}
.bn-account-myaccount-btn:hover { background: #e0e7ff; border-color: #a5b4fc; color: #3730a3; }

/* Location section */
.bn-account-section {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 14px;
    box-sizing: border-box;
    background: #fafafa;
}
.bn-account-section-hd {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}
.bn-account-section-hd small {
    margin-left: auto;
    font-size: 11px;
    font-weight: 400;
    color: #9ca3af;
}
.bn-loc-current {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #374151;
}
.bn-loc-current span { flex: 1; }
.bn-loc-edit-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    font-size: 14px;
    padding: 2px 4px;
    transition: color .15s;
}
.bn-loc-edit-btn:hover { color: #4338ca; }
.bn-loc-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #4338ca;
    background: none;
    border: 1px dashed #c7d2fe;
    border-radius: 7px;
    padding: 6px 12px;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    transition: background .15s;
}
.bn-loc-add-btn:hover { background: #e0e7ff; }
.bn-loc-none { font-size: 12px; color: #9ca3af; margin: 0 0 8px; }
.bn-loc-form { margin-top: 10px; }
.bn-loc-row { margin-bottom: 9px; }
.bn-loc-row label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.bn-loc-row input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    font-size: 13px;
    box-sizing: border-box;
    outline: none;
    transition: border-color .15s;
}
.bn-loc-row input:focus { border-color: #6366f1; }
.bn-loc-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.bn-loc-save-btn {
    flex: 1;
    padding: 9px 12px;
    background: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background .15s;
}
.bn-loc-save-btn:hover:not(:disabled) { background: #4338ca; }
.bn-loc-save-btn:disabled { opacity: .6; cursor: not-allowed; }
.bn-loc-cancel-btn {
    padding: 9px 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
}
.bn-loc-cancel-btn:hover { background: #e5e7eb; }
.bn-loc-msg {
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 6px;
    margin-top: 8px;
}
.bn-loc-msg.success { background: #dcfce7; color: #166534; }
.bn-loc-msg.error   { background: #fee2e2; color: #991b1b; }

/* Bell badge */
.bn-bell-wrap {
    position: relative;
    display: flex;
    flex-shrink: 0;
}
.bn-bell-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    pointer-events: none;
    box-sizing: border-box;
    border: 2px solid #fff;
}

/* Notifications modal overlay */
.bn-notif-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* Notifications modal — matches dashboard modal style */
.bn-notif-modal {
    max-width: 360px;
    text-align: center;
    padding-bottom: 24px;
    max-height: 85vh;
    overflow-y: auto;
}
.bn-notif-empty {
    text-align: center;
    padding: 12px 0 4px;
    color: #aaa;
}
.bn-notif-empty i { font-size: 26px; margin-bottom: 8px; display: block; }
.bn-notif-empty p { font-size: 13px; margin: 0; }
.bn-notif-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    width: 100%;
    text-align: left;
    border-top: 1px solid #f3f4f6;
}
.bn-notif-item {
    border-bottom: 1px solid #f3f4f6;
}
.bn-notif-item:last-child { border-bottom: none; }
.bn-notif-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 2px;
    border-radius: 8px;
    transition: background .1s;
}
.bn-notif-row:hover { background: #f9fafb; }
.bn-notif-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #555;
    flex-shrink: 0;
}
.bn-notif-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-decoration: none !important;
    color: inherit;
}
.bn-notif-body:hover { text-decoration: none !important; }
.bn-notif-title {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none !important;
}
.bn-notif-event-name {
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-style: italic;
    text-decoration: none !important;
}
.bn-notif-meta {
    font-size: 11px;
    color: #aaa;
    text-decoration: none !important;
}
.bn-notif-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}
.bn-notif-dismiss {
    background: none;
    border: none;
    color: #ccc;
    font-size: 16px;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    flex-shrink: 0;
    border-radius: 50%;
    transition: color .15s, background .15s;
}
.bn-notif-dismiss:hover { color: #ef4444; background: #fee2e2; }

/* ── Chat overlay backdrop ───────────────────────────────── */
.bn-chat-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* ── Chat modal shell ────────────────────────────────────── */
.bnc-modal {
    background: #f0f2f5;
    width: 100%;
    max-width: 420px;
    height: 85dvh;
    max-height: 680px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,.28);
}

/* ── Header ──────────────────────────────────────────────── */
.bnc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #075e54;
    color: #fff;
    flex-shrink: 0;
}
.bnc-header-info { display: flex; align-items: center; gap: 8px; }
.bnc-live-dot { font-size: 10px; color: #25d366; animation: bn-live-pulse 2s infinite; }
.bnc-header-title { font-size: 15px; font-weight: 700; letter-spacing: .2px; }
.bnc-close {
    background: none; border: none; color: rgba(255,255,255,.8);
    font-size: 22px; line-height: 1; cursor: pointer; padding: 0 2px;
}
.bnc-close:hover { color: #fff; }

/* ── Message thread ──────────────────────────────────────── */
.bnc-thread {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9bdb1' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.bnc-thread-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #8d8d8d;
    gap: 8px;
    font-size: 13px;
    text-align: center;
}
.bnc-thread-empty i { font-size: 36px; opacity: .5; }
.bnc-thread-guest {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #8d8d8d;
    gap: 8px;
    font-size: 13px;
    text-align: center;
    background: #e5ddd5;
    padding: 24px;
}
.bnc-thread-guest i { font-size: 36px; opacity: .5; }

/* ── Bot avatar (artist photo next to guest bot messages) ── */
.bnc-msg-bot { align-items: flex-end; }
.bnc-bot-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-right: 6px;
    margin-bottom: 2px;
}
.bnc-bot-avatar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #128c7e;
    color: #fff;
    font-size: 12px;
}

/* ── Guest bad-word / error notice ───────────────────────── */
.bnc-guest-error {
    background: #fff0f0;
    color: #c0392b;
    font-size: 12px;
    padding: 6px 12px;
    text-align: center;
    border-top: 1px solid #ffd5d5;
    flex-shrink: 0;
}

/* ── Guest login prompt (shown after message limit) ─────── */
.bnc-guest-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: #f0f2f5;
    border-top: 1px solid #ddd;
    text-align: center;
    flex-shrink: 0;
}
.bnc-guest-login i { font-size: 20px; color: #128c7e; }
.bnc-guest-login p { margin: 0; font-size: 13px; color: #555; }
.bnc-login-link {
    display: inline-block;
    background: #128c7e;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 20px;
    border-radius: 20px;
    text-decoration: none;
    transition: background .15s;
}
.bnc-login-link:hover { background: #0f7268; color: #fff; }

/* ── Message bubble ──────────────────────────────────────── */
.bnc-msg { display: flex; justify-content: flex-end; }
.bnc-msg-bubble {
    background: #dcf8c6;
    border-radius: 12px 12px 2px 12px;
    padding: 8px 12px;
    max-width: 82%;
    box-shadow: 0 1px 2px rgba(0,0,0,.12);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.bnc-msg-content { font-size: 14px; color: #1a1a1a; line-height: 1.4; word-break: break-word; }
.bnc-msg-meta { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.bnc-msg-time { font-size: 11px; color: #8d8d8d; }
.bnc-msg-status { font-size: 12px; }
.bnc-msg-status [data-status="sending"] { color: #aaa; }
.bnc-msg-status [data-status="sent"]    { color: #4fc3f7; }
.bnc-msg-status [data-status="err"]     { color: #e53935; }
[data-status="sent"]  { color: #53bdeb; }
[data-status="err"]   { color: #e53935; }
[data-status="sending"] { color: #aaa; }

/* ── Bot reply bubble ─────────────────────────────────────── */
.bnc-msg-bot { justify-content: flex-start; }
.bnc-msg-bubble-bot {
    background: #fff;
    border-radius: 12px 12px 12px 2px;
    padding: 8px 12px;
    max-width: 82%;
    box-shadow: 0 1px 2px rgba(0,0,0,.12);
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-style: italic;
    color: #4a4a4a;
}

/* ── Toast notification ───────────────────────────────────── */
.bnc-toast {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0,0,0,.78);
    color: #fff;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s, transform .3s;
    z-index: 100;
}
.bnc-toast.bnc-toast-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Header tabs (Chat / Library) ────────────────────────── */
.bnc-tabs {
    display: flex;
    gap: 2px;
    background: rgba(0,0,0,.08);
    border-radius: 8px;
    padding: 2px;
    margin: 0 auto;
}
.bnc-tab {
    background: none;
    border: none;
    border-radius: 6px;
    color: rgba(255,255,255,.65);
    cursor: pointer;
    font-size: 15px;
    padding: 4px 10px;
    transition: background .15s, color .15s;
    line-height: 1;
}
.bnc-tab:hover { color: #fff; background: rgba(255,255,255,.15); }
.bnc-tab.bnc-tab-active { background: rgba(255,255,255,.25); color: #fff; }

/* ── Chat view / Library view wrappers ───────────────────── */
.bnc-chat-view {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
.bnc-lib-view {
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* ── Library filter bar ──────────────────────────────────── */
.bnc-lib-filter {
    display: flex;
    gap: 6px;
    padding: 10px 12px 6px;
    flex-shrink: 0;
    border-bottom: 1px solid #eee;
}
.bnc-lib-filter-btn {
    background: #f0f2f5;
    border: none;
    border-radius: 20px;
    color: #555;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    transition: background .15s, color .15s;
}
.bnc-lib-filter-btn:hover { background: #e2e6ea; }
.bnc-lib-filter-btn.bnc-lib-filter-active { background: #128c7e; color: #fff; }

/* ── Library grid ────────────────────────────────────────── */
.bnc-lib-grid {
    flex: 1;
    overflow-y: auto;
    padding: 10px 10px 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    align-content: start;
}
.bnc-lib-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 16px;
    color: #aaa;
}
.bnc-lib-empty i  { font-size: 32px; margin-bottom: 10px; opacity: .5; }
.bnc-lib-empty p  { margin: 4px 0; font-size: 14px; }
.bnc-lib-empty small { font-size: 12px; color: #bbb; }
.bnc-lib-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #aaa;
    font-size: 22px;
}

/* ── History view ────────────────────────────────────────── */
.bnc-history-view {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    background: #f0f2f5;
}
.bnc-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.bnc-history-new-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #128c7e;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.bnc-history-new-btn:hover { background: #0a7a6e; }
.bnc-history-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bnc-history-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #9ca3af;
    text-align: center;
}
.bnc-history-empty i { font-size: 32px; margin-bottom: 10px; opacity: .5; }
.bnc-history-empty p { margin: 4px 0; font-size: 14px; }
.bnc-history-loading {
    text-align: center;
    padding: 40px;
    color: #aaa;
    font-size: 22px;
}
.bnc-history-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: box-shadow .15s, background .15s;
    position: relative;
}
.bnc-history-item:hover { background: #f9fafb; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.bnc-history-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #128c7e22;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #128c7e;
    font-size: 15px;
    flex-shrink: 0;
}
.bnc-history-item-body { flex: 1; min-width: 0; }
.bnc-history-item-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 3px;
}
.bnc-history-item-channel {
    font-size: 12px;
    font-weight: 700;
    color: #128c7e;
}
.bnc-history-item-date {
    font-size: 11px;
    color: #9ca3af;
}
.bnc-history-item-count {
    font-size: 10px;
    color: #d1d5db;
    margin-left: auto;
}
.bnc-history-item-preview {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bnc-history-item-del {
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 12px;
    border-radius: 4px;
    flex-shrink: 0;
    align-self: center;
    transition: color .15s;
}
.bnc-history-item-del:hover { color: #ef4444; }

/* ── Library card ────────────────────────────────────────── */
.bnc-lib-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s;
}
.bnc-lib-card:hover { box-shadow: 0 3px 10px rgba(0,0,0,.15); }

.bnc-lib-thumb {
    width: 100%;
    aspect-ratio: 1;
    background: #f0f0f0;
    overflow: hidden;
}
.bnc-lib-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bnc-lib-thumb-video {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
    color: rgba(255,255,255,.6);
    font-size: 28px;
    position: relative;
    overflow: hidden;
}
.bnc-lib-thumb-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bnc-lib-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.28);
    color: #fff;
    font-size: 32px;
    pointer-events: none;
}

.bnc-lib-info {
    padding: 6px 8px 2px;
}
.bnc-lib-name {
    font-size: 11px;
    color: #555;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bnc-lib-actions {
    display: flex;
    gap: 4px;
    padding: 4px 6px 6px;
}
.bnc-lib-send,
.bnc-lib-del {
    flex: 1;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    padding: 5px 4px;
    transition: background .15s;
}
.bnc-lib-send { background: #128c7e; color: #fff; }
.bnc-lib-send:hover { background: #0f7268; }
.bnc-lib-del  { background: #ffeaea; color: #c0392b; }
.bnc-lib-del:hover  { background: #ffd5d5; }

/* ── "Save to library" button (inside bot bubble) ────────── */
.bnc-save-lib-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    background: #128c7e;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    cursor: pointer;
    transition: background .15s;
}
.bnc-save-lib-btn:hover { background: #0f7268; }
.bnc-save-lib-btn:disabled { opacity: .6; cursor: default; }
.bnc-save-lib-btn.bnc-save-lib-btn-done { background: #4caf50; cursor: default; }

/* ── Upload progress bar (inside message bubble) ────────── */
.bnc-progress-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 5px 0 2px;
}
.bnc-progress-track {
    flex: 1;
    height: 4px;
    background: rgba(0,0,0,.12);
    border-radius: 4px;
    overflow: hidden;
}
.bnc-progress-bar {
    height: 100%;
    width: 0%;
    background: #128c7e;
    border-radius: 4px;
    transition: width .25s ease;
    min-width: 0;
}
.bnc-progress-pct {
    font-size: 10px;
    color: #888;
    min-width: 28px;
    text-align: right;
    font-weight: 600;
    flex-shrink: 0;
}

/* ── Compose bar ─────────────────────────────────────────── */
.bnc-compose {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #f0f2f5;
    flex-shrink: 0;
}
.bnc-attach-wrap { position: relative; flex-shrink: 0; }
.bnc-attach-btn {
    width: 40px; height: 40px;
    background: none; border: none; cursor: pointer;
    color: #54656f; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: background .15s;
}
.bnc-attach-btn:hover { background: #e0e0e0; }
.bnc-attach-menu {
    position: absolute;
    bottom: 48px;
    left: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,.18);
    flex-direction: column;
    overflow: hidden;
    min-width: 140px;
    z-index: 10;
}
.bnc-attach-menu button {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border: none; background: none;
    font-size: 14px; color: #111; cursor: pointer; width: 100%;
    text-align: left; transition: background .15s;
}
.bnc-attach-menu button:hover { background: #f5f5f5; }
.bnc-attach-menu button i { font-size: 16px; color: #075e54; width: 18px; text-align: center; }
.bnc-compose .bnc-input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    background: #fff;
    outline: none;
    color: #111;
    font-family: inherit;
}
.bnc-send-btn {
    width: 40px; height: 40px;
    background: #075e54; border: none; border-radius: 50%;
    color: #fff; font-size: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background .15s;
}
.bnc-send-btn:hover { background: #128c7e; }

/* Old compact form styles (kept for reference, no longer used) */
.bn-chat-placeholder {
    padding: 16px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    text-align: center;
}

/* ── Artists modal ───────────────────────────────────────── */
.bn-artists-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.bn-artists-modal {
    max-height: 85vh;
    overflow-y: auto;
}
.bn-artists-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bn-artist-card {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
}
.bn-artist-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px 10px;
    text-align: left;
    position: relative;
}
.bn-artist-photo-wrap {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    background: #e5e7eb;
}
.bn-artist-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bn-artist-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}
.bn-artist-name {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    text-decoration: none !important;
}
.bn-artist-type {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-align: left;
}
.bn-artist-actions {
    display: flex;
    border-top: 1px solid #e8e8e8;
}
.bn-artist-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px;
    text-decoration: none !important;
    color: #555;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    border-right: 1px solid #e8e8e8;
    border-top: none;
    border-bottom: none;
    border-left: none;
    background: none;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: background .12s, color .12s;
}
.bn-artist-actions button,
.bn-artist-actions button:focus,
.bn-artist-actions button:focus-visible,
.bn-artist-actions button:active,
.bn-artist-actions button:hover {
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border-color: transparent !important;
    -webkit-tap-highlight-color: transparent !important;
}
.bn-artist-action:focus { outline: none; box-shadow: none; }
.bn-artist-action:focus-visible { outline: none; box-shadow: none; }
.bn-artist-action:active { background: #f0f0f0; }
/* Prevent any theme/browser button circle or outline on the Store button */
.bn-artists-modal button.bn-artist-action,
.bn-artists-modal button.bn-artist-action:focus,
.bn-artists-modal button.bn-artist-action:focus-visible,
.bn-artists-modal button.bn-artist-action:active {
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: none !important;
    -webkit-tap-highlight-color: transparent;
}
.bn-artist-action:last-child { border-right: none; }
.bn-artist-action i { font-size: 17px; color: #444; transition: color .12s; }
.bn-artist-action:hover { background: #f0f0f0; color: #111; }
.bn-artist-action:hover i { color: #111; }
/* Badge on action buttons */
.bn-artist-action--badge { position: relative; }
.bn-action-badge {
    position: absolute;
    top: 6px;
    right: 50%;
    transform: translateX(calc(50% + 8px));
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.bn-events-view-all { text-decoration: none !important; }

/* ── Unlink button on artist card ─────────────────────────── */
.bn-unlink-artist,
.bn-unlink-artist:focus,
.bn-unlink-artist:focus-visible,
.bn-unlink-artist:active {
    margin-left: auto;
    background: none !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 50% !important;
    width: 30px !important; height: 30px !important;
    min-width: 30px !important; max-width: 30px !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    color: #bbb !important;
    cursor: pointer;
    font-size: 13px !important;
    line-height: 1 !important;
    flex-shrink: 0;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: color .15s, border-color .15s;
}
.bn-unlink-artist:hover { color: #ef4444 !important; border-color: #fca5a5 !important; }

/* ── Add-artist search form ───────────────────────────────── */
.bn-add-artist-wrap {
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
}
.bn-add-artist-form {
    margin-top: 8px;
}
.bn-artist-search-results {
    margin-top: 4px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    max-height: 220px;
    overflow-y: auto;
}
.bn-search-result-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid #f3f4f6;
    background: #fff;
}
.bn-search-result-row:last-child { border-bottom: none; }
.bn-search-result-photo {
    width: 36px; height: 36px; min-width: 36px;
    border-radius: 50%; object-fit: cover;
    background: #e5e7eb;
}
.bn-search-result-info {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 1px;
    text-align: left;
}
.bn-search-result-info strong {
    font-size: 13px; font-weight: 600; color: #111;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bn-search-result-info span {
    font-size: 11px; color: #999;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bn-role-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 10px !important;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 10px;
    width: fit-content !important;
}
.bn-assign-btn {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}
.bn-assign-btn:disabled { opacity: .6; cursor: wait; }
.bn-search-loading,
.bn-search-none {
    padding: 12px;
    text-align: center;
    font-size: 12px;
    color: #aaa;
}

/* ── Content modal ────────────────────────────────────────── */
.bn-content-overlay {
    position: fixed; inset: 0; z-index: 9200;
    background: rgba(0,0,0,.55);
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.bn-content-modal {
    max-width: 420px !important;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}
.bn-content-subtitle {
    font-size: 12px; color: #999; margin: -4px 0 12px; text-align: center;
}

/* Tabs */
.bn-content-tabs {
    display: flex; gap: 4px;
    background: #f3f4f6; border-radius: 10px; padding: 4px;
    margin-bottom: 16px;
}
.bn-content-tab,
.bn-content-tab:focus,
.bn-content-tab:focus-visible,
.bn-content-tab:active {
    flex: 1; border: none !important; background: none !important;
    border-radius: 8px !important; padding: 7px 10px !important;
    font-size: 13px !important; font-weight: 500; color: #666 !important;
    cursor: pointer; transition: background .15s, color .15s;
    box-shadow: none !important; outline: none !important;
    -webkit-appearance: none !important; appearance: none !important;
}
.bn-content-tab--active,
.bn-content-tab--active:focus,
.bn-content-tab--active:active {
    background: #fff !important;
    color: #111 !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.08) !important;
}

/* Banner pane */
.bn-content-preview-wrap {
    width: 100%; height: 160px;
    border-radius: 12px; overflow: hidden;
    background: #f3f4f6; margin-bottom: 12px;
    display: flex; align-items: center; justify-content: center;
}
.bn-content-preview-wrap img { width:100%; height:100%; object-fit:cover; display:block; }
.bn-content-placeholder {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: #ccc; font-size: 13px;
}
.bn-content-placeholder i { font-size: 26px; }
.bn-content-upload-label {
    display: inline-flex; align-items: center; gap: 6px;
    background: #111; color: #fff;
    border-radius: 20px; padding: 7px 18px;
    font-size: 13px; font-weight: 600;
    cursor: pointer; margin-bottom: 4px;
    transition: opacity .15s;
}
.bn-content-upload-label:hover { opacity: .85; }
.bn-content-hint { font-size: 11px; color: #bbb; margin: 0 0 10px; text-align: center; }
.bn-content-actions {
    display: flex; gap: 8px; justify-content: center; margin-bottom: 8px;
}
.bn-content-remove-btn {
    background: none !important; border: none !important;
    color: #ef4444 !important; font-size: 12px !important;
    cursor: pointer; padding: 4px 8px !important;
    display: inline-flex; align-items: center; gap: 5px;
    box-shadow: none !important; outline: none !important;
    -webkit-appearance: none !important; appearance: none !important;
}
.bn-content-remove-btn:hover { opacity: .8; }

/* Content modal — Photos + Videos panes */
.bn-content-tab--disabled { opacity: .4; }
.bn-cm-upload-row {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px;
}
.bn-content-upload-label--sm {
    padding: 6px 14px !important; font-size: 12px !important;
}
/* Scroll wrapper — overflow lives here, NOT on the grid */
.bn-cm-scroll {
    max-height: 360px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 8px;
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
}
/* Photos: 3-col 1:1 */
.bn-cm-grid--photos {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
}
/* Videos: 2-col 9:16 — NO overflow/max-height here so aspect-ratio resolves correctly */
.bn-cm-grid--videos {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 2px;
}
.bn-cm-item { position: relative; overflow: hidden; background: #111; }
.bn-cm-grid--photos .bn-cm-item { aspect-ratio: 1/1; border-radius: 0; }
.bn-cm-grid--videos .bn-cm-item { aspect-ratio: 9/16; border-radius: 8px; }
.bn-cm-item img, .bn-cm-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bn-cm-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.3); pointer-events: none;
}
.bn-cm-play i { font-size: 28px; color: #fff; }
.bn-cm-footer {
    position: absolute; bottom: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 4px 6px; background: rgba(0,0,0,.5);
}
.bn-cm-title {
    font-size: 10px; color: #fff; flex: 1; min-width: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bn-gallery-delete,
.bn-gallery-delete:focus,
.bn-gallery-delete:active {
    background: none !important; border: none !important;
    color: rgba(255,255,255,.7) !important; font-size: 11px !important;
    cursor: pointer; padding: 2px 3px !important;
    box-shadow: none !important; outline: none !important;
    -webkit-appearance: none !important; appearance: none !important;
    flex-shrink: 0; transition: color .15s;
}
.bn-gallery-delete:hover { color: #ef4444 !important; }
.bn-cm-loading { padding: 24px; text-align: center; color: #aaa; font-size: 18px; grid-column: 1/-1; }
.bn-cm-empty {
    grid-column: 1 / -1; padding: 30px 20px; text-align: center; color: #ccc;
    display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px;
}
.bn-cm-empty i { font-size: 26px; }

/* Upload progress bar */
.bn-upload-progress-wrap {
    position: relative;
    width: 100%;
    height: 28px;
    background: #f0f0f0;
    border-radius: 14px;
    overflow: hidden;
    margin: 8px 0 4px;
}
.bn-upload-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #111 0%, #444 100%);
    border-radius: 14px;
    transition: width 0.2s ease;
    width: 0%;
}
.bn-upload-progress-pct {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    mix-blend-mode: difference;
    pointer-events: none;
}
/* Legacy alias for gallery-style delete */
.bn-gallery-item { display: none; }

/* ── CRUD list (bookings & sessions) ─────────────────────── */
.bn-crud-body { width:100%; }
.bn-crud-add-row { display:flex; justify-content:flex-end; margin-bottom:8px; }
.bn-crud-add-btn {
    display:inline-flex; align-items:center; gap:6px;
    background:#111; color:#fff; border:none; border-radius:8px;
    padding:7px 14px; font-size:12px; font-weight:700; cursor:pointer;
    outline:none !important;
}
.bn-crud-add-btn:hover { background:#333; }
.bn-crud-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.bn-crud-item { border:1px solid #efefef; border-radius:10px; overflow:hidden; background:#fafafa; }
/* CRUD card — two-section layout: left (icon+info) / right (price+actions) */
.bn-crud-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 10px;
    text-align: left;
}
.bn-crud-icon {
    width: 40px; height: 40px; min-width: 40px;
    border-radius: 50%; background: #f3f4f6;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #555; flex-shrink: 0;
    margin-top: 2px;
    overflow: hidden;
}
/* When the crud icon is used as a clickable rate image thumbnail */
.bn-rate-img {
    position: relative;
    cursor: pointer;
    border-radius: 50%;
}
.bn-rate-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}
.bn-rate-img .bn-store-item-img-overlay {
    border-radius: 50%;
}
.bn-rate-img .bn-prod-img-progress {
    border-radius: 0 0 50% 50%;
}
.bn-crud-info {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 2px;
}
.bn-crud-title {
    font-size: 13px; font-weight: 700; color: #111;
    word-break: break-word; line-height: 1.3;
}
a.bn-crud-title-link {
    text-decoration: none !important;
    color: #111;
}
a.bn-crud-title-link:hover {
    color: #555;
    text-decoration: underline !important;
}
.bn-crud-meta {
    font-size: 11px; color: #aaa;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bn-crud-right {
    display: flex; flex-direction: column; align-items: flex-end;
    gap: 6px; flex-shrink: 0;
}
.bn-crud-price {
    font-size: 14px; font-weight: 700; color: #111; white-space: nowrap;
}
.bn-crud-actions { display: flex; gap: 5px; flex-shrink: 0; }

/* ── Artist Bookings & Sessions overlays ─────────────────── */
.bn-abooking-overlay,
.bn-asessions-overlay {
    position: fixed;
    inset: 0;
    z-index: 9100;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* ── RTMPS credentials block ──────────────────────────────── */
.bn-rtmps-block {
    margin: 6px 10px 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bn-rtmps-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.bn-rtmps-label {
    font-size: 10px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .4px;
    min-width: 68px;
    flex-shrink: 0;
}
.bn-rtmps-val {
    font-size: 10px;
    font-family: monospace;
    color: #333;
    background: none;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bn-rtmps-key { letter-spacing: .5px; }
.bn-rtmps-copy {
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    padding: 2px 4px;
    font-size: 12px;
    flex-shrink: 0;
    transition: color .15s;
}
.bn-rtmps-copy:hover { color: #111; }

/* ── Session status controls ─────────────────────────────── */
.bn-se-controls {
    padding: 4px 10px 8px;
    display: flex;
    gap: 8px;
}
.bn-se-status-btn {
    border: none;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity .15s;
}
.bn-se-status-btn:disabled { opacity: .6; cursor: wait; }
.bn-se-status-start { background: #22c55e; color: #fff; }
.bn-se-status-end   { background: #ef4444; color: #fff; }

/* ── Artist Store Modal ──────────────────────────────────── */
.bn-store-overlay {
    position: fixed;
    inset: 0;
    z-index: 9100;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.bn-store-modal {
    max-height: 85vh;
    overflow-y: auto;
}
.bn-store-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.bn-store-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid #efefef;
    border-radius: 10px;
    padding: 10px;
    background: #fafafa;
    text-align: left;
}
.bn-store-item-img {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    background: #e5e7eb;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}
.bn-store-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Camera overlay on hover */
.bn-store-item-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .15s;
    pointer-events: none;
    border-radius: 8px;
}
.bn-store-item-img:hover .bn-store-item-img-overlay { opacity: 1; }
.bn-store-item-img-overlay i { color: #fff; font-size: 18px; }
/* Inline progress bar inside thumbnail */
.bn-prod-img-progress {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 5px;
    background: rgba(255,255,255,.3);
    display: none;
}
.bn-prod-img-progress-bar {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width .15s;
}
.bn-store-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.bn-store-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.bn-store-item-title:hover { color: #333; }
.bn-store-item-excerpt {
    font-size: 11px;
    color: #888;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.bn-store-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}
.bn-store-item-price {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}
.bn-store-item-price bdi { font-style: normal; }
.bn-store-item-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.bn-store-action-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    max-width: 36px;
    min-height: 36px;
    max-height: 36px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none !important;
    transition: background .12s, border-color .12s, color .12s;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0;
}
.bn-store-action-btn:hover { background: #f3f4f6; border-color: #bbb; color: #111; }
.bn-store-action-btn:focus,
.bn-store-action-btn:focus-visible { outline: none !important; box-shadow: none !important; }

/* Inline product edit form */
.bn-store-edit-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: #f9fafb;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}
.bn-store-edit-form label {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin: 0;
}
.bn-store-edit-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    color: #111;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    transition: border-color .15s;
}
.bn-store-edit-input:focus { border-color: #888; }
textarea.bn-store-edit-input { resize: vertical; min-height: 54px; }
select.bn-store-edit-input { cursor: pointer; }
.bn-store-add-form { margin-bottom: 12px; }
.bn-store-edit-row {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.bn-store-edit-save {
    flex: 1;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    outline: none !important;
}
.bn-store-edit-save:hover { background: #333; }
.bn-store-edit-cancel {
    flex: 1;
    background: none;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    outline: none !important;
}
.bn-store-edit-cancel:hover { background: #f0f0f0; }
.bn-store-edit-feedback {
    font-size: 12px;
    text-align: center;
    padding: 4px 0;
    display: none;
}

/* ── Events modal ─────────────────────────────────────────── */
.bn-events-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.bn-events-modal {
    max-height: 85vh;
    overflow-y: auto;
}
.bn-events-list { margin-top: 4px; }
.bn-events-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    padding: 9px 16px;
    background: #111;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
}
.bn-events-view-all:hover { background: #333; color: #fff; }
.bn-notif-badge--completed   { background: #dcfce7; color: #15803d; }
.bn-notif-badge--processing  { background: #dbeafe; color: #1d4ed8; }
.bn-notif-badge--pending     { background: #fef9c3; color: #854d0e; }
.bn-notif-badge--on-hold     { background: #f3f4f6; color: #555; }
.bn-notif-badge--cancelled   { background: #fee2e2; color: #dc2626; }
.bn-notif-badge--live        { background: #fee2e2; color: #dc2626; }
.bn-notif-badge--ended       { background: #dcfce7; color: #15803d; }
.bn-notif-badge--refunded    { background: #fce7f3; color: #9d174d; }

/* Cart icon overlay - below search */
.book-now-cart-btn {
    position: absolute;
    top: 74px;
    right: 16px;
    z-index: 500;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.book-now-cart-btn:hover,
.book-now-cart-btn:active {
    background: #fff;
    transform: scale(1.05);
}

.book-now-cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background: #ef4444;
    border-radius: 50%;
    padding: 0 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Status text overlay - centered, auto-dismiss */
.book-now-status {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 10px;
    pointer-events: none;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.book-now-status:not(:empty) {
    opacity: 1;
}

/* Find modal */
.book-now-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.book-now-modal {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 28px 24px;
    max-width: 400px;
    width: 100%;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Modal brand logo – left side (invert for light mode; template uses white logo) */
.book-now-modal-brand {
    position: absolute;
    top: 14px;
    left: 16px;
    max-width: 100px;
    height: auto;
    pointer-events: none;
    opacity: 0.9;
    filter: invert(1);
}

.book-now-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.book-now-modal-close:hover { color: #1a1a1a; }

.book-now-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    text-align: center;
}

.book-now-modal-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.book-now-modal-option { flex: 1; }

.book-now-modal-option label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
    margin-bottom: 8px;
}

.book-now-modal-zip-row {
    display: flex;
    gap: 8px;
}

.book-now-zipcode-input {
    flex: 1;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    color: #1a1a1a;
    min-width: 0;
}

.book-now-zipcode-input::placeholder { color: #9ca3af; }
.book-now-zipcode-input:focus { outline: none; border-color: #8b5cf6; background: #fff; }

.book-now-modal-go {
    padding: 12px 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.book-now-modal-go:hover {
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.book-now-modal-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.book-now-modal-divider::before,
.book-now-modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.book-now-modal-loc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.book-now-modal-loc-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* Step 2 date & time inputs */
.book-now-modal .book-now-date-input,
.book-now-modal .book-now-time-select {
    width: 100% !important;
    padding: 10px 12px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 8px !important;
    background-color: #f9fafb !important;
    color: #1a1a1a !important;
    outline: none !important;
    transition: border-color 0.2s;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    color-scheme: light;
}

.book-now-modal .book-now-time-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23374151' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 32px !important;
    cursor: pointer;
}

.book-now-modal .book-now-date-input:focus,
.book-now-modal .book-now-time-select:focus {
    border-color: rgba(139, 92, 246, 0.6) !important;
    background-color: #fff !important;
}

.book-now-modal .book-now-time-select option {
    background: #fff !important;
    color: #1a1a1a !important;
}

.book-now-modal .book-now-date-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

/* Step 3 filter subtitle */
.book-now-modal-subtitle {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    margin: -8px 0 16px 0;
}

/* Step 3 filter button grid */
.book-now-filter-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.book-now-filter-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    color: #6b7280;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.book-now-filter-btn i {
    font-size: 18px;
}

.book-now-filter-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

.book-now-filter-btn.active {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.5);
    color: #6d28d9;
}

.book-now-filter-btn.active i {
    color: #8b5cf6;
}

/* Filter section label */
.book-now-filter-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #6b7280;
    margin-bottom: 8px;
}

/* Category chip buttons */
.book-now-cat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.book-now-cat-btn {
    padding: 7px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 20px;
    background: #f9fafb;
    color: #6b7280;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.book-now-cat-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

.book-now-cat-btn.active {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.5);
    color: #2563eb;
}

/* Session mode buttons (Live / Virtual) */
.book-now-mode-btn {
    padding: 7px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 20px;
    background: #f9fafb;
    color: #6b7280;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.book-now-mode-btn i { font-size: 11px; }

.book-now-mode-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

.book-now-mode-btn.active {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.5);
    color: #059669;
}

/* Map overlays */
.book-now-user-marker { background: transparent !important; border: none !important; }

.book-now-user-pin {
    display: inline-block;
    padding: 4px 10px;
    background: #10b981;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.5);
}

.book-now-artist-pin {
    background: transparent !important;
    border: none !important;
}

.book-now-artist-pin span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #8b5cf6;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.6);
}

.book-now-marker { background: transparent !important; border: none !important; }

.book-now-marker span {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    background-size: cover;
    background-position: center;
}

.leaflet-popup-content-wrapper {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #1a1a1a;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content-wrapper .leaflet-popup-content {
    margin: 6px 10px;
}

.leaflet-popup-tip { background: #fff; }

.leaflet-popup-close-button { display: none !important; }

.book-now-popup {
    font-size: 11px;
    font-weight: 600;
    color: #6d28d9;
    white-space: nowrap;
}

/* Bottom artist cards - fixed to bottom */
.book-now-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 60%, transparent 100%);
    padding: 40px 16px 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.book-now-cards {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 0;
}

.book-now-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #6b7280;
    text-align: center;
}

.book-now-empty i {
    font-size: 32px;
    margin-bottom: 8px;
    opacity: 0.5;
}

.book-now-empty p {
    margin: 0;
    font-size: 14px;
}

.book-now-empty-hint {
    font-size: 12px !important;
    margin-top: 4px !important;
    opacity: 0.8;
}

.book-now-cards::-webkit-scrollbar { display: none; }

.book-now-card {
    flex-shrink: 0;
    width: 110px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.book-now-card:hover { transform: translateY(-3px); }

.book-now-card.book-now-card-active .book-now-card-img {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.7);
}

.book-now-card-img {
    aspect-ratio: 2/3;
    border-radius: 12px;
    margin-bottom: 6px;
    transition: box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.book-now-card-img-src {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-now-card-img-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.book-now-card-live {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 3px 7px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #fff;
    background: rgba(239, 68, 68, 0.92);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 3;
    animation: bn-live-pulse 2s infinite;
}
.book-now-card-live .fa-circle { font-size: 6px; }
@keyframes bn-live-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.7; }
}
.book-now-card.is-live {
    outline: 2px solid rgba(239, 68, 68, 0.5);
    outline-offset: -2px;
}
.book-now-card-avail {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: 2px 6px;
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    background: rgba(34, 197, 94, 0.9);
    border-radius: 4px;
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    z-index: 2;
    letter-spacing: 0.2px;
}

.book-now-card-tags {
    position: absolute;
    bottom: 4px;
    left: 4px;
    display: flex;
    gap: 3px;
    z-index: 2;
}

.book-now-tag-badge {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    background: rgba(255, 255, 255, 0.9);
    color: #9ca3af;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.book-now-tag-badge.active.pro {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.2);
}

.book-now-tag-badge.active.recommended {
    color: #34d399;
    background: rgba(16, 185, 129, 0.2);
}

.book-now-tag-badge.active.verified {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.2);
}

.book-now-card-name {
    font-size: 11px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.3;
}

.book-now-card-info {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    padding: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.book-now-card-info:hover {
    background: rgba(139, 92, 246, 0.9);
    color: #fff;
}

/* ── Artist Detail View ── */

.book-now-detail {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    padding: 12px 16px 14px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    max-height: 52vh;
}

.book-now-detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.book-now-detail-content::-webkit-scrollbar { display: none; }

.book-now-detail-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.book-now-detail-nav-arrows {
    display: flex;
    gap: 6px;
}

.book-now-detail-nav-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    font-size: 14px;
    color: #374151;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.book-now-detail-nav-btn:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
}

.book-now-detail-thumb {
    width: 80px;
    aspect-ratio: 3/4;
    border-radius: 12px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.bn-detail-name-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bn-detail-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.bn-detail-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.bn-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.bn-tag-pill.pro         { background: rgba(245,158,11,0.15); color: #b45309; border: 1px solid rgba(245,158,11,0.3); }
.bn-tag-pill.verified    { background: rgba(59,130,246,0.12); color: #1d4ed8; border: 1px solid rgba(59,130,246,0.3); }
.bn-tag-pill.recommended { background: rgba(16,185,129,0.12); color: #065f46; border: 1px solid rgba(16,185,129,0.3); }

.bn-detail-meta {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.bn-detail-price {
    font-size: 13px;
    font-weight: 700;
    color: #6d28d9;
}

.book-now-detail-week {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.book-now-detail-week-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #9ca3af;
}

.book-now-detail-week-strip {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}

.book-now-detail-week-strip::-webkit-scrollbar { display: none; }

.book-now-avail-loading {
    font-size: 18px;
    color: #9ca3af;
    padding: 8px 0;
    width: 100%;
    text-align: center;
}

.bn-week-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 42px;
    padding: 7px 4px 8px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    flex-shrink: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.bn-week-cell.bn-day-avail {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    cursor: pointer;
}

.bn-week-cell.bn-day-avail:hover {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.5);
    transform: translateY(-1px);
}

.bn-week-cell.bn-day-busy {
    background: rgba(239, 68, 68, 0.07);
    border-color: rgba(239, 68, 68, 0.15);
    opacity: 0.65;
    cursor: default;
}

.bn-week-cell.bn-day-today { font-weight: 700; }

.bn-week-cell.bn-day-selected {
    background: #22c55e !important;
    border-color: #16a34a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.bn-week-cell.bn-day-selected .bn-week-cell-name,
.bn-week-cell.bn-day-selected .bn-week-cell-num { color: #fff !important; }
.bn-week-cell.bn-day-selected .bn-week-cell-dot { background: rgba(255,255,255,0.7) !important; }

.bn-week-cell-name {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #6b7280;
    line-height: 1;
}

.bn-week-cell-num {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.bn-week-cell-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: transparent;
}

.bn-day-avail .bn-week-cell-dot { background: #22c55e; }
.bn-day-busy  .bn-week-cell-dot { background: #ef4444; }

.book-now-book-btn {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    background: #22c55e;
    display: none !important;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(34,197,94,0.35);
    -webkit-tap-highlight-color: transparent;
    letter-spacing: 0.2px;
    flex-shrink: 0;
}

.book-now-book-btn.bn-btn-visible {
    display: none !important; /* hidden until booking flow is ready */
}

.book-now-book-btn:hover:not(:disabled) {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(34,197,94,0.45);
}

.book-now-book-btn:active:not(:disabled) { transform: translateY(0); }

.book-now-book-btn:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: default;
    box-shadow: none;
}

@media (max-width: 480px) {
    .book-now-detail { gap: 10px; padding: 10px 12px 12px; max-height: 50vh; }
    .book-now-detail-content { gap: 8px; }
    .book-now-detail-thumb { width: 64px; }
    .bn-detail-name { font-size: 14px; }
    .bn-detail-meta { font-size: 11px; }
    .bn-detail-price { font-size: 12px; }
    .book-now-detail-nav-btn { width: 30px; height: 30px; font-size: 13px; }
    .bn-week-cell { min-width: 38px; padding: 6px 3px 7px; }
    .bn-week-cell-num { font-size: 13px; }
    .book-now-book-btn { font-size: 13px; padding: 11px 14px; }
}


/* ── Booking Calendar Modal ── */
.bn-cal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.bn-cal-modal {
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 16px;
    color: #1a1a1a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.bn-cal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.bn-cal-artist {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bn-cal-close {
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 16px;
    color: #6b7280;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.bn-cal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

/* View switcher */
.bn-cal-views {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    justify-content: center;
}

.bn-cal-view-btn {
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f9fafb;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.bn-cal-view-btn:hover {
    border-color: rgba(139, 92, 246, 0.5);
    color: #374151;
}

.bn-cal-view-btn.active {
    border-color: #8b5cf6;
    background: #8b5cf6;
    color: #fff;
}

/* Navigation */
.bn-cal-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 10px;
}

.bn-cal-nav-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 14px;
    color: #374151;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.bn-cal-nav-btn:hover {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.12);
}

.bn-cal-period {
    font-size: 14px;
    font-weight: 600;
    min-width: 140px;
    text-align: center;
    color: #1a1a1a;
}

/* Legend */
.bn-cal-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-bottom: 10px;
    font-size: 10px;
    color: #6b7280;
    justify-content: center;
}

.bn-legend i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 3px;
    vertical-align: middle;
}

.bn-leg-base i { background: #22c55e; }
.bn-leg-fri i { background: #f59e0b; }
.bn-leg-sat i { background: #ef4444; }
.bn-leg-sun i { background: #3b82f6; }
.bn-leg-unavail i { background: #4b5563; }

/* Monthly grid */
.bn-cal-monthly {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.bn-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f9fafb;
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    padding: 8px 0;
}

.bn-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #f3f4f6;
    padding: 1px;
}

.bn-cal-day {
    position: relative;
    aspect-ratio: 1;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: default;
    transition: filter 0.15s;
    position: relative;
}

.bn-cal-day.bn-day-empty {
    background: #f9fafb;
}

.bn-cal-day.bn-day-past {
    background: #f3f4f6;
    color: #9ca3af;
}



.bn-cal-day.bn-price-base:not(.bn-day-past):not(.bn-day-empty) {
    background: rgba(34, 197, 94, 0.12);
    color: #059669;
    cursor: pointer;
}

.bn-cal-day.bn-price-fri:not(.bn-day-past):not(.bn-day-empty) {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    cursor: pointer;
}

.bn-cal-day.bn-price-sat:not(.bn-day-past):not(.bn-day-empty) {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    cursor: pointer;
}

.bn-cal-day.bn-price-sun:not(.bn-day-past):not(.bn-day-empty) {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
    cursor: pointer;
}

.bn-cal-day.bn-price-unavail:not(.bn-day-past):not(.bn-day-empty) {
    background: #e5e7eb;
    color: #9ca3af;
}

.bn-cal-day:not(.bn-day-past):not(.bn-day-empty):not(.bn-price-unavail):hover {
    filter: brightness(0.97);
}

.bn-cal-day.bn-day-today .bn-day-num {
    background: rgba(59, 130, 246, 0.8);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}

.bn-cal-day.bn-day-selected {
    outline: 2px solid #8b5cf6;
    outline-offset: -2px;
    filter: brightness(1.4);
}

.bn-day-num { font-size: 13px; line-height: 1; }
.bn-day-bubble {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background: #ef4444;
    border-radius: 50%;
    padding: 0 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Weekly view */
.bn-cal-weekly {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bn-cal-week-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    transition: filter 0.15s;
}

.bn-cal-week-row:hover { filter: brightness(0.98); }

.bn-cal-week-row.bn-day-past {
    background: #f9fafb;
    color: #9ca3af;
    cursor: default;
}

.bn-cal-week-row.bn-price-base:not(.bn-day-past) { background: rgba(34, 197, 94, 0.12); color: #059669; }
.bn-cal-week-row.bn-price-fri:not(.bn-day-past) { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.bn-cal-week-row.bn-price-sat:not(.bn-day-past) { background: rgba(239, 68, 68, 0.12); color: #dc2626; }
.bn-cal-week-row.bn-price-sun:not(.bn-day-past) { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.bn-cal-week-row.bn-price-unavail:not(.bn-day-past) { background: #e5e7eb; color: #9ca3af; }

.bn-week-day { font-weight: 700; font-size: 13px; min-width: 60px; }
.bn-week-bubble {
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background: #ef4444;
    border-radius: 50%;
    padding: 0 4px;
    margin-left: auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Daily view */
.bn-cal-daily {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bn-cal-day-header {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
}

.bn-daily-events {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bn-daily-event-item {
    font-size: 11px;
    font-weight: 500;
    color: #6d28d9;
    padding: 5px 8px;
    border-radius: 6px;
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid #8b5cf6;
    text-align: left;
}

.bn-daily-event-item i {
    margin-right: 3px;
    font-size: 10px;
}

.bn-daily-event-item strong {
    color: #1a1a1a;
}

.bn-daily-event-venue {
    color: #6b7280;
    font-size: 10px;
}

.bn-daily-event-dur {
    color: #9ca3af;
    font-size: 10px;
}

.bn-cal-slot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: rgba(34, 197, 94, 0.1);
    color: #059669;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 13px;
}

.bn-cal-slot:hover { filter: brightness(0.98); }

.bn-cal-slot.bn-slot-unavail {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: default;
}

.bn-cal-slot.bn-slot-selected {
    background: rgba(139, 92, 246, 0.15);
    color: #6d28d9;
    outline: 2px solid #8b5cf6;
    outline-offset: -2px;
}

.bn-slot-time { font-weight: 700; min-width: 60px; }
.bn-slot-label { font-weight: 500; opacity: 0.7; }

/* Selected date confirmation */
.bn-cal-selected {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #c4b5fd;
}

/* Mobile calendar adjustments */
@media (max-width: 480px) {
    .bn-cal-modal {
        padding: 16px 12px;
    }

    .bn-cal-day {
        min-height: 36px;
    }

    .bn-day-num { font-size: 11px; }
    .bn-day-bubble { min-width: 14px; height: 14px; line-height: 14px; font-size: 8px; top: 1px; right: 1px; }
}

/* ── Route Modal ── */
.bn-route-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bn-route-map-container {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.bn-route-map-container .leaflet-container {
    background: #f5f5f5;
}

.bn-route-summary {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 13px;
    color: #6d28d9;
}

.bn-route-summary-item strong {
    color: #6b7280;
    font-weight: 600;
}

/* Timeline */
.bn-timeline-track {
    position: relative;
    padding-left: 32px;
}

.bn-timeline-track::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
    border-radius: 1px;
}

.bn-timeline-node {
    position: relative;
    padding: 8px 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.bn-timeline-node-icon {
    position: absolute;
    left: -32px;
    top: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    z-index: 1;
}

.bn-timeline-node.bn-tl-checkin .bn-timeline-node-icon {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.bn-timeline-node.bn-tl-event .bn-timeline-node-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #059669;
}

.bn-timeline-node.bn-tl-depart .bn-timeline-node-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.bn-timeline-node.bn-tl-arrival .bn-timeline-node-icon {
    background: rgba(139, 92, 246, 0.15);
    color: #6d28d9;
}

.bn-timeline-node.bn-tl-after .bn-timeline-node-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

.bn-timeline-node-content {
    flex: 1;
    min-width: 0;
}

.bn-timeline-node-date {
    font-size: 10px;
    color: #6b7280;
    font-weight: 500;
}

.bn-timeline-node-label {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bn-timeline-node-value {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.4;
}

.bn-timeline-node-travel {
    font-size: 10px;
    color: #2563eb;
    margin-top: 2px;
}

.bn-timeline-node-travel i {
    margin-right: 3px;
    font-size: 9px;
}

.bn-timeline-node-meta {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
    line-height: 1.3;
}

.bn-timeline-node-meta.bn-gap-negative {
    color: #dc2626;
}

/* Route event markers on map */
.bn-event-marker {
    background: transparent !important;
    border: none !important;
}

.bn-event-marker-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #667eea;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.bn-event-marker-badge.bn-user-badge {
    background: #8b5cf6;
}

.bn-event-marker-badge.bn-user-badge-unreachable {
    background: #ef4444;
}

/* Cart Modal — mirrors .book-now-modal-overlay / .book-now-modal */
.bn-cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bn-cart-modal {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 28px 24px 0;
    max-width: 400px;
    width: 100%;
    position: relative;
    color: #1a1a1a;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.bn-cart-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    text-align: center;
    display: block;
}

.bn-cart-title i { margin-right: 6px; }

.bn-cart-bottom-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
    gap: 10px;
}

.bn-cart-clear-all {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 11px;
    font-family: inherit;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.bn-cart-clear-all:hover {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.08);
}

.bn-cart-clear-all i { margin-right: 3px; font-size: 10px; }

.bn-cart-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.bn-cart-close:hover { color: #1a1a1a; }

/* Cart modal brand logo (invert for light mode; template uses white logo) */
.bn-cart-modal-brand {
    position: absolute;
    top: 14px;
    left: 16px;
    max-width: 100px;
    height: auto;
    pointer-events: none;
    opacity: 0.9;
    filter: invert(1);
}

.bn-cart-top { display: contents; }

/* Search preferences summary */
.bn-cart-prefs {
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    margin-bottom: 14px;
}

.bn-cart-prefs:empty {
    display: none;
}

.bn-cart-prefs-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    margin-bottom: 8px;
}

/* Individual pref items */
.bn-cart-pref-item {
    margin-bottom: 4px;
}

.bn-cart-pref-item:last-child {
    margin-bottom: 0;
}

.bn-cart-pref-display {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #374151;
    min-height: 26px;
}

.bn-cart-pref-display > i {
    font-size: 10px;
    width: 14px;
    text-align: center;
    opacity: 0.6;
    flex-shrink: 0;
}

.bn-cart-pref-display > span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bn-cart-pref-edit-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 9px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
}

.bn-cart-pref-edit-btn:hover,
.bn-cart-pref-edit-btn.open {
    background: rgba(139, 92, 246, 0.12);
    color: #6d28d9;
}

/* Inline editors */
.bn-cart-pref-editor {
    padding: 8px 0 4px 20px;
}

.bn-cart-pref-input,
.bn-cart-pref-select {
    width: 100%;
    padding: 7px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb !important;
    color: #1a1a1a !important;
    font-family: inherit;
    font-size: 12px;
    outline: none;
    color-scheme: light;
    -webkit-appearance: none;
    appearance: none;
}

.bn-cart-pref-input:focus,
.bn-cart-pref-select:focus {
    border-color: rgba(139, 92, 246, 0.4);
    background: #fff !important;
}

.bn-cart-pref-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    padding-right: 28px;
}

.bn-pref-time-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bn-pref-time-row .bn-cart-pref-select {
    flex: 1;
}

.bn-pref-time-sep {
    color: #6b7280;
    font-size: 12px;
    flex-shrink: 0;
}

/* Chip toggle buttons for type & category */
.bn-pref-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bn-pref-chip {
    padding: 5px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    background: #f9fafb;
    color: #6b7280;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.bn-pref-chip:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

.bn-pref-chip.active {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.5);
    color: #6d28d9;
}

.bn-pref-chip.cat.active {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.5);
    color: #2563eb;
}

.bn-pref-chip.mode.active {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.5);
    color: #059669;
}

.bn-pref-chip.mode i {
    font-size: 10px;
    margin-right: 2px;
}

.bn-cart-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bn-cart-empty {
    text-align: center;
    padding: 24px 10px;
    color: #6b7280;
}

.bn-cart-empty i {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.bn-cart-empty p {
    font-size: 14px;
    margin: 0;
}

/* Individual cart item card */
.bn-cart-item {
    padding: 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
}

.bn-cart-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.bn-cart-item-thumb {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.bn-cart-item-name {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bn-cart-item-remove {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
}

.bn-cart-item-remove:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

/* Details section */
.bn-cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bn-cart-item-info {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
}

.bn-cart-item-meta {
    font-size: 12px;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.bn-cart-item-meta i { font-size: 10px; opacity: 0.6; }

/* Bottom row: price + hours */
.bn-cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bn-cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #059669;
    white-space: nowrap;
}

.bn-cart-hours-ctrl {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.bn-cart-hrs-btn {
    width: 34px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    color: #374151;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.bn-cart-hrs-btn:hover:not(:disabled) {
    background: rgba(139, 92, 246, 0.15);
}

.bn-cart-hrs-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.bn-cart-hrs-val {
    font-size: 14px;
    font-weight: 700;
    min-width: 36px;
    text-align: center;
    color: #1a1a1a;
    padding: 0 2px;
}

/* Footer — total + checkout */
.bn-cart-footer {
    width: 100%;
}

.bn-cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.bn-cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.bn-cart-checkout-btn:hover {
    background: #1d4ed8;
}

/* Pro prompt modal */
.bn-pro-prompt-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bn-pro-prompt-modal {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 32px 28px;
    max-width: 340px;
    width: 100%;
    text-align: center;
    color: #1a1a1a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.bn-pro-prompt-icon {
    font-size: 36px;
    color: #d97706;
    margin-bottom: 12px;
}

.bn-pro-prompt-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.bn-pro-prompt-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 20px;
}

.bn-pro-prompt-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bn-pro-prompt-upgrade {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.bn-pro-prompt-upgrade:hover {
    filter: brightness(1.05);
}

.bn-pro-prompt-dismiss {
    background: none;
    border: none;
    color: #6b7280;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s;
}

.bn-pro-prompt-dismiss:hover {
    color: #1a1a1a;
}

/* Bookable hours grid */
.bn-bookable-hours {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 0;
    max-height: 200px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.bn-book-slot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(34, 197, 94, 0.25);
    background: rgba(34, 197, 94, 0.08);
    color: #059669;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 12px;
}

/* hover rule moved below travel styles */

.bn-book-slot.bn-book-busy {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.15);
    color: #9ca3af;
    cursor: default;
}

.bn-book-slot.bn-book-selected {
    background: rgba(139, 92, 246, 0.15);
    border-color: #8b5cf6;
    color: #6d28d9;
    outline: 2px solid #8b5cf6;
    outline-offset: -2px;
}

.bn-book-slot.bn-book-conflict {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    cursor: default;
}

.bn-book-slot.bn-book-travel {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
    color: #2563eb;
    cursor: default;
}

.bn-book-slot.bn-book-travel .bn-book-slot-label {
    font-size: 10px;
    opacity: 0.8;
}

.bn-book-slot:hover:not(.bn-book-busy):not(.bn-book-travel) {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.4);
}

.bn-book-slot-time {
    font-weight: 700;
    min-width: 50px;
}

.bn-book-slot-label {
    font-weight: 500;
    opacity: 0.7;
    flex: 1;
}

.bn-book-slot.bn-book-selected .bn-book-slot-label {
    opacity: 1;
    font-weight: 700;
}

.bn-book-slot-check {
    margin-left: auto;
    width: 18px;
    text-align: center;
    font-size: 14px;
    color: #6d28d9;
    flex-shrink: 0;
}

/* Route footer */
.bn-route-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.bn-route-nav-btn {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bn-route-nav-btn:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: #8b5cf6;
    color: #6d28d9;
}

.bn-route-close-btn {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #8b5cf6;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.bn-route-close-btn:hover {
    background: #7c3aed;
}

.bn-route-add-cart {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(16, 185, 129, 0.8);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: bn-cart-pop 0.3s ease;
}

.bn-route-add-cart:hover {
    background: rgba(16, 185, 129, 1);
}

@keyframes bn-cart-pop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Leaflet controls - reposition above bottom bar */
.book-now-app .leaflet-bottom {
    bottom: 200px !important;
}

.book-now-app .leaflet-top {
    top: 16px !important;
    left: 16px !important;
}

/* ================================================================
 * SERVICE PICKER PANEL
 * ================================================================ */

.bn-service-picker {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
    background: transparent;
    transition: background 0.3s ease;
}

.bn-service-picker.bn-picker-open {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.55);
}

.bn-picker-sheet {
    width: 100%;
    max-height: 80vh;
    background: #111;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
}

.bn-service-picker.bn-picker-open .bn-picker-sheet {
    transform: translateY(0);
}

.bn-picker-hero {
    width: 100%;
    height: 160px;
    flex-shrink: 0;
    background: #1e1e2e;
    overflow: hidden;
    position: relative;
}

.bn-picker-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* gradient scrim over hero */
.bn-picker-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

.bn-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 10px;
    flex-shrink: 0;
    gap: 12px;
}

.bn-picker-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bn-picker-close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.bn-picker-close:hover {
    background: rgba(255,255,255,0.22);
}

.bn-picker-services {
    flex: 1;
    overflow-y: auto;
    padding: 4px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bn-picker-services::-webkit-scrollbar { width: 0; }

.bn-picker-svc-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 12px;
    transition: background 0.2s;
}

.bn-picker-svc-card:hover {
    background: rgba(255,255,255,0.1);
}

.bn-picker-svc-img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #333;
}

.bn-picker-svc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bn-picker-svc-img-fallback {
    width: 56px;
    height: 56px;
}

.bn-picker-svc-info {
    flex: 1;
    min-width: 0;
}

.bn-picker-svc-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bn-picker-svc-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin-top: 3px;
}

.bn-picker-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #8b5cf6;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
}

.bn-picker-book-btn:hover {
    background: #7c3aed;
    transform: scale(1.04);
    color: #fff;
}

@media (max-width: 480px) {
    .bn-picker-hero { height: 120px; }
    .bn-picker-name { font-size: 16px; }
    .bn-picker-book-btn { padding: 7px 12px; font-size: 12px; }
}

/* ================================================================
 * TIME SLOT PICKER (inside detail panel)
 * ================================================================ */

.book-now-time-picker {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.book-now-time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bn-time-slot {
    padding: 6px 12px;
    border-radius: 20px;
    border: 1.5px solid #e5e7eb;
    background: rgba(255,255,255,0.85);
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}

.bn-time-slot:hover {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
    color: #16a34a;
}

.bn-time-slot.bn-time-selected {
    background: #22c55e;
    border-color: #16a34a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(34,197,94,0.35);
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .bn-time-slot {
        font-size: 11px;
        padding: 5px 10px;
    }
}

.bn-no-slots {
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 4px;
    font-style: italic;
}

/* ── Signup Modal Role Toggle ───────────────────────────── */
.bn-signup-role-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0 0 20px;
    flex-wrap: wrap;
}
.bn-signup-role-sep {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1;
}
.bn-signup-role-btn {
    background: none;
    border: none;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #6b7280;
    transition: all .15s;
    line-height: 1.4;
    box-shadow: none !important;
    outline: none !important;
}
.bn-signup-role-btn:hover {
    color: #111;
    background: #f3f4f6;
}
.bn-signup-role-btn.active {
    color: #111;
    background: #111;
    color: #fff;
}
/* Artist / Promoter are visually smaller / less prominent */
.bn-signup-role-subtle {
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
    padding: 4px 8px;
}
.bn-signup-role-subtle:hover {
    color: #374151;
    background: #f9fafb;
}
.bn-signup-role-subtle.active {
    color: #fff;
    background: #374151;
}

/* ── Channels Layer ──────────────────────────────────────────── */
.book-now-channels {
    padding: 0 16px 8px;
}
.book-now-channels-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.bn-channel-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
    user-select: none;
    white-space: nowrap;
}
.bn-channel-chip i { font-size: 14px; }
.bn-channel-chip:hover {
    border-color: #111;
    background: #f9fafb;
}
.bn-channel-chip.selected {
    border-color: #111;
    background: #111;
    color: #fff;
}
/* Per-channel accent colours when selected */
.bn-channel-chip.selected[data-channel="crm"]        { background: #6366f1; border-color: #6366f1; }
.bn-channel-chip.selected[data-channel="email"]      { background: #0ea5e9; border-color: #0ea5e9; }
.bn-channel-chip.selected[data-channel="sms"]        { background: #10b981; border-color: #10b981; }
.bn-channel-chip.selected[data-channel="whatsapp"]   { background: #25d366; border-color: #25d366; }
.bn-channel-chip.selected[data-channel="phone"]      { background: #f59e0b; border-color: #f59e0b; }
.bn-channel-chip.selected[data-channel="ecommerce"]  { background: #ef4444; border-color: #ef4444; }
.bn-channel-chip.selected[data-channel="facebook"]   { background: #1877f2; border-color: #1877f2; }
.bn-channel-chip.selected[data-channel="youtube"]    { background: #ff0000; border-color: #ff0000; }
.bn-channel-chip.selected[data-channel="tiktok"]     { background: #010101; border-color: #010101; }
.bn-channel-chip.selected[data-channel="instagram"]  { background: #e1306c; border-color: #e1306c; }

/* ── Chat Button Row ─────────────────────────────────────────── */
.bn-chat-btn-row {
    padding: 0 16px 4px;
}
.bn-chat-open-btn {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: border-color .15s, background .15s;
    flex-shrink: 0;
}
.bn-chat-open-btn i { color: #6366f1; font-size: 16px; }
.bn-chat-open-btn:hover { border-color: #6366f1; background: #f5f3ff; }

/* ── ASO Overlay ─────────────────────────────────────────────── */
.bn-aso-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 99998;
    backdrop-filter: blur(2px);
}
.bn-aso-overlay.open { display: block; }

/* ── ASO Panel ───────────────────────────────────────────────── */
.bn-aso-panel {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    max-width: 480px;
    margin: 0 auto;
    height: 85vh;
    background: #fff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 40px rgba(0,0,0,.18);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.bn-aso-panel.open { transform: translateY(0); }

/* Header */
.bn-aso-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}
.bn-aso-header-info { display: flex; align-items: center; gap: 12px; }
.bn-aso-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg,#667eea,#764ba2);
    overflow: hidden;
    flex-shrink: 0;
}
.bn-aso-avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.bn-aso-name { font-size: 15px; font-weight: 700; color: #111; }
.bn-aso-subtitle { font-size: 11px; color: #6366f1; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }
.bn-aso-close {
    width: 32px; height: 32px;
    border: none; background: #f3f4f6;
    border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: #374151;
    transition: background .15s;
}
.bn-aso-close:hover { background: #e5e7eb; }

/* Messages */
.bn-aso-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 20px 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}
.bn-aso-messages::-webkit-scrollbar { display: none; }

/* Bubble */
.bn-aso-bubble {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    animation: bn-bubble-in .22s ease;
}
@keyframes bn-bubble-in {
    from { opacity:0; transform: translateY(6px); }
    to   { opacity:1; transform: translateY(0); }
}
.bn-aso-bubble.agent {
    background: #f3f4f6;
    color: #111;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}
.bn-aso-bubble.user {
    background: #6366f1;
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}
.bn-aso-bubble.agent strong { color: #6366f1; }

/* Typing indicator */
.bn-aso-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    background: #f3f4f6;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    width: 52px;
}
.bn-aso-typing span {
    width: 7px; height: 7px;
    background: #9ca3af;
    border-radius: 50%;
    animation: bn-bounce .9s infinite;
}
.bn-aso-typing span:nth-child(2) { animation-delay: .15s; }
.bn-aso-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bn-bounce {
    0%,60%,100% { transform: translateY(0); }
    30%          { transform: translateY(-5px); }
}

/* Actions bar */
.bn-aso-actions {
    padding: 12px 20px 20px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
}
.bn-aso-btn {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.bn-aso-btn:hover { border-color: #6366f1; color: #6366f1; }
.bn-aso-btn.primary {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
    box-shadow: 0 4px 12px rgba(99,102,241,.3);
}
.bn-aso-btn.primary:hover { background: #4f46e5; border-color: #4f46e5; }
.bn-aso-btn.success {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
    box-shadow: 0 4px 12px rgba(34,197,94,.3);
}
.bn-aso-btn.danger { border-color: #ef4444; color: #ef4444; }
.bn-aso-btn:disabled { opacity: .5; cursor: default; }

/* Progress bar (for install illusion) */
.bn-aso-progress {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin: 4px 0 2px;
}
.bn-aso-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 999px;
    width: 0%;
    transition: width .4s ease;
}

/* CRM contact table */
.bn-aso-contacts {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 4px;
}
.bn-aso-contacts th {
    text-align: left;
    padding: 6px 8px;
    color: #6b7280;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
}
.bn-aso-contacts td {
    padding: 7px 8px;
    border-bottom: 1px solid #f3f4f6;
    color: #111;
}
.bn-aso-contacts tr:last-child td { border-bottom: none; }

/* Add contact mini-form */
.bn-aso-add-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
}
.bn-aso-add-form input {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .15s;
}
.bn-aso-add-form input:focus { border-color: #6366f1; }

/* ── CRM Chat Flow ───────────────────────────────────────────── */
.bnc-typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px !important;
    min-width: 52px;
}
.bnc-typing-dots span {
    width: 7px; height: 7px;
    background: #aaa;
    border-radius: 50%;
    display: inline-block;
    animation: bnc-bounce .9s infinite;
}
.bnc-typing-dots span:nth-child(2) { animation-delay: .15s; }
.bnc-typing-dots span:nth-child(3) { animation-delay: .30s; }
@keyframes bnc-bounce {
    0%,60%,100% { transform: translateY(0); }
    30%          { transform: translateY(-5px); }
}

.bnc-crm-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
}
.bnc-crm-card-title {
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #111;
}
.bnc-crm-card-title i { color: #6366f1; }
.bnc-crm-card-desc {
    font-size: 12px;
    color: #555;
    line-height: 1.4;
}
.bnc-crm-install-btn {
    margin-top: 4px;
    padding: 9px 16px;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .15s;
    align-self: flex-start;
}
.bnc-crm-install-btn:hover:not(:disabled) { background: #4f46e5; }
.bnc-crm-install-btn:disabled { opacity: .6; cursor: default; }
.bnc-crm-progress {
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 4px;
}
.bnc-crm-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 999px;
    width: 0%;
    transition: width .4s ease;
}
.bnc-crm-progress-label {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}
/* CRM action menu */
.bnc-crm-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 14px;
    max-width: 260px;
    margin: 6px 0 6px 10px;
}
.bnc-crm-menu-title {
    font-size: 13px;
    color: #374151;
    margin: 0 0 4px;
    font-weight: 600;
}
.bnc-crm-menu-btn {
    background: #fff;
    border: 1.5px solid #6366f1;
    color: #6366f1;
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s;
    text-align: left;
}
.bnc-crm-menu-btn:hover {
    background: #6366f1;
    color: #fff;
}
/* CRM add-contact form */
.bnc-crm-form {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 12px 14px;
    max-width: 280px;
    margin: 6px 0 6px 10px;
}
.bnc-crm-input {
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 13px;
    outline: none;
    transition: border-color .15s;
}
.bnc-crm-input:focus {
    border-color: #6366f1;
}
/* CRM contacts table */
.bnc-crm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.bnc-crm-table th,
.bnc-crm-table td {
    padding: 5px 8px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: middle;
}
.bnc-crm-table th {
    background: #f3f4f6;
    font-weight: 700;
    color: #374151;
}
.bnc-crm-table td.bnc-crm-actions {
    white-space: nowrap;
    text-align: right;
    padding-right: 6px;
}
.bnc-crm-contacts-wrap {
    padding: 4px 2px;
    max-width: 300px;
    overflow-x: auto;
}
.bnc-crm-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background .15s;
    line-height: 1;
}
.bnc-crm-action-btn:hover {
    background: #f3f4f6;
}
.bnc-del-btn:hover {
    background: #fee2e2;
}
