
.chatbot-toggle {
    position: fixed !important;
    bottom: 200px !important;
    right: 20px;
    background-color: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    user-select: none;
    outline: none;
    overflow: hidden;
}
.chatbot-typing-indicator {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

.chatbot-typing-profile-pic {
    width: 40px;
    height: 40px;
    background-image: url(https://assets.robinsonshotels.com/image/chatbot/chatbot_agent_design.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.chatbot-typing-bubble {
    background: #e3e3e3;
    border-radius: 18px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
}

.chatbot-typing-dots {
    display: flex;
    gap: 4px;
}

.chatbot-typing-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #858484;
    animation: chatbot-typing-bounce 1.2s ease-in-out infinite 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; }

@keyframes chatbot-typing-bounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.chatbot-icon-large,
.chatbot-icon-small {
    display: none !important;
    pointer-events: none;
    background-color: transparent;
}

.chatbot-icon-large {
    width: 50px !important;
    height: 50px !important;
}

.chatbot-icon-small {
    width: 50px;
    height: 50px;
}

@media (min-width: 769px) {
    .chatbot-toggle {
        right: 25px !important;
    }

    .chatbot-toggle:not(.chatbot-offline) .chatbot-icon-active.chatbot-icon-large,
    .chatbot-toggle.chatbot-offline .chatbot-icon-offline.chatbot-icon-large {
        display: block !important;
    }

    .chatbot-icon-small {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .chatbot-toggle {
        margin-right: 5px !important;
    }

    .chatbot-toggle:not(.chatbot-offline) .chatbot-icon-active.chatbot-icon-small,
    .chatbot-toggle.chatbot-offline .chatbot-icon-offline.chatbot-icon-small {
        display: block !important;
    }

    .chatbot-icon-large {
        display: none !important;
    }
}

.chatbot-window {
    position: fixed;
    bottom: 15px;
    border-radius: 10px 10px 10px 10px;
    right: 15px;
    width: 70vw;
    max-width: 320px;
    height: 63vh;
    max-height: 500px;
    min-height: 400px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 10000;
    overflow-x: hidden;
}

.chatbot-header {
    background-color: white;
    color: white;
    background: url(https://assets.robinsonshotels.com/image/chatbot/chatbot_header.png) center/cover no-repeat;
    border-color: #07438c;
    padding: 8px;
    padding-left: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 5px 10px rgba(49, 48, 48, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
    max-height: 50px;
    flex-shrink: 0;
}

.chatbot-header span {
    font-size: 15px;
    display: flex;
    align-items: center;
    flex-grow: 1;
    text-align: left;
}

.chatbot-header .chatbot-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

.chatbot-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
}

.chatbot-intro-screen {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

#chatbot-intro-messages {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 310px;
    height: auto;
    overflow: visible;
    flex-wrap: wrap;
    padding-bottom: 75px !important;
    padding-top: 10px;
    margin: 0 auto;
}

.chatbot-name-input-container {
    display: flex;
    bottom: 15px;
    border-radius: 10px 10px 10px 10px;
    padding: 10px;
    position: fixed;
    border-top: 1px solid #ddd;
    background-color: white;
    margin-left: -10px;
    align-items: center;
    right: 15px;
    width: 70vw;
    max-width: 320px;
    min-width: 280px;
    box-sizing: border-box;
    pointer-events: all !important;
    flex-shrink: 0;
    z-index: 10;
}

#chatbot-name-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 14px;
    min-width: 0;
}

#chatbot-name-input:focus {
    outline: none;
    border-color: #07438c;
}

.chatbot-name-submit-btn {
    background-color: #07438c;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: 40px;
}

.chatbot-name-submit-btn:hover {
    background-color: #053672;
}

#chatbot-name-input.chatbot-error {
    border-color: #07438c;
    animation: chatbot-shake 0.5s;
}

@keyframes chatbot-shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.chatbot-welcome-message {
    padding-top: 20px;
    text-align: center;
    margin-bottom: 5px;
    position: sticky;
    font-size: 17px;
}

.chatbot-welcome-message p {
    margin-top: -10px;
    margin-bottom: 10px;
}

.chatbot-welcome-message h1 {
    margin-top: -10px;
    text-align: center;
    margin-bottom: 15px;
    position: sticky;
    font-size: 20px;
    color: #07438c;
}

.chatbot-region-selection {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 10px;
}

.chatbot-region-dropdown {
    position: relative;
    width: 90%;
    max-width: 280px;
    margin: 0 auto;
}

.chatbot-search-container {
    margin: 10px auto;
    position: relative;
    width: 85%;
    max-width: 280px;
}

.chatbot-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.chatbot-search-wrapper.chatbot-highlight {
    animation: chatbot-glow-effect 1.5s ease-in-out;
    border-radius: 8px;
}

#chatbot-search {
    width: 100%;
    padding: 10px 30px 10px 10px;
    border: 3px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

#chatbot-search:focus {
    outline: none;
    border-color: #07438c;
}

.chatbot-search-clear-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    display: none;
}

.chatbot-search-clear-btn:hover {
    color: #07438c;
}

.chatbot-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: none;
    font-size: 13px;
}

.chatbot-search-result-item {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.chatbot-search-result-item:last-child {
    border-bottom: none;
}

.chatbot-search-result-item:hover {
    background-color: #f8f8f8;
}

.chatbot-search-result-item.chatbot-active {
    background-color: #ffecef !important;
    border-left: 3px solid #07438c;
    font-weight: bold;
}

.chatbot-search-result-item.chatbot-active .chatbot-bot-name {
    color: #07438c;
}

.chatbot-search-result-item:hover {
    background-color: #f8f8f8;
}

.chatbot-search-result-item.chatbot-active:hover {
    background-color: #ffecef !important;
}

.chatbot-search-result-item .chatbot-bot-name {
    font-weight: 600;
}

.chatbot-search-result-item .chatbot-region-name {
    margin-left: auto;
    font-size: 12px;
    color: #666;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
}

.chatbot-no-results {
    padding: 10px;
    text-align: center;
    color: #666;
}

.chatbot-region-btn {
    width: 100%;
    padding: 10px 18px;
    border: 3px solid #ddd;
    background-color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease-in-out;
    font-size: 15px;
    font-style: normal;
}

.chatbot-region-btn:hover {
    border-color: #07438c;
}

.chatbot-region-btn.chatbot-active {
    border-color: #07438c;
}

.chatbot-region-btn::after {
    content: '▼';
    font-size: 14px;
    transition: transform 0.3s ease;
}

.chatbot-region-btn.chatbot-active::after {
    transform: rotate(180deg);
    border-color: #07438c;
    font-size: 14px;
}

.chatbot-bot-selection {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s ease-in-out;
    text-align: left;
}

.chatbot-bot-selection.chatbot-show {
    display: block;
    padding: 5px;
    opacity: 1;
    transform: translateY(0);
}

.chatbot-bot-selection button {
    display: inline-block;
    padding: 8px 12px;
    margin: 5px;
    border: 2px solid;
    background-color: #F9F5F5;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s;
    border-radius: 6px;
    border-color: #cfb5b0;
}

.chatbot-bot-selection button:hover {
    background-color: #07438c;
    color: white;
}

.chatbot-bot-selection button.chatbot-active {
    background-color: #07438c;
    color: white;
}

.chatbot-get-btn {
    padding: 10px;
    background-color: #07438c;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
}

.chatbot-get-btn.chatbot-highlight {
    animation: chatbot-glow-effect 1.5s ease-in-out;
    border-radius: 30px;
}

@keyframes chatbot-glow-effect {
    0% {
        box-shadow: 0 0 0 0 rgba(72, 0, 10, 0);
    }

    50% {
        box-shadow: 0 0 5px 2px #07438c;
    }

    100% {
        box-shadow: 0 0 0 0 rgba(213, 0, 28, 0);
    }
}

.chatbot-get-btn:hover {
    background-color: #053672;
}

.chatbot-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: white !important;
    width: 100%;
    max-width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
}

.chatbot-message {
    left: 10px;
    max-width: 70%;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    overflow-wrap: break-word;
    overflow-x: hidden;
}

.chatbot-message.chatbot-user {
    align-self: flex-end;
    background-color: #218fb4;
    color: white;
    max-width: 60%;
    overflow-x: hidden;
    margin-right: 10px;
    text-align: left;
    display: flex;
    width: auto;
    flex-direction: column;
}

.chatbot-message.chatbot-bot {
    align-self: flex-start;
    background-color: #e8eef7;
    color: black;
    overflow-wrap: break-word;
    width: 70%;
}

.chatbot-message a {
    color: rgb(139, 151, 243);
    /* text-decoration: underline; */
}

/* .chatbot-message a:hover {
    color: #eaebf1;
} */

.chatbot-carousel-container {
    width: 100%;
    position: relative;
    z-index: 1;
}

.chatbot-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 30px;
    left: -4%;
}

.chatbot-carousel-cards {
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease;
    padding: 5px;
}

.chatbot-carousel-card {
    flex: 0 0 95%;
    background-color: #e8eef7;
    padding: 5px;
    color: black;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0.1, 0.2);
}

.chatbot-carousel-cards::-webkit-scrollbar {
    display: none;
}

.chatbot-carousel-card-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chatbot-carousel-image-container {
    width: 100%;
    height: 120px;
    min-height: 120px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    padding: 5px;
}

.chatbot-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chatbot-carousel-title {
    margin: 2px 0;
    font-size: 14px;
    padding: 0 8px;
}

.chatbot-carousel-subtitle {
    margin: 0 0 4px 0;
    font-size: 12px;
    color: #666;
    padding: 0 8px;
    line-height: 1.3;
}



.chatbot-carousel-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 8px 8px;
}

.chatbot-carousel-button {
    width: 100%;
    padding: 6px;
    cursor: pointer;
    font-size: 13px;
    margin-top: auto;
    background-color: #07438c;
    border-color: #07438c !important;
    color: white;
    border: solid 2px;
    border-radius: 7px;
    font-weight: 600;
}

.chatbot-carousel-button.chatbot-clicked {
    background-color: #07438c;
    border-color: #07438c !important;
    color: white;
}

.chatbot-carousel-button:hover {
    background-color: #07438c;
    color: white;
    border-color: #07438c;
    opacity: 0.9;
    cursor: pointer;
}

.chatbot-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: gray;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background-color 0.3s, color 0.3s;
    font-size: 20px;
}

.chatbot-carousel-nav:hover {
    background-color: rgba(50, 50, 50, 0.5);
    color: white;
}

.chatbot-carousel-nav.chatbot-prev {
    left: 10px;
    z-index: 1;
}

.chatbot-carousel-nav.chatbot-next {
    right: 30px;
    z-index: 1;
}

.chatbot-carousel-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chatbot-image-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.chatbot-image-popup-overlay.chatbot-active {
    opacity: 1;
    visibility: visible;
}

.chatbot-image-popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.chatbot-image-popup-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.chatbot-image-popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    background-color: rgba(255, 255, 255, 0.7);
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    z-index: 10002;
}

.chatbot-carousel-image-container.chatbot-cinema-poster {
    height: 200px;
    min-height: 200px;
}

.chatbot-carousel-image.chatbot-cinema-poster {
    object-fit: contain;
}

.chatbot-carousel-image-container {
    cursor: pointer;
}

.chatbot-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    /* margin-left: 10px; */
    margin-left: 60px;
    width: 70%;
}

.chatbot-buttons-container button {
    width: 100%;
    padding: 10px;
    background-color: white;
    border-color: #07438c !important;
    color: #07438c;
    border: solid 2px;
    border-radius: 5px;
    cursor: pointer;
}

.chatbot-buttons-container button.chatbot-clicked {
    background-color: #07438c;
    color: white;
    border-color: #07438c;
    cursor: default;
}

.chatbot-buttons-container button:hover {
    background-color: #07438c;
    color: white;
    border-color: #07438c;
    opacity: 0.9;
    cursor: default;
}

.chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    align-items: center;
    position: sticky;
    bottom: 0;
    z-index: 10;
    flex-shrink: 0;
    background-color: white;
}

.chatbot-input.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.chatbot-search-wrapper.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.chatbot-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
    min-width: 0;
}

.chatbot-input input:focus {
    outline: none;
    box-shadow: none;
    border: 1px solid #ddd;
}

.chatbot-menu-icon i {
    font-size: 16px;
}

.chatbot-menu-icon:hover {
    background-color: #053672;
}

.chatbot-menu-container {
    position: relative;
}

.chatbot-menu-icon {
    background-color: #07438c;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-menu-icon i {
    font-size: 16px;
}

.chatbot-menu-icon:hover {
    background-color: #053672;
}

.chatbot-menu-options {
    position: absolute;
    width: 180px;
    bottom: 45px;
    right: 20px;
    background-color: white;
    border: 2px solid #c7c7c7;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    padding: 6px;
}

.chatbot-menu-options.chatbot-show {
    display: flex;
}

.chatbot-menu-options button {
    padding: 7px;
    width: 95%;
    color: #333;
    border: none;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    margin: 3px;
    transition: background-color 0.2s ease;
    background-color: white;
}

.chatbot-menu-options button:hover {
    background-color: #ddd;
}

.chatbot-send-icon {
    background-color: #07438c;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-send-icon i {
    font-size: 16px;
}

.chatbot-send-icon:hover {
    background-color: #07438c;
}

/* ========== RESPONSIVE STYLES ========== */

/* Mobile devices (320px - 480px) */
@media screen and (max-width: 480px) {
    .chatbot-window {
        right: 10px !important;
        left: 10px !important;
        width: calc(100vw - 20px) !important;
        max-width: none !important;
        height: 90% !important;
        max-height: none !important;
        bottom: 10px !important;
        border-radius: 10px 10px 0 0 !important;
        position: fixed !important;
    }

    .chatbot-name-input-container {
        right: 10px;
        left: 10px;
        width: calc(100vw - 20px);
        max-width: none;
        margin-left: 0;
    }

    #chatbot-intro-messages {
        max-width: 100%;
        padding-right: 10px;
    }

    .chatbot-messages {
        padding: 0 8px;
    }

    .chatbot-message {
        padding: 12px;
        font-size: 16px;
    }

    .chatbot-message.chatbot-bot {
        width: 230px;
        max-width: 230px;
    }

    .chatbot-message.chatbot-user {
        max-width: 75%;
        margin-right: 8px;
    }

    .chatbot-buttons-container {
        width: 230px;
        max-width: 230px;
        margin-left: 60px;
    }

    .chatbot-buttons-container button,
    .chatbot-carousel-button {
        padding: 12px;
        font-size: 16px;
    }

    .chatbot-input {
        padding: 12px;
    }

    .chatbot-input input {
        padding: 12px;
        font-size: 16px;
    }

    .chatbot-carousel-container {
        left: 0;
        width: 100%;
    }

    .chatbot-carousel {
        padding: 0 15px;
    }

    .chatbot-carousel-nav.chatbot-next {
        right: 5px;
    }

    .chatbot-carousel-nav.chatbot-prev {
        left: 0;
    }

    .chatbot-region-btn {
        padding: 14px 18px;
        font-size: 18px;
    }

    .chatbot-bot-selection button {
        padding: 8px 12px;
        margin: 5px;
        font-size: 16px;
        display: inline-block;
        width: auto;
    }

    .chatbot-menu-options {
        width: 225px;
        right: 15px;
    }

    .chatbot-menu-options button {
        padding: 12px 8px;
        font-size: 16px;
    }

    .chatbot-carousel-button {
        padding: 10px 8px;
        font-size: 16px;
    }

    .chatbot-search-results {
        max-height: 150px;
    }

    .chatbot-search-result-item {
        padding: 12px 10px;
        font-size: 16px;
    }

    .chatbot-header {
        padding: 10px 12px;
    }

    .chatbot-header span {
        font-size: 18px;
    }

    .chatbot-welcome-message h1 {
        font-size: 22px;
    }

    .chatbot-welcome-message p {
        font-size: 18px;
    }

    #chatbot-name-input {
        padding: 12px;
        font-size: 16px;
    }

    .chatbot-name-submit-btn {
        padding: 12px 15px;
        font-size: 16px;
    }

    .chatbot-send-icon,
    .chatbot-menu-icon {
        padding: 12px 15px;
    }

    #chatbot-search {
        padding: 12px 30px 12px 12px;
        font-size: 16px;
    }

    .chatbot-search-container {
        width: 95%;
    }
}

/* Small tablets and large phones (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .chatbot-window {
        right: 15px !important;
        width: 350px !important;
        height: 85% !important;
        max-height: none !important;
    }

    .chatbot-name-input-container {
        right: 15px;
        width: 350px;
    }

    #chatbot-intro-messages {
        max-width: 340px;
    }

    .chatbot-messages {
        padding: 0 5px;
    }

    .chatbot-message {
        padding: 11px;
        font-size: 15px;
    }

    .chatbot-message.chatbot-user {
        margin-right: 8px;
    }

    .chatbot-message.chatbot-bot {
        width: 235px;
        max-width: 235px;
    }

    .chatbot-buttons-container {
        width: 235px;
        max-width: 235px;
        margin-left: 60px;
    }

    .chatbot-buttons-container button,
    .chatbot-carousel-button {
        padding: 11px;
        font-size: 15px;
    }

    .chatbot-input {
        padding: 10px;
    }

    .chatbot-input input {
        padding: 11px;
        font-size: 15px;
    }

    .chatbot-carousel-container {
        left: -2%;
        width: 100%;
    }

    .chatbot-region-btn {
        padding: 13px 16px;
        font-size: 16px;
    }

    .chatbot-bot-selection button {
        padding: 7px 10px;
        margin: 5px;
        font-size: 15px;
        display: inline-block;
        width: auto;
    }

    .chatbot-menu-options {
        width: 225px;
    }

    .chatbot-menu-options button {
        padding: 10px 8px;
        font-size: 15px;
    }

    .chatbot-header span {
        font-size: 16px;
    }

    .chatbot-welcome-message h1 {
        font-size: 20px;
    }

    .chatbot-welcome-message p {
        font-size: 16px;
    }

    #chatbot-name-input {
        padding: 11px;
        font-size: 15px;
    }

    .chatbot-name-submit-btn {
        padding: 11px 14px;
        font-size: 15px;
    }

    .chatbot-send-icon,
    .chatbot-menu-icon {
        padding: 11px 14px;
    }

    #chatbot-search {
        padding: 11px 28px 11px 11px;
        font-size: 15px;
    }
}

/* Tablets and small laptops (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .chatbot-window {
        right: 15px !important;
        width: 320px !important;
        height: 75% !important;
        max-height: none !important;
    }

    .chatbot-name-input-container {
        right: 15px;
        width: 320px;
    }

    #chatbot-intro-messages {
        width: 100%;
        max-width: 310px;
    }

    .chatbot-messages {
        padding: 0 5px;
    }

    .chatbot-message.chatbot-bot {
        width: 214px;
        max-width: 214px;
    }

    .chatbot-buttons-container {
        width: 214px;
        max-width: 214px;
        margin-left: 60px;
    }

    .chatbot-bot-selection button {
        display: inline-block;
        width: auto;
    }

    .chatbot-menu-options {
        width: 225px;
    }

    .chatbot-carousel-container {
        left: -2%;
        width: 100%;
    }
}

/* Desktop (1025px+) */
@media screen and (min-width: 1025px) {
    .chatbot-window {
        right: 15px;
        width: 70vw;
        max-width: 320px;
    }

    .chatbot-name-input-container {
        right: 15px;
        width: 70vw;
        max-width: 320px;
    }

    .chatbot-message.chatbot-bot {
        width: 214px;
        max-width: 214px;
    }

    .chatbot-carousel-container {
        left: -5%;
        width: 100%;
    }

    .chatbot-buttons-container {
        width: 214px;
        max-width: 214px;
        margin-left: 60px;
    }
}

/* Large screens with height ≥ 1000px (Portrait iPads, tablets, zenbook folds, etc.) */
@media screen and (min-height: 1000px) {
    .chatbot-window {
        right: 15px !important;
        width: 70vw !important;
        max-width: 400px !important;
        height: 65vh !important;
        max-height: 700px !important;
        bottom: 50px !important;
    }

    .chatbot-name-input-container {
        right: 15px !important;
        width: 70vw !important;
        max-width: 400px !important;
    }

    .chatbot-message.chatbot-bot {
        width: 280px !important;
        max-width: 280px !important;
    }

    .chatbot-buttons-container {
        width: 280px !important;
        max-width: 280px !important;
        margin-left: 60px;
    }

    .chatbot-bot-selection button {
        display: inline-block;
        width: auto;
    }

    .chatbot-menu-options {
        width: 270px;
    }

    .chatbot-message {
        padding: 12px;
        font-size: 16px;
    }

    .chatbot-buttons-container button,
    .chatbot-carousel-button {
        padding: 12px;
        font-size: 16px;
    }

    .chatbot-input input {
        padding: 12px;
        font-size: 16px;
    }

    .chatbot-region-btn {
        padding: 14px 18px;
        font-size: 18px;
    }

    .chatbot-bot-selection button {
        padding: 8px 12px;
        font-size: 16px;
    }

    .chatbot-header span {
        font-size: 18px;
    }

    .chatbot-welcome-message h1 {
        font-size: 24px;
    }

    .chatbot-welcome-message p {
        font-size: 18px;
    }

    #chatbot-name-input {
        padding: 12px;
        font-size: 16px;
    }

    .chatbot-name-submit-btn {
        padding: 12px 15px;
        font-size: 16px;
    }

    .chatbot-send-icon,
    .chatbot-menu-icon {
        padding: 12px 15px;
    }

    #chatbot-search {
        padding: 12px 30px 12px 12px;
        font-size: 16px;
    }
}

/* Portrait mode for mobile devices */
@media screen and (max-height: 600px) and (orientation: portrait) {
    .chatbot-window {
        height: 88% !important;
        max-height: none !important;
        min-height: 350px !important;
    }

    .chatbot-carousel-image-container {
        height: 100px;
    }

    .chatbot-welcome-message h1 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .chatbot-welcome-message p {
        margin-bottom: 6px;
    }
}

/* Landscape mode adjustments */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .chatbot-window {
        height: 92% !important;
        max-height: none !important;
        right: 10px !important;
        left: 10px !important;
        width: calc(100vw - 20px) !important;
        max-width: none !important;
    }

    .chatbot-name-input-container {
        right: 10px;
        left: 10px;
        width: calc(100vw - 20px);
        max-width: none;
    }

    .chatbot-header {
        max-height: 40px;
    }

    .chatbot-carousel-image-container {
        height: 90px;
    }

    #chatbot-intro-messages {
        width: 100%;
        max-width: 100%;
    }

    .chatbot-messages {
        padding: 0 5px;
    }

    .chatbot-message.chatbot-user {
        margin-right: 8px;
    }

    .chatbot-message.chatbot-bot {
        width: 190px;
        max-width: 190px;
    }

    .chatbot-buttons-container {
        width: 190px;
        max-width: 190px;
        margin-left: 60px;
    }

    .chatbot-bot-selection button {
        display: inline-block;
        width: auto;
    }

    .chatbot-menu-options {
        width: 200px;
    }
}

/* Very small devices (max 380px) - iPhone SE Portrait */
@media screen and (max-width: 380px) {
    .chatbot-window {
        right: 5px !important;
        left: 5px !important;
        width: calc(100vw - 10px) !important;
        bottom: 5px !important;
        height: 92% !important;
        max-height: none !important;
    }

    .chatbot-name-input-container {
        right: 5px;
        left: 5px;
        width: calc(100vw - 10px);
        padding: 8px;
    }

    .chatbot-welcome-message h1 {
        font-size: 20px;
    }

    .chatbot-welcome-message p {
        font-size: 17px;
    }

    .chatbot-search-container {
        width: 95%;
    }

    .chatbot-message.chatbot-bot {
        width: 270px;
        max-width: 270px;
    }

    .chatbot-buttons-container {
        width: 270px;
        max-width: 270px;
        margin-left: 60px;
    }

    .chatbot-bot-selection button {
        display: inline-block;
        width: auto;
    }

    .chatbot-menu-options {
        width: 210px;
    }
}

/* Extra small devices (max 375px) - iPhone SE */
@media screen and (max-width: 375px) {
    .chatbot-window {
        height: 92% !important;
        max-height: none !important;
    }

    .chatbot-message.chatbot-bot {
        width: 260px;
        max-width: 260px;
    }

    .chatbot-buttons-container {
        width: 260px;
        max-width: 260px;
        margin-left: 60px;
    }

    .chatbot-bot-selection button {
        display: inline-block;
        width: auto;
    }

    .chatbot-menu-options {
        width: 210px;
    }
}

/* Extra small devices (max 360px) - Galaxy phones */
@media screen and (max-width: 360px) {
    .chatbot-window {
        height: 92% !important;
        max-height: none !important;
    }

    .chatbot-message.chatbot-bot {
        width: 250px;
        max-width: 250px;
    }

    .chatbot-buttons-container {
        width: 250px;
        max-width: 250px;
        margin-left: 60px;
    }

    .chatbot-bot-selection button {
        display: inline-block;
        width: auto;
    }

    .chatbot-menu-options {
        width: 195px;
    }
}

/* Extra small devices (max 320px) - Typical for older smartphones */
@media screen and (max-width: 320px) {
    .chatbot-window {
        right: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        bottom: 0 !important;
        border-radius: 10px 10px 0 0 !important;
        height: 94% !important;
        max-height: none !important;
    }

    .chatbot-name-input-container {
        right: 0;
        left: 0;
        width: 100vw;
        border-radius: 0;
        bottom: 0;
    }

    .chatbot-name-input-container {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
    }

    #chatbot-name-input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0;
    }

    .chatbot-name-submit-btn {
        width: 100%;
    }

    .chatbot-message {
        padding: 10px;
        font-size: 15px;
    }

    .chatbot-message.chatbot-bot {
        width: 225px;
        max-width: 225px;
    }

    .chatbot-buttons-container {
        width: 225px;
        max-width: 225px;
        margin-left: 60px;
    }

    .chatbot-welcome-message h1 {
        font-size: 18px;
    }

    .chatbot-welcome-message p {
        font-size: 16px;
    }

    .chatbot-region-btn {
        padding: 12px 14px;
        font-size: 16px;
    }

    .chatbot-bot-selection button {
        padding: 6px 8px;
        font-size: 15px;
        display: inline-block;
        width: auto;
    }

    .chatbot-buttons-container button,
    .chatbot-carousel-button {
        padding: 10px;
        font-size: 15px;
    }

    .chatbot-search-container {
        width: 98%;
    }

    .chatbot-input {
        padding: 8px;
    }

    .chatbot-input input {
        padding: 10px;
        margin-right: 5px;
        font-size: 15px;
    }

    .chatbot-send-icon,
    .chatbot-menu-icon {
        padding: 10px;
        min-width: 28px;
    }

    .chatbot-send-icon i,
    .chatbot-menu-icon i {
        font-size: 14px;
    }

    .chatbot-menu-options {
        width: 195px;
        right: 5px;
        bottom: 38px;
    }

    .chatbot-menu-options button {
        padding: 8px 6px;
        font-size: 14px;
    }

    .chatbot-header {
        padding: 8px;
    }

    .chatbot-header span {
        font-size: 16px;
    }

    .chatbot-header .chatbot-close-btn {
        font-size: 24px;
    }

    #chatbot-name-input {
        padding: 10px;
        font-size: 15px;
    }

    .chatbot-name-submit-btn {
        padding: 10px 12px;
        font-size: 15px;
    }

    #chatbot-search {
        padding: 10px 28px 10px 10px;
        font-size: 15px;
    }
}

/* iPhone SE and similar very small devices (max 280px) */
@media screen and (max-width: 280px) {
    .chatbot-container body {
        font-size: 12px;
    }

    .chatbot-window {
        height: 94% !important;
        max-height: none !important;
    }

    .chatbot-header {
        padding: 6px;
    }

    .chatbot-header span {
        font-size: 14px;
    }

    .chatbot-header .chatbot-close-btn {
        font-size: 20px;
    }

    .chatbot-message {
        padding: 8px;
        font-size: 13px;
    }

    .chatbot-message.chatbot-bot {
        width: 190px;
        max-width: 190px;
    }

    .chatbot-buttons-container {
        width: 190px;
        max-width: 190px;
        margin-left: 60px;
    }

    .chatbot-welcome-message h1 {
        font-size: 16px;
    }

    .chatbot-welcome-message p {
        font-size: 14px;
    }

    .chatbot-region-btn {
        padding: 8px 10px;
        font-size: 14px;
    }

    .chatbot-bot-selection button {
        padding: 5px 6px;
        font-size: 13px;
        display: inline-block;
        width: auto;
    }

    .chatbot-buttons-container button,
    .chatbot-carousel-button {
        padding: 7px;
        font-size: 13px;
    }

    .chatbot-menu-options {
        width: 165px;
    }

    .chatbot-menu-options button {
        padding: 6px 4px;
        font-size: 12px;
    }

    #chatbot-name-input,
    .chatbot-input input {
        padding: 8px;
        font-size: 13px;
    }

    .chatbot-name-submit-btn,
    .chatbot-send-icon,
    .chatbot-menu-icon {
        padding: 8px 10px;
        font-size: 13px;
    }

    #chatbot-search {
        padding: 8px 25px 8px 8px;
        font-size: 13px;
    }
}