.dashboard_wrapper {
    width: 1250px;
    margin: 30px auto;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    height: 85vh; 
    display: flex;
    flex-direction: column;
}

.analytics_wrapper {
    width: 1250px;
    margin: 30px auto;
    padding: 40px;
    background-color: white;
    border-radius: 20px;
}

.dashboard_card {
    margin: 20px;
    background-color: #F9F9F9;
    border-radius: 20px;
}


.inbox-container {
    display: flex;
    height: 100%; 
    overflow: hidden; 
    background-color: white;
    border-radius: 10px;
    flex-grow: 1; 
}
.dashboard_page {
    width: 100%;
    margin-top: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.dashboard-right {
    text-align: right;
    margin-left: auto !important;
    display: inline-block;
    margin: 20px;
    padding: 20px;
}

.dashboard-left {
    text-align: left;
    display: inline-block;
    margin: 20px;
}


.dashboard-bot-message {
    background-color: #F3F3FE;
    color: #616161;
    text-align: left;
    margin-left: auto !important;
    max-width: 80%;
    border-radius: 20px 20px 0px 20px;
    display: inline-block;
    padding: 20px;
    word-break: break-word;
}

.dashboard-user-message {
    background-color: #f2f2f2;
    color: black;
    text-align: left;
    max-width: 50%;
    border-radius: 20px 20px 20px 0px;
    display: inline-block;
    padding: 20px;
    word-break: break-word;
}

.dashboard-system-message {
    background-color: #fdfdfd;
    color: #616161;
    text-align: left;
    margin-left: auto !important;
    border-radius: 20px 20px 20px 0px;
    border: 1px solid black !important;
    display: inline-block;
    padding: 20px;
}

.bot-message p {
    padding: 0px;
    margin-top: 10px;
}


.conversation-list {
    width: 270px;
    border-right: 1px solid #ccc;
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden;
}

.conversation-item {
    cursor: pointer;
    padding: 10px;
}

.timestamp {
    font-size: 10px;
    margin-bottom: 0px;
    color: #616161;
}

.conversation-item:hover {
    background-color: #f5f5f5;
}

.conversation-logs {
    flex: 1;
    padding-left: 10px;
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.form-check-input[type="checkbox"]:checked,
.form-check-input[type="radio"]:checked {
  background-color: #9878F7; /* Change the background color */
  border-color: #9878F7; /* Change the border color */
}

.search-container {
    display: flex;
    width: 50%;
    height: 50px;
}

.filters-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 40px; 
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    padding: 10px;
}

.dropdown-item {
    color: black;
    padding: 8px 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

.dropdown-item input {
    margin-right: 10px;
}

.highlight {
    font-weight: bold;
}

/* Improve response */
.improve-response {
    font-size: 10px;
}

.improve-response:hover {
    color: #5F4C9A;
}

/* CSS for the chatbot context  */
.chatbot-context-toggle {
    cursor: pointer;
    font-size: 10px;
    color: #616161;
    text-decoration: underline;
    background-color: transparent;
    border: none;
    font-size: 10px;
    font-weight: lighter;
  }
  
  .chatbot-context-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .chatbot-context {
    font-size: 10px;
    font-weight: lighter;
    border-radius: 10px 10px 10px 0px;
    background-color: rgb(243, 243, 243);
    border: none;
    padding: 10px;
    margin-top: 10px;
    text-align: left;
    margin-left: auto !important;
    width: 80%;
    display: inline-block;
    word-break: break-word;
  }
  

  .chatbot-context p {
    font-size: 10px;
  }

  /* Contacts view  */
#contactsTableBody {
    border-top: 1.5px solid #cbcbcb;

}

.contacts-container {
    flex: 1;
    padding-left: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}