/* Global styles */
body {
    color: #616161;
    font-weight: lighter;
    line-height: 1.5em;
    font-family: sans-serif;
    background-color: #f1f8ff;
  }
  
.navbar {
    position: relative;
}

.d-flex {
    display: flex;
}

.ms-auto {
    margin-left: auto;
}

  a {
    text-decoration: none;
    color: #616161;
  }
  
  a:hover {
    text-decoration: none;
    color: #616161;
  }
  
  hr {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  
  .main-page {
      width: 100%;
      padding-right: 20px;
      padding-left: 20px;
      margin-right: auto;
      margin-left: auto;
  }
  
  .main-page-block {
    margin-top: 100px;
    margin-bottom: 100px;
  }
  
  .text-center {
    text-align: center;
  }
  
  /* Buttons */
  
  .long-btn {
    width: 100%;
    min-width: 100% !important;
    max-width: 100% !important;
  }
  
  .dark-btn {
    min-width: 150px;
    max-width: 200px;
    border: none;
    padding: 10px 20px;
    font-weight: normal;
    border-radius: 10px;
    background-color: #007bff;
    color: white;
    text-align: center;
  }
  
  .dark-btn:hover {
    background-color: #007bff;
    color: white;
  }
  
  .light-btn {  
    min-width: 150px;
    max-width: 200px;
    border: none;
    padding: 10px 20px;
    font-weight: normal;
    border-radius: 10px;
    background-color: white;
    color: #007bff;
    border: 1px solid #007bff;
    text-align: center;
  }
  
  .light-btn:hover {
    color: #007bff;
    border: 1px solid #007bff;
    text-decoration: none;
  }
  
  .light-tiny-btn {  
    font-size: 12px;
    border: none;
    padding: 5px 10px;
    font-weight: normal;
    border-radius: 10px;
    background-color: white;
    color: #007bff;
    border: 1px solid #007bff;
    text-align: center;
    margin-right: 5px;
    margin-bottom: 5px;
  }
  
  .explanations {
    font-size: 14px;
  }
  
  .light-tiny-btn:hover {
    color: #007bff;
    border: 1px solid #007bff;
    text-decoration: none;
  }
  
  .button-container {
    display: inline;
    text-align: center;
    margin-top: 1rem;
  }
  
  .left-button {
    margin-right: 0.5%;
    width: 49% !important;
  }
  
  .right-button {
    width: 49% !important;
    display: inline-block;
    cursor: pointer;
  }
  
  .right-button a {
    color: white;
  }
  
  .right-button a:hover {
    text-decoration: none;
  }
  
  /* Style the email and password labels */
  .form-label-small {
    font-size: 14px;
    color: #7f8c8d;
  }
  
  /* Style the email and password labels */
  .form-label-input {
    font-weight: lighter;
    color: #7f8c8d;
  }
  
  select,
  input[type="text"],
  input[type="password"],
  input[type="number"],
  input[type="color"],
  input[type="email"],
  textarea {
    color: #616161;
    font-weight: lighter;
    line-height: 1.2em;
    font-family: sans-serif;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #ccc;
  }
  
  #chatbot_intro,
  #project_description,
  #contact_details {
    height: 100px;
  }
  
  #knowledge_base {
    height: 250px;
  }
  
  h1 {
    font-size: 36px;
    margin: 20px 0 10px 0;
    font-weight: lighter;
  }
  
  .central-block {
    transform: translate(-50%, -50%); position: absolute;
    top: 50%;
    left: 50%;
  }
  
  .main-title {
    font-size: 70px !important;
    text-align: center;
  }
  
  h2 {
    font-size: 20px;
    margin: 25px 0 20px 0px;
    font-weight: normal;
  }
  
  p {
    font-size: 16px;
  }
  
  /* Navigation */
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    background-color: white;
  }
  
  .navbar-nav {
    margin-left: auto;
  }
  
  .nav-login-btn {
    color: #fff;
  }
  
  .nav-item {
    margin-left: 20px;
  }
  
  
  .highlighted-links {
    color: #007bff;
  }
  
  .highlighted-links:hover {
    color: #007bff;
  }
  
  /* Toggle styling */
  .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #007bff;
    border-color: #007bff;
  }

  

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

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

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


.inbox-container {
    display: flex;
    height: 65%; 
    overflow: hidden; 
    background-color: white;
    border-radius: 10px;
}

.dashboard_page {
    width: 100%;
    margin-top: 20px;
    padding: 40px;
}


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

.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;
}

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

.dashboard-system-message {
    background-color: #fdfdfd;
    color: #616161;
    text-align: left;
    margin-left: auto !important;
    border-radius: 20px 20px 0px 20px;
    border: 1px solid black;
    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: 12px;
    margin-bottom: 0px
}

.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;
}


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

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

.buttons-container {
  display: flex;
  justify-content: center;
  margin: 50px;
  gap: 10px;
}

.highlight {
    font-weight: bold;
}


.chatbot-is-typing-block {
  font-size: 18px;
  border-radius: 20px 20px 20px 0px;
  background-color: white;
  color: black;
  padding: 10px;
  margin-top: 10px;
  text-align: left;
  max-width: 80%;
}

.chatbot-is-typing span {
      width: 6px;
      height: 6px;
      background-color: black;
      display: inline-block;
      /* margin: 1px; */
      border-radius: 50%;

      &:nth-child(1) {
          animation: bounce 1s infinite;
      }

      &:nth-child(2) {
          animation: bounce 1s infinite .2s;
      }

      &:nth-child(3) {
          animation: bounce 1s infinite .4s;
      }
}

@keyframes bounce {
  0% {
      transform: translateY(0px);
  }

  50% {
      transform: translateY(8px);
  }

  100% {
      transform: translateY(0px);
  }
}


.tags-div {
  margin: 20px;
  position: sticky;
  top: 0;
  background: white;
  padding-bottom: 10px;
}

.tags-item {
  display: inline-block;
  margin: 5px;
  border: 1px solid #40584E;
  padding: 5px 10px;
  font-weight: normal;
  border-radius: 10px;
  text-align: center;
}