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

  --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: 0px 1fr;
  grid-template-rows: calc(100vh - 50px);
  transition: grid 0.2s;
}

.menu-open .main {
  grid-template-columns: 250px 1fr;
}


.topo {
  display: grid;
  grid-template-columns: 250px 1fr;
  grid-template-rows: 50px;
  background-color: white;
}

.topo .logo {
  background-color: white;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
}

.topo .logo img{
  height: 25px;
}

.menu-open .topo .logo{
  background-color: var(--background-menu);
  color: white;
}

.menu {
  display: flex;
  flex-direction: column;
  background-color: var(--background-menu);
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  /* 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);
}

.menu li {
  list-style: none;
}

.menu ul {
  padding: 0;
  margin: 0;
}

.submenu {
  background-color: #fff1;
  overflow: hidden;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

.submenu a {
  padding-left: 30px;
}
.submenu a.active {
  background-color: #007bff69;
}

.submenu.hidden {
  max-height: 0;
}

.has-arrow::after {
  font-family: "FontAwesome";
  content: "\F078";
  float: right;
}
.has-arrow.active::after {
  content: "\F077";
}

.content-container{
  height: calc(100vh - 50px);
  /* width: calc(100vw - 250px); */
  overflow-y: auto;
  padding: 0;
}
.chat {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: calc(100vh - 50px);
}

.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: calc(100vh - 36px - 15px);
  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: calc(100vh - 50px);
}

.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: calc(100vh - 50px);
  width: 0;
  overflow-y: auto;
  transition: width 0.3s;
}

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


.bot-logs .log {
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  padding: 10px 15px;
  flex-grow: 1;
  height: calc(50vh - 50px - 50px);
  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 {
  border-radius: 5px;
  border-width: 1px;
  border-color: #e6e6e6;
  background-color: #e7e7e7;
  padding: 5px 8px;
  margin: 10px 0;
}

.menu-open .instancia-codigo {
  max-width: calc(100vw - 250px - 75px);
}
.instancia-codigo {
  max-width: calc(100vw - 75px);
}

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

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

.foto-fundo-bot {
  width: 160px;
  height: 90px;
  object-fit: cover;
}


.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: #FD2963;
  --bs-btn-border-color: #FD2963;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #da2555;
  --bs-btn-hover-border-color: #da2555;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #FD2963;
  --bs-btn-active-border-color: #FD2963;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #FD2963;
  --bs-btn-disabled-border-color: #FD2963;
}

.bg-primary {
  background-color: #FD2963 !important;
}

.text-primary, .text-brand {
  color: #FD2963 !important;
}

.user-select-none {
  user-select: none;
}

.pointer-events-none {
  pointer-events: none;
}

.accordion-item-blank {
  border: none;
  padding: 0;
  background-color: transparent;
}

.accordion-item-blank .accordion-button {
  padding: 0;
  background-color: transparent;
}

.accordion-item-blank .accordion-button::after {
  display: none;
}

.accordion-item-blank .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: initial;
}

.accordion-item-blank .accordion-body {
  padding: 0;
  padding-top: 15px;
}


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

.message em {
  color: #6c757d;
}

.message > div {
  /* background-color: #f8f9fa; */
  background-color: white;
}

.message.date {
  background-color: #e6e6e6;
}

.message.date {
  margin: 0 -20px;
  padding: 0 20px;
}

.msg-time {
  font-size: 12px;
  color: #6c757d;
  font-style: italic;
  float: right;
  margin-top: 10px;
  text-align: right;
}

.scenario-header {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #FD2963 !important;
  padding: 10px 0 !important;
  color: #FD2963;
}

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

.link-bland {
  text-decoration: none;
  color: unset;
}
.link-bland:hover {
  color: unset;
}

.color-preview {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  display: inline-block;
  border: 1px solid #e6e6e6;
}

.json-display {
  font-family: Menlo, Monaco, "Courier New", monospace;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0;
  background-color: #24282A;
  color: #d4d4d4;
  text-align: left;
  border-top: 1px solid #121516;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 0;
  border-radius: 5px;
}

.json-pretty {
  padding-left: 30px;
  padding-right: 30px;
}
.json-selected {
  background-color: rgba(139, 191, 228, 0.19999999999999996);
}

.json-string {
  color: #6caedd;
}

.json-key {
  color: #ec5f67;
}

.json-boolean {
  color: #99c794;
}

.json-number {
  color: #99c794;
}

.fake-input {
  min-height: 38px;
}

.dashboard-count {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dashboard-count h3 {
  margin: 0;
}
.dashboard-count span {
  display: flex;
  width: 100%;
  flex: 1;
}

.dashboard-count i {
  font-size: 30px;
  opacity: 0.5;
}

.dashboard-count div:first-of-type {
  flex:1;
}

.shimmer {
  animation-duration: 2.2s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: shimmer;
  animation-timing-function: linear;
  background: #ddd;
  background: linear-gradient(to right, #F6F6F6 8%, #F0F0F0 18%, #F6F6F6 33%);
  background-size: 1200px 100%;
  height: 100%;
  width: 100%;
  border-radius: 25px;
}
.shimmer::before {
  content: "\00a0";
}

@-webkit-keyframes shimmer {
  0% {
      background-position: -100% 0;
  }
  100% {
      background-position: 100% 0;
  }
}

@keyframes shimmer {
  0% {
      background-position: -1200px 0;
  }
  100% {
      background-position: 1200px 0;
  }
}

.icon-inside {
  width: 38px;
}

.icon-inside i {
  position: absolute;
}

.icon-inside i:first-of-type {
  font-size: 38px;
}

.icon-inside i:last-of-type {
  font-size: 18px;
  color: white;
  margin-left: 1px;
  opacity: 1;
}

.chat-div {
  height: 400px;
}

/* .data-table {
  width: calc(100vw - 250px) !important;
  max-width: calc(100vw - 250px) !important;
  overflow-x: auto;
} */