[x-cloak] { display: none !important; }

/* ── AI Tooltip Bubble ── */
.lrcw-tooltip {
    position: absolute;
    bottom: 4px;
    right: 62px;
    width: 210px;
    background: #fff;
    border-radius: 14px;
    padding: 12px 14px 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 2px 8px rgba(255,79,30,0.12);
    border: 1.5px solid rgba(255,79,30,0.12);
    cursor: pointer;
    user-select: none;
}
/* Arrow pointing right toward button */
.lrcw-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    bottom: 16px;
    border: 8px solid transparent;
    border-left-color: #fff;
    border-right: 0;
    filter: drop-shadow(2px 0 2px rgba(0,0,0,0.06));
}
.lrcw-tt-time {
    font-size: 10px;
    font-weight: 600;
    color: #ff4f1e;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.lrcw-tt-greeting {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}
.lrcw-tt-msg {
    font-size: 11.5px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 8px;
}
.lrcw-tt-cta {
    display: inline-block;
    background: #ff4f1e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}
/* Transitions */
.lrcw-tt-enter      { transition: opacity 0.25s ease, transform 0.25s cubic-bezier(.34,1.56,.64,1); }
.lrcw-tt-enter-start { opacity: 0; transform: translateX(10px) scale(0.92); }
.lrcw-tt-enter-end   { opacity: 1; transform: translateX(0) scale(1); }
.lrcw-tt-leave       { transition: opacity 0.18s ease, transform 0.18s ease; }
.lrcw-tt-leave-start { opacity: 1; transform: translateX(0) scale(1); }
.lrcw-tt-leave-end   { opacity: 0; transform: translateX(8px) scale(0.95); }

/* ── Floating Button Stack ── */
#lr-float-stack {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Shared base for all floating buttons */
.lr-float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.lr-float-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

/* WhatsApp button */
.lr-float-whatsapp {
    background: #25d366;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
}
.lr-float-whatsapp:hover {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* AI Chat button */
.lr-float-ai {
    background: #ff4f1e;
    box-shadow: 0 4px 20px rgba(255, 79, 30, 0.45);
}
.lr-float-ai:hover {
    box-shadow: 0 6px 28px rgba(255, 79, 30, 0.55);
}

/* ── Animated AI Bot Icon ── */
.lr-ai-bot {
    width: 30px;
    height: 30px;
    position: relative;
    flex-shrink: 0;
}
.lr-ai-bot svg {
    width: 100%;
    height: 100%;
}

/* Pulse ring around button when closed */
.lr-float-ai:not(.is-open)::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 79, 30, 0.5);
    animation: lrai-pulse 2s ease-out infinite;
}
.lr-float-ai:not(.is-open)::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 79, 30, 0.25);
    animation: lrai-pulse 2s ease-out infinite 0.4s;
}
@keyframes lrai-pulse {
    0%   { transform: scale(0.85); opacity: 1; }
    70%  { transform: scale(1.15); opacity: 0; }
    100% { opacity: 0; }
}

/* Eye blink on the bot face */
@keyframes lrai-blink {
    0%, 90%, 100% { transform: scaleY(1); }
    95%            { transform: scaleY(0.1); }
}
.lr-bot-eye {
    animation: lrai-blink 3.5s ease-in-out infinite;
    transform-origin: center;
}
.lr-bot-eye-r { animation-delay: 0.08s; }

/* Antenna dot bounce */
@keyframes lrai-dot {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-2px); }
}
.lr-bot-dot {
    animation: lrai-dot 1.6s ease-in-out infinite;
}

.lrcw-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff4f1e;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
}

/* ── Chat Panel ── */
#lr-chat-panel {
    position: fixed;
    bottom: 82px;
    right: 24px;
    width: 432px;
    height: 624px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10499;
    transform: scale(0.92) translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s cubic-bezier(.34,1.56,.64,1), opacity 0.18s ease;
}
#lr-chat-panel.lrcw-open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Header */
.lrcw-header {
    background: #ff4f1e;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.lrcw-header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.lrcw-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lrcw-header-info { flex: 1; min-width: 0; }
.lrcw-header-name {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
}
.lrcw-header-sub {
    color: rgba(255,255,255,0.8);
    font-size: 11px;
}
.lrcw-header-actions { display: flex; gap: 6px; }
.lrcw-header-btn {
    background: rgba(255,255,255,0.18);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background 0.15s;
}
.lrcw-header-btn:hover { background: rgba(255,255,255,0.3); }

/* Messages */
.lrcw-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px 14px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f9f9f9;
    scroll-behavior: smooth;
}
.lrcw-messages::-webkit-scrollbar { width: 4px; }
.lrcw-messages::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }
.lrcw-msg {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    max-width: 88%;
}
.lrcw-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.lrcw-msg.assistant { align-self: flex-start; }
.lrcw-msg-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ff4f1e;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.lrcw-msg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lrcw-msg-avatar i { font-size: 14px; color: #fff; }
.lrcw-msg-bubble {
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}
.lrcw-msg.assistant .lrcw-msg-bubble {
    background: #fff;
    color: #1a1a1a;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.lrcw-msg.user .lrcw-msg-bubble {
    background: #ff4f1e;
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Typing dots */
.lrcw-typing { display: flex; gap: 4px; padding: 10px 14px; align-items: center; }
.lrcw-typing span {
    width: 7px; height: 7px;
    background: #ccc; border-radius: 50%;
    animation: lrcw-bounce 1.2s infinite;
}
.lrcw-typing span:nth-child(2) { animation-delay: 0.2s; }
.lrcw-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes lrcw-bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
    40% { transform: translateY(-5px); opacity: 1; }
}

/* Open full chat link */
.lrcw-open-full {
    padding: 6px 14px 0;
    text-align: right;
}
.lrcw-open-full a {
    font-size: 11px;
    color: #ff4f1e;
    text-decoration: none;
    opacity: 0.8;
}
.lrcw-open-full a:hover { opacity: 1; text-decoration: underline; }

/* Input */
.lrcw-input-row {
    padding: 10px 12px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
    align-items: flex-end;
    background: #fff;
    flex-shrink: 0;
}
.lrcw-input-row textarea {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13px;
    resize: none;
    outline: none;
    line-height: 1.4;
    max-height: 90px;
    background: #f5f5f5;
    font-family: inherit;
    transition: border-color 0.15s;
}
.lrcw-input-row textarea:focus { border-color: #ff4f1e; background: #fff; }
.lrcw-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ff4f1e;
    border: none;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, transform 0.1s;
}
.lrcw-send-btn:hover { background: #e03d10; }
.lrcw-send-btn:active { transform: scale(0.93); }
.lrcw-send-btn:disabled { background: #ddd; cursor: not-allowed; }

/* ── Widget overrides for shared vehicle-cards.css ── */

/* Stretch vehicle groups and profile card full-width inside the chat panel */
#lr-chat-panel .vehicle-groups-wrap,
#lr-chat-panel .vp-card {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
}

/* Tighter vehicle card in narrow panel */
#lr-chat-panel .vehicle-card {
    grid-template-columns: 54px 1fr auto;
    gap: 8px;
    padding: 8px 10px;
}
#lr-chat-panel .vehicle-thumb {
    width: 54px;
    height: 40px;
}
#lr-chat-panel .vehicle-actions {
    width: 80px;
}
#lr-chat-panel .vehicle-title {
    font-size: 11px;
}
#lr-chat-panel .vehicle-meta {
    font-size: 10px;
    gap: 5px;
}

/* Smaller profile image in widget */
#lr-chat-panel .vp-main-image {
    height: 150px;
}
#lr-chat-panel .vp-name {
    font-size: 13px;
}
#lr-chat-panel .vp-price {
    font-size: 15px;
}
#lr-chat-panel .btn-select-full {
    font-size: 13px;
    padding: 9px;
}

/* "N more" link — widget-specific footer on vehicle list */
.lrcw-more-link {
    display: block;
    text-align: center;
    font-size: 11px;
    color: #ff4f1e;
    text-decoration: none;
    padding: 8px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    border-radius: 0 0 10px 10px;
    font-weight: 600;
}
.lrcw-more-link:hover { background: #fff3ec; }

/* Payment success */
.lrcw-payment-card {
    background: #fff8f6;
    border: 1.5px solid #ff4f1e;
    border-radius: 10px;
    padding: 12px 14px;
    align-self: stretch;
}
.lrcw-payment-card p {
    margin: 0 0 8px;
    font-size: 13px;
    color: #1a1a1a;
}
.lrcw-payment-btn {
    display: block;
    background: #ff4f1e;
    color: #fff !important;
    text-align: center;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}
.lrcw-payment-btn:hover { background: #e03d10; }

/* Mobile */
@media (max-width: 480px) {
    #lr-chat-panel {
        right: 12px;
        bottom: 148px;
        width: calc(100vw - 24px);
        height: 72vh;
    }
    #lr-float-stack { bottom: 16px; right: 16px; }
}
/* ── Layout ─────────────────────────────────────────── */
.ai-page-layout {
    display: flex;
    height: calc(100vh - 80px);
    overflow: hidden;
    background: #f2f3f7;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Sidebar ─────────────────────────────────────────── */
.ai-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #f9f9f9;
    border-right: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
    transition: width 0.25s ease;
    overflow: hidden;
}
.ai-sidebar.collapsed { width: 56px; }

/* ── Sidebar top bar ─────────────────────────────────── */
.sidebar-top {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 8px 8px;
    flex-shrink: 0;
}
.sidebar-top-row {
    display: flex;
    align-items: center;
    gap: 4px;
}
.sidebar-label {
    font-size: 11px;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}
.sidebar-new-chat-btn {
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    background: transparent;
    color: #333 !important;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    overflow: visible !important;
    width: 100% !important;
}
.sidebar-new-chat-btn:hover { background: #f0f0f0; color: #FF6B00 !important; }
.sidebar-new-chat-btn i { color: #FF6B00; font-size: 14px; }

/* ── Sidebar brand footer ────────────────────────────── */
.sidebar-brand-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}
.icon-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 15px;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.icon-btn:hover { background: #efefef; color: #FF6B00; }
.new-btn { margin-left: auto; }

.sidebar-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0;
    border-top: 1px solid #eee;
}

.sidebar-loader {
    display: flex;
    justify-content: center;
    padding: 24px 0;
}
.dot-pulse span {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 2px;
    animation: dotBounce 1.2s infinite;
}
.dot-pulse span:nth-child(2) { animation-delay: 0.2s; }
.dot-pulse span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40%            { transform: translateY(-5px); opacity: 1; }
}

.sidebar-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 32px 16px;
    color: #bbb;
    font-size: 12px;
    text-align: center;
}
.sidebar-empty i { font-size: 26px; }
.sidebar-empty p { margin: 0; }

.chat-list { padding: 0 6px; }
.chat-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
    margin-bottom: 2px;
}
.chat-item:hover { background: #f0f0f0; }
.chat-item.active { background: #fff3ec; }
.chat-item.item-loading { opacity: 0.6; cursor: wait; }
.chat-item-icon { font-size: 14px; color: #ccc; margin-top: 1px; flex-shrink: 0; }
.chat-item.active .chat-item-icon { color: #FF6B00; }
.chat-item-body { flex: 1; min-width: 0; }
.chat-item-preview {
    font-size: 12px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}
.chat-item.active .chat-item-preview { color: #FF6B00; font-weight: 500; }
.chat-item-meta { display: flex; align-items: center; gap: 5px; margin-top: 3px; }
.chat-date { font-size: 10px; color: #aaa; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.status-dot.active    { background: #22c55e; }
.status-dot.completed { background: #3b82f6; }
.status-dot.abandoned { background: #d1d5db; }

/* ── Chat wrapper ────────────────────────────────────── */
.ai-chat-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #f2f3f7;
    overflow: hidden;
}

/* ── Sidebar brand avatar ────────────────────────────── */
.sidebar-brand-avatar {
    position: relative;
    width: 26px; height: 26px;
    flex-shrink: 0;
}
.sidebar-brand-avatar img {
    width: 26px; height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #FF6B00;
}
.sb-online-dot {
    position: absolute;
    bottom: 0; right: 0;
    width: 7px; height: 7px;
    background: #22c55e;
    border: 1.5px solid #f9f9f9;
    border-radius: 50%;
}
.sidebar-brand-text { min-width: 0; }
.sidebar-brand-name {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-brand-sub {
    font-size: 10px;
    color: #bbb;
    white-space: nowrap;
}

/* ── Mobile-only top bar ─────────────────────────────── */
.chat-mobile-bar {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
.mobile-bar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: #111;
}
.mobile-bar-brand img {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid #FF6B00;
    object-fit: cover;
}
.mobile-new-btn {
    width: 34px !important;
    height: 34px;
    border: 1.5px solid #FF6B00;
    background: transparent;
    color: #FF6B00;
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    overflow: visible !important;
    transition: background 0.15s, color 0.15s;
}
.mobile-new-btn:hover { background: #FF6B00; color: #fff; }

/* ── Chat title bar ──────────────────────────────────── */
.chat-title-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px 10px;
    flex-shrink: 0;
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}
.chat-title-avatar {
    position: relative;
    width: 38px; height: 38px;
    flex-shrink: 0;
}
.chat-title-avatar img {
    width: 38px; height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FF6B00;
}
.chat-title-dot {
    position: absolute;
    bottom: 1px; right: 1px;
    width: 9px; height: 9px;
    background: #22c55e;
    border: 2px solid #f2f3f7;
    border-radius: 50%;
}
.chat-title-name {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}
.chat-title-sub {
    font-size: 11px;
    color: #aaa;
    margin-top: 1px;
}

/* ── Messages ────────────────────────────────────────── */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 8px 24px 12px;
    display: flex;
    flex-direction: column;
}
.chat-message {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 12px;
    animation: msgIn 0.3s ease;
    max-width: 820px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.chat-message.user { flex-direction: row-reverse; }
@keyframes msgIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.avatar img {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.bubble {
    max-width: 74%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.55;
    word-break: break-word;
}
.bubble.user {
    background: #FF6B00;
    color: #fff;
    border-bottom-right-radius: 4px;
}
.bubble.assistant {
    background: #fff;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}
.bubble-card {
    padding: 0;
    background: transparent;
    box-shadow: none;
    max-width: 95%;
}

/* ── Typing indicator ────────────────────────────────── */
.typing-bubble {
    padding: 12px 16px !important;
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
    display: flex;
    gap: 4px;
    align-items: center;
}
.typing-bubble span {
    width: 7px; height: 7px;
    background: #bbb;
    border-radius: 50%;
    animation: bounce 1.2s infinite ease-in-out;
}
.typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30%            { transform: translateY(-6px); }
}

/* ── Booking summary ─────────────────────────────────── */
.booking-summary-card {
    background: #fff;
    border: 1px solid #e8f5e9;
    border-radius: 12px;
    overflow: hidden;
    max-width: 380px;
}
.summary-header {
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.summary-list { list-style: none; margin: 0; padding: 10px 14px; }
.summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    padding: 5px 0;
    border-bottom: 1px solid #f5f5f5;
}
.summary-list li:last-child { border-bottom: none; }
.summary-label { color: #888; flex-shrink: 0; }
.summary-value { color: #222; text-align: right; }
.summary-value.ref   { font-weight: 700; color: #FF6B00; }
.summary-value.price { font-weight: 700; font-size: 15px; }
.btn-pay {
    display: block;
    width: 100%;
    padding: 12px;
    background: #FF6B00;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-pay:hover { background: #e05e00; color: #fff; }

/* ── Confirm booking action ──────────────────────────── */
.confirm-action-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0 4px 36px;
    animation: msgIn 0.3s ease;
    max-width: 820px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.btn-confirm-booking {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 11px 26px !important;
    background: linear-gradient(135deg, #FF6B00 0%, #ff8c42 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(255,107,0,0.35) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    overflow: visible !important;
    width: auto !important;
    letter-spacing: 0.2px !important;
}
.btn-confirm-booking:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 7px 22px rgba(255,107,0,0.45) !important;
}
.btn-confirm-booking:active {
    transform: translateY(0) !important;
    box-shadow: 0 3px 10px rgba(255,107,0,0.3) !important;
}
.confirm-hint {
    font-size: 12px;
    color: #aaa;
}

/* ── Input area ──────────────────────────────────────── */
.chat-input-area {
    flex-shrink: 0;
    padding: 8px 24px 20px;
    background: linear-gradient(to top, #f2f3f7 75%, transparent);
}
.chat-input-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 820px;
    margin: 0 auto;
    padding: 10px 14px 10px 18px;
    background: #fff;
    border-radius: 28px;
    border: 1.5px solid #e8e8e8;
    box-shadow: 0 2px 20px rgba(0,0,0,0.09);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.chat-input-bar:focus-within {
    border-color: #FF6B00;
    box-shadow: 0 2px 20px rgba(255,107,0,0.12);
}
.chat-input-bar textarea {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: #222;
    min-width: 0;
    resize: none;
    overflow-y: auto;
    line-height: 1.5;
    max-height: 160px;
    font-family: inherit;
    padding: 0;
    margin: 0;
}
.chat-input-bar textarea::placeholder { color: #aaa; }
.send-btn {
    width: 38px !important;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #e5e5e5;
    color: #aaa;
    font-size: 15px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    overflow: visible !important;
}
.send-btn.active { background: #FF6B00; color: #fff; }
.send-btn.active:hover { background: #e05e00; transform: scale(1.06); }
.send-btn:disabled { cursor: not-allowed; }

/* Backdrop */
.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1099;
}

/* Mobile sidebar toggle button */
.mobile-sidebar-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    color: #555;
    font-size: 18px;
    flex-shrink: 0;
    margin-right: 4px;
}
.mobile-sidebar-btn:hover { background: #f0f0f0; color: #FF6B00; }

/* ── Mobile responsive ───────────────────────────────── */
@media (max-width: 768px) {
    .ai-page-layout {
        height: calc(100vh - 60px);
        position: relative;
        overflow: hidden;
    }
    .ai-sidebar {
        position: absolute;
        top: 0; left: 0;
        height: 100%;
        width: 280px !important;
        z-index: 1100;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    }
    .ai-sidebar.mobile-open { transform: translateX(0); }
    .ai-sidebar.collapsed {
        width: 280px !important;
        transform: translateX(-100%);
    }
    .sidebar-backdrop { display: block; }
    .ai-chat-wrapper { flex: 1; width: 100%; margin: 0; border-radius: 0; max-width: 100%; }
    .chat-mobile-bar { display: flex; }
    .mobile-sidebar-btn { display: flex !important; }
    .chat-title-bar { display: none; }
    .chat-messages { padding: 12px 10px; }
    .bubble { max-width: 85%; font-size: 13px; }
    .vehicle-card {
        grid-template-columns: 50px 1fr auto;
        gap: 8px;
        padding: 8px;
    }
    .vehicle-thumb { width: 50px; height: 50px; border-radius: 6px; }
    .vehicle-title { font-size: 12px; }
    .vehicle-meta  { font-size: 11px; gap: 6px; flex-wrap: wrap; }
    .vehicle-actions { width: 72px; gap: 3px; }
    .vehicle-category .btn-select,
    .vehicle-category .btn-profile {
        font-size: 11px !important;
        padding: 5px 4px !important;
        border-radius: 6px !important;
    }
    .category-header { font-size: 12px; padding: 6px 10px; }
    .vehicle-profile-card { max-width: 100%; padding: 14px; }
    .vp-select-btn        { font-size: 13px !important; }
    .confirm-action-row { padding: 6px 0 4px 10px; }
    .btn-confirm-booking { font-size: 13px !important; padding: 10px 18px !important; }
    .confirm-hint { display: none; }
    .chat-input-area {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        padding: 8px 12px 16px;
        background: #f2f3f7;
        z-index: 1001;
    }
    .cookie-settings-btn { bottom: 80px !important; }
    .chat-input-bar { padding: 8px 10px 8px 14px; }
    .chat-input-bar textarea { font-size: 16px; }
    .chat-messages { padding: 8px 12px 90px; }
}

/* ── WhatsApp contact card (full booking page) ── */
.wa-contact-card {
    background: #fff;
    border: 1.5px solid #25d366;
    border-radius: 14px;
    overflow: hidden;
    max-width: 380px;
}
.wa-contact-header {
    background: #e7f9ee;
    color: #1a7a3c;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wa-contact-body {
    margin: 0;
    padding: 10px 14px 6px;
    font-size: 13px;
    color: #444;
    line-height: 1.5;
}
.wa-details {
    padding: 4px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.wa-details > div {
    font-size: 12px;
    color: #555;
}
.wa-detail-label {
    font-weight: 600;
    color: #1a7a3c;
    margin-right: 4px;
}
.wa-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 14px;
    text-decoration: none !important;
    transition: background 0.15s;
}
.wa-contact-btn:hover { background: #1da851; color: #fff !important; }
.wa-contact-btn i { font-size: 16px; }

/* ── WhatsApp contact card (floating widget) ── */
.lrcw-wa-card {
    background: #fff;
    border: 1.5px solid #25d366;
    border-radius: 10px;
    overflow: hidden;
    align-self: stretch;
}
.lrcw-wa-title {
    margin: 0;
    padding: 8px 12px 4px;
    font-size: 12px;
    font-weight: 700;
    color: #1a7a3c;
    background: #e7f9ee;
    display: flex;
    align-items: center;
    gap: 6px;
}
.lrcw-wa-body {
    margin: 0;
    padding: 8px 12px 4px;
    font-size: 12px;
    color: #444;
    line-height: 1.45;
}
.lrcw-wa-details {
    padding: 2px 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
    color: #555;
}
.lrcw-wa-label {
    font-weight: 600;
    color: #1a7a3c;
    margin-right: 3px;
}
.lrcw-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #25d366;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    padding: 9px 12px;
    text-decoration: none !important;
    transition: background 0.15s;
}
.lrcw-wa-btn:hover { background: #1da851; color: #fff !important; }
.lrcw-wa-btn i { font-size: 14px; }
