.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5B5FEF 0%, #00FFA3 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(91, 95, 239, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(91, 95, 239, 0.5);
}

.chat-toggle.active {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.chat-icon {
    width: 28px;
    height: 28px;
    color: white;
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    font-size: 12px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 550px;
    max-height: calc(100vh - 150px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.chat-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #5B5FEF 0%, #00FFA3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.chat-header-text h4 {
    color: #212529;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-status {
    color: #28a745;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #28a745;
    border-radius: 50%;
}

.chat-header-actions {
    display: flex;
    gap: 8px;
}

.chat-action-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-action-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.chat-action-btn svg {
    width: 16px;
    height: 16px;
    color: rgba(0, 0, 0, 0.6);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-welcome {
    text-align: center;
    padding: 20px;
}

.welcome-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5B5FEF 0%, #00FFA3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 16px;
}

.chat-welcome p {
    color: #495057;
    margin-bottom: 20px;
    line-height: 1.5;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.quick-action {
    background: rgba(91, 95, 239, 0.1);
    border: 1px solid rgba(91, 95, 239, 0.2);
    color: #5B5FEF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-action:hover {
    background: rgba(91, 95, 239, 0.2);
    border-color: #5B5FEF;
}

.chat-message {
    display: flex;
    gap: 10px;
    max-width: 85%;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user {
    flex-direction: row-reverse;
    align-self: flex-end;
}

.chat-message.assistant {
    align-self: flex-start;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.message-content {
    background: #e9ecef;
    padding: 12px 16px;
    border-radius: 16px;
    position: relative;
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, #5B5FEF 0%, #4a4ed8 100%);
}

.chat-message.assistant .message-content {
    background: #e9ecef;
    border-bottom-left-radius: 4px;
}

.chat-message.user .message-content {
    border-bottom-right-radius: 4px;
}

.chat-message.assistant .message-content p {
    color: #212529;
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
}

.chat-message.user .message-content p {
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
}

.message-time {
    font-size: 10px;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 4px;
    display: block;
}

.chat-message.user .message-time {
    color: rgba(255, 255, 255, 0.7);
}

/* Clickable links in chat messages */
.chat-link {
    color: #5B5FEF;
    text-decoration: underline;
    word-break: break-word;
    transition: color 0.2s ease;
}

.chat-link:hover {
    color: #4a4ed8;
    text-decoration: underline;
}

.chat-message.user .chat-link {
    color: #ffffff;
    text-decoration: underline;
}

.chat-message.user .chat-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Embedded content in chat (maps, images) */
.message-content iframe {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
    border: none;
}

.message-content .bella-location-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message-content .location-address {
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.message-content .location-hours {
    font-size: 13px;
    color: #495057;
    margin-bottom: 10px;
}

.message-content .location-hours strong {
    display: block;
    margin-bottom: 4px;
    color: #212529;
}

.message-content .location-map {
    border-radius: 8px;
    overflow: hidden;
}

.message-content .location-map iframe {
    margin: 0;
    display: block;
}

.message-content .directions-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #5B5FEF;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin-top: 10px;
    transition: background 0.2s ease;
}

.message-content .directions-link:hover {
    background: #4a4ed8;
    color: #fff;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

.chat-input-container {
    padding: 16px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.chat-form {
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 24px;
    padding: 12px 20px;
    color: #212529;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.chat-input:focus {
    border-color: #5B5FEF;
}

.chat-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.chat-send {
    width: 44px;
    height: 44px;
    border: none;
    background: linear-gradient(135deg, #5B5FEF 0%, #00FFA3 100%);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-send:hover {
    transform: scale(1.05);
}

.chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.chat-send svg {
    width: 20px;
    height: 20px;
    color: white;
}

.chat-footer {
    text-align: center;
    margin-top: 12px;
}

.chat-human-btn {
    background: none;
    border: none;
    color: rgba(0, 0, 0, 0.5);
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.chat-human-btn:hover {
    color: #5B5FEF;
}

/* Mobile Full-Screen Chat Overlay */
@media (max-width: 768px) {
    /* Full-screen overlay for mobile */
    .chat-container {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100dvh !important;
        height: 100vh !important; /* Fallback for older browsers */
        max-width: none !important;
        max-height: none !important;
        border-radius: 0 !important;
        z-index: 10001 !important;
        display: flex;
        flex-direction: column;
    }
    
    /* Ensure chat container uses dynamic viewport height */
    @supports (height: 100dvh) {
        .chat-container {
            height: 100dvh !important;
        }
    }
    
    .chat-widget {
        bottom: 16px;
        right: 16px;
    }
    
    .chat-toggle {
        width: 56px;
        height: 56px;
    }
    
    /* Mobile header with safe area padding */
    .chat-header {
        padding: 12px 16px;
        padding-top: calc(12px + env(safe-area-inset-top, 0px));
        flex-shrink: 0;
    }
    
    .chat-header-text h4 {
        font-size: 18px;
    }
    
    /* Make action buttons larger for touch */
    .chat-action-btn {
        width: 40px;
        height: 40px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .chat-action-btn svg {
        width: 20px;
        height: 20px;
    }
    
    /* Messages area - flexible and scrollable */
    .chat-messages {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 16px;
        overscroll-behavior: contain;
    }
    
    /* Input container - keyboard safe */
    .chat-input-container {
        flex-shrink: 0;
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        background: #f8f9fa;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    /* Input field sizing for touch */
    .chat-input {
        min-height: 44px;
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 10px 16px;
    }
    
    /* Send button sizing for touch */
    .chat-send {
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
    }
    
    /* Human button larger for touch */
    .chat-human-btn {
        font-size: 14px;
        padding: 8px 16px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Quick action buttons larger for touch */
    .quick-action {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Body scroll lock when chat is open on mobile */
body.chat-open-mobile {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Dark mode mobile adjustments */
@media (max-width: 768px) {
    [data-bs-theme="dark"] .chat-input-container {
        background: #161821;
        border-top-color: rgba(255, 255, 255, 0.1);
    }
}

/* Mobile Product Picker & Pricing Card Containment */
.message-content {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Product picker mobile containment */
.jumpy-product-picker {
    max-width: 100% !important;
    overflow: hidden;
    box-sizing: border-box;
}

.product-picker-carousel {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

/* Pricing card mobile containment */
.jumpy-order-card {
    max-width: 100% !important;
    overflow: hidden;
    box-sizing: border-box;
}

.jumpy-order-card .order-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 420px) {
    /* Smaller product picker items on mobile */
    .product-picker-item {
        width: 90px !important;
        min-width: 90px !important;
        flex: 0 0 90px !important;
        padding: 6px !important;
        margin-right: 8px !important;
    }
    
    .product-picker-item img {
        width: 75px !important;
        height: 60px !important;
    }
    
    .product-picker-item div {
        font-size: 10px !important;
    }
    
    /* Category select mobile */
    .jumpy-category-select {
        padding: 6px 10px !important;
        font-size: 13px !important;
    }
    
    /* Pricing card - stack columns vertically on narrow screens */
    .jumpy-order-card .order-body > div {
        flex-direction: column !important;
    }
    
    .jumpy-order-card .order-body > div > div {
        min-width: 100% !important;
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #eee;
    }
    
    .jumpy-order-card .order-body > div > div:last-child {
        border-bottom: none;
    }
    
    /* Pricing table mobile */
    .jumpy-order-card .pricing-table {
        font-size: 12px !important;
    }
    
    .jumpy-order-card .pricing-table td {
        padding: 6px 4px !important;
    }
    
    .jumpy-order-card h4 {
        font-size: 14px !important;
    }
    
    /* Order header mobile */
    .jumpy-order-card .order-header {
        padding: 10px 12px !important;
    }
    
    .jumpy-order-card .order-header .order-number {
        font-size: 14px !important;
    }
}

[data-bs-theme="dark"] .chat-container {
    background: #1a1d2e;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .chat-header {
    background: linear-gradient(135deg, #161821 0%, #1f2335 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .chat-header-text h4 {
    color: white;
}

[data-bs-theme="dark"] .chat-status {
    color: #00FFA3;
}

[data-bs-theme="dark"] .chat-status::before {
    background: #00FFA3;
}

[data-bs-theme="dark"] .chat-action-btn {
    background: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .chat-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

[data-bs-theme="dark"] .chat-action-btn svg {
    color: rgba(255, 255, 255, 0.7);
}

[data-bs-theme="dark"] .chat-welcome p {
    color: rgba(255, 255, 255, 0.8);
}

[data-bs-theme="dark"] .chat-message.assistant .message-content {
    background: #252838;
}

[data-bs-theme="dark"] .chat-message.assistant .message-content p {
    color: rgba(255, 255, 255, 0.9);
}

[data-bs-theme="dark"] .chat-message.user .message-content p {
    color: #ffffff;
}

[data-bs-theme="dark"] .message-time {
    color: rgba(255, 255, 255, 0.4);
}

[data-bs-theme="dark"] .chat-message.user .message-time {
    color: rgba(255, 255, 255, 0.7);
}

[data-bs-theme="dark"] .chat-link {
    color: #7C7FFF;
}

[data-bs-theme="dark"] .chat-link:hover {
    color: #9B9EFF;
}

[data-bs-theme="dark"] .message-avatar {
    background: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .typing-dots span {
    background: rgba(255, 255, 255, 0.5);
}

[data-bs-theme="dark"] .quick-action {
    background: rgba(91, 95, 239, 0.2);
    border-color: rgba(91, 95, 239, 0.3);
}

[data-bs-theme="dark"] .quick-action:hover {
    background: rgba(91, 95, 239, 0.3);
}

[data-bs-theme="dark"] .chat-input-container {
    background: #161821;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .chat-input {
    background: #252838;
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

[data-bs-theme="dark"] .chat-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

[data-bs-theme="dark"] .chat-human-btn {
    color: rgba(255, 255, 255, 0.5);
}

[data-bs-theme="dark"] .chat-human-btn:hover {
    color: #00FFA3;
}

/* Product Picker Dark Mode */
[data-bs-theme="dark"] .jumpy-product-picker {
    background: transparent;
}

[data-bs-theme="dark"] .jumpy-product-picker label {
    color: rgba(255, 255, 255, 0.7) !important;
}

[data-bs-theme="dark"] .jumpy-category-select {
    background: #252838 !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

[data-bs-theme="dark"] .jumpy-category-select option {
    background: #252838;
    color: #fff;
}

[data-bs-theme="dark"] .product-picker-item {
    background: #252838 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .product-picker-item:hover {
    border-color: #667eea !important;
    background: #2a2f45 !important;
}

[data-bs-theme="dark"] .product-picker-item div {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-bs-theme="dark"] .product-picker-carousel::-webkit-scrollbar-thumb {
    background: #555 !important;
}

/* Pricing Card Dark Mode */
[data-bs-theme="dark"] .jumpy-order-card {
    background: #252838 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .jumpy-order-card .order-body {
    background: #252838 !important;
}

[data-bs-theme="dark"] .jumpy-order-card .order-body > div > div {
    background: #252838 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .jumpy-order-card h4,
[data-bs-theme="dark"] .jumpy-order-card td,
[data-bs-theme="dark"] .jumpy-order-card span {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-bs-theme="dark"] .jumpy-order-card .pricing-table td {
    color: rgba(255, 255, 255, 0.85) !important;
}

[data-bs-theme="dark"] .jumpy-order-card div[style*="background: #f0f4ff"],
[data-bs-theme="dark"] .jumpy-order-card div[style*="background: #f8fff8"] {
    background: rgba(40, 167, 69, 0.15) !important;
}

/* Payment Card Styles */
.bella-payment-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 16px;
    margin: 10px 0;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.payment-header {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.payment-amount {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.payment-amount strong {
    color: #2d3436;
    font-size: 18px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-button {
    display: block !important;
    padding: 14px 20px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-align: center !important;
    transition: all 0.2s ease;
    cursor: pointer !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    line-height: 1.4;
}

.payment-same-card {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%) !important;
    color: white !important;
}

.payment-same-card:hover {
    background: linear-gradient(135deg, #00a884 0%, #00beb9 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
    color: white;
    text-decoration: none;
}

.payment-new-card {
    background: linear-gradient(135deg, #5B5FEF 0%, #7c7fff 100%) !important;
    color: white !important;
}

.payment-new-card:hover {
    background: linear-gradient(135deg, #4B4FDF 0%, #6c6fef 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91, 95, 239, 0.3);
    color: white;
    text-decoration: none;
}

/* Dark mode payment card */
[data-bs-theme="dark"] .bella-payment-card {
    background: linear-gradient(135deg, #1e2030 0%, #252838 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .payment-header {
    color: #fff;
}

[data-bs-theme="dark"] .payment-amount {
    color: rgba(255, 255, 255, 0.7);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .payment-amount strong {
    color: #fff;
}

/* Call Card Styles for Talk to Human */
.bella-call-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 16px;
    margin: 10px 0;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.call-header {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.call-message {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.call-button {
    display: inline-block !important;
    padding: 14px 28px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-align: center !important;
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
    transition: all 0.2s ease;
    cursor: pointer !important;
}

.call-button:hover {
    background: linear-gradient(135deg, #00a884 0%, #00beb9 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 184, 148, 0.4);
    color: white !important;
    text-decoration: none !important;
}

.call-hours {
    font-size: 12px;
    color: #888;
    margin-top: 12px;
}

/* Dark mode call card */
[data-bs-theme="dark"] .bella-call-card {
    background: linear-gradient(135deg, #1e2030 0%, #252838 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .call-header {
    color: #fff;
}

[data-bs-theme="dark"] .call-message {
    color: rgba(255, 255, 255, 0.7);
}

[data-bs-theme="dark"] .call-hours {
    color: rgba(255, 255, 255, 0.5);
}

/* Product cards in chat */
.bella-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 12px 0;
    border: 1px solid #e9ecef;
}

.bella-product-card .product-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.bella-product-card .product-info {
    padding: 12px;
}

.bella-product-card .product-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
}

.bella-product-card .product-price {
    font-size: 16px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 6px;
}

.bella-product-card .product-description {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
    max-height: 36px;
    overflow: hidden;
}

.bella-product-card .book-now-btn {
    display: block !important;
    width: 100% !important;
    padding: 10px 16px !important;
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%) !important;
    color: white !important;
    text-align: center !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: all 0.2s ease;
    border: none !important;
    box-shadow: 0 2px 8px rgba(232, 67, 147, 0.3);
}

.bella-product-card .book-now-btn:hover {
    background: linear-gradient(135deg, #e84393 0%, #d63384 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 67, 147, 0.4);
    text-decoration: none !important;
    color: white !important;
}

/* Dark mode product cards */
[data-bs-theme="dark"] .bella-product-card {
    background: linear-gradient(135deg, #1e2030 0%, #252838 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .bella-product-card .product-name {
    color: #fff;
}

[data-bs-theme="dark"] .bella-product-card .product-description {
    color: rgba(255, 255, 255, 0.7);
}

/* =================================
   JUMPY MASCOT LAUNCHER STYLES
   ================================= */

/* Jumpy Mascot Launcher Button */
.jumpy-launcher {
    width: 85px;
    height: 85px;
    padding: 0;
    background: #ffffff;
    border: 3px solid #1976D2;
    overflow: hidden;
}

.jumpy-launcher:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(25, 118, 210, 0.4);
}

.jumpy-launcher.active {
    background: #ffffff;
    border-color: #1976D2;
}

.jumpy-mascot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Speech Bubble */
.jumpy-speech-bubble {
    position: absolute;
    bottom: 100px;
    right: 0;
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    max-width: 280px;
    animation: bubbleSlide 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.jumpy-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #ffffff;
}

@keyframes bubbleSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bubble-close {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 24px;
    height: 24px;
    background: #1976D2;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.bubble-close:hover {
    background: #1565C0;
    transform: scale(1.1);
}

.bubble-content strong {
    color: #1976D2;
    font-size: 17px;
    display: block;
    margin-bottom: 5px;
}

.bubble-content p {
    color: #1976D2;
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

/* Jumpy Avatar in Header */
.jumpy-avatar {
    width: 44px;
    height: 44px;
    padding: 0;
    background: #ffffff;
    border: 2px solid #1976D2;
    overflow: hidden;
}

.jumpy-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Jumpy Message Avatar */
.jumpy-msg-avatar {
    width: 36px;
    height: 36px;
    padding: 2px;
    background: #ffffff;
    border: 2px solid #1976D2;
    overflow: hidden;
}

.msg-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Jumpy Welcome Screen - Crocobeach Style */
.jumpy-welcome {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
}

.welcome-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border: 2px solid #1976D2;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    flex-shrink: 0;
}

.welcome-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-card {
    background: #f5f5f5;
    border-radius: 16px;
    border-top-left-radius: 4px;
    padding: 14px 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    flex: 1;
    max-width: calc(100% - 50px);
}

.welcome-text {
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.5;
    font-size: 14px;
}

.welcome-text strong {
    color: #1976D2;
}

/* Jumpy Quick Action Buttons */
.jumpy-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.jumpy-quick-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 10px 18px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    font-family: inherit;
}

.jumpy-quick-btn:hover {
    background: #f8f9fa;
    border-color: #1976D2;
    box-shadow: 0 3px 10px rgba(25, 118, 210, 0.12);
    transform: translateY(-1px);
    text-decoration: none;
}

.jumpy-quick-btn .btn-emoji {
    font-size: 18px;
    line-height: 1;
}

.jumpy-quick-btn .btn-text {
    font-size: 13px;
    font-weight: 600;
    color: #1976D2;
}

/* Mobile adjustments for Jumpy */
@media (max-width: 768px) {
    .jumpy-launcher {
        width: 75px;
        height: 75px;
    }
    
    .jumpy-speech-bubble {
        right: 0;
        bottom: 90px;
        min-width: 200px;
        max-width: 250px;
        padding: 14px 18px;
    }
    
    .welcome-avatar {
        width: 35px;
        height: 35px;
        min-width: 35px;
    }
    
    .welcome-card {
        padding: 12px 14px;
    }
    
    .welcome-text {
        font-size: 13px;
    }
    
    .jumpy-quick-btn {
        padding: 8px 14px;
    }
    
    .jumpy-quick-btn .btn-text {
        font-size: 12px;
    }
    
    .jumpy-quick-btn .btn-emoji {
        font-size: 16px;
    }
}

/* Dark mode Jumpy adjustments */
[data-bs-theme="dark"] .jumpy-launcher {
    background: #252838;
    border-color: #5B9FFF;
}

[data-bs-theme="dark"] .jumpy-speech-bubble {
    background: #252838;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .jumpy-speech-bubble::after {
    border-top-color: #252838;
}

[data-bs-theme="dark"] .bubble-content strong,
[data-bs-theme="dark"] .bubble-content p {
    color: #5B9FFF;
}

[data-bs-theme="dark"] .jumpy-avatar,
[data-bs-theme="dark"] .welcome-avatar {
    background: #252838;
    border-color: #5B9FFF;
}

[data-bs-theme="dark"] .jumpy-msg-avatar {
    background: #252838;
    border-color: #5B9FFF;
}

[data-bs-theme="dark"] .welcome-card {
    background: #1e2030;
}

[data-bs-theme="dark"] .welcome-text {
    color: rgba(255, 255, 255, 0.9);
}

[data-bs-theme="dark"] .welcome-text strong {
    color: #5B9FFF;
}

[data-bs-theme="dark"] .jumpy-quick-btn {
    background: #1e2030;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .jumpy-quick-btn:hover {
    background: #252838;
    border-color: #5B9FFF;
}

[data-bs-theme="dark"] .jumpy-quick-btn .btn-text {
    color: #5B9FFF;
}

/* FAQ Subcategory Chips - displayed inside chat messages */
.jumpy-faq-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding: 0;
}

.jumpy-faq-chips-small {
    margin-top: 16px;
}

.jumpy-faq-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-family: inherit;
}

.jumpy-faq-chip:hover {
    background: #f0f7ff;
    border-color: #1976D2;
    box-shadow: 0 2px 6px rgba(25, 118, 210, 0.15);
    transform: translateY(-1px);
}

.jumpy-faq-chip .chip-emoji {
    font-size: 14px;
    line-height: 1;
}

.jumpy-faq-chip .chip-text {
    color: #333;
    white-space: nowrap;
}

.jumpy-faq-chip:hover .chip-text {
    color: #1976D2;
}

/* Smaller chips for related topics */
.jumpy-faq-chips-small .jumpy-faq-chip {
    padding: 4px 10px;
    font-size: 11px;
}

.jumpy-faq-chips-small .chip-emoji {
    font-size: 12px;
}

/* Back to main menu button */
.jumpy-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 1px dashed #aaa;
    border-radius: 16px;
    padding: 4px 10px;
    font-size: 11px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 12px;
    font-family: inherit;
}

.jumpy-back-btn:hover {
    border-color: #1976D2;
    color: #1976D2;
    background: rgba(25, 118, 210, 0.05);
}

/* Dark mode for FAQ chips */
[data-bs-theme="dark"] .jumpy-faq-chip {
    background: #1e2030;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .jumpy-faq-chip:hover {
    background: #252838;
    border-color: #5B9FFF;
}

[data-bs-theme="dark"] .jumpy-faq-chip .chip-text {
    color: rgba(255, 255, 255, 0.9);
}

[data-bs-theme="dark"] .jumpy-faq-chip:hover .chip-text {
    color: #5B9FFF;
}

[data-bs-theme="dark"] .jumpy-back-btn {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

[data-bs-theme="dark"] .jumpy-back-btn:hover {
    border-color: #5B9FFF;
    color: #5B9FFF;
}

/* Restart Chat Button */
.jumpy-restart-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    padding: 5px 10px;
    font-size: 11px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    font-family: inherit;
}

.jumpy-restart-btn:hover {
    border-color: #1976D2;
    color: #1976D2;
    background: rgba(25, 118, 210, 0.05);
}

.jumpy-restart-btn .restart-icon {
    font-size: 12px;
    line-height: 1;
}

.jumpy-restart-btn .restart-text {
    font-weight: 500;
}

/* Dark mode restart button */
[data-bs-theme="dark"] .jumpy-restart-btn {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
}

[data-bs-theme="dark"] .jumpy-restart-btn:hover {
    border-color: #5B9FFF;
    color: #5B9FFF;
    background: rgba(91, 159, 255, 0.1);
}

/* Verification Form Styles */
.jumpy-verification-form {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 16px;
    margin-top: 10px;
}

.jumpy-verification-form .form-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jumpy-verification-form .form-title .icon {
    font-size: 16px;
}

.jumpy-verification-form .form-group {
    margin-bottom: 12px;
}

.jumpy-verification-form .form-group:last-of-type {
    margin-bottom: 0;
}

.jumpy-verification-form label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 4px;
}

.jumpy-verification-form label .required {
    color: #e53e3e;
}

.jumpy-verification-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a2e;
    background: white;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.jumpy-verification-form input:focus {
    outline: none;
    border-color: #5B5FEF;
    box-shadow: 0 0 0 3px rgba(91, 95, 239, 0.15);
}

.jumpy-verification-form input::placeholder {
    color: #9ca3af;
}

.jumpy-verification-form .form-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    color: #6b7280;
    font-size: 12px;
}

.jumpy-verification-form .form-divider::before,
.jumpy-verification-form .form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d1d5db;
}

.jumpy-verify-btn {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #5B5FEF 0%, #00FFA3 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.jumpy-verify-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(91, 95, 239, 0.35);
}

.jumpy-verify-btn:active {
    transform: translateY(0);
}

.jumpy-verification-form .form-note {
    font-size: 11px;
    color: #6b7280;
    margin-top: 10px;
    text-align: center;
}

/* Dark mode verification form */
[data-bs-theme="dark"] .jumpy-verification-form {
    background: linear-gradient(135deg, #1e2030 0%, #252838 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .jumpy-verification-form .form-title {
    color: rgba(255, 255, 255, 0.9);
}

[data-bs-theme="dark"] .jumpy-verification-form label {
    color: rgba(255, 255, 255, 0.7);
}

[data-bs-theme="dark"] .jumpy-verification-form input {
    background: #1a1d2e;
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

[data-bs-theme="dark"] .jumpy-verification-form input:focus {
    border-color: #5B9FFF;
    box-shadow: 0 0 0 3px rgba(91, 159, 255, 0.2);
}

[data-bs-theme="dark"] .jumpy-verification-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

[data-bs-theme="dark"] .jumpy-verification-form .form-divider {
    color: rgba(255, 255, 255, 0.5);
}

[data-bs-theme="dark"] .jumpy-verification-form .form-divider::before,
[data-bs-theme="dark"] .jumpy-verification-form .form-divider::after {
    background: rgba(255, 255, 255, 0.15);
}

[data-bs-theme="dark"] .jumpy-verification-form .form-note {
    color: rgba(255, 255, 255, 0.5);
}

/* =================================
   JUMPY ORDER SUMMARY CARD
   ================================= */

.jumpy-order-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 16px;
    margin-top: 10px;
    font-size: 13px;
}

.jumpy-order-card .order-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e7ff;
}

.jumpy-order-card .order-icon {
    font-size: 24px;
}

.jumpy-order-card .order-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.jumpy-order-card .order-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: auto;
}

.jumpy-order-card .order-status.status-pending {
    background: #fff3cd;
    color: #856404;
}

.jumpy-order-card .order-status.status-processed {
    background: #d4edda;
    color: #155724;
}

.jumpy-order-card .order-status.status-confirmed {
    background: #cce5ff;
    color: #004085;
}

.jumpy-order-card .order-status.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.jumpy-order-card .order-section {
    margin-bottom: 14px;
}

.jumpy-order-card .order-section:last-child {
    margin-bottom: 0;
}

.jumpy-order-card .section-title {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.jumpy-order-card .info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.jumpy-order-card .info-label {
    color: #4a5568;
    flex-shrink: 0;
}

.jumpy-order-card .info-value {
    color: #1a1a2e;
    font-weight: 500;
    text-align: right;
}

.jumpy-order-card .items-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jumpy-order-card .items-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #e0e7ff;
}

.jumpy-order-card .items-list li:last-child {
    border-bottom: none;
}

.jumpy-order-card .item-name {
    color: #1a1a2e;
}

.jumpy-order-card .item-price {
    color: #4a5568;
    font-weight: 500;
}

/* Pricing Table */
.jumpy-order-card .pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.jumpy-order-card .pricing-table tr {
    border-bottom: 1px solid #e0e7ff;
}

.jumpy-order-card .pricing-table tr:last-child {
    border-bottom: none;
}

.jumpy-order-card .pricing-table td {
    padding: 8px 0;
}

.jumpy-order-card .pricing-table td:first-child {
    color: #4a5568;
}

.jumpy-order-card .pricing-table td:last-child {
    text-align: right;
    color: #1a1a2e;
    font-weight: 500;
}

.jumpy-order-card .pricing-table .total-row {
    border-top: 2px solid #6366f1;
    background: rgba(99, 102, 241, 0.05);
}

.jumpy-order-card .pricing-table .total-row td {
    font-weight: 700;
    font-size: 14px;
    padding-top: 10px;
}

.jumpy-order-card .pricing-table .total-row td:last-child {
    color: #6366f1;
}

.jumpy-order-card .pricing-table .paid-row td {
    color: #10b981;
}

.jumpy-order-card .pricing-table .paid-row td:last-child {
    font-weight: 600;
}

.jumpy-order-card .pricing-table .balance-row {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 6px;
}

.jumpy-order-card .pricing-table .balance-row td {
    font-weight: 700;
    font-size: 14px;
    color: #92400e;
    padding: 10px 8px;
}

.jumpy-order-card .pricing-table .balance-row.paid-full {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.jumpy-order-card .pricing-table .balance-row.paid-full td {
    color: #047857;
}

/* Dark mode order card */
[data-bs-theme="dark"] .jumpy-order-card {
    background: linear-gradient(135deg, #1e2030 0%, #252838 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .jumpy-order-card .order-header {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .jumpy-order-card .order-title {
    color: rgba(255, 255, 255, 0.95);
}

[data-bs-theme="dark"] .jumpy-order-card .section-title {
    color: rgba(255, 255, 255, 0.5);
}

[data-bs-theme="dark"] .jumpy-order-card .info-label {
    color: rgba(255, 255, 255, 0.6);
}

[data-bs-theme="dark"] .jumpy-order-card .info-value {
    color: rgba(255, 255, 255, 0.9);
}

[data-bs-theme="dark"] .jumpy-order-card .item-name {
    color: rgba(255, 255, 255, 0.9);
}

[data-bs-theme="dark"] .jumpy-order-card .item-price {
    color: rgba(255, 255, 255, 0.7);
}

[data-bs-theme="dark"] .jumpy-order-card .items-list li {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .jumpy-order-card .pricing-table tr {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .jumpy-order-card .pricing-table td:first-child {
    color: rgba(255, 255, 255, 0.6);
}

[data-bs-theme="dark"] .jumpy-order-card .pricing-table td:last-child {
    color: rgba(255, 255, 255, 0.9);
}

[data-bs-theme="dark"] .jumpy-order-card .pricing-table .total-row {
    background: rgba(99, 102, 241, 0.15);
    border-top-color: #6366f1;
}

[data-bs-theme="dark"] .jumpy-order-card .pricing-table .total-row td:last-child {
    color: #818cf8;
}

[data-bs-theme="dark"] .jumpy-order-card .pricing-table .paid-row td {
    color: #34d399;
}

[data-bs-theme="dark"] .jumpy-order-card .pricing-table .balance-row {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
}

[data-bs-theme="dark"] .jumpy-order-card .pricing-table .balance-row td {
    color: #fbbf24;
}

[data-bs-theme="dark"] .jumpy-order-card .pricing-table .balance-row.paid-full {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
}

[data-bs-theme="dark"] .jumpy-order-card .pricing-table .balance-row.paid-full td {
    color: #34d399;
}

/* ========================================
   ORDER ACTION CARDS
   ======================================== */

.jumpy-order-actions {
    margin-top: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 1px solid #e0e7ff;
    border-radius: 12px;
}

.order-actions-title {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.order-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e0e7ff;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    min-width: 0;
}

.order-action-btn:hover {
    background: #f0f4ff;
    border-color: #818cf8;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(99, 102, 241, 0.15);
}

.order-action-btn .action-emoji {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.order-action-btn .action-text {
    font-size: 11px;
    font-weight: 600;
    color: #4a5568;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.order-action-btn:hover .action-text {
    color: #6366f1;
}

@media (max-width: 480px) {
    .order-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .order-action-btn {
        padding: 12px;
    }
}

[data-bs-theme="dark"] .jumpy-order-actions {
    background: linear-gradient(135deg, #1e2030 0%, #252838 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

[data-bs-theme="dark"] .order-actions-title {
    color: rgba(255, 255, 255, 0.8);
}

[data-bs-theme="dark"] .order-action-btn {
    background: #2d3142;
    border-color: rgba(99, 102, 241, 0.3);
}

[data-bs-theme="dark"] .order-action-btn:hover {
    background: #3d4254;
    border-color: #818cf8;
}

[data-bs-theme="dark"] .order-action-btn .action-text {
    color: rgba(255, 255, 255, 0.9);
}

[data-bs-theme="dark"] .order-action-btn:hover .action-text {
    color: #a5b4fc;
}

/* ========================================
   JUMPY BOOKING FORM STYLES
   ======================================== */

.jumpy-booking-form {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    padding: 0;
    margin-top: 10px;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.jumpy-booking-form .form-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 16px;
    color: white;
}

.jumpy-booking-form .form-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jumpy-booking-form .form-title .icon {
    font-size: 18px;
}

.jumpy-booking-form .form-product-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
}

.jumpy-booking-form .form-product-summary strong {
    color: white;
}

.jumpy-booking-form .service-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.jumpy-booking-form .form-price-summary {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.jumpy-booking-form .form-price-summary strong {
    font-size: 18px;
}

.jumpy-booking-form .deposit-note {
    background: rgba(0, 255, 163, 0.3);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.jumpy-booking-form .form-section {
    padding: 12px;
    border-bottom: 1px solid #e0e7ff;
    overflow: hidden;
}

.jumpy-booking-form .form-section:last-of-type {
    border-bottom: none;
}

.jumpy-booking-form .section-title {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 12px;
}

.jumpy-booking-form .form-group {
    margin-bottom: 12px;
}

.jumpy-booking-form .form-group:last-child {
    margin-bottom: 0;
}

.jumpy-booking-form .form-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.jumpy-booking-form .form-group.half {
    flex: 1 1 calc(50% - 4px);
    min-width: 100px;
}

.jumpy-booking-form label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 4px;
}

.jumpy-booking-form label .required {
    color: #e53e3e;
}

.jumpy-booking-form input,
.jumpy-booking-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    color: #1a1a2e;
    background: white;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
    max-width: 100%;
}

.jumpy-booking-form textarea {
    resize: vertical;
    min-height: 60px;
}

.jumpy-booking-form input:focus,
.jumpy-booking-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.jumpy-booking-form input::placeholder,
.jumpy-booking-form textarea::placeholder {
    color: #9ca3af;
}

.jumpy-booking-form .form-footer {
    padding: 16px;
    background: #f0f4ff;
}

.jumpy-booking-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.jumpy-booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.jumpy-booking-btn:active {
    transform: translateY(0);
}

.jumpy-booking-btn .btn-icon {
    font-size: 18px;
}

.jumpy-booking-form .form-note {
    font-size: 11px;
    color: #6b7280;
    margin-top: 10px;
    text-align: center;
    line-height: 1.5;
}

.jumpy-booking-form .form-secure {
    font-size: 11px;
    color: #059669;
    margin-top: 6px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Mobile responsive booking form */
@media (max-width: 420px) {
    .jumpy-booking-form .form-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .jumpy-booking-form .form-group.half {
        width: 100%;
    }
    
    .jumpy-booking-form .form-price-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* Dark mode booking form */
[data-bs-theme="dark"] .jumpy-booking-form {
    background: linear-gradient(135deg, #1e2030 0%, #252838 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .jumpy-booking-form .form-section {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .jumpy-booking-form .section-title {
    color: rgba(255, 255, 255, 0.7);
}

[data-bs-theme="dark"] .jumpy-booking-form label {
    color: rgba(255, 255, 255, 0.7);
}

[data-bs-theme="dark"] .jumpy-booking-form input,
[data-bs-theme="dark"] .jumpy-booking-form textarea {
    background: #1a1d2e;
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

[data-bs-theme="dark"] .jumpy-booking-form input:focus,
[data-bs-theme="dark"] .jumpy-booking-form textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

[data-bs-theme="dark"] .jumpy-booking-form input::placeholder,
[data-bs-theme="dark"] .jumpy-booking-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

[data-bs-theme="dark"] .jumpy-booking-form .form-footer {
    background: rgba(102, 126, 234, 0.1);
}

[data-bs-theme="dark"] .jumpy-booking-form .form-note {
    color: rgba(255, 255, 255, 0.6);
}

[data-bs-theme="dark"] .jumpy-booking-form .form-secure {
    color: #34d399;
}

/* Order Confirmation Card Styles */
.jumpy-order-confirmation {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    margin-top: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.jumpy-order-confirmation .confirmation-header {
    background: #fafafa;
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.jumpy-order-confirmation .confirmation-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jumpy-order-confirmation .order-icon {
    font-size: 24px;
}

.jumpy-order-confirmation .order-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.jumpy-order-confirmation .order-status {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    margin-left: auto;
}

.jumpy-order-confirmation .order-status.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.jumpy-order-confirmation .order-status.status-confirmed {
    background: #d1fae5;
    color: #065f46;
}

.jumpy-order-confirmation .order-status.status-completed {
    background: #dbeafe;
    color: #1e40af;
}

.jumpy-order-confirmation .confirmation-section {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
}

.jumpy-order-confirmation .section-title {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.jumpy-order-confirmation .detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.jumpy-order-confirmation .detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.jumpy-order-confirmation .detail-item.full-width {
    grid-column: 1 / -1;
}

.jumpy-order-confirmation .detail-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.jumpy-order-confirmation .detail-value {
    font-size: 14px;
    color: #1f2937;
    font-weight: 600;
}

.jumpy-order-confirmation .item-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: #1f2937;
}

.jumpy-order-confirmation .pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: #4b5563;
}

.jumpy-order-confirmation .pricing-row.total {
    color: #7c3aed;
    font-weight: 700;
    font-size: 15px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
    margin-top: 6px;
}

.jumpy-order-confirmation .pricing-row.paid {
    color: #10b981;
    font-weight: 600;
}

.jumpy-order-confirmation .pricing-row.balance {
    background: #fef3c7;
    color: #b45309;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 8px;
}

.jumpy-order-confirmation .confirmation-footer {
    padding: 12px 16px;
    background: #f9fafb;
    text-align: center;
}

.jumpy-order-confirmation .confirmation-footer p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

.jumpy-order-confirmation .confirmation-footer strong {
    color: #1f2937;
}

/* Dark mode for order confirmation */
[data-bs-theme="dark"] .jumpy-order-confirmation {
    background: #1f2937;
    border-color: #374151;
}

[data-bs-theme="dark"] .jumpy-order-confirmation .confirmation-header {
    background: #111827;
    border-color: #374151;
}

[data-bs-theme="dark"] .jumpy-order-confirmation .order-title {
    color: #f9fafb;
}

[data-bs-theme="dark"] .jumpy-order-confirmation .confirmation-section {
    border-color: #374151;
}

[data-bs-theme="dark"] .jumpy-order-confirmation .section-title {
    color: #9ca3af;
}

[data-bs-theme="dark"] .jumpy-order-confirmation .detail-label {
    color: #6b7280;
}

[data-bs-theme="dark"] .jumpy-order-confirmation .detail-value,
[data-bs-theme="dark"] .jumpy-order-confirmation .item-row {
    color: #f3f4f6;
}

[data-bs-theme="dark"] .jumpy-order-confirmation .pricing-row {
    color: #d1d5db;
}

[data-bs-theme="dark"] .jumpy-order-confirmation .pricing-row.total {
    border-color: #374151;
    color: #a78bfa;
}

[data-bs-theme="dark"] .jumpy-order-confirmation .pricing-row.balance {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

[data-bs-theme="dark"] .jumpy-order-confirmation .confirmation-footer {
    background: #111827;
}

[data-bs-theme="dark"] .jumpy-order-confirmation .confirmation-footer p {
    color: #9ca3af;
}

[data-bs-theme="dark"] .jumpy-order-confirmation .confirmation-footer strong {
    color: #f3f4f6;
}

/* ========================================
   Jumpy Quote Card Styles
   ======================================== */
.jumpy-quote-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.jumpy-quote-card .quote-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.jumpy-quote-card .quote-product {
    font-weight: 700;
    font-size: 16px;
    color: white;
}

.jumpy-quote-card .quote-label {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

.jumpy-quote-card .quote-columns {
    display: flex;
    flex-wrap: wrap;
}

.jumpy-quote-card .quote-column {
    flex: 1;
    min-width: 140px;
    padding: 14px;
}

.jumpy-quote-card .delivery-col {
    border-right: 1px solid #eee;
}

.jumpy-quote-card .pickup-col {
    background: #f8fff8;
}

.jumpy-quote-card .column-header {
    text-align: center;
    margin-bottom: 12px;
}

.jumpy-quote-card .column-header .service-icon {
    font-size: 22px;
    display: block;
}

.jumpy-quote-card .column-header h4 {
    margin: 4px 0;
    font-size: 15px;
    color: #333;
}

.jumpy-quote-card .column-header .rental-period {
    font-size: 11px;
    color: #666;
}

.jumpy-quote-card .pricing-table {
    width: 100%;
    font-size: 13px;
}

.jumpy-quote-card .pricing-table td {
    padding: 5px 0;
}

.jumpy-quote-card .pricing-table .text-end {
    text-align: right;
}

.jumpy-quote-card .pricing-table .total-row {
    font-weight: bold;
    border-top: 2px solid #333;
}

.jumpy-quote-card .pricing-table .discount-row {
    color: #28a745;
}

.jumpy-quote-card .deposit-badge {
    text-align: center;
    margin-top: 10px;
    padding: 8px;
    background: #f0f4ff;
    border-radius: 6px;
    font-size: 12px;
}

.jumpy-quote-card .deposit-badge.pickup {
    background: #d4edda;
}

.jumpy-quote-card .deposit-badge .deposit-label {
    color: #666;
}

.jumpy-quote-card .deposit-badge .deposit-amount {
    font-weight: bold;
    color: #333;
}

.jumpy-quote-card .savings-banner {
    background: linear-gradient(90deg, #28a745, #20c997);
    color: white;
    padding: 12px;
    text-align: center;
    font-size: 13px;
}

/* Dark mode for quote card */
[data-bs-theme="dark"] .jumpy-quote-card {
    background: #1f2937;
    border-color: #374151;
}

[data-bs-theme="dark"] .jumpy-quote-card .quote-column {
    background: transparent;
}

[data-bs-theme="dark"] .jumpy-quote-card .delivery-col {
    border-color: #374151;
}

[data-bs-theme="dark"] .jumpy-quote-card .pickup-col {
    background: rgba(34, 197, 94, 0.1);
}

[data-bs-theme="dark"] .jumpy-quote-card .column-header h4 {
    color: #f3f4f6;
}

[data-bs-theme="dark"] .jumpy-quote-card .column-header .rental-period {
    color: #9ca3af;
}

[data-bs-theme="dark"] .jumpy-quote-card .pricing-table {
    color: #d1d5db;
}

[data-bs-theme="dark"] .jumpy-quote-card .pricing-table .total-row {
    border-color: #9ca3af;
}

[data-bs-theme="dark"] .jumpy-quote-card .deposit-badge {
    background: rgba(102, 126, 234, 0.2);
}

[data-bs-theme="dark"] .jumpy-quote-card .deposit-badge .deposit-label {
    color: #9ca3af;
}

[data-bs-theme="dark"] .jumpy-quote-card .deposit-badge .deposit-amount {
    color: #f3f4f6;
}

/* Wide message class for forms and cards */
.chat-message--wide {
    max-width: 95% !important;
}

/* ========================================
   Mobile Responsive - Quote & Booking Forms
   ======================================== */
@media (max-width: 768px) {
    /* Wide messages take nearly full width on mobile */
    .chat-message--wide {
        max-width: 98% !important;
    }
    
    /* Quote Card - Stack columns */
    .jumpy-quote-card .quote-columns {
        flex-direction: column;
    }
    
    .jumpy-quote-card .quote-column {
        min-width: 100%;
    }
    
    .jumpy-quote-card .delivery-col {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .jumpy-quote-card .quote-header {
        padding: 12px;
    }
    
    .jumpy-quote-card .quote-product {
        font-size: 14px;
    }
    
    [data-bs-theme="dark"] .jumpy-quote-card .delivery-col {
        border-bottom-color: #374151;
    }
    
    /* Pricing Comparison Card - Stack columns vertically */
    .jumpy-order-card {
        max-width: 100% !important;
    }
    
    .jumpy-order-card .order-body > div[style*="display: flex"] {
        flex-direction: column !important;
    }
    
    .jumpy-order-card .order-body > div > div[style*="flex: 1"] {
        min-width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #eee;
    }
    
    .jumpy-order-card .order-body > div > div[style*="flex: 1"]:last-child {
        border-bottom: none;
    }
    
    /* Booking Form - Mobile adjustments */
    .jumpy-booking-form {
        margin: 5px 0;
    }
    
    .jumpy-booking-form .form-header {
        padding: 12px;
    }
    
    .jumpy-booking-form .form-title {
        font-size: 14px;
    }
    
    .jumpy-booking-form .form-product-summary {
        font-size: 13px;
    }
    
    .jumpy-booking-form .form-price-summary {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .jumpy-booking-form .form-price-summary strong {
        font-size: 16px;
    }
    
    .jumpy-booking-form .form-section {
        padding: 12px;
    }
    
    .jumpy-booking-form .form-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .jumpy-booking-form .form-group.half {
        min-width: 100%;
    }
    
    .jumpy-booking-form input,
    .jumpy-booking-form textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 10px;
    }
    
    .jumpy-booking-form .form-footer {
        padding: 12px;
    }
    
    .jumpy-booking-form .submit-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    /* Order Confirmation Card - Mobile */
    .jumpy-order-confirmation .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .jumpy-order-confirmation .confirmation-header {
        padding: 12px;
    }
    
    .jumpy-order-confirmation .confirmation-section {
        padding: 10px 12px;
    }
    
    /* Pricing tables in chat */
    .pricing-table {
        font-size: 13px;
    }
    
    .pricing-table td {
        padding: 6px 4px;
    }
    
    /* Message content containment */
    .message-content .jumpy-order-card,
    .message-content .jumpy-booking-form,
    .message-content .jumpy-order-confirmation {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
