* {
    font-family: 'Poppins';
}
input {
    display: block;
    min-width: 300px;
    width: 100%;
    padding: 10px;
    border: 1px solid #aaa;
    border-radius: 10px;
    box-sizing: border-box;
}

input[name="custom_prompt"]{
    height: 400px;
}

select {
    display: block;
    min-width: 300px;
    width: 100%;
    padding: 10px;
    border: 1px solid #aaa;
    border-radius: 10px;
    box-sizing: border-box;
}

textarea {
    display: block;
    min-width: 300px;
    width: 100%;
    padding: 10px;
    border: 1px solid #aaa;
    border-radius: 10px;
    box-sizing: border-box;
    max-width: 100%;
}

button {
    display: block;
    min-width: 100px;
    /* width: 100%; */
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    box-sizing: border-box;
    cursor: pointer;
    background-color: #eee;
    color: #332789;
    font-size: 12px;
}

button.active-bot-type {
    background-color: #332789 !important;
    border: 1px solid #332789;
    color: white !important;
}


button.inactive-bot-type {
    border: 1px solid #eee;
    background-color: #eee;
    color: #332789;
}


button.inactive-bot-type:hover {
    color: #332789;
}



button:hover, button.active-bot-type:hover {
    display: block;
    min-width: 100px;
    /*padding: 10px;*/
    border: 1px solid #332789;
    border-radius: 5px;
    /*margin-top: 10px;*/
    box-sizing: border-box;
    cursor: pointer;
    /*background-color: #fff;*/
    color: #fff;
}

.location-not-registered {
    border: 1px solid transparent;
    width: 100%;
    background-color: #eee;
    color: black;
}

.location-not-registered:hover {
    border: 1px solid transparent;
    background-color: rgba(80,93,115,1);
    color: white;
}

.location-registered {
    border: 1px solid transparent;
    width: 100%;
    background-color: #332789;
    color: white;
}


.location-registered:hover {
    background-color: #442789;
    color: white;
}



div.bot-code {
    /* max-width: 100%; */
    box-sizing: border-box;
    background-color: #eee;
    border: 1px solid;
    border-radius: 10px;
    font-size: 12px;
    padding: 10px;
    max-height: 400px;
    /* overflow-y: scroll; */
    overflow-x:auto;
    scrollbar-width: 0px;
    scrollbar-color: transparent;
}

.bot-code::-webkit-scrollbar {
    display: none;
}

div.remaining {
    margin: 10px;
    padding: 10px;
    border: 1px solid #aaa;
    border-radius: 10px;
}

div.input-group{
    margin: 10px;
}

label {
    display: block;

}

.topnav {
    overflow: hidden;
    background: rgb(45,55,72);
    background: radial-gradient(circle, rgba(45,55,72,1) 0%, rgba(80,93,115,1) 100%);
    width: 80%;
    left: calc(50% - 40%);
    position: relative;
    border-radius: 20px;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    box-shadow: 2px 2px 10px 1px gray;
}
  
.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    margin: 2px;
    text-decoration: none;
    min-width: 100px;
    border: 1px solid transparent;
}
  
.topnav a:hover {
    /*background-color: #ddd;*/
    border: 1px solid #fff;
    color: white;
    border-radius: 12px;
    text-decoration: none;
    
}
  
.topnav a.active {
    /*background-color: #04AA6D;*/
    color: white;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #fff;
}

#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 3; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}
  
  /* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
  
  /* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}
  
@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}
  
@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}
  
@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

.history-feedback > span > i {
  padding: 0px;
  margin: 0px;
  width: 20px;
  height: 16px;
  top: -5px;
  position: static;
  font-size: 30px;
  box-sizing: border-box;
  text-align: center;
}

.history-response {
  box-shadow: 1px 1px 1px 1px #3378AA;
  border-radius: 5px;
  padding: 30px;
  margin: 5px;
  background: #3378AA;
  color: white;
}

.history {
  margin-top: 10px;
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 5px;
  font-size: 12px;
  
}

.history-question {
  box-shadow: 1px 1px 1px 1px #eee;
  border-radius: 5px;
  padding: 10px;
  margin: 5px;
  font-size: 12px;
}

.history-time {
  font-size: 10px;
  text-align: right;
  padding: 10px;
}

.history-feedback > span {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  display: inline-block;
  cursor: pointer;
  border-radius: 5px;
  align-content: center;
  box-sizing: border-box;
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 12px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


.bot-list-table {
    width: 80%;
    height: auto;
    border: 1px solid #000;
}


.bot-list-row {
    cursor: pointer;
    border: 1px solid #000;
}

.bot-list-row:hover {
    cursor: pointer;
    box-shadow: 2px 2px 1px 1px #eee;
}


.bot-list-column {
    cursor: pointer;
    border: 1px solid #000;
    text-align: center;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  -webkit-animation-name: fadeIn; /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s
}

/* Modal Content */
.modal-content {
  position: fixed;
  bottom: 0;
  left: 25%;
  top: 10%;
  background-color: #fefefe;
  width: 50%;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s;
  /*padding: 20px;*/
}

/* The Close Button */
.close {
  color: #fff;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #332789;
  color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

/* Add Animation */
@-webkit-keyframes slideIn {
  from {bottom: -300px; opacity: 0} 
  to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
  from {bottom: -300px; opacity: 0}
  to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

#uploadCSV {
    width: 100%;
    font-size: 12px;
    float: right;
    text-align: left;
}

#training_job_status{
    width: 100%;
    font-size: 12px;
    float: right;
    text-align: left;
}

.input-group .form-control {
    z-index: 0;
}

.dashboard-button {
    background-color: #332789;
    color: white;
    border: 1px solid #332789;
    margin: 5px;
}


.dashboard-button:hover {
    background-color: #fff;
    color: #332789;
    border: 1px solid #332789;
    margin: 5px;
}



.dashboard-delete-button {
    background-color: #FF2030;
    color: white;
    border: 1px solid #FF2030;
    margin: 5px;
}

.dashboard-delete-button:hover {
    background-color: #fff;
    color: #FF2030;
    border: 1px solid #FF2030;
}

.feedback-like {
    color: #3399ff;
    border-color: #3399ff;
}

.feedback-dislike {
    color: #FF2030;
    border-color: #FF2030;
}

.chat_session {
    width: 100%;
    height: 60px;
    margin: 5px;
    border-radius: 10px;
    text-align: left;
    padding-left: 10px;
    display: block;
    border: 1px solid #eee;
    cursor: pointer;
}
.chat_session:hover {
    box-shadow: 1px 1px 1px 1px #eee;
}
.chat-session-active {
    box-shadow: 1px 1px 1px 1px #eee;
}
.chat_name {
    line-height: 60px;
}
.history-session-container {
  margin-top: 10px;
  height: calc(100vh - 108px);
  overflow-y: scroll;
  padding: 10px;
}
.history-session-chats {
  height: calc(100vh - 98px);
  overflow-y: scroll;
  padding: 10px;
}

.single-prompt-delete {
    min-width: unset;
    width: 48px;
    height: 48px;
    margin: 10px;
}

.single-prompt-delete:hover {
    min-width: unset;
    width: 48px;
    height: 48px;
    margin: 10px;
}

#qualification_bot_options {
    display: none;
}
#sales_bot_options {
    display: none;
}

td, tr, th, table {
    border: 1px solid;
    padding: 10px !important;
}
td {
    /*min-width: 30%;*/
}
table {
    /*margin: 10px;*/
}
.tune-records {
    height: calc(100vh - 114px);
    overflow-y: scroll;
}