/* ===================== REDESIGNED CHATBOT WIDGET - 2024 ===================== */

/* Based on best practices from modern chatbot UI design:
   - Clean, minimal interface
   - Proper visual hierarchy
   - Responsive design
   - Accessible and user-friendly
   - Clear separation of elements
*/

/* Chatbot Toggle Button - Bottom Left */
.chatbot-toggle {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    z-index: 999998 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    pointer-events: auto !important;
    animation: pulse 2s infinite;
}

.chatbot-toggle img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(102, 126, 234, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
    cursor: pointer;
}

.chatbot-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* Chatbot Greeting Tooltip */
.chatbot-toggle::after {
    content: "Need help? I'm here! 💬";
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-toggle:hover::after {
    opacity: 1;
    left: 75px;
}

/* Chatbot Container - Centered Overlay */
.chatbot-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90vw;
    max-width: 450px;
    height: 75vh;
    max-height: 650px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    z-index: 999999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-container.active {
    display: flex;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Chatbot Overlay Backdrop */
.chatbot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.chatbot-overlay.active {
    display: block;
    opacity: 1;
}

/* Chatbot Header - Compact */
.chatbot-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.chatbot-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.chatbot-avatar img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.chatbot-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.chatbot-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: 0.95;
    margin-top: 2px;
}

.chatbot-status-dot {
    width: 8px;
    height: 8px;
    background: #27ae60;
    border-radius: 50%;
    animation: blink 2s infinite;
    flex-shrink: 0;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Chatbot Messages Area - Proper Formatting */
.chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f8f9fa;
    min-height: 0;
    /* Remove max-height restriction to allow proper scrolling within flex container */
    /* max-height: calc(75vh - 140px); */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Message Bubbles - Clean Design */
.chatbot-message {
    margin-bottom: 12px;
    display: flex;
    animation: messageIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-message.bot {
    justify-content: flex-start;
}

.chatbot-message.user {
    justify-content: flex-end;
}

.chatbot-message-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
    word-break: break-word;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow-wrap: break-word;
}

.chatbot-message.bot .chatbot-message-bubble {
    background: white;
    color: #1f2937;
    border-bottom-left-radius: 6px;
    border: 1px solid #e5e7eb;
}

.chatbot-message.user .chatbot-message-bubble {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border-bottom-right-radius: 6px;
}

/* Ensure all user message text is white */
.chatbot-message.user .chatbot-message-bubble *,
.chatbot-message.user .chatbot-message-bubble strong,
.chatbot-message.user .chatbot-message-bubble em,
.chatbot-message.user .chatbot-message-bubble span,
.chatbot-message.user .chatbot-message-bubble p,
.chatbot-message.user .chatbot-message-bubble div {
    color: white !important;
}

.chatbot-message-time {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 6px;
    text-align: right;
    padding: 0 4px;
}

.chatbot-message.user .chatbot-message-time {
    color: rgba(255, 255, 255, 0.8);
}

/* Message Formatting - Proper Spacing */
.chatbot-message-bubble strong {
    font-weight: 600;
    color: inherit;
}

.chatbot-message-bubble em {
    font-style: italic;
    opacity: 0.85;
}

.chatbot-message-bubble ul,
.chatbot-message-bubble ol {
    margin: 10px 0;
    padding-left: 20px;
}

.chatbot-message-bubble li {
    margin: 6px 0;
    line-height: 1.4;
    padding: 2px 0;
}

.chatbot-message-bubble p {
    margin: 8px 0;
    line-height: 1.4;
}

.chatbot-message-bubble br {
    display: block;
    margin: 4px 0;
    content: "";
}

.chatbot-message-bubble strong {
    display: inline;
    margin: 0 0 6px 0;
    font-size: 14px;
    color: inherit;
}

.chatbot-message-bubble .choice-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 4px;
    min-width: 28px;
    text-align: center;
    vertical-align: middle;
}

.chatbot-message-bubble br+.choice-number {
    display: inline-block;
    margin-top: 4px;
}

/* Product/Service Cards in Chat */
.chatbot-product-card {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
    border: 1px solid #e5e7eb;
}

.chatbot-product-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    font-size: 14px;
}

.chatbot-product-price {
    color: #059669;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
}

.chatbot-product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.chatbot-product-features li {
    padding: 6px 0;
    font-size: 13px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-product-features li::before {
    content: "✓";
    color: #059669;
    font-weight: bold;
}

/* ==================== TYPING INDICATOR - FIXED ==================== */

/* Typing indicator container - proper styling */
.chatbot-typing {
    display: none;
    align-items: center;
    padding: 10px 14px;
    margin: 8px 0;
    margin-bottom: 16px;
    /* Extra space from bottom */
    background: white;
    border-radius: 16px;
    border-bottom-left-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    max-width: 200px;
    white-space: nowrap;
    /* Ensure typing indicator stays in messages container */
    flex-shrink: 0;
    position: relative;
    /* Prevent typing indicator from being pushed under input */
    margin-top: 12px;
}

.chatbot-typing.active {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

/* Typing indicator dots container */
.chatbot-typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 0;
}

/* Individual typing dot */
.chatbot-typing-dot {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.chatbot-typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.chatbot-typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.chatbot-typing-dot:nth-child(3) {
    animation-delay: 0s;
}

/* Typing indicator label */
.chatbot-typing-label {
    margin-left: 8px;
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
    font-weight: 500;
    white-space: nowrap;
}

/* Typing indicator animations */
@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.6;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chatbot Input Area */
.chatbot-input-area {
    padding: 12px 16px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.chatbot-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: #f9fafb;
}

.chatbot-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.chatbot-input::placeholder {
    color: #9ca3af;
}

.chatbot-send {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

.chatbot-send:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.chatbot-send::before {
    content: "➤";
    font-size: 16px;
}

/* Suggestions Area - FIXED: Bottom buttons matching screenshot */
.chatbot-suggestions {
    padding: 12px 16px;
    background: white;
    display: block;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.suggestion-toggle-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
}

.suggestion-toggle-btn {
    flex: 1;
    padding: 12px 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.suggestion-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.suggestion-content {
    background: white;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #e5e7eb;
}

.help-section h4 {
    color: #667eea;
    margin-bottom: 8px;
    font-size: 14px;
}

.help-section ul {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: #4b5563;
}

.help-section li {
    margin: 6px 0;
    line-height: 1.5;
}

.chatbot-suggestion-chip {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 8px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    color: #667eea;
    display: inline-block;
    margin: 3px;
}

.chatbot-suggestion-chip:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Chatbot footer for bottom buttons */
.chatbot-footer {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: white;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.chatbot-footer-btn {
    flex: 1;
    padding: 12px 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.chatbot-footer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Collapsible panels */
.chatbot-panel {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    max-height: 200px;
    overflow-y: auto;
}

.chatbot-panel-content {
    padding: 12px 16px;
}

/* Error message styling */
.chatbot-error-message {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
    padding: 12px 16px;
    margin: 8px 0;
    border-radius: 8px;
    color: #991b1b;
    font-weight: 500;
    animation: errorPulse 0.3s ease;
}

@keyframes errorPulse {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Room Type Gallery Styles */
.room-type-gallery-container {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.room-type-question {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 12px;
    font-size: 14px;
}

.room-type-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.room-type-carousel::-webkit-scrollbar {
    height: 6px;
}

.room-type-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.room-type-carousel::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 3px;
}

.room-type-card {
    flex: 0 0 280px;
    background: #f9fafb;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.room-radio-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.room-type-card.active {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: scale(1.02);
}

.room-type-card:hover {
    border-color: #764ba2;
    transform: translateY(-2px);
}

.room-type-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #e5e7eb;
}

.room-type-image-placeholder {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.room-type-info {
    padding: 12px;
}

.room-type-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
    font-size: 14px;
}

.room-type-price {
    color: #667eea;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.room-type-capacity {
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 6px;
}

.room-type-description {
    color: #9ca3af;
    font-size: 11px;
    line-height: 1.4;
}

.room-card-select-btn {
    width: 100%;
    margin-top: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.room-card-select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
}

.room-card-select-btn:active {
    transform: translateY(0);
}

.room-type-navigation {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
}

.room-nav-btn {
    flex: 1;
    padding: 10px 16px;
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.room-nav-btn:hover {
    background: #667eea;
    color: white;
}

.room-select-btn {
    width: 100%;
    margin-top: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.room-select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.chatbot-panel-content h4 {
    color: #667eea;
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
}

/* Cart Summary in Chat */
.chatbot-cart-summary {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
    border: 1px solid #e5e7eb;
}

.chatbot-cart-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-cart-total {
    font-size: 18px;
    font-weight: 700;
    color: #059669;
    margin-top: 12px;
}

/* Human Handoff Button */
.chatbot-human-button {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.chatbot-human-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

/* ==================== NUMBERED OPTIONS STYLING ==================== */

/* Chatbot option card styling */
.chatbot-message-bubble .chatbot-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    margin: 6px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    border-radius: 10px;
    border: 1px solid #e1e4e8;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chatbot-message-bubble .chatbot-option:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.chatbot-message-bubble .chatbot-option:hover .chatbot-option-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.chatbot-message-bubble .chatbot-option:hover .chatbot-option-text {
    color: white;
}

/* Option number circle */
.chatbot-message-bubble .chatbot-option-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    margin-right: 12px;
    padding: 0 2px;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

/* Option text */
.chatbot-message-bubble .chatbot-option-text {
    flex: 1;
    color: #374151;
    line-height: 1.4;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Keep regular bold text styling separate */
.chatbot-message-bubble strong:not(.chatbot-option-number) {
    color: #1f2937;
    font-weight: 600;
    display: inline;
}

/* ==================== ENHANCED MESSAGE FORMATTING ==================== */

/* Message Content Container */
.chatbot-message-bubble .chatbot-paragraph {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #374151;
    font-size: 14px;
}

/* Headers in Chat Messages */
.chatbot-message-bubble .chatbot-h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 12px 0 8px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid #e5e7eb;
    display: block;
}

.chatbot-message-bubble .chatbot-h3 {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin: 10px 0 6px 0;
    padding-left: 6px;
    border-left: 3px solid #667eea;
    display: block;
}

.chatbot-message-bubble .chatbot-h4 {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    margin: 8px 0 6px 0;
    display: block;
}

/* Enhanced Lists */
.chatbot-message-bubble .chatbot-list {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}

.chatbot-message-bubble .chatbot-list-item {
    padding: 6px 10px;
    margin: 4px 0;
    background: #f3f4f6;
    border-radius: 6px;
    line-height: 1.4;
    color: #374151;
    border-left: 3px solid #667eea;
    font-size: 13px;
}

/* Enhanced line breaks */
.chatbot-message-bubble br {
    display: block;
    margin: 4px 0;
    content: "";
}

/* Phone number reveal styling */
.phone-reveal {
    color: #1f2937;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 8px;
    background: #f3f4f6;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    font-size: 13px;
}

.phone-reveal:hover {
    background: #e5e7eb;
    color: #667eea;
}

.phone-reveal.revealed {
    color: #059669;
    background: #ecfdf5;
    border-color: #10b981;
    cursor: default;
}

/* ==================== RESULT CATEGORY HEADERS ==================== */

/* Category header styling for search results */
.chatbot-message-bubble .category-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 16px 0 12px 0;
    padding: 8px 12px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    border-radius: 8px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chatbot-message-bubble .category-header.attorneys {
    border-left-color: #667eea;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}

.chatbot-message-bubble .category-header.lodges {
    border-left-color: #059669;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.chatbot-message-bubble .category-header.businesses {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.chatbot-message-bubble .category-header.services {
    border-left-color: #8b5cf6;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

/* Result item styling */
.chatbot-message-bubble .result-item {
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.chatbot-message-bubble .result-item:hover {
    background: #f3f4f6;
    border-color: #667eea;
    transform: translateX(4px);
}

.chatbot-message-bubble .result-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.chatbot-message-bubble .result-item-detail {
    font-size: 13px;
    color: #4b5563;
    margin: 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 768px) {
    .chatbot-container {
        width: 95vw;
        height: 85vh;
        max-height: 700px;
        max-width: none;
        border-radius: 16px;
    }

    .chatbot-toggle {
        width: 55px;
        height: 55px;
        bottom: 15px;
        left: 15px;
    }

    .chatbot-toggle::after {
        display: none;
    }

    .chatbot-message-bubble {
        max-width: 90%;
        font-size: 13px;
        padding: 9px 13px;
    }

    .chatbot-header {
        padding: 12px 14px;
    }

    .chatbot-title {
        font-size: 16px;
    }

    .chatbot-avatar {
        width: 40px;
        height: 40px;
    }

    .chatbot-messages {
        padding: 12px;
    }

    .chatbot-typing {
        padding: 8px 12px;
        max-width: 160px;
        margin-bottom: 12px;
        /* Maintain spacing on tablet */
        margin-top: 8px;
    }

    .chatbot-typing-label {
        font-size: 11px;
    }

    .suggestion-toggle-buttons {
        flex-direction: column;
        gap: 6px;
    }

    .suggestion-toggle-btn {
        font-size: 11px;
        padding: 7px 10px;
    }

    .chatbot-suggestion-chip {
        font-size: 11px;
        padding: 7px 12px;
        margin: 2px;
    }

    .chatbot-input-area {
        padding: 10px 12px;
    }

    .chatbot-input {
        font-size: 13px;
        padding: 10px 14px;
    }

    .chatbot-send {
        width: 38px;
        height: 38px;
    }

    .chatbot-message-bubble .chatbot-option {
        padding: 8px 10px;
        margin: 4px 0;
    }

    .chatbot-message-bubble .chatbot-option-number {
        min-width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .chatbot-message-bubble .chatbot-option-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .chatbot-container {
        width: 98vw;
        height: 90vh;
        max-height: 800px;
        border-radius: 12px;
        left: 1vw;
        right: 1vw;
        transform: translate(0, -50%) scale(0.9);
    }

    .chatbot-container.active {
        transform: translate(0, -50%) scale(1);
    }

    .chatbot-toggle {
        width: 50px;
        height: 50px;
        bottom: 10px;
        left: 10px;
    }

    .chatbot-header {
        padding: 10px 12px;
    }

    .chatbot-title {
        font-size: 15px;
    }

    .chatbot-avatar {
        width: 35px;
        height: 35px;
    }

    .chatbot-messages {
        padding: 10px;
    }

    .chatbot-message-bubble {
        max-width: 92%;
        font-size: 12px;
        padding: 8px 12px;
    }

    .chatbot-typing {
        padding: 6px 10px;
        max-width: 140px;
        margin-bottom: 10px;
        /* Maintain spacing on mobile */
        margin-top: 6px;
    }

    .chatbot-typing-dot {
        width: 6px;
        height: 6px;
    }

    .chatbot-typing-label {
        font-size: 10px;
        margin-left: 8px;
    }

    .chatbot-input-area {
        padding: 8px 10px;
    }

    .chatbot-input {
        font-size: 12px;
        padding: 9px 12px;
    }

    .chatbot-send {
        width: 35px;
        height: 35px;
    }

    .chatbot-message-bubble .chatbot-option {
        padding: 6px 8px;
        margin: 3px 0;
    }

    .chatbot-message-bubble .chatbot-option-number {
        min-width: 26px;
        height: 26px;
        font-size: 12px;
        margin-right: 10px;
    }

    .chatbot-message-bubble .chatbot-option-text {
        font-size: 11px;
    }

    .chatbot-message-bubble .chatbot-paragraph {
        font-size: 12px;
        line-height: 1.4;
    }

    .chatbot-message-bubble .chatbot-h2 {
        font-size: 14px;
        margin: 10px 0 6px 0;
    }

    .chatbot-message-bubble .chatbot-h3 {
        font-size: 13px;
        margin: 8px 0 5px 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    .chatbot-toggle,
    .chatbot-container,
    .chatbot-message,
    .chatbot-status-dot,
    .chatbot-typing-dot {
        animation: none;
        transition: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .chatbot-message.bot .chatbot-message-bubble {
        border-width: 2px;
        border-color: #000;
    }

    .chatbot-input {
        border-width: 2px;
    }
}

/* ===================== PROFILE ONLINE STYLES ===================== */

/* Business item with profile (profile_online = 1) */
.business-item-with-profile {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.business-item-with-profile:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #667eea25 0%, #764ba225 100%);
}

.business-item-with-profile .business-name {
    color: #4c51bf;
    font-weight: 700;
    font-size: 16px;
}

.business-item-with-profile .business-detail {
    color: #2d3748;
}

/* Profile ribbon badge */
.profile-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    border-bottom-left-radius: 12px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Profile Overlay */
.profile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.profile-overlay-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.profile-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.2s ease;
    z-index: 10;
}

.profile-close-btn:hover {
    background: #e5e7eb;
    color: #1f2937;
    transform: rotate(90deg);
}

.profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 24px 24px;
    text-align: center;
    color: white;
}

.profile-logo-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: white;
}

.profile-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-title h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: white;
}

.profile-type {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    font-weight: 500;
}

.profile-body {
    padding: 24px;
}

.profile-section {
    margin-bottom: 24px;
}

.profile-section h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f3f4f6;
}

.profile-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

.profile-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.profile-contact-item:last-child {
    border-bottom: none;
}

.profile-icon {
    font-size: 20px;
    width: 30px;
    text-align: center;
}

.profile-contact-item span:last-child {
    font-size: 14px;
    color: #4b5563;
}

.profile-contact-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.profile-contact-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.profile-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-keyword {
    display: inline-block;
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    color: #667eea;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #667eea40;
}

.profile-footer {
    padding: 20px 24px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
}

.profile-action-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-primary-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

.profile-secondary-btn {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.profile-secondary-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #1f2937;
}

/* Responsive styles */
@media (max-width: 640px) {
    .profile-overlay-content {
        max-height: 95vh;
        border-radius: 16px;
    }

    .profile-header {
        padding: 36px 20px 20px;
    }

    .profile-title h1 {
        font-size: 20px;
    }

    .profile-body {
        padding: 20px;
    }

    .profile-footer {
        padding: 16px 20px;
        flex-direction: column;
    }

    .profile-action-btn {
        width: 100%;
    }
}

/* ===================== OVERLAY BUTTONS (Like Business Support) ===================== */

/* Business item overlay container */
.business-item-overlay {
    display: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show overlay on hover for items with profile */
.business-item-with-profile .business-item-overlay {
    display: flex;
    gap: 8px;
}

/* Overlay buttons */
.overlay-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.overlay-btn-view {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.overlay-btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.overlay-btn-cancel {
    background: white;
    color: #ef4444;
    border: 2px solid #fee2e2;
}

.overlay-btn-cancel:hover {
    background: #fef2f2;
    border-color: #fecaca;
}

/* Remove old ribbon styling */
.profile-ribbon {
    display: none;
}

/* ===================== BUSINESS CARD BOTTOM BUTTONS ===================== */

/* Container for bottom buttons in business cards */
.business-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

/* Individual action button */
.business-action-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    min-height: 40px;
}

/* Chat button - active state */
.business-action-chat {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.business-action-chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Browse Website button - active state */
.business-action-website {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.business-action-website:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Disabled state for when profile_online = 0 */
.business-action-btn.disabled {
    background: #e5e7eb;
    color: #9ca3af;
    border: 2px solid #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
}

.business-action-btn.disabled:hover {
    transform: none;
    background: #e5e7eb;
    color: #9ca3af;
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .business-card-actions {
        flex-direction: column;
        gap: 8px;
    }

    .business-action-btn {
        padding: 8px 12px;
        font-size: 12px;
        min-height: 36px;
    }
}

/* ==================== CONVERSATION FORM UI ELEMENTS ==================== */

/* Date picker container */
.date-picker-container {
    margin-top: 12px;
    padding: 10px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* Date input styling */
.chatbot-date-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #1f2937;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chatbot-date-input:focus {
    outline: none;
    border-color: #764ba2;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.chatbot-date-input:hover {
    border-color: #764ba2;
}

/* Options container */
.chatbot-options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding: 10px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* Option buttons */
.chatbot-option-btn {
    padding: 10px 16px;
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-align: center;
    min-width: fit-content;
}

.chatbot-option-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.chatbot-option-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

/* Selected option state */
.chatbot-option-btn.selected {
    background: #667eea;
    color: white;
    border-color: #764ba2;
}

/* Responsive adjustments for conversation form */
@media (max-width: 480px) {
    .chatbot-options-container {
        flex-direction: column;
        gap: 6px;
    }
    
    .chatbot-option-btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
    
    .chatbot-date-input {
        font-size: 16px; /* Larger font for better mobile tap targets */
    }
}
/* ===================== ROOM TYPE GALLERY ===================== */

/* Room type gallery container */
.room-type-gallery-container {
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px;
    border: 2px solid #e5e7eb;
    margin: 12px 0;
}

/* Room type question */
.room-type-question {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
    text-align: center;
}

/* Room type carousel */
.room-type-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 4px;
    margin: 0 -8px;
    scrollbar-width: thin;
    scrollbar-color: #667eea #e5e7eb;
}

.room-type-carousel::-webkit-scrollbar {
    height: 6px;
}

.room-type-carousel::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 3px;
}

.room-type-carousel::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 3px;
}

/* Room type card */
.room-type-card {
    flex: 0 0 280px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.room-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.room-type-card.active {
    border-color: #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transform: scale(1.02);
}

/* Room type image */
.room-type-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 2px solid #e5e7eb;
}

/* Room type info */
.room-type-info {
    padding: 12px;
    text-align: center;
}

.room-type-name {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.room-type-price {
    font-size: 18px;
    font-weight: 700;
    color: #059669;
    margin-bottom: 4px;
}

.room-type-capacity {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* Room type navigation */
.room-type-navigation {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.room-nav-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

.room-nav-btn:active {
    transform: translateY(0);
}

/* Room select button */
.room-select-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.room-select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.room-select-btn:active {
    transform: translateY(0);
}


/* Ensure room gallery doesn't overflow */
.room-type-gallery-container {
    overflow: hidden;
    max-width: 100%;
}

.room-type-carousel {
    overflow-x: auto;
    overflow-y: hidden;
}

/* Booking Confirmation Styles - Blue Theme */
.booking-confirmation-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px;
    margin: 16px 0;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    color: white;
}

.booking-confirmation-header {
    text-align: center;
    margin-bottom: 24px;
}

.booking-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.booking-confirmation-header h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.business-name {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.booking-details-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-detail-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.booking-detail-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    margin-right: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.detail-label {
    flex-shrink: 0;
    width: 140px;
    font-weight: 600;
    font-size: 14px;
    opacity: 0.95;
}

.detail-value {
    flex: 1;
    font-weight: 500;
    font-size: 14px;
    text-align: right;
    opacity: 1;
}

.booking-edit-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

.edit-icon {
    font-size: 16px;
}

/* Confirmation Question Styles */
.confirmation-question-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 12px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.confirmation-question-container p {
    margin: 0 0 16px 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.confirmation-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.confirm-btn {
    flex: 1;
    padding: 12px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    max-width: 200px;
}

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.restart-btn {
    flex: 1;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    max-width: 200px;
}

.restart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.confirmation-text-hint {
    margin: 0;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.confirmation-text-hint strong {
    color: #667eea;
    font-weight: 700;
}

/* Responsive adjustments for room gallery */
@media (max-width: 480px) {
    .room-type-card {
        flex: 0 0 240px;
    }
    
    .room-type-image {
        height: 150px;
    }
    
    .room-type-name {
        font-size: 14px;
    }
    
    .room-type-price {
        font-size: 16px;
    }
    
    .room-nav-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .room-select-btn {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    /* Booking confirmation responsive */
    .booking-confirmation-container {
        padding: 16px;
        margin: 12px 0;
    }
    
    .booking-confirmation-header h3 {
        font-size: 18px;
    }
    
    .business-name {
        font-size: 13px;
    }
    
    .booking-detail-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
    }
    
    .detail-number {
        margin-bottom: 8px;
    }
    
    .detail-label {
        width: 100%;
        margin-bottom: 4px;
    }
    
    .detail-value {
        text-align: left;
        width: 100%;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirm-btn,
    .restart-btn {
        max-width: 100%;
    }
}

/* Simple confirmation styling - minimal design */
.simple-confirmation {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
}

.simple-details-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.simple-detail-item {
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
    border-left: 3px solid #667eea;
    font-size: 14px;
    line-height: 1.5;
}

/* Price Breakdown Styles */
.price-breakdown-section {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
}

.price-breakdown-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.price-breakdown-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-size: 14px;
}

.price-breakdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.price-breakdown-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 4px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.price-label {
    flex: 1;
}

.price-value {
    font-weight: 600;
}

.price-value-total {
    font-weight: 700;
    font-size: 18px;
}

.confirmation-question {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
    text-align: center;
}

.confirmation-question p {
    margin: 0 0 12px 0;
    font-weight: 500;
}

.confirmation-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 12px;
}

.confirm-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.confirm-btn:hover {
    background: #218838;
}

.restart-btn {
    background: #fd7e14;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.restart-btn:hover {
    background: #e67700;
}

.confirmation-hint {
    margin: 0;
    font-size: 13px;
    color: #6c757d;
}

/* Dropdown options styling */
.dropdown-options-container {
    margin-top: 12px;
}

.dropdown-question-text {
    font-size: 15px;
    color: #1f2937;
    margin-bottom: 10px;
    font-weight: 500;
}

.dropdown-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.option-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

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

.chatbot-options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.chatbot-option-btn {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.chatbot-option-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
