input[disabled] {
	background-color: #f0f0f0;
	color: #888;
}
button[disabled] {
	background-color: #ccc;
	color: #666;
	cursor: not-allowed;
}
		
#twx-chat-floating {
    border: 1px solid #ccc;
    padding: 10px;
    width: 300px;
    height: 400px;
    overflow-y: scroll;
    position: fixed;
    bottom: 0;
    right: 0;
    background: #fff;
}

#twx-chat-embed {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 10px;
}

#chatbox-messages {
    height: 90%;
    overflow-y: scroll;
}

#chatbox-input {
    width: 100%;
    padding: 10px;
}

.user-message {
    text-align: right;
    margin: 5px;
    padding: 5px;
    background: #e0e0e0;
    border-radius: 5px;
}

.bot-message {
    text-align: left;
    margin: 5px;
    padding: 5px;
    background: #f0f0f0;
    border-radius: 5px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.debug-message {
    background-color: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.bot-message span {
    color: blue; /* Link color */
    text-decoration: underline; /* Underline text */
    cursor: pointer; /* Pointer cursor */
}

.bot-message span:hover {
    color: red; /* Color on hover */
}

.product-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    border-radius: 10px;
}

.popup-content {
    text-align: center;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

#productImage {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

#productDescription {
    margin: 10px 0;
}

#productPrice {
    color: #28a745;
    font-weight: bold;
}

#productLink {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

#productLink:hover {
    background-color: #0056b3;
}

/* CSS for typing indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Adjust margin as needed */
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #999; /* Adjust dot color */
    margin-right: 4px; /* Adjust spacing between dots */
    animation: typing 1.5s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.5s; /* Delay for the second dot */
}

.typing-dot:nth-child(3) {
    animation-delay: 1s; /* Delay for the third dot */
}

@keyframes typing {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5); /* Adjust dot size */
    }
}
