@import url('https://fonts.googleapis.com/css2?family=SM+Sans&display=swap');

#chatbot-toggle-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: flex-end;
    z-index: 10;
}

#chatbot-globe-toggle {
    width: 150px;
    height: 150px;
    overflow: visible; /* Important */
    display: flex;
    justify-content: center;
    align-items: center;
}
#chatbot-container {
    display: flex; /* Open by default */
    flex-direction: column;
    width: 360px;
    max-height: 90vh;
    margin-left: 10px;
    background: url('https://blc.xeventechnologies.com/wp-content/uploads/2025/04/Front.webp') no-repeat center center / cover;
    border-radius: 20px;
    font-family: 'SM Sans', sans-serif;
    overflow: hidden;
    position: relative;
    z-index: 9999;
    color: white;
    backdrop-filter: blur(5px);
}

#chatbot-close {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #ffffff;
    z-index: 99999;
}

#chatbot-interface {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 15px 15px 15px;
    margin-top: 40px;
    overflow-y: auto;
}

#chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

.typing-text {
    font-style: italic;
    color: #00ff66;
    font-size: 1.1rem;
    font-family: 'Courier New', Courier, monospace;
    white-space: normal;
    overflow-wrap: break-word;
    display: inline-block;
}

#chatbot-input-wrapper {
    display: flex;
    align-items: center;
    border-top: 1px solid white;
    padding-top: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 8px 10px;
    margin-top: 10px;
}

#chatbot-input {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 16px;
    color: white;
    outline: none;
}

#chatbot-input::placeholder {
    color: #ccc;
    font-size: 16px;
}

#chatbot-send {
    background: none;
    border: none;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatbot-send img {
    width: 24px;
    height: 24px;
}

.bot-message-container,
.bot-message {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #00ff66;
}
