/* Chat Window */
.chat-window {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none; /* Hidden by default */
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

/* Chat Header */
.chat-header {
    background-color: #007bff;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Chat Content */
.chat-content {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    max-height: 250px;
}

/* Suggested Questions */
.suggested-questions {
    display: flex;
    flex-direction: column; /* Change to column */
    padding: 5px;
    background-color: #f9f9f9;
    text-align: center;
    border-top: 1px solid #ddd;
    width: 100%;
}

.suggested-questions button {
    background-color: #e7e7e7;
    border: none;
    padding: 5px 8px;
    margin: 3px 0; /* Adjust margin for column layout */
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.suggested-questions button:hover {
    background-color: #d7d7d7;
}

/* Chat Input */
.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    flex-shrink: 0;
}

.chat-input input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 5px;
}

.chat-input button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

/* Message Styling */
.user-message, .bot-message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    max-width: 75%;
}

.user-message {
    background-color: #007bff;
    color: white;
    align-self: flex-end;
}

.bot-message {
    background-color: #f1f1f1;
    align-self: flex-start;
}

/* Avatar Styling */
.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ddd;
    font-size: 20px;
}

.user-container .avatar {
    margin-left: auto;
}

.bot-container .avatar {
    margin-right: auto;
}

/* Chatbot Button */
.chatbot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2596be;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Close Button */
.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

/* Chat Window */
.chat-window {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none; /* Hidden by default */
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

/* Chat Content */
.chat-content {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto; /* Make chat content scrollable */
    max-height: 250px; /* Adjust max height for content */
}

/* Media Styling */
.bot-message img, .bot-message video, .bot-message iframe {
    max-width: 100%; /* Ensure media fits within the chat content */
    border-radius: 5px;
    margin-top: 10px;
}

.bot-message video {
    max-width: 90%;
}

.bot-message iframe {
    max-width: 100%; /* Ensure iframe fits within the chat content */
    height: auto; /* Maintain aspect ratio */
}

/* Suggested Questions */
.suggested-questions {
    display: flex;
    flex-direction: column; /* Column layout for suggestions */
    padding: 5px;
    background-color: #f9f9f9;
    text-align: center;
    border-top: 1px solid #ddd;
    width: 100%;
}

.suggested-questions button {
    background-color: #e7e7e7;
    border: none;
    padding: 4px 6px; /* Smaller padding for smaller button size */
    margin: 2px 0; /* Adjust margin for column layout */
    border-radius: 12px; /* Slightly rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 12px; /* Smaller font size */
    width: auto; /* Button width adjusts to fit text */
    height: auto; /* Button height adjusts to fit text */
    line-height: 1.2; /* Adjust line height for better text alignment */
    text-align: center; /* Center text */
}


.suggested-questions button:hover {
    background-color: #d7d7d7;
}


#reset-button {
    background-color: #2596be;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
}


.welcome-message{
     text-align: center;
    text-decoration: none;
    display: inline-block; 
    overflow: hidden;
    padding: 10px 20px;


}

.carousel-indicators-right {
  right: 10px;
  bottom: 50%;
  left: auto;
  width: auto;
  margin-right: 20px;
}

.carousel-indicators-right button {
  background-color: #2596be; /* Indicator color */
  border-radius: 50%;
  width: 12px;
  height: 12px;
}