:root {
  --backgroud-color:#f8f9fa;
  --background-white: #fff;
  --background-menu: #111;


  --text-white: #FEFFF7;
}


.login-container {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container .card {
  width: 100%;
  max-width: 600px;
  margin: 25px;
  border: none;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

body {
  background-color: var(--backgroud-color);
}

.main {
  display: grid;
  grid-template-columns: 250px 1fr;
  grid-template-rows: 100vh;
}

.menu {
  display: flex;
  flex-direction: column;
  background-color: var(--background-menu);
  height: 100%;
  overflow-y: auto;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.menu a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--text-white);
  transition: background 0.3s;
}

.menu a:hover {
  background-color: #007bff69;
}

.menu a.active {
  background-color: #007bff;
  color: var(--text-white);
}

.content-container{
  height: 100vh;
  overflow-y: auto;
  padding: 0;
}
.chat {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100vh;
}

.chat .chat-history {
  flex: 1;
  overflow-y: auto;
  padding: 10px 20px;
}

.chat-history .message p {
  margin: 0;
}

.chat-history .message > div{
  float: right;
  padding: 10px 15px;
  margin: 10px 0;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  max-width: 45%;
}

.chat-header {
  background-color: var(--background-white);
  padding: 10px 20px;
  text-align: center;
  font-weight: 600;
}

.chat-history .message-bot > div {
  float: left;
}

.chat-history .message label {
  font-weight: 600;
}

.chat-loader {
  position: relative;
  z-index: 1000;
}
.chat-loader .loader-container {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(75vw - 188px);
  height: 100vh;
  overflow: hidden;
  background-color: #11111169;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chat-loader .spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 5px;
}

.user-input {
  background-color: var(--background-white);
  padding: 20px;
}


.user-input input:focus {
  box-shadow: none;
}


.sidebar-chat {
  display: flex;
  flex-direction: column;
  background-color: var(--background-white);
  height: 100vh;
}

.conversations {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  margin-bottom: 20px;
}

.conversations button {
  background-color: transparent;
  border-style: none;
  border-bottom: 1px solid #e6e6e6;
  padding: 10px 15px;
  text-align: left;
  transition: background 0.3s;
}

.conversations button label {
  font-weight: 600;
}

.conversations button small {
  font-style: italic;
}

.conversations button:hover {
  background-color: #d9d9d9;
}

.conversations button.active {
  color: white;
  background-color: #007bff;
}

.flex-1 {
  flex: 1;
}

.click-row {
  cursor: pointer;
}
.click-row td {
  transition: background 0.3s;
}

.click-row:hover td {
  background-color: #007bff77;
}

.bot-logs {
  display: flex;
  flex-direction: column;
  background-color: var(--background-white);
  height: 100vh;
  width: 0;
  overflow-y: auto;
  transition: width 0.3s;
}

.bot-logs.active {
  width: 300px;
  padding: 20px;
}


.bot-logs .log {
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  padding: 10px 15px;
  flex-grow: 1;
  max-height: calc(50vh - 64px);
  overflow-y: auto;
  
  font-family: "Fira Code", monospace;
  font-size: 12px;
}

.btn-blank {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.bot-form {
  height: calc(100vh - 180px);
  overflow-y: auto;
  padding: 0px 10px;
}

.code {
  max-width: calc(75vw - 188px * 45 / 100);
  border-radius: 5px;
  border-width: 1px;
  border-color: #e6e6e6;
  background-color: #e7e7e7;
  padding: 5px 8px;
  margin: 10px 0;
}

pre {
  max-width: calc(75vw - 188px * 45 / 100);
  border-radius: 5px;
  border-width: 1px;
  border-color: #e6e6e6;
  background-color: #e7e7e7;
  padding: 5px 8px;
  margin: 10px 0;
}

.code-inline {
  max-width: calc(75vw - 188px * 45 / 100);
  border-radius: 5px;
  border-width: 1px;
  border-color: #e6e6e6;
  background-color: #e7e7e7;
  padding: 2px 5px;
}

.select2-selection{
  height: 38px !important;
  border-color: #dee2e6 !important;
  /* display: flex !important;
  align-items: center !important; */
}

.select2-selection__arrow {
  height: 36px !important;
}

.bootstrap-tagsinput {
	margin: 0;
	width: 100%;
	padding: 0.5rem 0.75rem 0;
	font-size: 1rem;
  line-height: 1.25;
	transition: border-color 0.15s ease-in-out;
	
	&.has-focus {
    background-color: #fff;
    border-color: #5cb3fd;
	}
	
	.label-info {
		display: inline-block;
		background-color: #636c72;
		padding: 0 .4em .15em;
		border-radius: .25rem;
		margin-bottom: 0.4em;
	}
	
	input {
		margin-bottom: 0.5em;
	}
}

.bootstrap-tagsinput .tag [data-role="remove"]:after {
	content: '\00d7';
}

.select-none {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.foto-perfil {
  width: 143px;
  height: 143px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e6e6e6;
}

.no-sort {
  cursor: default !important;
  pointer-events: none !important;
}

.no-sort::after, .no-sort::before {
  content: none !important;
}

.no-sort .dt-column-order {
  display: none !important;
}

.dt-search input {
  box-shadow: none !important;
}

.dt-paging {
  float: right;
}

.input-group .bootstrap-tagsinput {
  width: unset !important;
  flex: 1;
}

.translate-button {
  width: 107px;
}
.translate-button-json {
  width: 107px;
}