/* /Components/Layout/EmptyLayout.razor.rz.scp.css */
#blazor-error-ui[b-e7f1dfrzb6] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-e7f1dfrzb6] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ── Top Bar ──────────────────────────────────────────────────────────────── */
.top-bar[b-vp0xuqb0ih] {
    background: linear-gradient(135deg, #0f1c2e 0%, #1a2f4a 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.top-bar-inner[b-vp0xuqb0ih] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 60px;
}

/* ── Brand ────────────────────────────────────────────────────────────────── */
.top-bar-brand[b-vp0xuqb0ih] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.top-bar-brand:hover[b-vp0xuqb0ih] {
    opacity: 0.85;
}

.brand-logo[b-vp0xuqb0ih] {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    object-fit: cover;
    border: 1.5px solid rgba(255,255,255,0.15);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.brand-text[b-vp0xuqb0ih] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name[b-vp0xuqb0ih] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.brand-sub[b-vp0xuqb0ih] {
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* ── Nav links ────────────────────────────────────────────────────────────── */
.top-bar-nav[b-vp0xuqb0ih] {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

[b-vp0xuqb0ih] .top-bar-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.8rem;
    border-radius: 7px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

[b-vp0xuqb0ih] .top-bar-link i {
    font-size: 0.9rem;
    flex-shrink: 0;
}

[b-vp0xuqb0ih] .top-bar-link:hover {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    text-decoration: none;
}

[b-vp0xuqb0ih] .top-bar-link.active {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    font-weight: 600;
}

/* ── User area ────────────────────────────────────────────────────────────── */
.top-bar-user[b-vp0xuqb0ih] {
    margin-left: auto;
    flex-shrink: 0;
}

.user-btn[b-vp0xuqb0ih] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 9px;
    padding: 0.35rem 0.75rem 0.35rem 0.45rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.user-btn:hover[b-vp0xuqb0ih],
.user-btn.show[b-vp0xuqb0ih] {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.22);
    color: #ffffff;
}

.user-btn[b-vp0xuqb0ih]::after {
    content: none;
}

.user-btn .dropdown-toggle[b-vp0xuqb0ih]::after {
    margin-left: 0.3rem;
}

.user-avatar[b-vp0xuqb0ih] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    color: #fff;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.user-name[b-vp0xuqb0ih] {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── User dropdown ────────────────────────────────────────────────────────── */
.user-dropdown[b-vp0xuqb0ih] {
    min-width: 220px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 0.5rem 0;
    margin-top: 0.4rem;
}

.dropdown-user-header[b-vp0xuqb0ih] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
}

.dropdown-avatar[b-vp0xuqb0ih] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── Mobile toggler ───────────────────────────────────────────────────────── */
.nav-toggler[b-vp0xuqb0ih] {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 7px;
    color: rgba(255,255,255,0.75);
    padding: 0.3rem 0.55rem;
    font-size: 1.2rem;
    line-height: 1;
    margin-left: auto;
    cursor: pointer;
    transition: background 0.15s;
}

.nav-toggler:hover[b-vp0xuqb0ih] {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

@media (max-width: 991px) {
    .nav-toggler[b-vp0xuqb0ih] {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .top-bar-inner[b-vp0xuqb0ih] {
        flex-wrap: wrap;
        height: auto;
        padding: 0.6rem 1rem;
        gap: 0;
    }

    .top-bar-brand[b-vp0xuqb0ih] {
        flex: 1;
    }

    .collapse.navbar-collapse[b-vp0xuqb0ih] {
        width: 100%;
        padding-bottom: 0.5rem;
    }

    .top-bar-nav[b-vp0xuqb0ih] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.1rem;
        width: 100%;
        padding-top: 0.4rem;
    }

    [b-vp0xuqb0ih] .top-bar-link {
        width: 100%;
        padding: 0.5rem 0.75rem;
    }

    .top-bar-user[b-vp0xuqb0ih] {
        margin-left: 0;
        width: 100%;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .user-btn[b-vp0xuqb0ih] {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ── Blazor error UI ──────────────────────────────────────────────────────── */
#blazor-error-ui[b-vp0xuqb0ih] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-vp0xuqb0ih] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Features/AddBooking/Components/AddBookingAvailabilityResults.razor.rz.scp.css */
/* Highlight pulse for reference-lookup matched room row */
@keyframes highlight-pulse-b-4jfnw4ivb3 {
    0%   { background-color: #fff3cd; }
    50%  { background-color: #ffe69c; }
    100% { background-color: #fff3cd; }
}

.highlighted-room-row[b-4jfnw4ivb3] {
    animation: highlight-pulse-b-4jfnw4ivb3 1.6s ease-in-out 3;
    background-color: #fff3cd;
    outline: 2px solid #ffc107;
    outline-offset: -2px;
}
/* /Features/AddBooking/Components/AddBookingSearchForm.razor.rz.scp.css */
/* ── Card shell ── */
.search-form-card[b-e2d4uz4hop] {
    border-radius: 0.75rem;
    overflow: visible;
}

.search-form-header[b-e2d4uz4hop] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem 0.75rem 0 0 !important;
}

/* ── Field labels ── */
.search-field-label[b-e2d4uz4hop] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.35rem;
    letter-spacing: 0.01em;
}

/* ── Suggestions dropdown ── */
.suggestions-dropdown[b-e2d4uz4hop] {
    z-index: 2000;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: 1px solid #dee2e6;
    overflow: hidden;
    top: calc(100% + 2px);
}

    .suggestions-dropdown .list-group-item:hover[b-e2d4uz4hop] {
        background-color: #f0f7ff;
    }

/* ── Hotel mapping action button padding ── */
.pe-hotel-action[b-e2d4uz4hop] {
    padding-right: 8.5rem !important;
}

/* ── Guest stepper cards ── */
.guest-row[b-e2d4uz4hop] {
    padding: 0.25rem 0;
}

.guest-stepper-card[b-e2d4uz4hop] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    border: 1.5px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.625rem 1rem;
    min-width: 140px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .guest-stepper-card:hover[b-e2d4uz4hop] {
        border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.08);
    }

.child-age-input-wrap[b-e2d4uz4hop] {
    min-width: 60px;
    max-width: 76px;
    flex: 0 0 auto;
}

.guest-stepper-label[b-e2d4uz4hop] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #495057;
}

.guest-stepper-controls[b-e2d4uz4hop] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guest-stepper-value[b-e2d4uz4hop] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d6efd;
    min-width: 1.5rem;
    text-align: center;
    display: inline-block;
}

/* ── Stepper +/− buttons (used by guest steppers) ── */
.nights-btn[b-e2d4uz4hop] {
    width: 1.6rem;
    height: 1.6rem;
    padding: 0;
    line-height: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    background: #fff;
    border: 1.5px solid #dee2e6;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

    .nights-btn:hover:not(:disabled)[b-e2d4uz4hop] {
        color: #0d6efd;
        border-color: #0d6efd;
        background: #e8f0fe;
    }

    .nights-btn:disabled[b-e2d4uz4hop] {
        opacity: 0.35;
        cursor: not-allowed;
    }

/* ── Search button ── */
.btn-search[b-e2d4uz4hop] {
    font-weight: 600;
    border-radius: 0.5rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    min-width: 160px;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.35);
    transition: box-shadow 0.15s, transform 0.1s;
}

    .btn-search:not(:disabled):hover[b-e2d4uz4hop] {
        box-shadow: 0 4px 14px rgba(255, 193, 7, 0.55);
        transform: translateY(-1px);
    }

    .btn-search:not(:disabled):active[b-e2d4uz4hop] {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(255, 193, 7, 0.25);
    }

/* ── Search progress panel ── */
.search-progress-panel[b-e2d4uz4hop] {
    border-radius: 0.75rem;
}

/* ── Reference inline (header) ── */
.reference-inline[b-e2d4uz4hop] {
    animation: fadeIn-b-e2d4uz4hop 0.15s ease;
}

@keyframes fadeIn-b-e2d4uz4hop {
    from { opacity: 0; transform: translateX(6px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── Nights stepper ── */
.nights-stepper[b-e2d4uz4hop] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #f8f9fa;
    border: 1.5px solid #dee2e6;
    border-radius: 2rem;
    padding: 0.3rem 0.6rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .nights-stepper:hover[b-e2d4uz4hop] {
        border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.08);
    }

.nights-stepper-center[b-e2d4uz4hop] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 2.5rem;
}

.nights-stepper-value[b-e2d4uz4hop] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d6efd;
    line-height: 1.1;
}

.nights-stepper-label[b-e2d4uz4hop] {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c757d;
    font-weight: 600;
}

.nights-connector[b-e2d4uz4hop] {
    flex-shrink: 0;
}

.nights-connector-spacer[b-e2d4uz4hop] {
    min-width: 6rem;
    flex-shrink: 0;
}
/* /Features/AddBooking/Components/CartModal.razor.rz.scp.css */
/* Scoped styles for CartModal component */

.policy-norm-item[b-fvsje72e6n] {
    line-height: 1.6;
}

.policy-norm-item:last-child[b-fvsje72e6n] {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Style HTML content in policy sections */
.policy-norm-item p[b-fvsje72e6n],
.card-body p[b-fvsje72e6n] {
    margin-bottom: 0.75rem;
}

.policy-norm-item p:last-child[b-fvsje72e6n],
.card-body > div p:last-child[b-fvsje72e6n] {
    margin-bottom: 0;
}

.policy-norm-item ul[b-fvsje72e6n],
.policy-norm-item ol[b-fvsje72e6n],
.card-body ul[b-fvsje72e6n],
.card-body ol[b-fvsje72e6n] {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
}

.policy-norm-item ul:last-child[b-fvsje72e6n],
.policy-norm-item ol:last-child[b-fvsje72e6n],
.card-body ul:last-child[b-fvsje72e6n],
.card-body ol:last-child[b-fvsje72e6n] {
    margin-bottom: 0;
}

.policy-norm-item li[b-fvsje72e6n],
.card-body li[b-fvsje72e6n] {
    margin-bottom: 0.25rem;
}

.policy-norm-item strong[b-fvsje72e6n],
.card-body strong[b-fvsje72e6n] {
    font-weight: 600;
}

.policy-norm-item em[b-fvsje72e6n],
.card-body em[b-fvsje72e6n] {
    font-style: italic;
}

/* Ensure HTML headings in policies are styled appropriately */
.policy-norm-item h1[b-fvsje72e6n],
.policy-norm-item h2[b-fvsje72e6n],
.policy-norm-item h3[b-fvsje72e6n],
.policy-norm-item h4[b-fvsje72e6n],
.policy-norm-item h5[b-fvsje72e6n],
.policy-norm-item h6[b-fvsje72e6n],
.card-body h1[b-fvsje72e6n],
.card-body h2[b-fvsje72e6n],
.card-body h3[b-fvsje72e6n],
.card-body h4[b-fvsje72e6n],
.card-body h5[b-fvsje72e6n],
.card-body h6[b-fvsje72e6n] {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.policy-norm-item h1:first-child[b-fvsje72e6n],
.policy-norm-item h2:first-child[b-fvsje72e6n],
.policy-norm-item h3:first-child[b-fvsje72e6n],
.policy-norm-item h4:first-child[b-fvsje72e6n],
.policy-norm-item h5:first-child[b-fvsje72e6n],
.policy-norm-item h6:first-child[b-fvsje72e6n],
.card-body h1:first-child[b-fvsje72e6n],
.card-body h2:first-child[b-fvsje72e6n],
.card-body h3:first-child[b-fvsje72e6n],
.card-body h4:first-child[b-fvsje72e6n],
.card-body h5:first-child[b-fvsje72e6n],
.card-body h6:first-child[b-fvsje72e6n] {
    margin-top: 0;
}

/* Responsive table handling */
@media (max-width: 768px) {
    .table-responsive[b-fvsje72e6n] {
        font-size: 0.875rem;
    }
}
/* /Features/AddBooking/Components/SendOfferModal.razor.rz.scp.css */
/* ── Step strip ─────────────────────────────────────────── */

.step-strip[b-k6x1d7oap6] {
    background: #f8f9fa;
}

.step-item[b-k6x1d7oap6] {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.step-num[b-k6x1d7oap6] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    font-size: .72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s ease, color .2s ease;
}

.step-item.active .step-num[b-k6x1d7oap6] {
    background: #198754;
    color: #fff;
}

.step-label[b-k6x1d7oap6] {
    font-size: .78rem;
    color: #6c757d;
    font-weight: 500;
    transition: color .2s ease;
}

.step-item.active .step-label[b-k6x1d7oap6] {
    color: #198754;
    font-weight: 600;
}

.step-line[b-k6x1d7oap6] {
    flex: 1;
    height: 2px;
    background: #dee2e6;
    margin: 0 8px;
    min-width: 24px;
    transition: background .2s ease;
}

.step-line.done[b-k6x1d7oap6] {
    background: #198754;
}

/* ── Section cards ──────────────────────────────────────── */

.section-card[b-k6x1d7oap6] {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 16px;
}

.section-title[b-k6x1d7oap6] {
    font-weight: 600;
    font-size: .875rem;
    color: #343a40;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-title i[b-k6x1d7oap6] {
    color: #198754;
}

/* ── Selectable cards ───────────────────────────────────── */

.selectable-card[b-k6x1d7oap6] {
    display: block;
    border: 1.5px solid #dee2e6;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
    background: #fafafa;
    height: 100%;
}

.selectable-card:hover[b-k6x1d7oap6] {
    border-color: #adb5bd;
    background: #f4f4f4;
}

.selectable-card.selected[b-k6x1d7oap6] {
    border-color: #198754;
    background: #f0fff4;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, .08);
}

.sc-icon[b-k6x1d7oap6] {
    color: #adb5bd;
    transition: color .15s ease;
}

.selectable-card.selected .sc-icon[b-k6x1d7oap6] {
    color: #198754;
}

.room-name-truncate[b-k6x1d7oap6] {
    display: block;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Price preview ──────────────────────────────────────── */

.price-preview[b-k6x1d7oap6] {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: .82rem;
    flex-wrap: wrap;
}

/* ── Ready card ─────────────────────────────────────────── */

.ready-card[b-k6x1d7oap6] {
    border-color: #a3cfbb;
    background: linear-gradient(135deg, #f0fff4 0%, #e6f9ef 100%);
}

/* ── WhatsApp preview modal ─────────────────────────────── */

.wa-header[b-k6x1d7oap6] {
    background: #075e54;
}

.wa-avatar[b-k6x1d7oap6] {
    width: 36px;
    height: 36px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.wa-chat-bg[b-k6x1d7oap6] {
    background-color: #e5ddd5;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(0,0,0,.04) 1px, transparent 0);
    background-size: 20px 20px;
    min-height: 180px;
    max-height: 440px;
    overflow-y: auto;
}

.wa-bubble[b-k6x1d7oap6] {
    background: #dcf8c6;
    border-radius: 0 10px 10px 10px;
    padding: 10px 14px;
    white-space: pre-wrap;
    font-size: .875rem;
    line-height: 1.65;
    color: #111;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.wa-bubble[b-k6x1d7oap6]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -7px;
    border-width: 0 7px 7px 0;
    border-style: solid;
    border-color: transparent #dcf8c6 transparent transparent;
}

/* ── Tab strip ───────────────────────────────────────────────────── */
.nav-tabs-offer[b-k6x1d7oap6] {
    gap: .25rem;
    border-bottom: none;
}

.nav-tabs-offer .nav-link[b-k6x1d7oap6] {
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: .375rem .375rem 0 0;
    padding: .45rem .9rem;
    font-size: .875rem;
    color: #495057;
    cursor: pointer;
    background: none;
}

.nav-tabs-offer .nav-link:hover[b-k6x1d7oap6] {
    border-color: #dee2e6 #dee2e6 transparent;
    color: #212529;
}

.nav-tabs-offer .nav-link.active[b-k6x1d7oap6] {
    color: #212529;
    background: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

/* ── Instagram themed header ────────────────────────────────────── */
.send-offer-header-instagram[b-k6x1d7oap6] {
    background: linear-gradient(90deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: #fff;
}

/* ── Instagram generate / copy button ──────────────────────────── */
.send-offer-btn-instagram[b-k6x1d7oap6] {
    background: linear-gradient(90deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: #fff;
    border: 1px solid transparent;
}

.send-offer-btn-instagram:hover[b-k6x1d7oap6] {
    opacity: .9;
    color: #fff;
}

/* ── Instagram caption preview box ─────────────────────────────── */
.instagram-caption-box[b-k6x1d7oap6] {
    background: #fafafa;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    padding: .75rem;
    white-space: pre-wrap;
    font-size: .875rem;
    line-height: 1.65;
    max-height: 300px;
    overflow-y: auto;
}
/* /Features/AiHelper/AiHelper.razor.rz.scp.css */
/* ── Page layout ── */
.ai-helper-page[b-mjdz1d57nh] {
    height: calc(100vh - 120px); /* fallback for browsers without dvh */
    height: calc(100dvh - 120px);
    min-height: 400px;
}

/* ── Header ── */
.aih-header[b-mjdz1d57nh] {
    flex-shrink: 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border-bottom: 1px solid #e3e8f0 !important;
}

.aih-logo[b-mjdz1d57nh] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── Voice bar ── */
.aih-voice-bar[b-mjdz1d57nh] {
    flex-shrink: 0;
    border-inline: none;
}

/* ── Chat scrollable area ── */
.chat-messages[b-mjdz1d57nh] {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    background-color: #f6f8fb;
    border-inline: 1px solid rgba(0,0,0,.125);
    border-radius: 0 !important;
}

/* ── Message rows ── */
.msg-row[b-mjdz1d57nh] {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.msg-row--user[b-mjdz1d57nh] {
    justify-content: flex-end;
}

.msg-row--assistant[b-mjdz1d57nh] {
    justify-content: flex-start;
}

/* ── Avatars ── */
.msg-avatar[b-mjdz1d57nh] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.msg-avatar--assistant[b-mjdz1d57nh] {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
}

.msg-avatar--user[b-mjdz1d57nh] {
    background-color: #e2e8f0;
    color: #475569;
}

/* ── Assistant content wrapper ── */
.assistant-content[b-mjdz1d57nh] {
    min-width: 0;
    max-width: min(82%, 640px);
}

/* ── Bubbles ── */
.bubble[b-mjdz1d57nh] {
    padding: 0.6rem 0.9rem;
    border-radius: 1.1rem;
    font-size: 0.9rem;
    line-height: 1.55;
    word-break: break-word;
    animation: bubbleIn-b-mjdz1d57nh 0.18s ease-out both;
}

@keyframes bubbleIn-b-mjdz1d57nh {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bubble-user[b-mjdz1d57nh] {
    max-width: min(78%, 520px);
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    border-bottom-right-radius: 0.25rem;
    white-space: pre-wrap;
    box-shadow: 0 1px 4px rgba(13,110,253,.25);
}

/* RTL user bubble — flip the tail to bottom-left */
.bubble-user[dir="rtl"][b-mjdz1d57nh] {
    border-bottom-right-radius: 1.1rem;
    border-bottom-left-radius: 0.25rem;
}

.bubble-assistant[b-mjdz1d57nh] {
    background-color: #ffffff;
    color: #1e293b;
    border-bottom-left-radius: 0.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    border: 1px solid #e8ecf1;
}

/* RTL assistant bubble — flip the tail to bottom-right */
.bubble-assistant[dir="rtl"][b-mjdz1d57nh] {
    border-bottom-left-radius: 1.1rem;
    border-bottom-right-radius: 0.25rem;
}

/* ── Typing indicator ── */
.typing-indicator[b-mjdz1d57nh] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.7rem 1rem;
    border-radius: 1.1rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

.typing-indicator span[b-mjdz1d57nh] {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #94a3b8;
    animation: typingBounce-b-mjdz1d57nh 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2)[b-mjdz1d57nh] { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3)[b-mjdz1d57nh] { animation-delay: 0.4s; }

@keyframes typingBounce-b-mjdz1d57nh {
    0%, 80%, 100% { transform: translateY(0); }
    40%           { transform: translateY(-5px); }
}

/* ── Empty state ── */
.empty-state[b-mjdz1d57nh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-block: 3rem;
}

.empty-state-icon[b-mjdz1d57nh] {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff, #e0e7ff);
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sample-prompt[b-mjdz1d57nh] {
    border-radius: 2rem;
    font-size: 0.8rem;
    transition: background-color 0.15s, color 0.15s;
}

.sample-prompt:hover[b-mjdz1d57nh] {
    background-color: #0d6efd;
    color: #fff;
}

/* ── Offer card ── */
.offer-card[b-mjdz1d57nh] {
    max-width: min(90%, 520px);
    border-radius: 0.75rem !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(25, 135, 84, .15);
}

.offer-card-header[b-mjdz1d57nh] {
    background: linear-gradient(135deg, #198754, #20c997);
    color: #fff;
}

.offer-card-footer[b-mjdz1d57nh] {
    background-color: #f0fdf4;
    border-top: 1px solid #d1fae5;
    padding: 0.5rem 0.75rem;
}

.offer-text[b-mjdz1d57nh] {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.82rem;
    white-space: pre-wrap;
    word-break: break-word;
    background: #f8f9fa;
    max-height: 320px;
    overflow-y: auto;
    direction: auto;
}

/* ── Input bar ── */
.chat-input-bar[b-mjdz1d57nh] {
    flex-shrink: 0;
    background-color: #ffffff;
    border-inline: 1px solid rgba(0,0,0,.125) !important;
    border-bottom: 1px solid rgba(0,0,0,.125) !important;
    border-top: 1px solid #dee2e6 !important;
    border-radius: 0 0 0.375rem 0.375rem !important;
}

.aih-input-group[b-mjdz1d57nh] {
    border: 1px solid #ced4da;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
    background-color: #fff;
}

.aih-input-group:focus-within[b-mjdz1d57nh] {
    border-color: #86b7fe;
    box-shadow: 0 0 0 3px rgba(13,110,253,.12);
}

.aih-input-group .aih-textarea[b-mjdz1d57nh] {
    border: none !important;
    box-shadow: none !important;
    resize: none;
    overflow-y: hidden;
    background: transparent;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    min-height: 42px;
}

.aih-input-group .aih-textarea:focus[b-mjdz1d57nh] {
    outline: none;
}

.aih-action-btn[b-mjdz1d57nh],
.aih-send-btn[b-mjdz1d57nh] {
    border: none !important;
    border-inline-start: 1px solid #e9ecef !important;
    border-radius: 0 !important;
    padding-inline: 0.9rem;
}

.aih-send-btn[b-mjdz1d57nh] {
    border-radius: 0 0.7rem 0.7rem 0 !important;
}

.send-rtl[b-mjdz1d57nh] {
    transform: scaleX(-1);
    display: inline-block;
}

/* ── Input hint ── */
.input-hint[b-mjdz1d57nh] {
    font-size: 0.72rem;
    opacity: 0.65;
    padding-inline: 0.25rem;
}

.input-hint kbd[b-mjdz1d57nh] {
    font-size: 0.68rem;
    padding: 0.1em 0.35em;
    background: #f1f3f5;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    color: #495057;
}

/* ── Markdown inside assistant bubble ── */
.bubble-assistant.markdown-body[b-mjdz1d57nh] {
    white-space: normal;
}

.bubble-assistant.markdown-body p[b-mjdz1d57nh] {
    margin-bottom: 0.4rem;
}

.bubble-assistant.markdown-body p:last-child[b-mjdz1d57nh] {
    margin-bottom: 0;
}

.bubble-assistant.markdown-body h1[b-mjdz1d57nh],
.bubble-assistant.markdown-body h2[b-mjdz1d57nh],
.bubble-assistant.markdown-body h3[b-mjdz1d57nh],
.bubble-assistant.markdown-body h4[b-mjdz1d57nh] {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0.5rem 0 0.25rem;
}

.bubble-assistant.markdown-body ul[b-mjdz1d57nh],
.bubble-assistant.markdown-body ol[b-mjdz1d57nh] {
    margin-block: 0.25rem 0.4rem;
    margin-inline-start: 1.2rem;
    margin-inline-end: 0;
    padding: 0;
}

.bubble-assistant.markdown-body li[b-mjdz1d57nh] {
    margin-bottom: 0.15rem;
}

.bubble-assistant.markdown-body code[b-mjdz1d57nh] {
    background: #eef2f7;
    border-radius: 0.25rem;
    padding: 0.1em 0.35em;
    font-size: 0.83em;
    font-family: 'Courier New', Courier, monospace;
}

.bubble-assistant.markdown-body pre[b-mjdz1d57nh] {
    background: #eef2f7;
    border-radius: 0.4rem;
    padding: 0.6rem 0.8rem;
    overflow-x: auto;
    margin: 0.4rem 0;
}

.bubble-assistant.markdown-body pre code[b-mjdz1d57nh] {
    background: none;
    padding: 0;
}

.bubble-assistant.markdown-body blockquote[b-mjdz1d57nh] {
    border-inline-start: 3px solid #cbd5e1;
    margin: 0.4rem 0;
    padding: 0.25rem 0.75rem;
    color: #64748b;
}

.bubble-assistant.markdown-body table[b-mjdz1d57nh] {
    border-collapse: collapse;
    width: 100%;
    margin: 0.4rem 0;
    font-size: 0.85rem;
}

.bubble-assistant.markdown-body th[b-mjdz1d57nh],
.bubble-assistant.markdown-body td[b-mjdz1d57nh] {
    border: 1px solid #e2e8f0;
    padding: 0.3rem 0.5rem;
}

.bubble-assistant.markdown-body th[b-mjdz1d57nh] {
    background: #f1f5f9;
    font-weight: 600;
}

.bubble-assistant.markdown-body hr[b-mjdz1d57nh] {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 0.5rem 0;
}

.bubble-assistant.markdown-body a[b-mjdz1d57nh] {
    color: #0d6efd;
    text-decoration: underline;
}

/* ── Voice indicator dot ── */
.voice-indicator[b-mjdz1d57nh] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.voice-indicator.connecting[b-mjdz1d57nh] {
    background-color: var(--bs-primary);
    animation: voicePulse-b-mjdz1d57nh 1.2s ease-in-out infinite;
}

.voice-indicator.live[b-mjdz1d57nh] {
    background-color: var(--bs-success);
    animation: voicePulse-b-mjdz1d57nh 1s ease-in-out infinite;
}

.voice-indicator.error[b-mjdz1d57nh] {
    background-color: var(--bs-danger);
}

@keyframes voicePulse-b-mjdz1d57nh {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.72); }
}

/* ── Mobile ── */
@media (max-width: 576px) {
    /* Fill the grid cell below the navbar (see app.css body:has(.ai-helper-page)) */
    .ai-helper-page[b-mjdz1d57nh] {
        flex: 1 1 auto;
        width: 100%;
        height: 100%;
        min-height: 0;
        margin: 0;
        overflow: hidden;
    }

    /* Pinned header + voice bar; only the message list scrolls */
    .aih-header[b-mjdz1d57nh] {
        position: sticky;
        top: 0;
        z-index: 2;
        border-radius: 0 !important;
    }

    .chat-input-bar[b-mjdz1d57nh] {
        border-radius: 0 !important;
        border-inline: none !important;
        padding-bottom: env(safe-area-inset-bottom, 0.5rem);
    }

    .chat-messages[b-mjdz1d57nh] {
        border-inline: none;
        padding: 0.75rem !important;
        overscroll-behavior: contain;
    }

    .aih-header .card-body[b-mjdz1d57nh] {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    .empty-state[b-mjdz1d57nh] {
        padding-block: 1.5rem;
    }

    .bubble-user[b-mjdz1d57nh] {
        max-width: 88%;
    }

    .assistant-content[b-mjdz1d57nh] {
        max-width: 88%;
    }

    .offer-card[b-mjdz1d57nh] {
        max-width: 100%;
    }

    .input-hint[b-mjdz1d57nh] {
        display: none;
    }

    /* 16px input font prevents iOS Safari from auto-zooming on focus */
    .aih-input-group .aih-textarea[b-mjdz1d57nh] {
        font-size: 16px;
    }
}
