#brobot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
/* assets/css/brobot.css */

.close-button{
  
      color: #000;
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    margin: auto 10px auto auto;

}

.close-button .cross {
	width: 2em;
	    position: absolute;
    top: 0;
    right: 0;
}

.head {
	    align-items: center;
		background-color: #868b88;
}

.title-chatbot {
	display: inline-block; margin: 0 10px;
	    font-size: 15px;
}

#brobot-button {
    cursor: pointer;
      position: fixed;
  bottom: 20px;
  right: 10px;
  cursor: pointer;
  z-index:9999;
      display: flex;
    justify-content: end;
animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.brobot-button img {
    width: 50px; /* Adjust size as needed */
    transition: transform 1s;
}

@keyframes rotate-and-change {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}



@media screen and(max-width:600px){
{bottom: 250px;}}

#brobot-icon {
    width: 50px;
    height: 50px;
}

#brobot-interface {
    display: none;
    position: absolute;
    bottom: 8px;
    right: 17px;
    max-height: 550px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
    overflow: hidden;
    z-index: 1001;
     width: 23em !important; 
      background: white; 
      border: 1px solid #ccc; 
      padding: 10px;
     z-index:9999;
      height:27em !important;
}
@media screen and(max-width:600px){
    #brobot-interface
    {
        width:335px;
        
    }
    
}
#brobot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #007bff;
    color: #fff;
}

#brobot-messages {
    padding: 10px !important;
    height: 16em !important;
    overflow-y: auto;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    color:#000;
    height: 300px; 
    overflow-y: auto; 
    border: 1px solid #ccc; 
    padding: 5px; 
    margin-bottom: 10px;
    color:#000;
}

#brobot-form {
   display: flex;
    background: #80808036;
    border-radius: 20px;
}
#brobot-form input[type="text"]{
    border:none !important;
    background: #e4e4e4;
    border-radius: 10em;
}
#brobot-form input:focus{outline:none;}
#brobot-message {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 0 0 0 10px;
    outline: none;
}

#brobot-form button {
    padding: 10px;
    background: #007bff;
    border: none;
    color: #fff;
    border-radius: 0 0 10px 0;
    cursor: pointer;
    transition:none;
    background: transparent !important;
}
#brobot-form button [type="submit"]{transition:none;}
.bot-image{width:3em; height:auto;border-radius:50%;    margin-right: 15px;}
#brobot-form button:hover {
    background: #0056b3;
}
.smaller{width:15%; height:auto; border-radius:50%;border:2px solid red;}

.user-message {
        color: black;
    margin-bottom: 10px;
    text-align: end;
    width: 19em;
    border-radius: 5px;
    justify-content: end;
    display: flex;
    position: relative;
    margin: 15px 0 15px 6em;
    padding: 10px;
    font-size: 12px;
    border-radius: 6px;
    display:flex;
    border-top-right-radius: 0;
    flex-direction: column;
}
.user-message .message-text{  
 background: transparent;
    border-radius: 5px;
    text-align: left;
    font-size: 0.8rem;
    position: relative;
    padding: 5px 5px 5px 5px;
    margin-left: 0;
}

.user-message .timestamp{margin-right:0em;}



.brobot-message {
    color: black;
    margin-bottom: 10px;
    width: 25em;
    background: rgb(236, 236, 236);
    border-radius: 6px;
    padding: 10px;
    font-size: 12px;
    border-top-left-radius: 0;

}
.bot-image img{width:2em;height:auto;border-radius:50%;}
.bot-message-container{display:inline-flex;}
.error {
    color: red;
    margin-bottom: 10px;
}
.prompt{    background: transparent;
    color: #877f7f;
    margin: 10px;
    border: 1px solid #877f7f;
    border-radius: 5px;
    padding:1em;
    text-align: left;
    font-size: 12px;
    cursor: pointer;
}
 input::placeholder { /* Mozilla Firefox 4 to 18 */
   color:    grey;
   opacity:  1;
}
.message-text{font-size:0.8rem;}
.heads {
    padding: 10px;
    color: #fff;
    display: flex;
    border-radius: 15px 15px 0 0;
    width:100%;
}
.heads h4{display: flex;
    color: #000;
    margin-bottom: 5px;
    align-items: center;
    justify-content: center;margin-left:0.7em;}
.heads img{width:3em;height:auto;border-radius:50%;display:grid;justify-content:center;}

.bot-message-container .message-text{    background: #80808036;
    border-radius: 5px;
    padding: .5em;}

.predefined-prompt {
    background-color: #f1f1f1;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.predefined-prompt:hover {
    background-color: #e0e0e0;
}

#typing-effect {
    font-weight: bold;
    color: #000;
}

.brobot-typing-indicator .message-text {
    color: #666;
    font-style: italic;
}
#brobot-buttons {
    margin-top: 10px;
    display:block;
}

.brobot-question-button {
    display: block;
    margin: 5px 0;
    padding: 10px;
    background-color: transparent;
    color: #000;
    border: 1px solid #000;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}


.brobot-question-button:hover {
    background-color: black;
    color: #fff;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.6);
}



/* assets/css/admin-style.css */
/* assets/css/admin-style.css */
.nav-tab-wrapper {
    margin: 20px 0;
}

.nav-tab {
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
    display: inline-block;
    padding: 6px 12px;
    text-decoration: none;
    background: #f1f1f1;
    color: #333;
    font-weight: 600;
    margin-right: 5px;
}

.nav-tab-active {
    background: #fff;
    border-bottom: 1px solid #fff;
    color: #333;
}

#brobot-qna-table {
    width: 100%;
    border-collapse: collapse;
}

#brobot-qna-table th,
#brobot-qna-table td {
    padding: 8px;
    border: 1px solid #ddd;
}

#brobot-qna-table th {
    background: #f1f1f1;
}

#brobot-qna-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.brobot-color-field {
    width: 150px;
}
/* Hide all tab contents by default */
.tab-content {
    display: none;
}
.nav-tab-active {
    background-color: #f1f1f1; /* Example active tab style */
}

.brobot-icon {
    width:2em;
    height: 2em;
    vertical-align: middle;
    margin-right: 5px;
    border-radius:50%;
}
.timestamp {
        font-size: 1em;
    color: #000;
    margin-left: 10px;
    text-align: right;
    font-weight: 500;
}

.message {
    margin-bottom: 10px; /* Space between messages */
}

.brobot-message img {
    vertical-align: middle; /* Align the image with text */
    margin-right: 5px;
}
.bro-imtx{display:flex;}
.date-header {
   font-weight: 500;
    font-size: .6em;
    margin-bottom: 10px;
    text-align: center;
}



#brobot-buttons {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.brobot-question-button {
    margin: 5px;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: transparent;
    color: black;
    cursor: pointer;
    border:1px solid black;
}

.brobot-question-button.disabled-button {
    opacity: 0.6;
    cursor: not-allowed;
}

@media screen and (max-width:600px){
    
 #brobot-interface{
     right:0px;
     width:20em;
 }   
.brobot-message
{
    width:21em !important;
    
}
.user-message
{
    margin-left:4em !important;
}
}