
#chatbot-popup {
    position: fixed;
    bottom: 10%;
    right: 10%;
    width: 50%;
    height: 50%;
    background: red;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Chatbot Styles */
#chatbot-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

#chatbot-toggle-btn {
    background-color: #ff0000;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    box-shadow: 0px 4px 6px white; /*shadow color on chatbot buttom*/
    font-size: 16px;
}

#chatbot-popup {
    position: fixed;
    bottom: 10%;
    right: 10%;
    width: 50%;
    height: 50%;
    background:#ff0000; /* right window border*/
    box-shadow: 0px 4px 10px white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* top band*/
#chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: red;
    color:#f7ec73; 
    padding: 10px;
}

#chatbot-header h3 {
    margin: 0;
    font-size: 18px;
}

#chatbot-header #close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

#chatbot-container {
    display: flex;
    flex: 1;
    height: 100%;
    border-top: 1px solid red
}

/* tops back ground and slider */
#chatbot-questions {
    width: 50%;
    background-color: skyblue;
    padding: 10px;
    border-right: 1px solid;
    overflow-y: auto;
    padding-bottom: 60px; /* Ensure enough space at the bottom */
}

/* what should be asked format */
#chatbot-questions h4 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: bold;
}

/* topics listing style*/
#topics-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* bordering topicd per line */
#topics-list li {
    margin: 5px 0;
    padding: 10px;
    cursor: pointer;
    background-color: snow; /*topics background color*/
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

#topics-list li:hover {
    background-color: goldenrod;
    color: black;
}

#chatbot-chat {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    overflow-y: auto;
}

#chat-box {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid orange;
    background-color: lightgrey;
    margin-bottom: 10px;
}

/*user question right window*/
#chat-box .user-message {
    text-align: right;
    margin: 5px 0;
    padding: 10px;
    background-color:orange;
    color: black;
    border-radius: 10px;
}

/*answer right window*/
#chat-box .bot-message {
    text-align: left;
    margin: 5px 0;
    padding: 10px;
    background-color: #f7ec73;
    color: black;
    border-radius: 10px;
}

#chat-input {
    display: flex;
}

/*#chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid blue;
    border-radius: 5px;
    margin-right: 5px;
}

#chat-input button {
    background-color: blue;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer; 
}*/
#chatbot-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0; /* Remove rounded corners for full page */
}
/*user_input space*/
#chat-input {
    display: flex;
    padding-top: 20px; /* Add space between chat messages and the input */
    padding-bottom: 20px; /* Add space below the input */
    border-top: 1px solid lightgray;
    background-color:lightgrey;
    position: relative;
    bottom: 30px; /* Move the input area away from the bottom */
    box-sizing: border-box; /* Ensure consistent sizing */
}

/*user_input initial color around space*/
#chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid skyblue;
    border-radius: 5px;
    margin-right: 5px;
    margin-left: 5px;
    box-sizing: border-box; /* Ensures consistent sizing */
}

#chat-input {
    position: relative;
    width: 100%;
}

#user-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding-right: 30px; /* Adds space for the arrow */
}

.arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    cursor: pointer;
}
#chat-input {
    position: relative;
    width: 100%;
}

#user-input {
    width: calc(100% - 30px); /* Adjust the width to make space for the arrow */
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#send-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.arrow {
    font-size: 55px;
    color: lightgray; /* You can change the color of the arrow */
}
