/* Reset básico */
* {
/*  
  margin: 0;
  padding: 0;
*/
  box-sizing: border-box;
}

html {
  max-width: 100vw;
  overflow-x: hidden;
}
/* Corpo */
body {
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  background: #ffffff;
  display: flex;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100vw;
  min-width: 100vw;

  display: flex;
  flex-direction: column;

  user-select:none;
}

button {
  font-family: Arial, sans-serif;
  font-size: 0.95em;
}

input, select, textarea {
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
}

.page-loading {
  position: absolute;
  top: 0px;
  left: 0px;
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #555;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #fff;
  z-index: 9999;
}

.page-loading img {
  height: 180px;
}
/* Contêiner Principal */
.container {
  display: flex;
  width: 100%;
  position: relative;
}

.sidebar {
  width: 260px;
  min-width: 260px;
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  padding: 20px;
  height: calc(100vh - 48px);
  border-right: 1px solid #ccc;
  z-index: 100;
}

.sidebar-header {
  display: flex;
  /*justify-content: space-between;*/ /* Ícones alinhados às extremidades */
  align-items: center;
  padding: 0px;
  height: 70px;
  gap: 10px;
}



.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 20px;
}

.menu ul li {
  margin: 2px 0px;
  cursor: pointer;
  height: 40px;
  display: flex;
  align-items: center;
  border-left: 2px solid transparent;
  border-radius: 8px;
}

.menu ul li span {
  margin: 0px;
}

.menu ul li.active span {
    color: #0a78ff;
}

.menu ul li:hover {
  background: #e7e7e7;
  border-left: 2px solid transparent;
}

.menu ul li.active,
.menu ul li.active:hover {
  background: #e7e7e7;
  border-left: 2px solid transparent; /*#73c4fc;*/
}

.menu ul li.divider {
  border-bottom: 1px solid #ccc; /* Linha divisória */
  margin: 10px 0; /* Espaço acima e abaixo da linha */
  height: 0;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  width: 100%;
  display: flex;
  align-items: center;
}

.menu a > .icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  margin-right: 5px;
}

.menu ul li.active a > .icon {
  color: #0a78ff;
}

.menu a > .icon > i {
  font-size: 16px; /* Tamanho do ícone */
  width: 16px;
  padding: 0px 12px;
}

.icon.project-diagram {
  transform: scaleY(1);
}

.chat-list > h2 {
    padding: 0;
    margin: 0;
}

.chat-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.chat-list ul li {
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
}

.new-list-btn {
  margin-top: 20px;
  padding: 10px;
  background: rgb(32, 167, 201);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

/* Área Principal */
.main-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px 0px 20px;
  position: relative;
  height: calc(100vh - 48px);
  max-height: calc(100vh - 48px);
}

.main-content.sidebar-hidden {
  width: 100%; /* Largura total quando a sidebar está oculta */
}

.header-chat {
  display: flex;
  justify-content: space-between;
  height: 70px;
  align-items: center;
  width: 100%;
}

.header-main {
  display: flex;
  position: relative;
  align-items: center;
  column-gap: 10px;
  width: 100%;
  height: 36px;
}

.header-main h1 {
  font-weight: 400;
  color: #666;
  font-size: 20px;
}

.header-main span {
  color: #666;
  padding-left: 5px;
  padding-right: 5px;
}

.header-right {
  display: flex;
  align-items: center;
  column-gap: 10px;
  height: 36px;
}

.header-right i {
  font-size: 16px;
  padding: 10px 8px;
  border-radius: 4px;
}

.header-right .notifications.checked {
  background-color: #eee;
}

.header-right .help,
.header-right .notifications {
  display: flex;
  width: 30px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

.header-right .help svg,
.header-right .notifications svg {
  top: -1px;
  left: -1px;
  height: 16px;
  position: relative;
  scale: -1;
}

.header-right .help svg {
  transform: scaleX(-1);
}

.notification-menu,
.notification-item-menu {
  white-space: nowrap;
  background-color: #fff;
  border: 0px;
  height: 32px;
}

.notification-menu:hover,
.notification-item-menu:hover {
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border-radius: 2px;
}

.notification-button {
  display: flex;
  align-items: start;
}

.notification-dropdown-menu {
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  list-style: none;
  padding: 4px 0px;
  margin: 0;
  min-width: 215px;
  z-index: 10001;
}

.notification-dropdown-menu .divider {
  border-top: none;
  border-right: none;
  border-left: none;
  border-image: initial;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  margin: 4px;
}

.notification-dropdown-menu .menu-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  margin: 0px 4px;
}

.notification-dropdown-menu .menu-item:not([disabled]):hover {
    background-color: #f4f4f4;
}

.notification-dropdown-menu .menu-item i {
  margin-right: 16px;
  height: 16px;
  width: 16px;
}

.notification-dropdown-menu .menu-item:disabled, 
.notification-dropdown-menu .menu-item[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}


.main-icons {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  align-items: center;
}

.main-icons svg {
  position: relative;
  top: 2px;
  width: 24px;
  height: 24px;
  margin: 0px;
  padding: 0px;
}

.main-icons .menu-icon,
.main-icons .settings-icon {
  display: none;
  font-size: 20px;
  color: #000;
  cursor: pointer;
}

.main-icons .menu-icon:hover,
.main-icons .settings-icon:hover {
  color: rgb(32, 167, 201); 
}

.title-fixed {
  /*font-family: Arial;*/
  font-size: 21px;
  font-weight: 600;
  color: #000000;
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.typing-container {
  width: 100%;
  max-width: 70%;
  margin: 20px auto;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  height: 70px;
  /*
  animation: blink-cursor 0.8s steps(2) infinite;
  */
}

@keyframes blink-cursor {
  0%, 100% {
    border-color: transparent;
  }
  50% {
    border-color: #000;
  }
}

p#typing-text {
  margin: 0;
  font-size: 36px;
  color: #999;
}

p#typing-text2 {
  margin: 0;
  color: #999;
  font-size: 20px;
}

.area-central {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding-bottom: 0px;
}


.area-central.clear {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  text-align: center;
  justify-content: start;
  padding-bottom: 0px;
}

.info-cards {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 60%;
  height: 100%;
  align-content: center;
  margin: 0 auto;
  margin-top: -130px;
}

.info-card {
  flex: 1 1 calc(33% - 20px);
  background: #f2f2f2;
  color: #1985a0;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: fit-content;
  min-height: 234px;
  font-feature-settings: "tnum";
}

.info-card > h3 {
    padding: 0px;
    margin: 0px 0px 15px 0px;
}

.info-link {
  display: block;
  font-size: 14px;
  margin: 0px;
  padding-bottom: 10px;
  color: #32a7c9;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.info-link:hover {
  color: rgb(32, 167, 201);
  border-bottom-color: rgb(32, 167, 201);
}

.info-link:last-child {
  border-bottom: none; /* Remove a linha do último link */
  padding-bottom: 0px;
}

.info-card p {
  font-size: 14px;
  font-feature-settings: "tnum";
  margin: 0px; /* Espaçamento entre os parágrafos */
  padding-bottom: 10px; /* Espaçamento adicional antes da linha */
  border-bottom: 1px solid #ccc; /* Linha de divisão */
}

.info-card p:last-child {
  border-bottom: none; /* Remove a linha do último parágrafo */
  padding-bottom: 0; /* Remove o padding adicional do último parágrafo */
}

/* Área de Perguntas */
.prompt-section {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 60%;
  width: 100%;
  align-items: center;
  background: #f2f2f2;
  border-radius: 10px;
  padding: 10px;
  transition: height 0.2s ease;
  margin: 0 auto;
  /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  border: 1px solid #ccc;
  max-height: 200px;
  contain-intrinsic-height: auto 116px;
}

.prompt-input-container {
  width: 100%;
}

.prompt-input {
  display: flex;
  width: 100%;
  border: 1px solid #ccc;
  outline: none;
  padding: 8px 50px 8px 42px;
  border-radius: 4px;
  background-color: #ffffff;
  resize: none;
  overflow-y: hidden;
  font-size: 14px;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  height: 38px;
  min-height: 38px;
  align-items: center;
  margin: 8px 0px;
  overflow-y: auto;
  max-height: 120px;
}

/* Área de Opções */
.prompt-options {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
}

/* bloco de opções de AI */
.ai-icon-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 20px;
  cursor: pointer;
}

/* Ícone */
.ai-icon-dropdown .ai-icon {
  font-size: 24px;
  user-select: none;
}

.ai-opt-menu {
  display: none; /* inicialmente oculto */
  position: absolute;
  bottom: 35px;
  left: 0;
  background-color: #fff;
  min-width: 150px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 1000;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}

.ai-opt-menu li {
  text-align: left;
  padding: 8px 12px;
  cursor: pointer;
}

.ai-opt-menu li:hover {
  background-color: #f0f0f0;
}

.ai-selected-text {
  font-size: 14px;
  user-select: none;
}

.ai-opt-menu > li svg {
  transform: scaleY(-1);
}

.ai-opt-menu > li.ai svg {
  top: 4px;
  left: -1px;
  height: 16px;
  position: relative;
  /* scale: -1; */
}

.ai-opt-menu > li.graph svg {
  top: 4px;
  left: -1px;
  height: 16px;
  position: relative;
  /* scale: -1; */
}

.ai-opt-menu > li.raw svg {
  top: 4px;
  left: -1px;
  height: 16px;
  position: relative;
  /* scale: -1; */
}

/* fim bloco de opções de AI */

.user-avatar-sm {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 26px;
  height: 26px;
  color: #fff;
  top: 66px;
  left: 20px;
  font-size: 13px;
}

.left-option {
  display: flex;
  align-items: center;
}

input#rawdata {
  margin-left: 20px;
}

.source-selector {
  position: relative;
  width: auto;
  height: 34px;
}

.source-btn {
  display: flex; /* Ativa Flexbox */
  justify-content: space-between; /* Espaço entre o texto e o ícone */
  align-items: center; /* Alinha verticalmente o texto e o ícone */
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 12px;  
  cursor: pointer;
  width: 230px; /* Define a largura do botão */
  text-align: left; /* Texto sempre alinhado à esquerda */
}


.selected-text {
  flex-grow: 1;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-icon {
  margin-left: auto; /* Garante que o ícone fique na extremidade direita */
  font-size: 12px;
}

.source-options {
  display: none; /* Inicialmente oculto */
  position: absolute;
  bottom: 21px; /* Exibe a lista para cima */
  left: 0;
  background: white;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Sombra ajustada para cima */
  border-radius: 4px;
  padding: 10px;
  z-index: 1000;
  list-style: none;
  width: 100%; /* Mesma largura do botão */
  max-height: 200px; /* Limita a altura */
  overflow-y: auto; /* Adiciona barra de rolagem se necessário */
  text-align: left;
  border: 1px solid #ccc;
}

.source-options li {
  margin-bottom: 2px;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  color: #000000;
}

.source-options li:hover {
  background: #e7e7e7;
  /*color: white;*/
}

.source-options li:last-child {
  margin-bottom: 0;
}

.source-options label {
  cursor: pointer;
  color: #000000;
}

.left-option label {
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
}

/* Botão de Enviar */

.rec-btn {
  position: absolute;
  right: 52px;
  bottom: 21px;
  display: flex;
  background: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 6px;
  color: #00aaff;
  font-size: 18px;
  cursor: pointer;
  font-weight: 600;
  height: 30px;
  width: 31px;
  align-items: center;
  justify-content: center;
}

.rec-btn svg {
  position: relative;
  top: -1px;
  transform: scaleY(-1);
  height: 18px;
}


/* Overlay */
.stoprecord-overlay{
  position:fixed;
  top:0; left:0; right:0; bottom:0;
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
}

/* Botão de escutar */
.stoprecord-btn{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:140px;
  height:140px;
  border-radius:50%;
  background: #00aa55;
  border: 3px solid rgba(0,255,100,0.4);
  box-shadow: 0 0 25px rgba(0,255,100,0.5);
  color:#fff;
  cursor:pointer;
  position: relative;
  overflow: hidden;
  animation: pulseBorder 1.5s infinite;
}

/* Equalizador (barras animadas) */
.equalizer {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  justify-content: center;
  /*height: 60px;*/
}

.equalizer span {
  display: block;
  width: 6px;
  background: #fff;
  border-radius: 2px;
  animation: bounce 1s infinite ease-in-out;
}

.equalizer span:nth-child(1) { animation-delay: 0s; height: 20px; }
.equalizer span:nth-child(2) { animation-delay: 0.2s; height: 35px; }
.equalizer span:nth-child(3) { animation-delay: 0.4s; height: 25px; }

/* Texto */
.status-text{
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  display: none;
}

/* Animações */
@keyframes bounce {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1.5); }
}

@keyframes pulseBorder {
  0% { box-shadow: 0 0 10px rgba(0,255,100,0.4), 0 0 20px rgba(0,255,100,0.4); }
  50% { box-shadow: 0 0 30px rgba(0,255,100,0.8), 0 0 50px rgba(0,255,100,0.6); }
  100% { box-shadow: 0 0 10px rgba(0,255,100,0.4), 0 0 20px rgba(0,255,100,0.4); }
}


/* Botão de Enviar */
.send-btn {
  position: absolute;
  right: 26px;
  bottom: 21px;
  display: flex;
  background: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 6px;
  color: #00aaff;
  font-size: 18px;
  cursor: pointer;
  font-weight: 600;
  height: 30px;
  width: 31px;
  align-items: center;
  justify-content: center;
}

.send-btn svg {
    position: relative;
    top: -1px;
    transform: scaleY(-1);
    height: 18px;
}

.warning-message {
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 12px;
  text-align: center;
  /*color: rgb(200, 200, 200);*/
  opacity: 0.8;
}

.profile-section {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.profile-menu {
  position: absolute;
  top: 40px;
  right: 0;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  width: auto;
  display: none;
  flex-direction: column;
  z-index: 1000;
  border: 1px solid #ccc;
}

.profile-menu.visible {
  display: flex;
  padding: 10px;
  min-width: 270px;
  max-width: 320px;
  width: max-content;
}

.profile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0px;
  margin-top: 10px;
}

.profile-menu li {
  margin: 2px 0px;
  cursor: pointer;
  height: 40px;
  align-items: center;
  display: flex;
  border-left: 2px solid transparent;
  border-radius: 8px;
}

.profile-menu li:hover {
  background: #e7e7e7;
  border-left: 2px solid transparent; /*#73c4fc;*/
}

.profile-menu a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  width: 100%;

  display: flex;
  height: 40px;
  align-items: center;
}

.profile-menu a > .icon {
  width: 43px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  margin-right: 5px;
}

.profile-menu a > .icon > i {
  font-size: 16px; /* Tamanho do ícone */
  width: 16px;
  padding: 0px 12px;
}

.profile-menu a > .icon > svg {
  position: relative;
  top: 0px; /*-1px;*/
  left: 0px; /*-6px;*/
  margin-left: 4px; /*12px;*/
  width: 24px;
  height: 24px;
  scale: -1;
  transform: scale(0.83333333);
}

/*.profile-menu a > .icon.building > svg {
  top: -1px;
  left: -6px;
}*/

.profile-menu a > .icon.robot > svg {  
  margin-left: 10px;
}

.profile-menu a > .icon.exclamation-triangle > svg {
  width: 22px;
  margin-left: 10px;
}

.profile-menu a > .icon.info-circle > svg {
  margin-left: 6px;
}

.profile-menu a > .icon.sign-out-alt > svg {
  margin-left: 10px;
  top: -2px;
  scale: 1;
}

.menu a > .icon > svg {
  scale: -1;
  height: 20px;
  width: 20px;
  transform: scaleX(-1);
  margin-left: 12px;
  margin-right: 8px;
  position: relative;
  top: 0px;
  left: 0px;
  padding: 0px;
}

.menu a > .icon.application > svg {
  top: 0px;
  left: -1px;
  width: 19px;
  scale: 1;
  transform: scaleX(1);
}


.menu a > .icon.plus > svg {
  left: 2px;
}

/*.menu a > .icon.cog > svg
 {
  top: -1px;
  left: -4px;
  width: 24px;
  transform: scaleX(-1);
}*/

.profile-menu ul li.divider {
  border-bottom: 1px solid #ccc; /* Linha divisória */
  margin: 10px 0; /* Espaço acima e abaixo da linha */
  height: 0;
}

.profile-avatar {
  width: 32px;
  height: 32px;
  background: #ce93d8;
  border-radius: 50%;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
}

.profile-info {
  display: flex;
  flex-direction: column;
  padding: 0px 10px;
  text-align: center;
  row-gap: 10px;
  align-items: center;
  
}

.profile-info p {
  margin: 0;
  font-size: 14px;
}

.profile-info p.name {
  font-weight: bold;
}

.profile-local {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 34px;
}

.profile-name {
  width: 170px;
}

.profile-phone {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px; 
  /* flex: 1; */
  height: 34px;
  margin-right: 8px;
}

.profile-input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px; 
  height: 34px;
}

.profile-card-fullname {
  display: flex;
  flex-direction: row;
}

.profile-info > .profile-avatar {
  width: 70px;
  height: 70px;
  background: #ce93d8;
  border-radius: 50%;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
}

.profile-phone-update {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.profile-btn {
  margin-top: 20px;
  padding: 10px;
  background: #00aaff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}
/******/

.chat-display {
  position: relative;
  display: none;
  flex-direction: column;
  margin: 0px auto;
  width: 100%;
  max-width: calc((100vw - 260px - 40px) * 0.6);
  height: 100%;
  overflow-y: auto;
  background: #ffffff;
  gap: 10px;  
}


.message {
  max-width: 100%;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  text-align: justify;
}

.block-message-user {
  display: flex;
  justify-content: flex-end;
  width: 60%;
  align-self: flex-end;
  margin-top: 20px;
}


.message.user {
  align-self: flex-end;
  background: #00aaff63;
  color: #000000;
  max-width: calc(100% - 36px);
}

.message-user-avatar {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 26px !important;
  height: 26px !important;
  color: #fff;
  font-size: 13px;
  margin-left: 10px;
}

.block-message-bot {
  margin-bottom: 20px;
  max-width: 60%;
}

.footer-message-bot {
    /* padding: 10px 0px 0px 0px; */
    margin-top: 2px;
    text-align: right;
}

.message.bot {
  align-self: flex-start;
  background: #e7e7e78a;
  color: #666;
  gap: 4px;
}

.message.bot.graph, 
.message.bot.text  {
  padding-right: 20px;
  padding-top: 30px;
}

.message.bot.info {
  display: flex;
  align-self: flex-start;
  font-size: 14px;
  background: #e7e7e78a;
  color: #666;
  align-items: baseline;
  gap: 4px;
}

.message.bot.error {
  background: #ffe3e3;
  border: 1px solid red;
}

.message.bot.error svg {
  color: red;
  margin-right: 8px;
  transform: scaleY(-1);
  position: relative;
  top: 4px;
}

.message.bot.info span {
  display: inline-block;
  width: 3px;
  height: 3px;
  background-color: #666;
  border-radius: 50%;
  animation: bounce 1.4s infinite;
}

.chat-display::-webkit-scrollbar {
  width: 8px;
}

.chat-display::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.chat-display::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.block-message-bot {
    position: relative; /* necessário para posicionamento absoluto do ícone e menu */
}

.bot-menu-icon {
    position: absolute;
    top: 10px;     /* distância do topo da div */
    right: 10px;   /* distância da direita da div */
    cursor: pointer;
    width: 20px;
    height: 20px;
    fill: #333;   /* cor do SVG */
    z-index: 10;  /* para ficar acima do conteúdo */
}

.bot-dropdown-menu {
  display: none;
  position: absolute;
  top: 30px;
  right: 5px;
  min-width: 120px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 1000;
}

.bot-dropdown-menu li {
  list-style: none;
  text-align: left;
  padding: 8px 12px;
  cursor: pointer;
}

.bot-dropdown-menu li:hover {
  background-color: #f0f0f0;
}

.bot-dropdown-menu > li svg {
  transform: scaleY(-1);
}

.bot-dropdown-menu > li.download svg {
    top: 4px;
    left: -1px;
    height: 16px;
    position: relative;
    /* scale: -1; */
}

.bot-dropdown-menu > li.showquery svg {
    top: 4px;
    left: -1px;
    height: 16px;
    position: relative;
    /* scale: -1; */
}

#dialogsql {
  display: none;
}

p#dialogsqlText {
  line-height: 1.6;
  font-size: 14px;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.ui-dialog .ui-dialog-title {
  font-size: 14px;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
}

.ui-dialog .ui-dialog-buttonpane button {
  font-family: Arial, sans-serif;
  font-size: 0.95em;
  border-radius: 4px;
  height: 34px;
  padding: 8px 15px;
  background-color: #00aaff;
  color: #fff;
}

/********************/
.chat-kalistho {
  margin-top: 10px;
  align-self: flex-start;
  display: inline-flex;
  border-radius: 10px;
  line-height: 1.4;
  gap: 4px;
  padding: 0px;
  background-color: transparent;
  align-items: center;
}

.chat-kalistho svg {
  transform: scaleY(-1);
  width: 17.5px;
  height: 15px;
  top: -1px;
  position: relative;
}

.chat-loading {
  align-self: flex-start;
  display: inline-flex;
  border-radius: 10px;
  line-height: 1.4;
  gap: 4px;
  padding: 10px 10px 10px 0px;
  background-color: transparent;
  align-items: center;
}

.chat-loading span {
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: #666;
  border-radius: 50%;
  animation: bounce 1.4s infinite;
}

.chat-loading span:nth-child(2) {
  animation-delay: 0.2s;
}
.chat-loading span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}


.chat-typing {
  align-self: flex-start;
  display: inline-flex;
  border-radius: 10px;
  line-height: 1.4;
  gap: 4px;
  padding: 10px 10px 10px 0px;
  background-color: transparent;
  align-items: baseline;
}

.chat-typing span {
  display: inline-block;
  width: 3px;
  height: 3px;
  background-color: #666;
  border-radius: 50%;
  animation: bounce 1.4s infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.chat-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

/**************************/

.header-start {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
  background-color: #fff;
  /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
  height: 48px;
  width: 100%;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid #ccc;
}

.logo {
    height: 36px;
    align-content: end;
}

.logo img {
  height: 36px;
}

.user-menu img {
  height: 40px;
  border-radius: 50%;
}

.start-main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  /*height: calc(100vh - 48px);*/
  padding: 20px;
  text-align: center;
  width: 100%;
  background-color: #f7f7f7;
}

.card {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    max-width: 70%;
    min-width: 710px;
    width: 100%;
}

.icon img {
    height: 70px;
    margin-bottom: 20px;
}

/*
h1 {
    margin: 0 0 20px;
    font-size: 24px;
    color: #333;
}

p {
    margin: 0 0 20px;
    line-height: 1.5;
    color: #666;
}

p a {
    color: #007acc;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}
*/

.start-button {
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #00aaff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.start-button:hover {
    background-color: #005f99;
}




/**********************/

.main-content-create {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  max-height: calc(100vh - 48px);
  background-color: #fff;
}

.create-section, 
.welcome-section {
  padding: 20px 20px 70px 20px;
}

.create-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.create-card {
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex: 1;
  max-width: 250px;
  min-width: 250px;
  text-align: left;
  transition: transform 0.2s ease;
  border: 2px solid transparent;
}

.create-card.active {
  border: 2px solid #00aaff;
}

.create-card:hover {
  border: 2px solid #00aaff;
  cursor: pointer;
}

.create-section > h1 {
    font-size: 24px;
    padding: 0px;
    margin: 0px;
}

.create-section > h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 50px 0px 20px;
}

.create-card h3 {
  font-size: 16px;
  margin: 10px 0;
}

.create-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  height: 40px;
}

.create-card a {
  text-decoration: none;
  color: #00aaff;
  font-weight: bold;
  font-size: 14px;
}

.create-card-icon img {
  width: 24px;
  height: 24px;
}


/****************/

.main-content-resources {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0px;
  overflow-y: hidden;
}

.main-content-resources.noscroll {
  overflow-y: hidden;
}

/* Tabs */
.resources-tabs {
  display: flex;
  gap: 0px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.resources-tabs-w-bottom {
  display: flex;
  gap: 0px;
  border-bottom: 1px solid #ccc;
}


.resources-tabs.block {
  display: block;
  gap: 0px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.resources-tabs.block h2 {
  margin-bottom: 7px;
}

.resources-tabs.block p {
  margin-top: 0px;
  padding-left: 15px;
}

.resources-tab {
  padding: 12px 20px;
  background-color: #fff;
  border: 0px;
  border-bottom: 2px solid transparent;
  /*border-radius: 4px;*/
  cursor: pointer;
}

.resources-tab.active {
  border-bottom: 2px solid #00aaff;
  padding: 12px 20px;
}

/* Filters */
.resources-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.resources-filter-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.resources-filter-select,
.resources-filter-button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

/* Data Table */
.resources-data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.resources-data-table th,
.resources-data-table td {
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.resources-data-table th {
  background-color: #f7f7f7;
}

.folder-icon {
  margin-right: 8px;
  font-size: 16px;
}


#resources-tab1,
#resources-tab2, 
#resources-tab3,
#resources-tab4 {
  padding-left: 15px;
  padding-right: 15px;
}


#resources-tab2, 
#resources-tab3,
#resources-tab4 {
  display: none;
}


/***********/
/* Modal Styles */
.connection-modal {
  display: none; /* Oculto por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.connection-modal-body {
    display: none; /* Ambas as views estão ocultas por padrão */
}

.connection-modal-body.initial-view {
    display: block; /* A view inicial é visível por padrão */
}

.connection-modal-body.secondary-view {
    display: none; /* A view secundária é invisível inicialmente */
}

.connection-modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 660px;
  max-height: 640px;
  height: 640px;
  overflow-y: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.connection-modal-content h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  text-align: left;
  margin-bottom: 50px;
}

.connection-modal-header {
  display: flex;
  flex-direction: column; 
  margin-bottom: 20px;
}

.connection-modal-header label {
  margin-bottom: 5px;
}

.connection-space-select {
  width: 100%; /* Garante que o espaço ocupe toda a linha */
}

.connection-space-select select {
  width: 100%; /* Faz o select ocupar toda a largura do contêiner */
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-top: 5px;
  height: 34px;
}

.connection-search-and-view {
  display: flex;
  align-items: center; /* Centraliza os itens verticalmente */
  gap: 10px; /* Espaçamento entre o input e os botões */
  width: 100%; /* Ocupa toda a largura */
}

.connection-search-input {
  flex: 1; /* Faz o input ocupar o máximo de espaço disponível */
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  height: 34px;
}

.connection-view-toggle {
  display: flex;
  gap: 5px;
}

.connection-view-toggle button {
  background: none;
  border: 0px solid #ccc;
  padding: 8px 10px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  display: block;
}

.connection-view-toggle button.active {
  background-color: #ccc;
  color: #000;
}

.data-connectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  overflow-y: scroll;
  height: 346px;
  padding: 0px 5px 0px 0px;
  /*border: 1px solid #ccc;  
  border-radius: 4px;*/
}

.connector {
 display: flex;
 flex-direction: column;
 align-items: center;
 background: #fff;
 padding: 15px 10px;
 border-radius: 4px;
 border: 1px solid #ccc;
 cursor: pointer;
 text-align: center;
 height: 138px;
 max-height: 138px;
}

.connector.connector-disabled {
  cursor: not-allowed;
}

.connector p {
  margin-bottom: 0px;
}

.connector.connector-disabled p {
  opacity: 40%;
}

.connector img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.connector.connector-disabled img {
  filter: grayscale(100%);
  opacity: 40%;
}

.connection-db-icon {
  height: 40px;
  margin-right: 20px;
}

.connection-db-info {
  display: flex;
  align-items: center;
}

#connectorName {
  font-size: 20px;
}

.connection-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.connection-test-connection-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
  /*color: #007acc;*/
}

.connection-modal-buttons {
  display: flex;
  gap: 10px;
}

.connection-modal-footer .modal-buttons {
  display: flex;
  gap: 10px;
}

.connection-auth-btn {
  background-color: #00aaff;
  color: #fff;
  padding: 6px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
  display: block;
  width: fit-content;
  text-decoration: none;
}

.connection-cancel-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.connection-create-btn {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.connection-test-connection-btn:disabled {
  color: #00000042; /* Cinza escuro */
  cursor: not-allowed; /* Cursor de "não permitido" */
  border: 1px solid #0000001f; /* Borda cinza */
}

.connection-create-btn:disabled {
  background-color: #0000001f; /* Cinza claro */
  color: #00000042; /* Cinza escuro */
  cursor: not-allowed; /* Cursor de "não permitido" */
  border: 1px solid #0000001f;
}

/* Close Button */
.connection-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}


.connection-modal-back-btn {
  display: flex;
  width: min-content;
  background: #f7f7f7;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  height: 34px;
  margin-bottom: 15px;
}


.connection-modal-back-btn > i {
  margin-right: 8px;
}


.connection-modal-body-frame {
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 4px 4px 0px 0px;
  overflow-y: scroll;
  height: 286px;
}

.connection-modal-footer.fixed-footer {
  position: sticky;
  bottom: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-top: 0px;
  padding: 10px;
  margin-top: 0;
  display: none;
  height: 77px;
}

.connection-modal-footer.fixed-footer > label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: bold;
}

.connection-modal-footer.fixed-footer > input {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}


/*****************/


.login-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  width: 100%;
  background-color: #fafafa;
  gap: 25px;
  height: 100%;
}

.login-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 600px;
  width: 100%;  
}

.login-left {
    background-color: #1e3367;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.illustration {
    max-width: 100%;
    height: auto;
}

.login-right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right h1 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
  text-align: left;
}

.login-right p {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 20px;
  text-align: left;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.login-form label {
  font-size: 14px;
  color: #333;
  display: block;
  margin-bottom: 5px;
  text-align: left;
  font-weight: 600;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.login-form .links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
  margin-bottom: 20px;
}

.login-form .links a {
  font-size: 14px;
  color: #007acc;
  text-decoration: none;
}

.login-form .links a:hover {
  text-decoration: underline;
}

.login-btn {
  align-self: flex-end;
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.login-btn:hover {
    background-color: #00aaff;
}

.signup {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.55);
    margin-top: 10px;
}

.signup a {
    color: #007acc;
    text-decoration: none;
}

.signup a:hover {
    text-decoration: underline;
}

.login2step {
  display: none;
}

/********************/

/* Modal */
.dataset-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.dataset-modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  width: calc(100% - 64px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  height: calc(100vh - 64px);
  position: relative;
}

.dataset-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dataset-modal-subheader {
  position: relative;
  top: 0px;
  margin-bottom: 32px;
}

.dataset-modal-breadcrumb {
  display: flex;
  align-items: center;
}

.dataset-modal-header .dataset-modal-subheader h2 {
  font-size: 20px;
  color: #333;
  text-align: left;
  margin-top: 50px;
  margin-bottom: 5px;
  font-weight: 600;
}

.dataset-modal-header .dataset-modal-subheader .breadcrumb,
.datasettable-modal-header .dataset-modal-subheader .breadcrumb {
  display: flex;
  align-items: center;
  margin-right: 5px;
  font-weight: 600;
}


.dataset-modal-header .dataset-modal-subheader .breadcrumb .dataset-step1, 
.dataset-modal-header .dataset-modal-subheader .breadcrumb .dataset-step2.check {
  display: flex;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background-color: #00aaff;
  border: 1px solid #00aaff;
  justify-content: center;
  align-items: center;
  margin-right: 8px;
  color: #fff;
}

.datasettable-modal-header .dataset-modal-subheader .breadcrumb .dataset-step1 {
  display: flex;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #00aaff;
  justify-content: center;
  align-items: center;
  margin-right: 8px;
  color: #00aaff;
}

.datasettable-modal-header .dataset-modal-subheader .breadcrumb .dataset-step1 i {
  font-size: 14px;
  margin-top: 2px;
}

.datasettable-modal-header .dataset-modal-subheader .breadcrumb .dataset-step2 {
  display: flex;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background-color: #00aaff;
  border: 1px solid #00aaff;
  justify-content: center;
  align-items: center;
  margin-right: 8px;
  color: #fff;
}

.dataset-modal-header .dataset-modal-subheader .breadcrumb .dataset-step2 {
  display: flex;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  justify-content: center;
  align-items: center;
  margin-right: 8px;
  color: rgba(64, 64, 64, 0.76);
}


.dataset-step-text {
    align-items: center;
}

.dataset-step-division {
  height: 1px;
  align-items: center;
  flex: 1 1 auto;
  display: flex;
  flex-grow: 1;
  justify-content: center;
  box-sizing: border-box;
  width: 40px;
  background: #000000;
  margin-top: 2px;
  margin-left: 8px;
  margin-right: 8px;
}

.dataset-modal-header .dataset-close,
.datasettable-modal-header .datasettable-close{
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}

.dataset-modal-body {

}

.dataset-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

.dataset-toolbar i.fas.fa-search {
  position: absolute;
  left: 30px;
  color: #888;
  padding-top: 1px;
}

.dataset-toolbar .dataset-search {
  flex: 1;
  padding: 8px 10px 8px 35px;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 250px;
  height: 34px;
}

.dataset-filter-btn {
  display: none; /* revisar por funcionalidade */
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  height: 34px;
}

/*.dataset-owner-select,*/
.dataset-create-connection-btn {
  display: flex;
  align-items: center;
  background-color: #28a745;
  color: #fff;
  padding: 8px 15px;
  border: 1px solid #28a745;
  border-radius: 4px;
  height: 34px;
}

.dataset-owner-select {
  width: 120px;
}

.dataset-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}


.dataset-create-connection-btn:hover {
  background-color: #218838;
}

.dataset-upload-btn {
  display: flex;
  align-items: center;
  background-color: #007acc;
  color: #fff;
  padding: 8px 15px;
  border: 1px solid #007acc;
  border-radius: 4px;
  height: 34px;
}

.dataset-upload-btn:hover {
  background-color: #005f99;
}

.dataset-upload-btn svg, 
.dataset-create-connection-btn svg {
  width: 16px;
  height: 16px;
  margin-right: 7px;
}

table.dataTable>tbody>tr>th, table.dataTable>tbody>tr>td {
  padding: 7px 10px;
}

table.dataTable>tbody>tr>th, table.dataTable>tbody>tr>td {
  border-left: 1px solid #ddd !important;
  border-right: 1px solid #ddd !important;
}
table.dataTable>tbody>tr>th, table.dataTable>tbody>tr>td {
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

table#datasettable {
  height: calc(100vh - 64px - 304px);
  display: flow;
  overflow-y: auto;
  border: 1px solid #ccc;
  width: 100% !important;
}
table#datasettable tr:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

table#datasettable th {
  background-color: #f7f7f7;
}

#datasettable_wrapper .bottom-container {
  margin-top: 10px;
  width: 100%;
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

.dataset-modal-footer {
  padding: 20px 0px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.dataset-cancel-btn,
.dataset-back-btn,
.dataset-next-btn {
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.dataset-cancel-btn {
  background: none;
  border: 1px solid #ccc;
}

.dataset-back-btn {
  background-color: #f7f7f7;
  color: white;
}

.dataset-back-btn:disabled {
  background-color: rgb(255 255 255 / 60%);
  color: rgb(0 0 0 / 26%);
  cursor: not-allowed;
  border: 1px solid rgb(0 0 0 / 12%);
}

/*.dataset-back-btn:hover {
    background-color: #005f99;
}*/

.dataset-next-btn {
  background-color: #00aaff;
  color: #fff;
  border: 1px solid #00aaff;
  height: 34px;
}

.dataset-next-btn:disabled {
  background-color: rgb(0 0 0 / 12%);
  color: rgb(0 0 0 / 26%);
  cursor: not-allowed;
  box-shadow: none;
  border: 1px solid rgb(0 0 0 / 12%);
}

.dataset-table td img {
  vertical-align: middle;
  margin-right: 8px;
}

/*.dataset-next-btn:hover {
    background-color: #005f99;
}*/


/*********************/

#connection-form > fieldset {
  border: 0px;
  border-top: 1px solid #ccc;
  margin-bottom: 10px;
  padding: 20px 0px;
  border-radius: 0px;
}

legend {
  font-size: 14px;
  font-weight: bold;
}

#connection-form > fieldset > .form-group {
  margin-bottom: 15px;
}

#connection-form > fieldset > .form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

#connection-form > fieldset > .form-group input[type="text"],
#connection-form > fieldset > .form-group input[type="password"],
#connection-form > fieldset > .form-group input[type="number"],
#connection-form > fieldset > .form-group select,
#connection-form > fieldset > .form-group textarea {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#connection-form > fieldset > .form-group > label#userdefinedcredentials {
  display: inline;
}

#connection-form > fieldset#credentials > .form-group div {
  margin-bottom: 15px;
}

#connection-form > fieldset > .form-group label#connection-password-label {
  margin-top: 15px;
}

#connection-form > fieldset#credentials > .form-group {
  margin-bottom: 0px;
}

#connection-form > fieldset#credentials {
  border: 1px solid #ccc;
  margin-bottom: 10px;
  padding: 20px 10px;
  border-radius: 0px;
  background: #f7f7f7;
}

#connection-form .formenduser {
  display: none;
  background: #f2f2f2;
  display: block;
  padding: 15px;
}

#connection-form > fieldset > .form-group.formenduser > label {
  margin-bottom: 15px;
  display: block;
}

#connection-form .formcode {
 margin-top: 15px;
}

.formcode-validate {
  display: flex;
  column-gap: 10px;
}

.connection-code-verify-btn {
  background: #ffffff;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 36px;
}


/*****************/

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.5); */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30000;
    display: none;
}

.modal-overlay > .modal-box {
  background: #fbfbfb;
  border-radius: 8px;
  /* padding: 20px; */
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  text-align: center;
  width: 450px;
  border-color: #808080;
  box-shadow: 0 2px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.modal-overlay > .modal-box h3 {
  margin: 0 0 0px;
  font-size: 14px;
  text-align: left;
  padding: 8px 20px 8px 20px;
  height: 44px;
  align-items: center;
  display: flex;
}

.modal-overlay > .modal-box p {
  margin: 0;
  font-size: 14px;
  color: #666;
  padding: 20px 10px 20px 10px;
  background: #fff;
  border-top: 1px solid rgb(0 0 0 / 20%);
  border-bottom: 1px solid rgb(0 0 0 / 20%);
}

.modal-overlay > .modal-box button {
  display: flex;
  align-items: center;
  background-color: #00aaff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  height: 34px
}

.modal-overlay > .modal-box button:hover {
  /*background-color: #005fa3;*/
}

.modal-overlay > .modal-box > .modal-footer {
  display: flex;
  padding: 10px 20px;
  justify-content: end;
}


/*************************/


.popup {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background-color: #333;
  padding: 15px 20px;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  text-align: center;
  min-width: 200px;
  max-width: 472px;
  /*display: none; /* Hidden by default */
  display: flex;
  align-items: center;
  gap: 10px;
}

.popup.hidden {
  display: none;
}

.popup.success {
  background-color: #fbfbfb;
  border: 2px solid #28a745;
}

.popup.success > svg {
  color: #28a745;
  transform: scaleY(-1);
}

.popup.error {
  background-color: #fbfbfb;
  border: 2px solid #dc3545;
}

.popup.error > svg {
  color: #dc3545;
  transform: scaleY(-1);
}

.popup.info {
  background-color: #fbfbfb;
  border: 2px solid #17a2b8;
}

.popup.info > svg {
  color: #17a2b8;
  transform: scaleY(-1);
}

/* Icon styling */
.icon {
  font-size: 16px;
  display: flex;
  align-items: center;
}

.popup.success > span#popupIcon {
  color: #28a745;
}

.popup.error > span#popupIcon {
  color: #dc3545;
}

.popup.info > span#popupIcon {
  color: #17a2b8;
}


/************/

.datasettable-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: none;
}

.datasettable-content {
  background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: calc(100% - 64px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    height: calc(100vh - 64px);
    position: relative;
}

.datasettable-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.datasettable-modal-body {
    display: flex;
}

.datasettable-sidebar {
  width: fit-content;
  min-width: 220px;
  max-width: 220px;
  padding: 0px 20px 0px 0px;
}

.datasettable-sidebar label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.datasettable-sidebar input,
.datasettable-sidebar select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.datasettable-table-item-list {
  height: calc(100vh - 426px);
  border-radius: 4px;
  border: 1px solid #ddd;
  overflow-y: auto;
}

.datasettable-table-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0px;
  padding: 0px;
  gap: 0px;
  border-bottom: 1px solid #ddd;
}

.datasettable-table-item:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.datasettable-table-item-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  gap: 10px;
  width: 75%;
}

.datasettable-table-item-value {
  display: flex;
  width: 50%;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 10px 10px 0px;
}

.datasettable-table-item-label > input {
  width: fit-content;
  margin: 0;
  padding: 0;
}

.datasettable-table-item-label > label {
  margin: 0;
  width: 100%;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.datasettable-filter {
  margin-bottom: 15px;
  max-width: calc(100% - 220px);
}

.datasettable-filter label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.datasettable-filter input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.datasettable-filter button {
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
  background: none;
  border: 1px solid #ddd;
}

.datasettable-subcontent {
    width: 100%;
    padding: 0px;
}

.datasettable-subcontent > #title,
.datasettable-subcontent > .datasettable-header-row > .datasettabel-tabs-extras > #title,
.datasettable-subcontent > .datasettable-header-row > .datasettable-header-lines > label {
    margin-bottom: 5px;
    font-weight: bold;
    display: block;
}

.datasettable-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(100% - 220px);
}

.datasettable-header-lines {
  display: none;
}

.datasettable-tabs > #headerLines {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  height: 34px;
}

.datasettable-tabs {
  display: flex;
  margin-bottom: 10px;
}

.datasettable-tab {
  padding: 8px 15px;
  cursor: pointer;
  border: 1px solid #ddd;
  margin-right: 5px;
  border-radius: 4px;
  height: 34px;
}

.datasettable-tab.active {
    background-color: #fff;
    font-weight: bold;
}

.datasettable-tab-content {
  border: 1px solid #ddd;
  padding: 0px;
  background-color: #fff;
  height: calc(100vh - 461px);
  overflow: auto;
  max-width: calc(100% - 220px);
  width: calc(100vw - 106px);
}

table.datasettable-table {
    width: 100%;
    border-collapse: collapse;
}

table.datasettable-table th,
table.datasettable-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.datasettable-modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 20px 0px 20px 20px;
  gap: 10px;
}

.datasettable-btn {
  padding: 8px 15px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  height: 34px;
}

.datasettable-btn.cancel {
  background: none;
  border: 1px solid #ccc;
}

.datasettable-btn.back {
  background: none;
  border: 1px solid #ccc;
}

.datasettable-btn.next {
  background-color: #00aaff;
  color: #fff;
  border: 1px solid #00aaff;
  height: 34px;
}

.datasettable-btn.next:disabled {
  background-color: rgb(0 0 0 / 12%);
  color: rgb(0 0 0 / 26%);
  cursor: not-allowed;
  box-shadow: none;
  border: 1px solid rgb(0 0 0 / 12%);
}

.datasettable-btn:hover {
    opacity: 0.9;
}

/***********/

.datasettable-tab-content > table {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
}

.datasettable-tab-content > table > thead {
  width: 100%;
  position: sticky;
  top: 0;
  background-color: #f2f2f2;
  z-index: 1;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}


.datasettable-tab-content > table > thead > tr > th {
  text-align: left;
  padding: 5px;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  background: #f2f2f2;
}

.datasettable-tab-content > table > thead > tr > th input[type="checkbox"] {
  margin-right: 5px;
}

.datasettable-tab-content > table > tbody {
  max-height: calc(100vh - 376px);
  overflow-y: scroll;
  width: 100% !important;
  text-wrap-mode: nowrap;
}

.datasettable-tab-content > table > tbody > tr {
  border-bottom: 1px solid #ddd;
}

.datasettable-tab-content > table > tbody > tr:hover {
  background-color: rgba(0, 0, 0, 0.03);
  cursor: pointer;
}

.datasettable-tab-content > table > tbody > tr > td {
  padding: 5px;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 100px;
}

/*****************/

.dataset-modal-info {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.dataset-modal-info .modal-content {
      background: white;
      border-radius: 8px;
      width: 500px;
      padding: 20px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

.dataset-modal-info .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

.dataset-modal-info .modal-header h2 {
  margin: 0;
  font-size: 18px;
}

.dataset-modal-info .modal-header .dataset-info-close-btn {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #666;
}

.dataset-modal-info .modal-body {
  margin-bottom: 20px;
}

.dataset-modal-info .modal-body label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.dataset-modal-info .modal-body input,
.dataset-modal-info .modal-body textarea,
.dataset-modal-info .modal-body select {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.dataset-modal-info .modal-body select {
  margin-bottom: 0px;
}

.dataset-modal-info .modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.dataset-modal-info .modal-footer button {
  padding: 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.dataset-modal-info .modal-footer .dataset-info-cancel-btn {
  padding: 8px 15px;
  border-radius: 4px;
  background: none;
  border: 1px solid #ccc;
  height: 34px;
}

.dataset-modal-info .modal-footer .dataset-info-save-btn {
  padding: 8px 15px;
  border-radius: 4px;
  background-color: #00aaff;
  color: #fff;
  height: 34px;
}

input.dataset-tab-coltitle {
  width: calc(100% - 23px);
  padding: 4px;
  margin-bottom: 0px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #f2f2f2;
}

input.dataset-tab-coltitle:focus {
  border: 1px solid #ddd;
  background: #fff;
}


/************************/

.main-content-show-details,
.main-content-catalog,
.main-content-applications,
.main-content-favorites {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0px;
  overflow-y: hidden;
  background: #fafafa;
}

.show-details-section,
.catalog-section,
.applications-section,
.favorites-section {
  padding: 40px 0px 0px 0px;
  background-color: #ffffff;
}

.show-details-section > h1,
.catalog-section > h1,
.applications-section > h1,
.favorites-section > h1 {
  font-size: 24px;
  padding: 0px;
  margin: 0px 0px 20px 40px;
}

.catalog-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.catalog-filters,
.applications-filters,
.favorites-filters {
  display: flex;
  justify-content: left;
  align-items: center;
  padding-bottom: 20px;
  gap: 10px;
  padding-left: 40px;
  border-bottom: 1px solid #ccc;
}

.catalog-filters i.fas.fa-search,
.applications-filters i.fas.fa-search,
.favorites-filters i.fas.fa-search {
  position: relative;
  left: 15px;
  color: #888;
  padding-top: 1px;
}

.catalog-filters #filter,
.applications-filters #filter,
.favorites-filters #filter {
  flex: 1;
  margin-left: -25px;
  padding: 7px 10px 7px 35px;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 250px;
  height: 34px;
}

.catalog-space-select {
  width: 120px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
}


#add-item {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#add-item:hover {
    background-color: #45a049;
}

.catalog-base-grid {
  padding: 20px 40px 20px 40px;
  height: calc(100vh - 197px);
  overflow-y: auto;
  background-color: #fafafa;
  scrollbar-gutter: stable;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
  column-gap: 20px;
  row-gap: 40px;
  /*grid-auto-rows: 312px;*/
}

.catalog-item {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0px;
  text-align: center;
  transition: box-shadow 0.3s;
  width: 288px;
  height: min-content;
}

.catalog-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.catalog-item-body {
  position: relative;
  width: 288px;
  aspect-ratio: 8 / 5;
}

.catalog-item-over-body {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f2f2f2;
  width: calc(100% - 2px);
  height: 0;
  opacity: 0;
  z-index: 2;
  align-items: center;
  display: flex;
  justify-content: center;
  border: 1px solid transparent;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.tutorial-item-over-body {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f2f2f2;
  width: 100%;
  height: 0;
  opacity: 0;
  z-index: 2;
  align-items: center;
  display: flex;
  justify-content: center;
  border: 1px solid transparent;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.catalog-item-over-itens,
.tutorial-item-over-itens {
  display:flex;
  flex-direction: column;
}

.catalog-item-over-info,
.tutorial-item-over-info {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.catalog-item-over-info img,
.tutorial-item-over-info img {
  height: 20px;
  width: 20px;
}

.catalog-item-over-info p,
.tutorial-item-over-info p {
  margin-left: 5px;
  color: #666;
}

.catalog-item-over-action,
.catalog-item-note-over-action,
.catalog-item-link-over-action,
.catalog-item-dataset-over-action,
.catalog-item-application-over-action,
.tutorial-item-over-action {
  background: #00aaff;
  border: 1px solid #00aaff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
  color: #fff;
}

.catalog-item-workspace-type.gray {
  display: flex;
  z-index: 20;
  position: relative;
  background-color: #ccc;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  border-radius: 5px;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  margin-top: -10px;
}

.catalog-item-workspace-type.blue {
  display: flex;
  z-index: 20;
  position: relative;
  background-color: #005cb9;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  border-radius: 5px;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  margin-top: -10px;
}

.catalog-item-workspace-type.red {
  display: flex;
  z-index: 20;
  position: relative;
  background-color: #dc423f;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  border-radius: 5px;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  margin-top: -10px;
}

.catalog-item-workspace-type.gray svg{
  color: #000;
  height: 12px;
  width: 12px;
}

.catalog-item-workspace-type.blue svg,
.catalog-item-workspace-type.red svg{
  color: #fff;
  height: 12px;
  width: 12px;
}

.catalog-item-footer {
  text-align: left;
  display: block; 
  width: 100%;
}

.catalog-item-footer h3.title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: rgb(64, 64, 64);
  text-align: left;
  line-height: 20px;
  max-width: 210px;
  margin: 0;
}

.catalog-item-subbody {
  display: flex;
  padding: 13px 8px 13px 12px;
  border-top: 1px solid #ccc;
  align-items: center;
  margin-top: -10px;
}

.catalog-item-subfooter {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  justify-items: self-start;
  line-height: 20px;
  margin: 0px;
  width: 100%;
}

.catalog-item-subfooter .icon {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: #cbcbcb;
  margin: 0px 4px 0px 0px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.catalog-item-subfooter p.info {
  margin: 0;
  font-size: 12px;
}

.catalog-item-footer-sub {
  display: flex;
  margin-top: 2px;
}

.catalog-item-subfooter-menu {
  width: fit-content;
  display: flex;
}

.catalog-dataset-item-favorite,
.catalog-note-item-favorite,
.catalog-link-item-favorite,
.catalog-application-item-favorite {
  border: none;
  background-color: transparent;
}

.catalog-dataset-item-favorite i.fas,
.catalog-note-item-favorite i.fas,
.catalog-link-item-favorite i.fas,
.catalog-application-item-favorite i.fas {
	color: gold;
}

.user-item-menu, 
.group-item-menu-expand, 
.role-item-menu-expand,
.link-item-menu,
.catalog-dataset-item-menu,
.catalog-note-item-menu,
.catalog-link-item-menu,
.catalog-application-item-menu,
.automation-item-menu {
  white-space: nowrap;
  background-color: #fff;
  border: 0px;
  height: 32px;
}

.user-item-menu:hover, 
.group-item-menu-expand:hover, 
.role-item-menu-expand:hover,
.link-item-menu:hover, 
.catalog-dataset-item-menu:hover,
.catalog-note-item-menu:hover,
.catalog-link-item-menu:hover,
.catalog-application-item-menu:hover,
.automation-item-menu:hover {
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border-radius: 2px;
}


.catalog-item .catalog-item-body .icon {
  width: 100%;
  height: 100%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-item .catalog-item-body .icon .file-icon {
    background: url('file-icon.png') no-repeat center center;
    background-size: contain;
}

.catalog-item .catalog-item-body .icon .chart-icon {
    background: url('chart-icon.png') no-repeat center center;
    background-size: contain;
}

.catalog-item .catalog-item-body .icon .text-icon {
    background: url('text-icon.png') no-repeat center center;
    background-size: contain;
}

.catalog-item .catalog-item-body .icon .database-icon {
    background: url('database-icon.png') no-repeat center center;
    background-size: contain;
}

.catalog-item .catalog-item-body .icon i {
  width: 40px;
  height: 40px;
  font-size: 40px;
  opacity: 25%;
  color: #2196F3;
}

.catalog-item .catalog-item-body .icon img {
  width: 50px;
  height: 50px;
  opacity: 25%;
  color: #2196F3;
  margin-bottom: 0px;
}

.catalog-note-dropdown-menu,
.catalog-dataset-dropdown-menu,
.catalog-link-dropdown-menu,
.catalog-application-dropdown-menu,
.applications-application-dropdown-menu,
.favorites-favorite-dropdown-menu {
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  list-style: none;
  padding: 4px 0px;
  margin: 0;
  z-index: 100;
}

.catalog-note-dropdown-menu .divider,
.catalog-dataset-dropdown-menu .divider,
.catalog-link-dropdown-menu .divider,
.catalog-application-dropdown-menu .divider,
.applications-application-dropdown-menu .divider,
.favorites-favorite-dropdown-menu .divider {
  border-top: none;
  border-right: none;
  border-left: none;
  border-image: initial;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  margin: 4px;
}


.catalog-note-dropdown-menu .menu-item, 
.catalog-dataset-dropdown-menu .menu-item, 
.catalog-link-dropdown-menu .menu-item, 
.catalog-application-dropdown-menu .menu-item, 
.applications-application-dropdown-menu .menu-item,
.favorites-favorite-dropdown-menu .menu-item{
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  margin: 0px 4px;
  align-items: center;
  display: flex;
  height: 34px;
}

.catalog-note-dropdown-menu .menu-item:hover,
.catalog-dataset-dropdown-menu .menu-item:hover,
.catalog-link-dropdown-menu .menu-item:hover,
.catalog-application-dropdown-menu .menu-item:hover,
.applications-application-dropdown-menu .menu-item:hover,
.favorites-favorite-dropdown-menu .menu-item:hover {
    background-color: #f4f4f4;
}

.catalog-note-dropdown-menu .menu-item i,
.catalog-dataset-dropdown-menu .menu-item i,
.catalog-link-dropdown-menu .menu-item i,
.catalog-application-dropdown-menu .menu-item i,
.applications-application-dropdown-menu .menu-item i,
.favorites-favorite-dropdown-menu .menu-item i {
  margin-right: 16px;
  height: 16px;
  width: 16px;
  color: red;
}


.catalog-note-dropdown-menu .menu-item svg,
.catalog-dataset-dropdown-menu .menu-item svg,
.catalog-link-dropdown-menu .menu-item svg,
.catalog-application-dropdown-menu .menu-item svg,
.applications-application-dropdown-menu .menu-item svg,
.favorites-favorite-dropdown-menu .menu-item svg {
  scale: -1;
  height: 17.5px;
  width: 17.5px;
  transform: scaleX(-1);
  margin-right: 14.5px;
  position: relative;
  top: -1px;
  left: -0px;
  padding: 0px;
}


.catalog-note-dropdown-menu .menu-item.invert-svg svg,
.catalog-dataset-dropdown-menu .menu-item.invert-svg svg,
.catalog-link-dropdown-menu .menu-item.invert-svg svg,
.catalog-application-dropdown-menu .menu-item.invert-svg svg,
.applications-application-dropdown-menu .menu-item.invert-svg svg,
.favorites-favorite-dropdown-menu .menu-item.invert-svg svg {
	transform: scaleX(1);
}
/*********************/

.confirm-overlay, 
.confirm-overlay-extra, 
.confirm-overlay-extended {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

.confirm-container, 
.confirm-container-extra, 
.confirm-container-extended {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  width: 400px;
  border-radius: 8px;
  border-color: #808080;
  box-shadow: 0 2px 25px rgba(0, 0, 0, 0.4);
  z-index: 2000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  padding: 20px;
}

.confirm-container .confirm-header,
.confirm-container-extra .confirm-header-extra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.confirm-container-extended .confirm-header-extended {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.confirm-container .confirm-header h2,
.confirm-container-extra .confirm-header-extra h2, 
.confirm-container-extended .confirm-header-extended h2 {
  margin: 0px;
  font-size: 18px !important;
  font-weight: 700;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  text-align: left;
}

.confirm-container .confirm-body {
    padding-bottom: 20px;
}

.confirm-container .confirm-body h3 {
  font-size: 14px;
  font-weight: 600;
  color: #d32f2f;
  margin: 0px 0px 20px 0px;
}

.confirm-container .confirm-body > p {
  margin: 0;
}

.confirm-container .confirm-header .close-button,
.confirm-container-extra .confirm-header-extra .close-button,
.confirm-container-extended .confirm-header-extended .close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
  height: 20px;
  margin: 0px;
  padding: 0px;
  display: flex;
  align-items: center;
}

.confirm-container .confirm-body, 
.confirm-container-extra .confirm-body, 
.confirm-container-extended .confirm-body {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  margin-left: 26px;
}

.confirm-container-extended .confirm-body {
  padding: 20px 0px;
}

.confirm-container .confirm-footer, 
.confirm-container-extra .confirm-footer-extra {
  display: flex;
  justify-content: space-between;
  padding-top: 6px;
}

.confirm-container-extended .confirm-footer-extended {
  display: flex;
  justify-content: right;
  padding-top: 6px;
  gap: 10px;
}

.confirm-container .confirm-footer .delete-button,
.confirm-container-extra .confirm-footer-extra .delete-button {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #d32f2f;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.confirm-container .confirm-footer .delete-button:hover,
.confirm-container-extra .confirm-footer-extra .delete-button:hover {
  background-color: #c62828;
}


.confirm-container-extra .confirm-footer-extra .delete-button:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}


.confirm-container .confirm-footer .cancel-button,
.confirm-container-extra .confirm-footer-extra .cancel-button,
.confirm-container-extended .confirm-footer-extended .cancel-button {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.confirm-container .confirm-footer .cancel-button:hover,
.confirm-container-extra .confirm-footer-extra .cancel-button:hover,
.confirm-container-extended .confirm-footer-extended .cancel-button:hover {
  background-color: #e0e0e0;
}


.confirm-container-extended .confirm-footer-extended .action-button {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #00aaff;
  color: #ffffff;
  border: 1px solid #00aaff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  height: 34px;
}

.confirm-container-extended .confirm-footer-extended .action-button:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
} 

/******/
.container:has(.responsive-container) {
  background-color: #f7f7f7;
}

.sidebar-profile {
  width: 250px;
  min-width: 250px;
  padding: 0px;
}

 .sidebar-profile nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-profile nav ul li {
  padding: 10px;
  cursor: pointer;
  border-left: 2px solid transparent;
}

.sidebar-profile nav ul li.active {
  background: #e7e7e7;
  border-left: 2px solid #73c4fc;
}

.main-content-profile {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

.content-profile {
  padding: 40px 40px 15px;
  /*width: 100%;*/
  flex: 1 1 auto;
  border-radius: 5px;
  margin-left: 25px;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  height: fit-content;
}

.profile-info-data {
  padding: 20px 20px 70px 20px;
  /*margin-top: 0px;
  padding-bottom: 25px;*/
}

.profile-info-data > h1 {
  font-size: 24px;
  padding: 0px;
  margin: 0px;
}

.profile-info-data > h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 50px 0px 20px;
}

.profile-card {
  display: -moz-box;
  display: flex;
  -moz-box-flex: 2;
  flex: 2 1 auto;
}

.profile-card-col {
  display: -moz-box;
  display: flex;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  flex-direction: column;
  -moz-box-align: start;
  align-items: start;
  -moz-box-pack: start;
  justify-content: start;
  /*-moz-box-align: center;
  align-items: center;
  -moz-box-pack: center;
  justify-content: center;*/
  width: 100%;
  max-width: 180px;
  -moz-box-flex: 1;
  flex: 1 1;
  height: fit-content;
}

.profile-card-preavatar {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
  width: 130px;
  min-width: 130px;
  height: 130px;
  min-height: 130px;
  font-size: 130px;
}

.profile-card-avatar {
  position: relative;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  border-radius: 50%;
  overflow: hidden;
  user-select: none;
  width: 100%;
  height: 100%;
  font-size: 0.4545em;
  line-height: initial;
  color: rgb(255, 255, 255);
  background-color: #ce93d8;
  border-radius: 50%;
}

.profile-card-box {
  width: 100%;
  text-align: center;
}

.profile-card-label {
  padding: 10px 0;
  color: #0000008c;;
}

.profile-card-name {
  color: #404040;
  font-size: 1.25em;
  /*padding: 10px 0 9px 12px;*/
  padding: 0 0 19px;
  white-space: normal;
  overflow-wrap: break-word;
}

.profile-card-details {
  display: -moz-box;
  display: flex;
  -moz-box-orient: horizontal;
  -moz-box-direction: normal;
  flex-direction: row;
  justify-content: flex-start;
  width: 100%;
  max-width: 80%;
  /*max-width: 66%;*/
  -moz-box-flex: 2;
  flex: 2 1;
}

.profile-card-details-col {
  display: -moz-box;
  display: flex;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  flex-direction: column;
  -moz-box-align: center;
  align-items: center;
  -moz-box-pack: center;
  justify-content: center;
  width: 100%;
  max-width: 50%;
  -moz-box-flex: 1;
  flex: 1 1;
}

.profile-card-details-col-full {
  display: -moz-box;
  display: flex;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  flex-direction: column;
  -moz-box-align: center;
  align-items: center;
  -moz-box-pack: center;
  justify-content: flex-start;
  width: 600px;
  max-width: 600px;
  -moz-box-flex: 1;
  flex: 1 1;
  padding-bottom: 20px;
}


.profile-card-details-info {
  width: 100%;
  padding: 0 40px;
}

.profile-card-details-info-label:first-of-type {
  padding: 0px;
  margin-bottom: 5px;
}

.profile-card-details-info-label {
  display: block;
  font-weight: 600;
}

.profile-card-details-info-value {
  padding: 0px;
  white-space: normal;
  overflow-wrap: break-word;
  margin-bottom: 24px;
}

.profile-tab2, .profile-tab3  {
  display: none;
}

.content-profile2 {
  padding: 0px;
  /*width: 100%;*/
  flex: 1 1 auto;
  border-radius: 5px;
  /*margin-left: 25px;*/
  background: transparent;
  /*box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
  height: fit-content;
}


.profile-security {
  padding: 20px 20px 70px 20px;
  /*margin: 0px;
  margin-bottom: 25px;*/
}

.profile-security > h1 {
  font-size: 24px;
  padding: 0px;
  margin: 0px;
}

.profile-security > h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 50px 0px 20px;
}

.profile-password-card {
  padding: 0px;
  width: fit-content;
  flex: 1 1 auto;
  height: fit-content;
}

.profile-password-card > h3 {
  margin-top: 0;
  margin: 0px;
  font-size: 21px;
  line-height: 24px;
  font-weight: 600;
  padding: 0px;
}

.profile-password-card > p {
  margin: 0px 0px 15px 0px;
  padding: 0px;
  font-weight: 400;
  line-height: 1.75;
}

.profile-security-info-box {
  display: flex;
  display: -moz-box;
  flex-direction: column;
  -moz-box-flex: 2;
  flex: 2 1 auto;
  padding: 0px 0px 20px 20px;
}

.profile-security-info-value {
  padding: 0px;
  white-space: normal;
  overflow-wrap: break-word;
  margin-bottom: 24px;
}

.profile-security-info-value:last-of-type {
  padding: 0px;
  white-space: normal;
  overflow-wrap: break-word;
  margin-bottom: 0px;
}

.profile-security-info-label {
  color: #000;
  display: block;
  font-weight: 600;
  padding: 0px;
  margin-bottom: 5px;
}

.profile-error-message {
  position: relative;
  top: 100%;
  left: 0;
  color: #e53935;
  font-size: 12px;
  display: none;
  white-space: nowrap;
}

.profile-security-footer {
  display: flex;
  justify-content: flex-end;
}

.profile-security-sub-box {
  display: flex;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.profile-security-sub-box-interna {
  display: flex;
  flex-direction: row;
  -webkit-box-align: center;
  align-items: center;
  width: 100%;

  position: relative;
  padding-left: 20px !important;
  display: -moz-box;
  -moz-box-align: center;
  align-items: center;
  padding: 8px;
  border-radius: 4px;
  background-color: #0000000d !important;
}


.profile-security-sub-box-interna > i.fas.fa-key {
  user-select: none;
  /*width: 1em;
  height: 1em;*/
  display: inline-block;
  fill: currentcolor;
  flex-shrink: 0;
  /*font-size: 40px;*/
  margin-right: 8px;
  background-color: rgba(0, 0, 0, 0.03);
  transition: fill 200mscubic-bezier(0.4, 0, 0.2, 1);
  padding: 12px;
  border-radius: 3px;
}


.profile-security-sub-box-interna > i.fas.fa-mobile-alt {
  user-select: none;
  /*width: 1em;
  height: 1em;*/
  display: inline-block;
  fill: currentcolor;
  flex-shrink: 0;
  /*font-size: 40px;*/
  margin-right: 8px;
  background-color: rgba(0, 0, 0, 0.03);
  transition: fill 200mscubic-bezier(0.4, 0, 0.2, 1);
  padding: 12px;
  border-radius: 3px;
}

.profile-security-interna-text {
  -webkit-box-flex: 1;
  flex-grow: 1;
}

.profile-security-interna-text p {
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  font-size: 14px;
  line-height: 20px;  
  font-weight: 400;
  color: rgba(0, 0, 0, 0.55);
  margin-right: 16px !important;
}

.btn-password, 
.btn-2fa-next,
.btn-2fa-verify,
.btn-2fa-done {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.btn-2fa-prev {
  background-color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #ccc;
  height: 34px;
}

.btn-2fa-prev:disabled {
  background-color: rgb(255 255 255 / 60%);
  color: rgb(0 0 0 / 26%);
  cursor: not-allowed;
  border: 1px solid rgb(0 0 0 / 12%);
}

.profile-2fa-card,
.profile-2fa-card-verify {
  padding: 0px;
  width: fit-content;
  flex: 1 1 auto;
  height: fit-content;
}

.profile-2fa-card-enabled {
  display: flex;
  padding: 0px;
  width: fit-content;
  flex: 1 1 auto;
  height: fit-content;
  gap: 40px;
}

.profile-2fa-card > h3 {
  margin-top: 0;
  margin: 0px;
  font-size: 21px;
  line-height: 24px;
  font-weight: 600;
  padding: 0px;
}

.profile-2fa-card > p {
  margin: 0px 0px 15px 0px;
  padding: 0px;
  font-weight: 400;
  line-height: 1.75;
}

.profile-2fa-info-box, 
.profile-2fa-verify-info-box, 
.profile-2fa-enabled-info-box {
  display: flex;
  display: -moz-box;
  flex-direction: column;
  -moz-box-flex: 2;
  flex: 2 1 auto;
  padding: 0px 0px 20px 0px;
  width: 320px;
  height: 355px;
}

.profile-2fa-info-value,
.profile-2fa-verify-info-value, 
.profile-2fa-enabled-info-value {
  display: block;
}

.profile-2fa-info-value > p {
  text-align: justify;
}

.profile-2fa-footer, 
.profile-2fa-verify-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.profile-2fa-enabled-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  width: 820px;
}

.profile-2fa-qrcode-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-2fa-verify-area {
  display: block;
  text-align: center;
}

.profile-2fa-enabled-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 10px;
}

.profile-2fa-qrcode {
  width: min-content;
  display: flex;
  flex-direction: column;
}

.profile-2fa-qrcode > p,
.profile-2fa-qrcode > .code {
  text-align: center;
  margin: 5px 0px;
}

.profile-2fa-qrcode > .code {
  padding: 0px 0px 15px 0px;
}


.profile-tab1, .profile-tab2, .profile-tab3 {
  width: 100%;
}

.profile-2fa {
  padding: 20px 20px 70px 20px;
}

.profile-2fa-verify, 
.profile-2fa-enabled {
  display: none;
  padding: 20px 20px 70px 20px;
}

.profile-2fa > h1,
.profile-2fa-verify > h1, 
.profile-2fa-enabled > h1 {
  font-size: 24px;
  padding: 0px;
  margin: 0px;
}

.profile-2fa > h2,
.profile-2fa-verify > h2, 
.profile-2fa-enabled > h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 50px 0px 20px;
}

.profile-2fa-enabled-recovery-codes > h3 {
  font-size: 16px;
  margin: 0px;
}

.profile-2fa-enabled-recovery-codes {
  display: flex;
  flex-direction: column;
  width: 480px;
  height: 355px;
}

#recovery-codes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.recovery-code {
  background-color: #e3f2fd;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  font-weight: bold;
  color: #0d47a1;
  font-size: 16px;
  border: 1px solid #90caf9;
}

.responsive-container {
  margin: 0 auto;
  display: flex;
  padding-top: 50px;
}

@media screen and (min-width: 1025px) {
  .responsive-container {
    max-width: 960px;
    width: auto;
    width: 960px;
  }
}

@media screen and (min-width: 1216px) {
  .responsive-container {
    max-width: 1152px;
    width: auto;
    width: 1152px;
  }
}


@media screen and (min-width: 1408px) {
  .responsive-container {
    max-width: 1344px;
    width: auto;
    width: 1344px;
  }
}


/**************/

.catalog-owner-container, 
.content-owner-container,
.applications-owner-container,
.favorites-owner-container,
.profile-local-container,
.profile-idioma-container {
  position: relative;
  display: flex; /*inline-block;*/
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 10px;
  background: #ffffff;
  cursor: pointer;
  width: max-content;
  min-width: fit-content;
  max-width: 200px;
  min-width: 150px;
  max-height: 34px;
  align-items: center;
}

.profile-idioma-main-label > svg {
  margin-right: 7px;
}

.profile-fuso-container {
  position: relative;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 10px;
  background: #ffffff;
  cursor: pointer;
  width: max-content;
  min-width: fit-content;
  max-width: 280px;
  min-width: 230px;
  max-height: 34px;
}


.catalog-owner-selected-value, 
.content-owner-selected-value,
.applications-owner-selected-value,
.favorites-owner-selected-value,
.profile-local-selected-value, 
.profile-idioma-selected-value, 
.profile-fuso-selected-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  width: 100%;
}

.profile-local-selected-value > .arrow > svg,
.profile-fuso-selected-value > .arrow > svg,
.profile-idioma-selected-value > .arrow > svg {
  position: absolute;
  top: 12px;
  right: 5px;
  width: 14px;
  padding: 0px;
  transform: scaleY(-1);
}

.profile-local-selected-value > .arrow.open > svg,
.profile-fuso-selected-value > .arrow.open > svg,
.profile-idioma-selected-value > .arrow.open > svg {
  transform: scaleY(1);
}

.catalog-owner-selected-box, 
.content-owner-selected-box,
.applications-owner-selected-box,
.favorites-owner-selected-box,
.profile-local-selected-box,
.profile-idioma-selected-box, 
.profile-fuso-selected-box {
  background: #e3f2fd;
  color: #007bff;
  padding: 2px 6px 2px 6px;
  border-radius: 10px;
  font-size: 12px;
  display: none;
  /*margin-top: 5px;*/   
  margin-right: 5px;
}

.catalog-owner-dropdown, 
.content-owner-dropdown,
.applications-owner-dropdown,
.favorites-owner-dropdown, 
.profile-local-dropdown,
.profile-idioma-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  margin-top: 2px;
}

.profile-fuso-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  margin-top: 2px;
}

.catalog-owner-dropdown-item, 
.content-owner-dropdown-item,
.applications-owner-dropdown-item,
.favorites-owner-dropdown-item, 
.profile-local-dropdown-item,
.profile-fuso-dropdown-item {
  padding: 8px 12px;
  cursor: pointer;
  height: 40px;
  align-content: center;
  transition: background 0.3s;
  text-wrap-mode: nowrap;
}

.profile-idioma-dropdown-item {
  padding: 8px 12px;
  cursor: pointer;
  height: 40px;
  align-content: center;
  transition: background 0.3s;
  text-wrap-mode: nowrap;
  display: flex;
  align-items: center;
}

.profile-idioma-dropdown-item > svg {
  margin-right: 7px;
}

.catalog-owner-dropdown-item:hover, 
.content-owner-dropdown-item:hover,
.applications-owner-dropdown-item:hover,
.favorites-owner-dropdown-item:hover, 
.profile-local-dropdown-item:hover, 
.profile-idioma-dropdown-item:hover, 
.profile-fuso-dropdown-item:hover {
  background: #f1f1f1;
}

.arrow .fas {
  font-size: 11px;
}

.catalog-owner-main-label,
.content-owner-main-label,
.applications-owner-main-label,
.favorites-owner-main-label, 
.profile-local-main-label, 
.profile-idioma-main-label, 
.profile-fuso-main-label {
  margin-right: 10px;
  font-size: 14px;
  text-wrap-mode: nowrap;
  display: flex;
  align-items: center;
}


/******************/

.catalog-space-container, 
.content-space-container,
.applications-space-container,
.favorites-container {
  position: relative;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 10px 6px 10px;
  background: #ffffff;
  cursor: pointer;
  width: max-content;
  min-width: fit-content;
  max-width: 400px;
  min-width: 150px;
  max-height: 34px;
}

.catalog-space-selected-value, 
.content-space-selected-value,
.applications-space-selected-value, 
.favorites-selected-value, 
.profile-local-selected-value, 
.profile-idioma-selected-value, 
.profile-fuso-selected-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.catalog-space-selected-value .arrow.open,
.content-space-selected-value .arrow.open,
.applications-space-selected-value .arrow.open,
.favorites-selected-value .arrow.open,
.filter_type-toggle .arrow.open,
.catalog-owner-selected-value .arrow.open {
  transform: scaleY(-1);
}

.catalog-space-selected-box,
.content-space-selected-box,
.applications-space-selected-box,
.favorites-selected-box {
  background: #e3f2fd;
  color: #007bff;
  padding: 2px 6px 2px 6px;
  border-radius: 10px;
  font-size: 12px;
  display: none;
  /*margin-top: 5px;*/   
  margin-right: 5px;
}

.catalog-space-selected-box-value, 
.content-space-selected-box-value,
.applications-space-selected-box-value,
.favorites-selected-box-value {
	display: none;
}

.catalog-space-dropdown, 
.content-space-dropdown,
.applications-space-dropdown,
.favorites-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  margin-top: 2px;
  min-width: 150px;
}

.catalog-space-dropdown-item, 
.content-space-dropdown-item,
.applications-space-dropdown-item,
.favorites-dropdown-item {
  display: flex;
  padding: 8px 12px;
  cursor: pointer;
  height: 40px;
  align-items: center;
  transition: background 0.3s;
}

.catalog-space-dropdown-item:hover, 
.content-space-dropdown-item:hover,
.applications-space-dropdown-item:hover,
.favorites-dropdown-item:hover{
  background: #f1f1f1;
}

.catalog-space-main-label, 
.content-space-main-label,
.applications-space-main-label,
.favorites-main-label {
  margin-right: 10px;
  font-size: 14px;
}


/******************/

.dataset-owner-container {
  position: relative;
  display: inline-block;
  /*font-family: Arial;*/
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px;
  background: #ffffff;
  cursor: pointer;
  width: max-content;
  min-width: fit-content;
  max-width: 200px;
  min-width: 150px;
  max-height: 34px;
}

.dataset-owner-selected-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.dataset-owner-selected-box {
  background: #e3f2fd;
  color: #007bff;
  padding: 2px 6px 2px 6px;
  border-radius: 10px;
  font-size: 12px;
  display: none;
  /*margin-top: 5px;*/   
  margin-right: 5px;
}

.dataset-owner-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  margin-top: 2px;
}

.dataset-owner-dropdown-item {
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.3s;
}

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

.dataset-owner-main-label {
  margin-right: 10px;
  font-size: 14px;
}

/*********/
.top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-bottom: 10px;
}

.search-application-container,
.search-connection-container,
.search-file-container, 
.search-user-container, 
.search-group-container {
  flex-grow: 1; /* Faz a barra de pesquisa ocupar o espaço à esquerda */
  display: flex;
  gap: 10px;
}


.content_application-owner, 
.content_application-move, 
.content_application-delete,
.content_connection-owner, 
.content_connection-move, 
.content_connection-delete,
.content_dataset-owner, 
.content_dataset-move, 
.content_dataset-delete,
.user-manage-functions, 
.user-change-rights,
.link-delete,
.link-move {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.user-invite,
.group-create, 
.role-create,
.link-create,
.link-edit {
  background: #00aaff;
  border: 1px solid #00aaff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
  color: #fff;
}

.group-item-menu-expand.expand-btn, 
.role-item-menu-expand.expand-btn,
.catalog-item-menu.expand-btn {
  border: 1px solid #ccc !important;
  padding: 0px 10px !important;
  border-radius: 5px;
}

.btn-group {
  display: flex;
  gap: 10px;
}

.leftusermenu {
  display: flex;
  gap: 10px;
}

.filteroptionsuser {
  flex: 1;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 250px;
  height: 34px;
}

.custom-application-search,
.custom-connection-search,
.custom-dataset-search,
.custom-file-search, 
.custom-user-search, 
.custom-group-search, 
.custom-roles-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 0px;
  border-radius: 0px;
  padding: 0px;
  width: 250px; 
  height: 34px;
}

.custom-application-search i.fas.fa-search, 
.custom-connection-search i.fas.fa-search, 
.custom-dataset-search i.fas.fa-search, 
.custom-file-search i.fas.fa-search,
 .custom-group-search i.fas.fa-search, 
.custom-roles-search i.fas.fa-search {
  position: absolute;
  left: 10px;
  color: #888;
  padding-top: 1px;
}

.custom-user-search i.fas.fa-search {
  position: absolute;
  left: 164px;
  color: #888;
  padding-top: 1px;
}

.custom-application-search .application-search, 
.custom-connection-search .connection-search,  
.custom-dataset-search .dataset-search,  
.custom-file-search .file-search,
.custom-user-search .user-search, 
.custom-group-search .group-search, 
.custom-roles-search .roles-search {
  flex: 1;
  padding: 0px 0px 0px 35px;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 250px;
  height: 34px;
}

#applicationstable td.dt-body-center.sorting_1,
#connectionstable td.dt-body-center.sorting_1, 
#datasetstable td.dt-body-center.sorting_1, 
#userstable td.dt-body-center.sorting_1 {
  text-align: left !important;
}

.resources-tabs-data .bottom-container {
  margin-top: 10px;
  width: 100%;
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

div.dt-container .dt-length {
    margin-right: 30px;
}

table.dataTable>thead>tr>th {
  height: 41px;
}

table.resources-data-table.dataTable>thead>tr>th, table.resources-data-table.dataTable>thead>tr>td, 
table.resources-data-table.dataTable>tbody>tr>th, table.resources-data-table.dataTable>tbody>tr>td {
    border-left: 1px solid #ddd !important;
    border-right: 1px solid #ddd !important;
}

div.dt-container .dt-paging .dt-paging-button {
  border: 0px;
}

div.dt-container .dt-paging .dt-paging-button:hover {
  color: #00aaff !important;
  background: transparent;
  border: 0px;
}

/******************/

.status-active i {
  color: green;
  margin-right: 5px;
  font-size: 13px;
}

.status-inactive i {
  color: red;
  margin-right: 5px;
  font-size: 13px;
}

.status-pending i {
  /*color: #9e9e9e;*/
  margin-right: 5px;
  font-size: 13px;
}

table.dataTable thead th, table.dataTable tfoot th {
  font-weight: 600 !important;
}

table.subTable {
  width: 100%;
  border: 1px solid #ccc;
}


.no-data {
  padding: 10px;
  text-align: center;
  color: gray;
}

.subtable-container {
  margin-top: 10px;
  margin-left: 40px;
  border-collapse: collapse;
  width: calc(100% - 40px) !important;
  align-items: center;
  background: #fff;
  border: 0px;
  border-radius: 0px;
  padding: 0px;
  width: 250px;
}

.subtable-container i.fas.fa-search {
  position: absolute;
  left: 60px;
  color: #888;
  padding-top: 12px;
}

.subtable-search {
  display: flex;
  padding-bottom: 10px;
}

.subtable-search-input {
  flex: 1;
  padding: 10px 10px 10px 35px;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 250px;
  height: 37px;
}

/************/

.data-user-info {
  display: flex;
  align-items: center;
}

.data-user-avatar {
  width: 32px;
  height: 32px;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  margin-right: 10px;
}

.data-user-avatar-sm {
  width: 24px;
  height: 24px;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  margin-right: 10px;
}

.data-user-details {
  display: flex;
  flex-direction: column;
}

.data-user-name {
  font-weight: normal;
}

.data-user-email {
  font-size: 12px;
  color: #777;
  white-space: nowrap;
}

div.dt-container dt-empty-footer {
  margin: 0px !important;
  padding: 0px !important;
}


.subtable-container > .dt-container.dt-empty-footer > .dt-layout-row:first-child {
  display: none;
}

.subtable-container > .dt-container.dt-empty-footer > .dt-layout-row:nth-child(2) {
  margin: 0px !important;
}


table.subTable.dataTable.display>tbody tr>.sorting_1 {
  box-shadow: none !important;
}


table.subTable.dataTable thead>tr>th.dt-orderable-asc:hover, table.subTable.dataTable thead>tr>th.dt-orderable-desc:hover {
	outline: none !important;
    outline-offset: 0px !important;
}


/*********/

table#connectionstable,
table#datasetstable,
table#userstable,
table#groupstable, 
table#rolestable,
table#automationstable{
  height: calc(100vh - 225px);
  display: flow;
  overflow-y: auto;
  border: 1px solid #ccc;
  width: 100% !important;
}

table#linkstable {
  height: calc(100vh - 228px);
  display: flow;
  overflow-y: auto;
  border: 1px solid #ccc;
  width: 100% !important;
}


table#applicationstable {
  height: calc(100vh - 225px);
  display: flow;
  overflow: auto;
  border: 1px solid #ccc;
  width: 100% !important;
  /*overflow-x: scroll;*/
}

table#applicationstable > thead, table#applicationstable > tbody {
    width: 130% !important;
}
/*********/

.data-role-details {
  display: flex;
  flex-direction: column;
}

.data-role-name {
  font-weight: normal;
}

.data-role-description {
  font-size: 13px;
  color: #777;
}

select.role-assignment {
  flex: 1;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 250px;
  height: 32px;
  color: #000;
  opacity: 1;
}

.group-item-menu {
  background-color: #fff;
  border: 0px;
  height: 32px;
  margin-right: 10px;
}

.group-item-menu:hover {
  background-color: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border-radius: 2px;
}

table.subTable.dataTable.display>thead tr>*:first-child,
table.subTable.dataTable.display>tbody tr>*:first-child {
  border-right: 1px solid #ddd !important;
  box-shadow: none !important;
}

table.subTable.dataTable.display>thead tr>*:not(dt-empty),
table.subTable.dataTable.display>tbody tr>*:not(dt-empty) {
  /*background: transparent !important;*/
  box-shadow: none !important;
}

.subtable-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.subtable-buttons-container {
  display: flex;
  gap: 10px;
}

.subtable-buttons-container .btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}


/********/
.group-modal, 
.assigngroup-modal, 
.updategroup-modal {
  display: none; /* Oculto por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.group-modal-content, 
.assigngroup-modal-content, 
.updategroup-modal-content {
  width: 600px;
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
/*    max-height: 640px;
    height: 640px;*/
  overflow-y: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.group-close-modal, 
.assigngroup-close-modal, 
.updategroup-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}


.group-modal-content h2, 
.assigngroup-modal-content h2, 
.updategroup-modal-content h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  text-align: left;
  margin-bottom: 50px;
}


.group-modal-body, 
.assigngroup-modal-body, 
.updategroup-modal-body {
  display: block;
  padding: 10px 0;
}

.group-modal-header, 
.assigngroup-modal-header, 
.updategroup-modal-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#group-nome-block, 
#updategroup-nome-block {
  position: relative;
  width: 100%;
}

.group-input-field, 
.assigngroup-input-field, 
.updategroup-input-field {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  flex: 1;
  margin-top: 5px;
}

.group-error-message, 
.assigngroup-error-message, 
.updategroup-error-message {
  position: absolute;
  top: 100%;
  left: 0;
  color: #e53935;
  font-size: 12px;
  display: none;
  white-space: nowrap;
}

#group-description,
#updategroup-description {
  height: 51px;
}

.group-user-list, 
.assigngroup-user-list {
  background: #f8f8f8;
  border-radius: 5px;
  min-height: 300px;
  /*padding: 10px;
  margin-top: 10px;*/
}

#group-user-list-table_wrapper > .dt-layout-row, 
#assigngroup-user-list-table_wrapper > .dt-layout-row{
  margin: 0px !important;
}

#group-user-list-table, 
#assigngroup-user-list-table {
  display: flow;
  width: 100%;
  height: 303px;
  min-height: 303px;
  border-collapse: collapse;
  border: 1px solid #ccc;
}

#group-user-list-table td.dt-empty, 
#assigngroup-user-list-table td.dt-empty, 
.subTable.dataTable td.dt-empty {
  height: 260px;
  vertical-align: middle !important;
  border-bottom: 0px !important;
  /*background: #f8f8f8;*/
}


.group-user-list th, .group-user-list td, 
.assigngroup-user-list th, .assigngroup-user-list td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.group-user-list td:not(.dt-empty), 
.assigngroup-user-list td:not(.dt-empty),
.subTable.dataTable td:not(.dt-empty) {
  background: #fff;
}

.group-no-users, 
.assigngroup-no-users {
  text-align: center !important;
  color: #888;
  font-size: 14px;
  padding: 20px;
}


.group-modal-footer, 
.assigngroup-modal-footer, 
.updategroup-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
}


.group-cancel-btn, 
.assigngroup-cancel-btn, 
.updategroup-cancel-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.group-cancel-btn:hover, 
.assigngroup-cancel-btn:hover, 
.updategroup-cancel-btn:hover {
  background-color: #e0e0e0;
}

.group-create-btn,
.assigngroup-assign-btn, 
.updategroup-save-btn {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.group-create-btn:disabled, 
.assigngroup-assign-btn:disabled, 
.updategroup-save-btn:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}

button.group-remove-user, 
button.assigngroup-remove-user {
  border: 1px solid #ccc !important;
  padding: 0px 10px !important;
  border-radius: 5px;
  height: 32px;
}

group-user-list-table.dataTable>tbody>tr>td, 
assigngroup-user-list-table.dataTable>tbody>tr>td{
  border-left: 1px solid #ddd !important;
  border-right: 1px solid #ddd !important;
}

group-user-list-table.table.dataTable>tbody>tr:first-child>*, 
assigngroup-user-list-table.table.dataTable>tbody>tr:first-child>*{
  border-top: none;
}

/* Estilo da lista de sugestões */
.group-users-suggestions, 
.assigngroup-users-suggestions {
  position: absolute;
  width: calc(100% - 40px);
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  max-height: 200px;
  overflow-y: none;
  display: none;
  z-index: 1000;
}

/* Estilo de cada item da lista */
.group-users-suggestion-item, 
.assigngroup-users-suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.group-users-suggestion-item:not(.nothing):hover, 
.assigngroup-users-suggestion-item:not(.nothing):hover {
    background: #f5f5f5;
}

/* Estilo do círculo com iniciais */
.group-users-avatar-circle, 
.assigngroup-users-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #007bff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-right: 10px;
}

/* Estilo do texto (nome e e-mail) */
.group-users-user-info, 
.assigngroup-users-user-info {
  display: flex;
  flex-direction: column;
}

.group-users-user-name, 
.assigngroup-users-user-name {
  font-weight: normal;
}

.group-users-user-email, 
.assigngroup-users-user-email {
  font-size: 12px;
  color: #777;
}


.hiddenvalue {
  display:none;
  visibility: none;
}

/**************/
.user-dropdown-menu {
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  list-style: none;
  padding: 4px 0px;
  margin: 0;
  z-index: 100;
  min-width: 215px;
}

span.group-type, 
span.role-type {
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 4px;
}

.group-dropdown-menu {
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  list-style: none;
  padding: 4px 0px;
  margin: 0;
  z-index: 100;
  min-width: 160px;
}

.user-dropdown-menu .divider,  
.group-dropdown-menu .divider {
  border-top: none;
  border-right: none;
  border-left: none;
  border-image: initial;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  margin: 4px;
}

.user-dropdown-menu .menu-item, 
.group-dropdown-menu .menu-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  margin: 0px 4px;
}

.user-dropdown-menu .menu-item:not([disabled]):hover, 
.group-dropdown-menu .menu-item:hover {
    background-color: #f4f4f4;
}

.user-dropdown-menu .menu-item i, 
.group-dropdown-menu .menu-item i {
  margin-right: 16px;
  height: 16px;
  width: 16px;
}

.user-dropdown-menu .menu-item:disabled, 
.user-dropdown-menu .menu-item[disabled] {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

/**************/
.inviteuser-modal {
  display: none; /* Oculto por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.inviteuser-modal-content {
  width: 600px;
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
/*    max-height: 640px;
    height: 640px;*/
  overflow-y: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.inviteuser-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}


.inviteuser-modal-content h2 {
  margin-top: 0;
  font-size: 18px !important;
  color: #333;
  text-align: left;
  margin-bottom: 20px;
}


.inviteuser-modal-body {
  display: block;
  padding: 10px 0;
}

.inviteuser-modal-header {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.inviteuser-email-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  flex: 1;
  margin-top: 5px;
}


.inviteuser-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
}

.inviteuser-modal-footer .inviteuser-modal-actions {
  display: flex;
  gap: 10px;
}

.inviteuser-manage-invites {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.inviteuser-cancel-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.inviteuser-invite-btn {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.inviteuser-invite-btn:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}


.inviteuser-email-input-container {
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 5px;
  min-height: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  cursor: text;
}


#inviteuser-email-input {
  border: none;
  outline: none;
  flex-grow: 1;
  min-width: 120px;
}

/* Estilização dos emails adicionados */
.inviteuser-email-tag {
  display: inline-flex;
  align-items: center;
  background: #e6e6e6;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 14px;
}

.inviteuser-email-tag button {
    background: none;
    border: none;
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
}

/**************/

.body-register { 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  background-color: #fafafa;
  gap: 25px;
  height: 100%;
}

.container-register { 
  width: 600px;
  max-width: 600px;
  margin: 0 auto; 
  text-align: left; 
  padding: 20px 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow-y: hidden;
}

.subtitle-register {
  margin-bottom: 30px;
  color: #a8a8a8;
}

input.genericfield-register { 
  width: calc(100% - 20px);
  padding: 8px; 
  margin: 5px 0px 0px 0px; 
  border: 1px solid #ccc;
  border-radius: 4px;
  /* font-size: 14px; */
  flex: 1;
  margin-top: 5px;
  font-family: Arial;
}

.checkbox-container-register { 
  position: relative;
  width: 100%;
  margin-top: 5px;
}


button.register { 
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

button#backStepregister {
  color: #000;
  background: #fff;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

#resend_code {
  color: #00aaff;
  text-decoration: none;
  font-weight: 600;
}

label.register {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-top: 15px
}

.footer-register {
  margin-top: 25px;
  justify-content: right;
  display: flex;
  gap: 10px;
}

p.message-register {
  font-weight: 400;
  margin-top: 30px;
}

p.messagetop-register {
  font-weight: 400;
  margin-bottom: 30px;
  line-height: 1.4;
}

p.messagetop-register > #email_display {
  font-weight: 600;
}

p.message-footer-register {
  margin-top: 10px;
}

p.message-footer-register > #email_display {
  font-weight: 600;
}

.verificationcode-register, 
.verificationcode-2fa {
  width: 25px;
  padding: 8px;
  margin: 5px 0px 15px 0px;
  border: 1px solid #ccc;
  border-radius: 4px;
  flex: 1;
  margin-top: 5px;
  font-family: Arial;
}

.labelpassword-register {
  margin-top: 30px;
  display: block;
}

.communication-register {
  display: flex;
  align-items: flex-start;
  gap: 8px; 
  margin-top: 15px;
  padding: 0px;
  line-height: 1.4;
}

.communication-register input[type="checkbox"] {
  flex-shrink: 0; /* Evita que o checkbox encolha */
  width: 16px; /* Ajuste o tamanho do checkbox se necessário */
  height: 16px;
  margin-right: 8px; /* Espaçamento entre o checkbox e o texto */
  margin-left: 0px;
}
		
.terms-register {
  margin-top: 20px;
  display: block;
}

.hidden-register { 
  display: none; 
}

.register-error-message {
  position: absolute;
  top: 100%; /* Fixa abaixo do input */
  left: 0;
  color: #e53935;
  font-size: 12px;
  display: none;
  white-space: nowrap; /* Evita quebra de linha */
}

input.error, .checkbox-label.error, select.error, textarea.error {
  border-color: #e53935 !important;
}

.input-container-register {
  position: relative;
  width: 100%;
  margin-bottom: 20px; /* Espaço entre os campos */
}

.checkbox-label-register {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    /*padding-left: 30px; */
    font-size: 16px;
}

/* Ocultar o checkbox padrão */
.checkbox-label-register input {
  cursor: pointer;
  border: 1px solid;
  margin-left: 0px;
  margin-right: 16px;
  height: 16px;
  width: 16px;
}

.required-checkbox-register.error {
  appearance: none;
  border: 1px solid red;
  border-radius: 3px;
}

/* Criando um novo estilo para o checkbox */
.checkmark-register {
  position: absolute;
  left: 0;
  top: 2px;
  height: 16px;
  width: 16px;
  background-color: #ccc;
  border: 1px solid #000;
  border-radius: 4px;
  transition: background 0.3s;
  display: none;
}


/* Quando marcado, altera a cor */
.checkbox-label-register input:checked ~ .checkmark-register {
    background-color: #4CAF50;
}

/* Adiciona o efeito de erro no checkbox */
.checkbox-label-register.error .checkmark-register {
    border: 2px solid #e53935;
}

.phone-container-register {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
    /* padding: 5px; */
  width: calc(100% - 20px);
  margin-top: 5px;
}

.phone-container-register select {
  border: none;
  background: none;
  /*font-size: 14px;*/
  padding: 5px;
  cursor: pointer;
  outline: none;
}

.phone-container-register input {
  border: none;
  outline: none;
  flex: 1;
  /*font-size: 16px;*/
}

input#phone {
  margin-top: 0px !important;
}

li.menu-item svg {
  transform: scaleY(-1);
  width: 18px;
  height: 18px;
  position: relative;
  top: 1px;
  left: 0;
  margin-right: 17px;
}

li.menu-item {
  display: flex;
  align-items: center;
  height: 35px;
}
/*****/
.custom-workspace-search,
.custom-link-search,
.custom-automation-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 0px;
  border-radius: 0px;
  padding: 0px;
  width: 250px; 
  height: 34px;
}

.custom-workspace-search i.fas.fa-search,
.custom-link-search i.fas.fa-search,
.custom-automation-search i.fas.fa-search {
  position: relative;
  left: -225px;
  color: #888;
  padding-top: 1px;
}

.custom-workspace-search .workspace-search,
.custom-link-search .link-search,
.custom-automation-search .automation-search {
  flex: 1;
  padding: 0px 10px 0px 35px;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 250px;
  height: 34px;
}

.workspace-delete, 
.workspace-change-owner {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.workspace-create,
.automation-create {
  background: #00aaff;
  border: 1px solid #00aaff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
  color: #fff;
}

span.workspace-icon {
  vertical-align: sub;
  margin-right: 8px;
}

span.workspace-icon.gray {
  display: flex;
  background-color: #ccc;
  border-radius: 5px;
  height: 20px;
  width: 20px;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
}

span.workspace-icon.blue {
  display: flex;
  background-color: #005cb9;
  border-radius: 5px;
  height: 20px;
  width: 20px;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  color: #fff;
}

span.workspace-icon.red {
  display: flex;
  background-color: #dc423f;
  border-radius: 5px;
  height: 20px;
  width: 20px;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  color: #fff;
}

span.workspace-icon.gray svg, 
span.workspace-icon.blue svg, 
span.workspace-icon.red svg {
  height: 12px;
  width: 12px;
}


table#workspacestable {
  height: calc(100vh - 228px);
  display: flow;
  overflow-y: auto;
  border: 1px solid #ccc;
}


#workspacestable td.dt-body-center.sorting_1 { 
  text-align: left !important;
}

.workspace-dropdown-menu {
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  list-style: none;
  padding: 4px 0px;
  margin: 0;
  z-index: 100;
  min-width: 215px;
}

.link-dropdown-menu {
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  list-style: none;
  padding: 4px 0px;
  margin: 0;
  z-index: 100;
  min-width: 135px;
}


.workspace-item-menu,
.link-item-menu {
  white-space: nowrap;
  background-color: #fff;
  border: 0px;
  height: 32px;
}

.workspace-item-menu:hover,
.link-item-menu:hover {
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border-radius: 2px;
}


.workspace-dropdown-menu .divider,
.link-dropdown-menu .divider {
  border-top: none;
  border-right: none;
  border-left: none;
  border-image: initial;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  margin: 4px;
}

.workspace-dropdown-menu .menu-item,
.link-dropdown-menu .menu-item,
.automation-dropdown-menu .menu-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  margin: 0px 4px;
}


.workspace-dropdown-menu .menu-item:hover,
.link-dropdown-menu .menu-item:hover,
.automation-dropdown-menu .menu-item:hover {
    background-color: #f4f4f4;
}


.workspace-dropdown-menu .menu-item i,
.link-dropdown-menu .menu-item i,
.automation-dropdown-menu .menu-item i {
  margin-right: 16px;
  height: 16px;
  width: 16px;
}


div.dt-container.dt-empty-footer tbody>tr>td:first-child {
    border-left: 0px !important;
}


div.dt-container.dt-empty-footer tbody>tr>td:last-child {
    border-right: 0px !important;
}

.createworkspace-modal, 
.editworkspace-modal {
  display: none; /* Oculto por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}


.createworkspace-modal-content, 
.editworkspace-modal-content {
  width: 600px;
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
/*    max-height: 640px;
    height: 640px;*/
  overflow-y: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.createworkspace-close-modal, 
.editworkspace-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}


.createworkspace-modal-content h2,
.editworkspace-modal-content h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  text-align: left;
  margin-bottom: 50px;
}

.createworkspace-modal-content h2 i {
  font-size: 16px;
  margin-left: 8px;
}

.createworkspace-modal-body, 
.editworkspace-modal-body {
  display: block;
  padding: 10px 0;
}


.createworkspace-modal-header, 
.editworkspace-modal-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}


.createworkspace-input-field, 
.editworkspace-input-field {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  flex: 1;
  margin-top: 5px;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  height: 34px;
}


.workspace-error-message {
  position: absolute;
  top: 100%;
  left: 0;
  color: #e53935;
  font-size: 12px;
  display: none;
  white-space: nowrap;
}


#createworkspace-description, 
#editworkspace-description {
  height: 63px;
}


.createworkspace-modal-footer, 
.editworkspace-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
}


.createworkspace-cancel-btn, 
.editworkspace-cancel-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.createworkspace-cancel-btn:hover,
.editworkspace-cancel-btn:hover {
  background-color: #e0e0e0;
}

.createworkspace-create-btn, 
.editworkspace-save-btn {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}


.createworkspace-create-btn:disabled,
.editworkspace-save-btn:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}

#createworkspace-tipo-block, 
#createworkspace-nome-block,
#editworkspace-tipo-block,
#editworkspace-nome-block {
  position: relative;
  width: 100%;
}

.createworkspace-type-options {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.createworkspace-type-option {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 15px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  transition: border 0.2s, box-shadow 0.2s;
}

.createworkspace-type-options .text strong {
  font-weight: 600;
}

.createworkspace-tipo-block {
  height: 162px;
}

.createworkspace-type-option:hover {
  background-color: #f2f2f2;
}

.createworkspace-type-option.selected {
  border: 2px solid #00aaff;
  box-shadow: 0 0 5px rgba(26, 115, 232, 0.3);
}

.createworkspace-type-option.selected:hover {
  background-color: transparent;
}

.createworkspace-type-option .icon {  
  border-radius: 5px;
  height: 20px;
  width: 20px;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;

  flex-shrink: 0;
  background: #f0f0f0;
  display: flex;
}
.createworkspace-type-option .icon svg {
  height: 12px;
  width: 12px;
  color: #fff;
}

.createworkspace-type-option .icon.blue {
  background: #005cb9;
}

.createworkspace-type-option .icon.red {
  background: #dc423f;
}

.createworkspace-type-option .text > p {
  width: 207px;
}

.resources-tabs h2,
.resources-tabs-w-bottom h2 {
  margin-block-start: 0px;
  padding-left: 15px;
}

/*************************/
.changeowner-modal {
  display: none; /* Oculto por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.changeowner-modal-content {
  width: 600px;
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
  /*overflow-y: hidden;*/
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.changeowner-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}


.changeowner-modal-content h2 {
  margin-top: 0;
  font-size: 18px !important;
  color: #333;
  text-align: left;
  margin-bottom: 20px;
}

 
.changeowner-modal-body {
  display: block;
  padding: 10px 0;
}

.changeowner-modal-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#changeowner-nome-block {
  position: relative;
  width: 100%;
}

.changeowner-input-field {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  /*font-size: 14px;*/
  flex: 1;
  margin-top: 5px;
  font-family: Arial;
}


.changeowner-error-message {
  position: absolute;
  top: 100%;
  left: 0;
  color: #e53935;
  font-size: 12px;
  display: none;
  white-space: nowrap;
}


/*.changeowner-user-list {
  background: #f8f8f8;
  border-radius: 5px;
  min-height: 300px;
}*/

.changeowner-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
}


.changeowner-cancel-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.changeowner-cancel-btn:hover {
  background-color: #e0e0e0;
}

.changeowner-confirm-btn {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.changeowner-confirm-btn:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}

.changeowner-users-suggestions {
  position: absolute;
  top: 100%; /* Posicionado logo abaixo do input */
  left: 0;
  width: 100%;
  z-index: 1100; /* Maior que o da modal */
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  max-height: 200px;
  overflow-y: auto;
  display: none;
}

.changeowner-users-suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.changeowner-users-suggestion-item:not(.nothing):hover {
    background: #f5f5f5;
}


.changeowner-users-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #007bff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-right: 10px;
}


.changeowner-users-user-info {
  display: flex;
  flex-direction: column;
}

.changeowner-users-user-name {
  font-weight: normal;
}

.changeowner-users-user-email {
  font-size: 12px;
  color: #777;
}

#changeowner-users-block {
  position: relative;
  z-index: 1001;
}

input#changeowner-user-input {
  border: none;
  outline: none;
  flex-grow: 1;
  min-width: 120px;
  margin-top: 0px;
  padding: 1px 2px;
}

#changeowner-container {
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 5px;
  min-height: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  cursor: text;
  margin-top: 5px;
}

.changeowner-user-tag {
    display: inline-flex;
    align-items: center;
    background: #e6e6e6;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
}

.changeowner-user-tag button {
    background: none;
    border: none;
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
}


/*********************/
.applications-dropdown-menu, 
.files-dropdown-menu, 
.connections-dropdown-menu {
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  list-style: none;
  padding: 4px 0px;
  margin: 0;
  z-index: 100;
  min-width: 215px;
}

.applications-item-menu,
.files-item-menu,
.connections-item-menu {
  white-space: nowrap;
  background-color: #fff;
  border: 0px;
  height: 32px;
}

.applications-item-menu:hover,
.files-item-menu:hover,
.connections-item-menu:hover {
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border-radius: 2px;
}

.applications-dropdown-menu .divider,
.files-dropdown-menu .divider,
.connections-dropdown-menu .divider {
  border-top: none;
  border-right: none;
  border-left: none;
  border-image: initial;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  margin: 4px;
}

.applications-dropdown-menu .menu-item, 
.files-dropdown-menu .menu-item, 
.connections-dropdown-menu .menu-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  margin: 0px 4px;
}


.applications-dropdown-menu .menu-item:hover, 
.files-dropdown-menu .menu-item:hover, 
.connections-dropdown-menu .menu-item:hover {
    background-color: #f4f4f4;
}

.applications-dropdown-menu .menu-item i, 
.files-dropdown-menu .menu-item i, 
.connections-dropdown-menu .menu-item i {
  margin-right: 16px;
  height: 16px;
  width: 16px;
}


/******************/
.move-modal {
  display: none; /* Oculto por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.move-modal-content {
  width: 600px;
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
  /*overflow-y: hidden;*/
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.move-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}


.move-modal-content h2 {
  margin-top: 0;
  font-size: 18px !important;
  font-weight: 700;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  text-align: left;
  margin-bottom: 20px;
}

.move-modal-body {
  display: block;
  padding: 10px 0;
}

.move-modal-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#move-nome-block {
  position: relative;
  width: 100%;
}

.move-select-field {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  /*font-size: 14px;*/
  flex: 1;
  margin-top: 5px;
  font-family: Arial;
  min-height: 40px;
}


.move-error-message {
  position: absolute;
  top: 100%;
  left: 0;
  color: #e53935;
  font-size: 12px;
  display: none;
  white-space: nowrap;
}

.move-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
}

.move-cancel-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.move-cancel-btn:hover {
  background-color: #e0e0e0;
}

.move-confirm-btn {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.move-confirm-btn:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}


#move-workspace-block {
  position: relative;
  z-index: 1001;
}

.move-workspace-selected-value, 
.publish-application-workspace-selected-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.move-workspace-selected-box-value, 
.publish-application-workspace-selected-box-value {
  display: none;
}

.move-workspace-container, 
.publish-application-workspace-container {
  position: relative;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 7px 10px 7px 10px;
  background: #ffffff;
  cursor: pointer;
  width: max-content;
  min-width: fit-content;
  max-width: 100%;
  min-width: 100%;
  max-height: 34px;
  margin-top: 5px;
}

.move-workspace-dropdown, 
.publish-application-workspace-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    margin-top: 2px;
    overflow-y: auto;
    max-height: 160px;
}

.move-workspace-dropdown-item,
.publish-application-workspace-dropdown-item {
  display: flex;
  padding: 8px 12px;
  cursor: pointer;
  height: 40px;
  align-items: center;
  transition: background 0.3s;
}

/*************/

.custom-events-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 0px;
  border-radius: 0px;
  padding: 0px;
  width: 250px; 
  height: 34px;
}

.custom-events-search i.fas.fa-search {
  position: relative;
  left: -225px;
  color: #888;
  padding-top: 1px;
}

.custom-events-search .events-search {
  flex: 1;
  padding: 0px 10px 0px 35px;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 250px;
  height: 34px;
}


table#eventstable {
    height: calc(100vh - 250px);
    display: flow;
    overflow-y: auto;
    border: 1px solid #ccc;
}

/***/

table#filestable {
    height: calc(100vh - 225px);
    display: flow;
    overflow-y: auto;
    border: 1px solid #ccc;
}


/**********/
.datasets-dropdown-menu {
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  list-style: none;
  padding: 4px 0px;
  margin: 0;
  z-index: 100;
  min-width: 215px;
}

.datasets-item-menu {
  white-space: nowrap;
  background-color: #fff;
  border: 0px;
  height: 32px;
}

.datasets-item-menu:hover {
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border-radius: 2px;
}


.datasets-dropdown-menu .divider {
  border-top: none;
  border-right: none;
  border-left: none;
  border-image: initial;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  margin: 4px;
}

.datasets-dropdown-menu .menu-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  margin: 0px 4px;
}


.datasets-dropdown-menu .menu-item:hover {
    background-color: #f4f4f4;
}


.datasets-dropdown-menu .menu-item i {
  margin-right: 16px;
  height: 16px;
  width: 16px;
}

/***********/

.ui-resizable-handle {
  position: absolute;
  right: 0;
  top: 0;
  width: 6px;
  height: 100%;
  cursor: col-resize;
  z-index: 10;
}

/**********/

.membersworkspace-modal {
  display: none; /* Oculto por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}


.membersworkspace-modal-content {
  width: 1216px;
  height: calc(-64px + 100vh);
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
/*    max-height: 640px;
    height: 640px;*/
  overflow-y: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.membersworkspace-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}

.members-block {
  display: flex;
  justify-content: space-between;
}

.membersworkspace-modal-content h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  text-align: left;
  margin-bottom: 50px;
}


.membersworkspace-modal-body {
  display: block;
  padding: 10px 0;
}


.membersworkspace-modal-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}


.membersworkspace-input-field {
  /*width: 100%;*/
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  /*font-size: 14px;*/
  flex: 1;
  /*margin-top: 5px;*/
  font-family: Arial;
  height: 37px;
}

.members-search {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 0px;
  border-radius: 0px;
  padding: 0px;
  width: 250px;
}

.members-search i.fas.fa-search {
  position: relative;
  left: -225px;
  color: #888;
  padding-top: 1px;
}

.membersworkspace-search {
  width: 260px;
  padding: 10px 10px 10px 35px;
  border: 1px solid #ccc;
  border-radius: 4px;
  /*font-size: 14px;*/
  flex: 1;
  /*margin-top: 5px;*/
  font-family: Arial;
  height: 37px;
}

#membersworkspace-description {
  height: 63px;
}


.membersworkspace-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  /*padding-top: 10px;*/
}


.membersworkspace-cancel-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.membersworkspace-add-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.membersworkspace-complete-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.membersworkspace-complete-btn:hover {
  background-color: #e0e0e0;
}

.membersworkspace-complete-btn:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}


.members-space-container {
  position: relative;
  display: inline-block;
  /*font-family: Arial;*/
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 9px 0px 10px 0px;
  background: #ffffff;
  cursor: pointer;
  width: max-content;
  min-width: fit-content;
  max-width: 400px;
  min-width: 150px;
  height: 37px;
}

.members-space-selected-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  padding: 0px 10px;
}

.members-space-selected-box {
  background: #e3f2fd;
  color: #007bff;
  padding: 2px 6px 2px 6px;
  border-radius: 10px;
  font-size: 12px;
  display: none;
  /*margin-top: 5px;*/   
  margin-right: 5px;
}

.members-space-selected-box-value {
	display: none;
}

.members-space-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  margin-top: 2px;
}

.members-space-dropdown-item {
  display: flex;
  padding: 8px 12px;
  cursor: pointer;
  height: 40px;
  align-items: center;
  transition: background 0.3s;
}

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

.members-controls {
  flex-grow: 1;
  display: flex;
  gap: 10px;
  align-items: center;
}

select.members-sort {
  position: relative;
  display: inline-block;
  font-family: Arial;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 9px 10px 10px 10px;
  background: #ffffff;
  cursor: pointer;
  width: max-content;
  min-width: fit-content;
  height: 37px;
  margin-left: auto;
}

table#membersworkspacetable {
  height: calc(100vh - 362px);
  display: flow;
  background: #f5f5f5;
  overflow-y: auto;
  width: 100% !important;
  border: 1px solid #ccc;
}

table.members-table.dataTable>thead>tr>th, 
table.members-table.dataTable>thead>tr>td, 
table.members-table.dataTable>tbody>tr>th, 
table.members-table.dataTable>tbody>tr>td {
    border-left: 1px solid #ddd !important;
    border-right: 1px solid #ddd !important;
}

.members-table>tbody>tr {
	background-color: #fff !important;
}

.members-table th, 
.members-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
    /* font-family: Arial; */
    font-weight: 400;
    font-size: 14px;
}

.members-block h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  text-align: left;
  margin-bottom: 0px;
}


.members-block p {
  margin-top: 8px;
}

.userworkspace-item-menu {
  white-space: nowrap;
  background-color: #fff;
  border: 0px;
  height: 32px;
}

.userworkspace-item-menu:hover {
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border-radius: 2px;
}

.userworkspace-item {
  display: flex;
  padding: 8px 12px;
  cursor: pointer;
  height: 40px;
  align-items: center;
  transition: background 0.3s;
}

.members-permission-container {
  position: relative;
  width: 300px;
  font-family: Arial, sans-serif;
}

.members-permission-selected-value {
  border: 1px solid #ccc;
  padding: 10px;
  cursor: pointer;
  background: #f9f9f9;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.members-permission-main-label {
  font-weight: bold;
  margin-right: 10px;
}

.members-permission-value-display {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #333;
}

.members-permission-dropdown {
  position: absolute;
  top: 105%;
  left: 0;
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 8px;
}

.members-permission-dropdown-item {
  padding: 6px 10px;
  cursor: pointer;
  height: 40px;
}

.members-permission-dropdown-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.members-permission-dropdown-item:hover {
  background-color: #f0f0f0;
}

.members-arrow {
  margin-left: 10px;
  color: #888;
}

.members-permission-selected-box-value {
  display: none;
}


.members-workspace-dropdown-menu {
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  list-style: none;
  padding: 4px 0px;
  margin: 0;
  z-index: 100;
  min-width: 215px;
}

.members-workspace-dropdown-menu .divider {
  border-top: none;
  border-right: none;
  border-left: none;
  border-image: initial;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  margin: 4px;
}

.members-workspace-dropdown-menu .menu-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  margin: 0px 4px;
}

.members-workspace-dropdown-menu .menu-item:not([disabled]):hover {
    background-color: #f4f4f4;
}

.members-workspace-dropdown-menu .menu-item i {
  margin-right: 16px;
  height: 16px;
  width: 16px;
}

.members-workspace-dropdown-menu .menu-item:disabled, 
.members-workspace-dropdown-menu .menu-item[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.members-workspace-item-menu {
  white-space: nowrap;
  background-color: #fff;
  border: 0px;
  height: 32px;
}

.members-workspace-item-menu:hover {
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border-radius: 2px;
}


.members-space-dropdown-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: Arial;
}

.members-space-main-label {
  font-size: 14px;
  font-family: Arial;
  margin-right: 10px;
}

.members-space-selected-box {
    background: #e3f2fd;
    color: #007bff;
    padding: 2px 6px 2px 6px;
    border-radius: 10px;
    font-size: 12px;
    display: none;
    /* margin-top: 5px; */
    margin-right: 5px;
}

.create-card.disabled {
  opacity: 0.5; /* Deixa o card mais "apagado" */
  cursor: not-allowed; /* Indica que não é clicável */
  pointer-events: none; /* Desativa cliques, inclusive no link */
  filter: grayscale(0.9); /* Opcional: deixa o card em tons de cinza */
}

/***********/
.add-members-space-modal {
  display: none; /* Oculto por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.add-members-space-modal-content {
  width: 600px;
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
/*    max-height: 640px;
    height: 640px;*/
  /*overflow-y: hidden;*/
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1010;
}


.add-members-space-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}


.add-members-space-modal-content h2 {
  margin-top: 0;
  font-size: 18px !important;
  color: #333;
  text-align: left;
  margin-bottom: 20px;
}


.add-members-space-modal-body {
  display: block;
  padding: 10px 0;
}

.add-members-space-modal-header {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
 
.add-members-space-user-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  flex: 1;
  margin-top: 5px;
}


.add-members-space-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
}

.add-members-space-modal-footer .add-members-space-modal-actions {
  display: flex;
  gap: 10px;
}

.add-members-space-copy-link {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px 8px 10px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.add-members-space-copy-link i {
    margin-right: 10px;
}

.add-members-space-cancel-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.add-members-space-cancel-btn:hover {
  background-color: #e0e0e0;
}

.add-members-space-save-btn {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.add-members-space-save-btn:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}


.add-members-space-user-input-container {
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 5px;
  min-height: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  cursor: text;
  width: 100%;
}


#add-members-space-user-input {
  border: none;
  outline: none;
  flex-grow: 1;
  min-width: 120px;
}

/* Estilização dos emails adicionados */
.add-members-space-email-tag {
    display: inline-flex;
    align-items: center;
    background: #e6e6e6;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
}

.add-members-space-email-tag button {
    background: none;
    border: none;
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
}

.bold {
  font-weight: 600;
}

.add-members-space-container {
  position: relative;
  display: inline-block;
  /*font-family: Arial;*/
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 9px 10px 10px 10px;
  background: #ffffff;
  cursor: pointer;
  width: max-content;
  min-width: fit-content;
  max-width: 400px;
  min-width: 150px;
  height: 40px;
}

.add-members-space-selected-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.add-members-space-selected-box {
  background: #e3f2fd;
  color: #007bff;
  padding: 2px 6px 2px 6px;
  border-radius: 10px;
  font-size: 12px;
  display: none;
  /*margin-top: 5px;*/   
  margin-right: 5px;
}

.add-members-space-selected-box-value {
	display: none;
}

.add-members-space-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1200;
  margin-top: 2px;
}

.add-members-space-dropdown-item {
  display: flex;
  padding: 8px 12px;
  cursor: pointer;
  height: 40px;
  align-items: center;
  transition: background 0.3s;
}

.add-members-space-dropdown-item:hover{
  background: #f1f1f1;
}

.add-members-space-row {
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.add-members-space-users-suggestions {
  position: absolute;
  top: 100%; /* Posicionado logo abaixo do input */
  left: 0;
  width: 100%;
  z-index: 1100; /* Maior que o da modal */
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  max-height: 200px;
  overflow-y: auto;
  display: none;
}

.add-members-space-users-suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.add-members-space-users-suggestion-item:not(.nothing):hover {
    background: #f5f5f5;
}


/*.add-members-space-user-list {
  background: #f8f8f8;
  border-radius: 5px;
  min-height: 300px;
}*/


.add-members-space-users-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #007bff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-right: 10px;
}


.add-members-space-users-user-info {
  display: flex;
  flex-direction: column;
}

.add-members-space-users-user-name {
  font-weight: normal;
}

.add-members-space-users-user-email {
  font-size: 12px;
  color: #777;
}

.add-members-space-row-col {
  width: -webkit-fill-available;
  position: relative;
}

.add-members-space-user-btn {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.add-members-space-user-tag {
  display: inline-flex;
  align-items: center;
  background: #e6e6e6;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 14px;
}

.add-members-space-user-tag button {
  background: none;
  border: none;
  margin-left: 8px;
  cursor: pointer;
  font-weight: bold;
}



/****************/

.capacity-dashboard {
  padding: 0px 40px;
  overflow-y: auto;
  height: calc(100vh - 113px);
}

.capacity-top {
  display: flex;
  gap: 40px;
}

.capacity-right {
  width: 300px;
}

.capacity-right > h3 {
  font-size: 18px;
  margin: 20px 0 10px;
  line-height: 24px;
  margin-bottom: 0px;
  padding-bottom: 8px;
}

.capacity-right > p {
  line-height: 1.6;
  text-align: justify;
}

.capacity-left {
  width: calc(100% - 300px - 40px);
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  column-gap: 20px;
}

.capacity-kpi {
  display: flex;
  width: 100%;
  background: #f3f3f3;
  height: fit-content;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex-direction: column;
}

.capacity-kpi > h3 {
  font-size: 18px;
  margin: 0px 0px 10px 0px;
  line-height: 24px;
  margin-bottom: 0px;
  padding-bottom: 8px;
}
.capacity-kpi > .value-details {
  display: flex;
  align-items: baseline;
}

.capacity-kpi > .value-details > .value {
  font-size: 36px;
  font-weight: 700;
  color: #00aaff;
}

.capacity-kpi > .value-details > .buyed {
    font-size: 24px;
    color: #999;
    font-weight: 700;
    padding-left: 5px;
}

.legend {
  display: flex;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
}

.sub-legend {
  font-size: 13px;
}

/*
.capacity-dashboard > h3 {
  font-size: 18px;
  margin: 20px 0 10px;
  line-height: 24px;
  margin-bottom: 0px;
  padding-bottom: 8px;
}
*/

.capacity-graph {
  width: 100%;
  height: 350px;
  margin-top: 50px;
}

#graph-tokens,
#graph-querys {
  width: 100%;
  max-width: 100%;
  height: 350px;
}

.capacity-section {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.capacity-section:first-of-type {
  margin-top: 0px;
}

.capacity-block {
  display: flex;
  width: 100%;
  gap: 20px;
}

.capacity-bar {
  height: 30px;
  background-color: #ddd;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 5px;
}

.bar.used {
  height: 100%;
  background-color: #00aaff;
}

.info {
  font-size: 12px;
  cursor: pointer;
}

.capacity-table {
  flex: 1;
  margin-top: 50px;
}

.capacity-table table {
  width: 100%;
  border-collapse: collapse;
}

.capacity-table td, .capacity-table th {
  padding: 8px;
  border-bottom: 1px solid #eee;
}

.capacity-footer {
  margin-top: 20px;
  padding: 0px 8px;
}

.capacity-footer a {
  text-decoration: none;
  color: #0066cc;
}


.capacity-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.capacity-title h3,
.capacity-title h4 {
    margin-bottom: 0px;
}

#capacity-resources thead tr {
  background-color: #e7e7e7;
}

#capacity-resources tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

#capacity-resources tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}


/*************/

.page-configuracoes .config-container {
  padding: 0px 40px;
  overflow-y: auto;
  height: calc(100vh - 113px);
}

.page-configuracoes .config-section {
  margin-top: 40px;
  width: 50%;
  min-width: 600px;
}

.page-configuracoes .config-section:first-of-type {
  border-top: none;
  margin-top: 0.83em;
}

.page-configuracoes .input-group {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 2px;
}

.page-configuracoes input[type="text"],
.page-configuracoes input[type="password"],
.page-configuracoes select {
  width: 300px;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  /*flex: 1;*/
  /*margin-top: 5px;*/ 
  height: 34px;
}

.page-configuracoes button.btn {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.page-configuracoes button.btn:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}


.page-configuracoes .description,
.page-configuracoes small {
  color: #666;
  font-size: 12px;
  margin-bottom: 10px;
  display: block;
}

.page-configuracoes h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.page-configuracoes h3 {
  font-size: 18px;
  margin: 20px 0 10px;
  border-bottom: 1px solid #ddd;
  line-height: 24px;
  margin-bottom: 0px;
  padding-bottom: 8px;
}

.page-configuracoes label {
  font-weight: 600;
  display: block;
  margin: 24px 0 5px;
}

.page-configuracoes .toggle-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

/* Toggle switch */
.page-configuracoes .switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.page-configuracoes .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.page-configuracoes .slider {
  background-color: #ccc;
  position: absolute;
  border-radius: 34px;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: .4s;
}

.page-configuracoes .slider::before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

.page-configuracoes .switch input:checked + .slider {
  background-color: #2196F3;
}

.page-configuracoes .switch input:checked + .slider::before {
  transform: translateX(18px);
}

.page-configuracoes .config-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.page-configuracoes .config-row.right {
  justify-content: flex-end;
}

.page-configuracoes .config-row-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px 0;
  /*gap: 20px;*/
}

.page-configuracoes .config-info {
  max-width: 90%;
}

.page-configuracoes .config-info p {
  color: #666;
  font-size: 13px;
  margin: 4px 0 0;
}

.page-configuracoes .config-info strong {
  font-weight: 600;
}

.page-configuracoes .input-small {
  width: 60px;
  padding: 6px;
  font-size: 14px;
  text-align: right;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: Arial;
  height: 34px;
}

.page-configuracoes .color-options {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  font-size: 14px;
  justify-content: space-between;
}

.page-configuracoes .email-provider-options {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  font-size: 14px;
  justify-content: space-between;
}

.page-configuracoes .email-provider-smtp {
  display: none;
  flex-direction: column;
}

.page-configuracoes .email-provider-smtp #smtp-port {
  width: 70px;
}

.page-configuracoes .email-provider-smtp #smtp-crypto {
  width: 110px;
}

.page-configuracoes .provider-status {
  background: #e2f3e2;
  color: green;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-left: 20px;
  display: block;
  text-align: center;
  height: 20px;
  align-items: center;
  width: fit-content;
}


.page-configuracoes .provider-status.off {
  background: transparent;
  color: transparent;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-left: 20px;
  display: block;
  text-align: center;
  height: 20px;
  align-items: center;
}

.page-configuracoes .email-provider-options > label {
  height: 50px;
  display: block;
}

.page-configuracoes .email-provider-options > label > input[type="radio"] {
  display: inline-block;
  height: 24px;
}

.page-configuracoes .email-provider-options > label > span:not(.provider-status):not(.provider-status-off) {
  height: 24px;
  display: inline-block;
  vertical-align: bottom;
}

.page-configuracoes .email-provider-options img.email-provider-365-logo {
  position: relative;
  top: -1px;
  height: 22px;
  width: auto;
}

.page-configuracoes .email-provider-options img.email-provider-google-logo {
  position: relative;
  top: -1px;
  height: 22px;
  width: auto;
}

.color-dropdown {
  position: relative;
  display: inline-block;
  width: 390px;
}

.color-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px;
  border: 1px solid #ccc;
  cursor: pointer;
  background: #fff;
  height: 34px;
}

.color-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
  z-index: 1000;
}

.color-dropdown-item {
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
}

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

.color-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Mostra cores selecionadas no botão */
.selected-palette {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.selected-palette .color-box {
  width: 25px;
  height: 25px;
}

#color-config {
  display: none;
}
/*********/

.rights-modal {
  display: none; /* Oculto por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.rights-modal-content {
  width: 800px;
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
  /*overflow-y: hidden;*/
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.rights-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}


.rights-modal-content h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  text-align: left;
  margin-bottom: 50px;
}

 
.rights-modal-body {
  display: block;
  padding: 10px 0;
}

.rights-modal-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.rights-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
}

.rights-cancel-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.rights-cancel-btn:hover {
  background-color: #e0e0e0;
}

.rights-save-btn {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.rights-save-btn:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}

.rights-remove-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid #ccc;
  font-size: 12px;
  color: #888;
  cursor: pointer;
  height: 24px;
  border-radius: 3px;
}

.rights-input-container {
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 5px;
  min-height: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  cursor: text;
  width: 350px;
}


#rights-input {
  border: none;
  outline: none;
  flex-grow: 1;
  min-width: 120px;
}

table#rightstable {
  height: 300px;
  display: flow;
  overflow-y: auto;
  border: 1px solid #ccc;
  width: 100% !important;
  background: #f5f5f5;
}

#rightstable>tbody>tr {
  background-color: #ffffff;
}

/**********/


.permission-modal {
  display: none; /* Oculto por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.permission-modal-content {
  width: calc(100vw - 64px);
  height: calc(100vh - 64px);
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
  /*overflow-y: hidden;*/
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.permission-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}


.permission-modal-content h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  text-align: left;
  margin-bottom: 50px;
}

 
.permission-modal-body {
  display: block;
  padding: 10px 0;
}

.permission-modal-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.permission-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
}

.permission-cancel-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.permission-cancel-btn:hover {
  background-color: #e0e0e0;
}

.permission-save-btn {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.permission-save-btn:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}

.permission-remove-btn,
.permission-admin-remove-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid #ccc;
  font-size: 12px;
  color: #888;
  cursor: pointer;
  height: 24px;
  border-radius: 3px;
}

.permission-input-container {
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 5px;
  min-height: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  cursor: text;
  width: 350px;
}


#permission-input {
  border: none;
  outline: none;
  flex-grow: 1;
  min-width: 120px;
}

table#permissiontableuser {
  height: calc(100vh - 64px - 425px);
  display: flow;
  overflow-y: auto;
  width: max-content !important;
  background: #f5f5f5;
  min-width: 100%;
}

table#permissiontableadmin {
  height: calc(100vh - 64px - 425px);
  display: flow;
  overflow-y: auto;
  border: 1px solid #ccc;
  width: max-content !important;
  background: #f5f5f5;
  min-width: 100%;
}

table#permissiontableuser thead>tr>th,
table#permissiontableadmin thead>tr>th {
  white-space: nowrap;
}

table.permission-table-admin.resources-data-table.dataTable thead > tr > th {
  border-bottom: none;
}

table#permissiontableuser tbody>tr,
table#permissiontableadmin tbody>tr {
  /*border-bottom: 1px solid #eeeeee;*/
}

table#permissiontableuser tbody>tr:last-child>*,
table#permissiontableadmin tbody>tr:last-child>* {
  border-bottom: 1px solid #ababab;
}

table#permissiontableuser tbody>tr>td,
table#permissiontableadmin tbody>tr>td {
  background-color: #fff;
}

.dt-scroll {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}


.sub_resources-tabs {
  display: flex;
  gap: 0px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.sub_resources-tab.active {
  border-bottom: 2px solid #00aaff;
  padding: 12px 20px;
}

.sub_resources-tab {
  padding: 12px 20px;
  background-color: #fff;
  border: 0px;
  border-bottom: 2px solid transparent;
  /* border-radius: 4px; */
  cursor: pointer;
}

#sub_resources-tab1, #sub_resources-tab2, #sub_resources-tab3 {
  gap: 15px;
  display: flex;
  flex-direction: column;
}

#sub_resources-tab2, #sub_resources-tab3 {
  display: none;
}

/*********/

.custom-idps-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 0px;
  border-radius: 0px;
  padding: 0px;
  width: 250px; /* Ajuste conforme necessário */
}

.custom-idps-search i.fas.fa-search {
  position: relative;
  left: -225px;
  color: #888;
  padding-top: 1px;
}

.custom-idps-search .idps-search {
  flex: 1;
  padding: 10px 10px 10px 35px;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 250px;
  height: 37px;
}

.idp-create {
  background: #00aaff;
  border: 1px solid #00aaff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
  color: #fff;
}

.idp-create:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}

table#idpstable {
    height: calc(100vh - 231px);
    display: flow;
    overflow-y: auto;
    border: 1px solid #ccc;
}

.idp-item-menu {
    white-space: nowrap;
    background-color: #fff;
    border: 0px;
    height: 32px;
}

.idp-item-menu:hover {
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0.05);
    cursor: pointer;
    border-radius: 2px;
}

.idp-dropdown-menu {
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  list-style: none;
  padding: 4px 0px;
  margin: 0;
  z-index: 100;
  min-width: 230px;
}

.idp-dropdown-menu .menu-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  margin: 0px 4px;
}

.idp-dropdown-menu .menu-item:disabled, 
.idp-dropdown-menu .menu-item[disabled] {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

.resources-section {
  padding: 20px 0px;
}

.resources-section.relative {
  position: relative;
}

.resources-idp-overlay-wrapper .idp-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10;
  margin: 0 !important;
}

.resources-idp-overlay-wrapper .idp-sidebar {
  position: absolute;
  top: 0;
  right: -500px;
  width: 400px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding: 0px;
  z-index: 11;
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.resources-idp-overlay-wrapper .idp-sidebar.active {
  right: 0;
}

.idp-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #00aaff;
  padding: 10px 20px;
  color: #fff;
  
}

.idp-sidebar-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.idp-close-sidebar {
  font-size: 24px;
  cursor: pointer;
}

.idp-sidebar-section {
  padding: 0px 20px 0px 20px;
}

.idp-sidebar-section label {
  font-weight: 600;
  margin-top: 15px;
  display: block;
}

.idp-form-control {
  width: 100%;
  padding: 7px 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 34px;
}

#idp-descricao {
  border-radius: 4px;
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  height: 80px;
  margin-top: 5px;
}

.idp-sidebar-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 20px;
  padding: 0px 20px;
}

.idp-btn-cancel {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.idp-btn-cancel:hover {
  background-color: #e0e0e0;
}

.idp-btn-save {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.idp-btn-save:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}
/**************/
/*********/

.custom-themes-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 0px;
  border-radius: 0px;
  padding: 0px;
  width: 250px; /* Ajuste conforme necessário */
}

.custom-themes-search i.fas.fa-search {
  position: relative;
  left: -225px;
  color: #888;
  padding-top: 1px;
}

.custom-themes-search .themes-search {
  flex: 1;
  padding: 10px 10px 10px 35px;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 250px;
  height: 37px;
}

.theme-create {
  background: #00aaff;
  border: 1px solid #00aaff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
  color: #fff;
}

.theme-create:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}

table#themestable {
  height: calc(100vh - 231px);
  display: flow;
  overflow-y: auto;
  border: 1px solid #ccc;
}

.theme-item-menu {
  white-space: nowrap;
  background-color: #fff;
  border: 0px;
  height: 32px;
}

.theme-item-menu:hover {
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border-radius: 2px;
}

.theme-dropdown-menu {
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  list-style: none;
  padding: 4px 0px;
  margin: 0;
  z-index: 100;
  min-width: 135px;
}

.theme-dropdown-menu .divider {
  border-top: none;
  border-right: none;
  border-left: none;
  border-image: initial;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  margin: 4px;
}


.theme-dropdown-menu .menu-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  margin: 0px 4px;
}

.theme-dropdown-menu .menu-item:hover {
  background-color: #f4f4f4;
}

.theme-dropdown-menu .menu-item:disabled, 
.theme-dropdown-menu .menu-item[disabled] {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

.resources-section {
  padding: 20px 0px;
}

.resources-section.relative {
  position: relative;
}

/**************/
.connection-space-container {
  position: relative;
  display: inline-block;
  /*font-family: Arial;*/
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 7px 10px 7px 10px;
  background: #ffffff;
  cursor: pointer;
  width: max-content;
  min-width: fit-content;
  max-width: 100%;
  min-width: 100%;
  max-height: 34px;
  margin-bottom: 15px;
}

.connection-space-main-label {
  margin-right: 10px;
  font-size: 14px;
}

.connection-space-selected-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.connection-space-selected-box {
  margin-right: 10px;
  font-size: 14px;
}


.connection-space-selected-box-value {
	display: none;
}

.connection-space-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  margin-top: 2px;
  max-height: 160px;
  overflow-y: auto;
}

.connection-space-dropdown-item {
  display: flex;
  padding: 8px 12px;
  cursor: pointer;
  height: 40px;
  align-items: center;
  transition: background 0.3s;
}

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

/**************/
.dataset-space-container {
  position: relative;
  display: inline-block;
  /*font-family: Arial;*/
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 7px 10px 7px 10px;
  background: #ffffff;
  cursor: pointer;
  width: max-content;
  min-width: fit-content;
  max-width: 100%;
  min-width: 100%;
  max-height: 34px;
  margin-bottom: 15px;
}

.dataset-space-main-label {
  margin-right: 10px;
  font-size: 14px;
}

.dataset-space-selected-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.dataset-space-selected-box {
  margin-right: 10px;
  font-size: 14px;
}


.dataset-space-selected-box-value {
  display: none;
}

.dataset-space-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  margin-top: 2px;
  max-height: 120px;
  overflow-y: auto;
}

.dataset-space-dropdown-item {
  display: flex;
  padding: 8px 12px;
  cursor: pointer;
  height: 40px;
  align-items: center;
  transition: background 0.3s;
}

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

/*************/
.create-automation-info-modal,
.createapplication-modal,
.createnote-modal,
.report-bug-modal {
  display: none; /* Oculto por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}


.create-automation-info-modal-content,
.createapplication-modal-content,
.createnote-modal-content,
.report-bug-modal-content {
  width: 600px;
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
/*    max-height: 640px;
    height: 640px;*/
  overflow-y: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.create-automation-info-close-modal,
.createapplication-close-modal,
.createnote-close-modal,
.report-bug-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}

.create-automation-info-modal-content h2,
.createapplication-modal-content h2,
.createnote-modal-content h2,
.report-bug-modal-content h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  text-align: left;
  margin-bottom: 50px;
}


.create-automation-info-modal-content h2 i,
.createapplication-modal-content h2 i,
.createnote-modal-content h2 i,
.report-bug-modal-content h2 i {
  font-size: 16px;
  margin-left: 8px;
}


.create-automation-info-modal-body,
.createapplication-modal-body,
.createnote-modal-body,
.report-bug-modal-body {
  display: block;
  padding: 10px 0;
}


.create-automation-info-modal-header,
.createapplication-modal-header,
.createnote-modal-header,
.report-bug-modal-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}


.create-automation-info-input-field,
.createapplication-input-field,
.createnote-input-field,
.report-bug-input-field {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  flex: 1;
  margin-top: 5px;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  height: 34px;
}

.automation-info-error-message,
.application-error-message,
.note-error-message,
.report-bug-error-message {
  position: absolute;
  top: 100%;
  left: 0;
  color: #e53935;
  font-size: 12px;
  display: none;
  white-space: nowrap;
}


#create-automation-info-description,
#createapplication-description,
#createnote-description,
#report-bug-description {
  height: 97px;
}


.create-automation-info-modal-footer,
.createapplication-modal-footer,
.createnote-modal-footer,
.report-bug-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
}

.create-automation-info-modal-buttons,
.createapplication-modal-buttons,
.createnote-modal-buttons,
.report-bug-modal-buttons {
  display: flex;
  gap: 10px;
}


.create-automation-info-checkbox,
.createapplication-checkbox,
.createnote-checkbox,
.report-bug-checkbox {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 0px;
}

.create-automation-info-option,
.createapplication-option,
.createnote-option,
.report-bug-option {
  align-items: center;
  display: flex;
}

input#create-automation-info-openautomation,
input#createnote-openapplication,
input#createnote-opennote,
input#report-bug-sendcopy {
  margin-left: 0px;
}

.create-automation-info-cancel-btn,
.createapplication-cancel-btn,
.createnote-cancel-btn,
.report-bug-cancel-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}


.create-automation-info-create-btn,
.createapplication-create-btn,
.createnote-create-btn,
.report-bug-create-btn {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}


.create-automation-info-create-btn:disabled,
.createapplication-create-btn:disabled,
.createnote-create-btn:disabled,
.report-bug-create-btn:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}

.connection-cancel-btn:hover,
.createnote-cancel-btn:hover,
.report-bug-cancel-btn:hover,
.createapplication-cancel-btn:hover,
.link-create-cancel:hover,
.dataset-cancel-btn:hover {
  background-color: #e0e0e0;
}

#create-automation-info-nome-block,
#create-automation-info-description-block,
#createapplication-tipo-block, 
#createapplication-nome-block,
#createapplication-space-block,
#createapplication-description-block,
#createnote-tipo-block, 
#createnote-nome-block,
#createnote-space-block,
#createnote-description-block,
#report-bug-nome-block,
#report-bug-description-block,
#report-bug-attachment-block {
  position: relative;
  width: 100%;
}

#report-bug-attachment-block {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
}


.application-space-container,
.note-space-container {
  position: relative;
  display: inline-block;
  /*font-family: Arial;*/
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 7px 10px 7px 10px;
  background: #ffffff;
  cursor: pointer;
  width: max-content;
  min-width: fit-content;
  max-width: 100%;
  min-width: 100%;
  max-height: 34px;
}

.application-space-main-label,
.note-space-main-label {
  margin-right: 10px;
  font-size: 14px;
}

.application-space-selected-value,
.note-space-selected-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.application-space-selected-box,
.note-space-selected-box {
  margin-right: 10px;
  font-size: 14px;
}

.application-space-selected-box-value,
.note-space-selected-box-value {
	display: none;
}

.application-space-dropdown,
.note-space-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  margin-top: 2px;
  overflow-y: auto;
  max-height: 160px;
}

.application-space-dropdown-item,
.note-space-dropdown-item {
  display: flex;
  padding: 8px 12px;
  cursor: pointer;
  height: 40px;
  align-items: center;
  transition: background 0.3s;
}

.application-space-dropdown-item:hover,
.note-space-dropdown-item:hover{
  background: #f1f1f1;
}


/*****************/
.editnote-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.editnote-modal-content {
  width: calc(100% - 64px);
  max-width: 1280px;
  height: calc(100% - 64px);
  max-height: calc(100% - 64px);
  background-color: #fff;
  padding: 20px 0px;
  border-radius: 8px;
  overflow-y: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.editnote-modal-content h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  text-align: left;
  margin-left: 20px;
}

.editnote-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}

.editnote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #ccc;
  font-weight: bold;
  font-size: 18px;
}

.editnote-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  border-bottom: 1px solid #eee;
  background: #f5f5f5;
  justify-content: space-between;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.editnote-toolbar i {
  font-size: 16px;
  cursor: pointer;
}

.editnote-modal-options {
  display: flex;
  gap: 12px;
}

.editnote-modal-body {
  display: flex;
  height: calc(100% - 42px - 44px);
  padding: 0px 0px 10px 0;
}

.editnote-modal-header {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.editnote-block {
  flex: 1;
  padding: 16px 20px;
  flex-direction: column;
  display: flex;
}

.editnote-body {
  width: 100%;
  height: 300px;
  border: none;
  resize: none;
  outline: none;
  font-size: 14px;
}

.editnote-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 10px 20px 0px 20px;
}

.editnote-space {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0px 20px;
  height: 40px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  justify-content: space-between;
}

.editnote-space-block1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: fit-content;
}

.editnote-modal-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.editnote-btn-options {
  /*background: #007acc;
  color: white;
  padding: 6px 14px;
  border-radius: 4px;*/
  border: none;
  cursor: pointer;
}

.editnote-btn-share {
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
  background-color: #fff;
}

textarea.editnote-body {
  height: 100%;
  padding-top: 14px;
  padding-bottom: 14px;
  overflow-y: auto;
}


.editnote-title {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 0px 4px;
  border-top: none;
  border-right: none;
  border-left: none;
  border-image: initial;
  outline: none;
  margin: 0px;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgb(64, 64, 64);
  user-select: text;
  border-bottom: 1px solid rgb(189, 189, 189);
}

.editnote-workspace-type {
  border-radius: 5px;
  height: 20px;
  width: 20px;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  flex-shrink: 0;
  background: #f0f0f0;
  display: flex;
  margin-right: 8px;
}

.editnote-workspace-type.gray {
  background-color: #ccc;
}

.editnote-workspace-type.red {
  background-color: #dc423f;
}

.editnote-workspace-type.blue {
  background-color: #005cb9;
}

.editnote-workspace-type.blue svg,
.editnote-workspace-type.red svg {
  width: 12px;
  height: 12px;
  color: #fff;
}

.editnote-workspace-type.gray svg {
  width: 12px;
  height: 12px;
  color: #000;
}

.flex-visible {
  display: flex !important;
}

.editnote-details {
  display: none;
  width: 360px;
  min-width: 360px;
  height: 100%;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  flex-direction: column;
}

.editnote-details-title {
  display: flex;
  height: 52px;
  align-items: center;
  background-color: #f5f5f5;
  width: 100%;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 8px 20px 8px 16px;
}

.editnote-details-body {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 10px 16px;
  gap: 15px;
  height: calc(100% - 52px);
  width: 100%;
}

.editnote-details-info-label {
  font-weight: 600;
}

.editnote-details-info-value {
  display: flex;
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  flex: 1;
  margin-top: 5px;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  height: 34px;
  align-items: center;
}

.editnote-details-info-value.owner {
  height: auto;
}

.editnote-details-info-value.description {
  height: 100px;
}

.editnote-details-info-value.description:disabled {
  background: #fff;
  color: #000;
}

.editnote-details-info-value.workspace {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  width: 100%;
  max-width: 100%;
}

.editnote-details-info-value.workspace p.text {
  margin-top: 0;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.editnote-details-info-workspace {
  display: flex;
  flex-direction: row;
}

.editnote-open-wrk {
  margin-top: 5px;
  margin-left: 10px;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
  background-color: #fff;
}

.editnote-open-wrk:hover {
  background-color: #f2f2f2;
}

.editnote-details-info-value.access {
    padding: 8px 0px;
    border: none;
}

.editnote-btn-cancel {
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
  background-color: #fff;
}

.editnote-btn-save {
  color: #fff;
  background: #00aaff;
  border: 1px solid #00aaff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

/**************/
.filter_type-dropdown-container {
  position: relative;
  display: inline-block;
  font-family: Arial, sans-serif;
}

.filter_type-toggle {
  background: white;
  border: 1px solid #ccc;
  padding: 7px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.filter_type-count {
  background-color: #e3f2fd;
  color: #007bff;
  border-radius: 8px;
  padding: 2px 6px;
  font-size: 12px;
  display: none;
}

.filter_type-dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  width: 200px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: none;
  z-index: 30;
}

.filter_type-dropdown label {
  display: flex;
  align-items: center;
  font-size: 14px;
  padding: 8px 12px;
  cursor: pointer;
  height: 40px;
}

.filter_type-dropdown svg {
  width: 16px;
  margin-right: 6px;
  text-align: center;
  margin-bottom: 1px;
}

.filter_type-dropdown input[type="checkbox"] {
  margin-right: 8px;
}

.filter_type-dropdown i {
  margin-right: 6px;
  width: 16px;
  text-align: center;
  color: red;
}

.filter_type-dropdown svg {
  margin-right: 4.5px;
  position: relative;
  text-align: center;
  scale: -1;
  transform: scaleX(-1);
  left: 2px;
  top: 0px;
  height: 17.5px;
  width: 17.5px;
}

.filter_type-dropdown .not-inverted svg {
  scale: 1;
  transform: scaleX(1);
}

.filter_type-dropdown .not-inverted.apps svg {
  left: -1px;
}

.filter_type-dropdown .not-inverted.notes svg {
  left: -1px;
}

.filter_type-dropdown .not-inverted.glossaries svg {
  left: -1px;
}

.filter_type-dropdown .cogs svg {
  left: -0.5px;
}

.filter_type-dropdown .graph svg {
  left: 1px;
}


/**************/
.main-content-tutorial {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  max-height: calc(100vh - 48px);
}

.tutorial-section {
  padding: 20px 20px 70px 20px;
}

.tutorial-section > h1 {
  font-size: 24px;
  padding: 0px;
  margin: 0px;
}

.tutorial-welcome-panel {
  margin-top: 50px;
  padding: 20px;
  width: 100%;
  height: 300px;
  background-color: #00aaff;
  border-radius: 5px;
}

.tutorial-welcome-panel h2 {
  color: #fff;
  font-size: 24px;
}


.tutorial-cards-area > h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 50px 0px 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
}

.tutorial-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tutorial-card {
  position: relative;
  background-color: #f2f2f2;
  padding: 0px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex: 1;
  max-width: 245px;
  min-width: 245px;
  text-align: left;
  transition: transform 0.2s ease;
  border: 1px solid #ccc;
}

.tutorial-card:hover {
  cursor: pointer;
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.2), 0px 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.tutorial-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.9);
}

.tutorial-card-header {
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  aspect-ratio: 8 / 5;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  background: #00aaff;
  background-image: none !important;
}

.tutorial-card-icon {
  border-radius: 50%;
  /*border: 5px solid #555555;*/
  height: 60px;
  width: 60px;
  justify-content: center;
  display: flex;
  align-items: center;
  background-color: #43434363;
}

.tutorial-card-icon i {
  color: #fff;
  margin-left: 6px;
  margin-top: 2px;
  font-size: 18px;
}

.tutorial-card-footer {
  padding: 10px;
}

.tutorial-card-footer h3 {
  font-size: 14px;
  margin: 0px 0px 5px 0px;
  font-weight: 600;
}

.tutorial-card-footer p {
  margin: 0px;
}

/*********************/

.recover-container {
  display: flex;
  align-items: self-start;
  justify-content: center;
  height: 100%;
  background-color: #fafafa;
  align-items: center;
}

.recover-box {
  background-color: #fff;
  padding: 20px;
  width: 500px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.recover-box h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  margin-bottom: 20px;
}

.recover-box p {
  font-size: 14px;
  color: #666;
  margin-bottom: 40px;
}

.recover-box label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
  color: #333;
}

.recover-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 34px;
}

.recover-buttons {
  display: flex;
  justify-content: space-between;
}

.recover-cancel {
  background-color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #ccc;
  height: 34px;
}

.recover-cancel:hover {
    background-color: #e0e0e0;
}

.recover-send {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.recover-error-message {
  position: absolute;
  top: 100%;
  left: 0;
  color: #e53935;
  font-size: 12px;
  display: none;
  white-space: nowrap;
}

.recover-block {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.recover-confirmation {
  display: flex;
  align-items: self-start;
  justify-content: center;
  height: 100%;
  background-color: #fafafa;
  align-items: center;
  flex-direction: column;
  gap: 25px;
}

.recover-confirm-box {
  background: white;
  padding: 20px 40px;
  border-radius: 8px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  font-family: 'Inter', sans-serif;
}

.recover-confirm-box h2 {
  margin-bottom: 10px;
  font-weight: 600;
}

.recover-confirm-box .icon-success {
  margin: 20px auto;
  font-size: 64px;
  color: #00aaff; /* azul Kalistho */
}

.recover-confirm-box .small-note {
  font-size: 14px;
  color: #333;
}

.recover-confirm-box .small-note a {
  color: #00aaff;
  text-decoration: none;
}

.recover-confirmation > p {
  color: rgba(0, 0, 0, 0.55);
  margin-top: 10px;
  font-size: 14px;
}

/*********************/

.reset-container {
  display: flex;
  align-items: self-start;
  justify-content: center;
  height: 100%;
  padding-top: 50px;
  background-color: #f7f7f7;
}

.reset-box {
  background: #fff;
  padding: 32px;
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
  text-align: left;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.reset-box h2 {
  margin-top: 0;
  font-weight: 600;
}

.reset-box .instruction {
  font-size: 14px;
  margin-bottom: 24px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.reset-block {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
}

.reset-box .label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

.readonly-email {
  color: #444;
  font-size: 14px;
  margin-bottom: 15px;
}

.reset-box .reset-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.reset-box .reset-buttons {
  text-align: right;
  padding-top: 10px;
}

.reset-buttons .btn-reset {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.reset-error-message {
  position: absolute;
  top: 100%;
  left: 0;
  color: #e53935;
  font-size: 12px;
  display: none;
  white-space: nowrap;
}

.reset-box .reset-password-wrapper {
  position: relative;
}

.reset-toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
  font-size: 16px;
}

.reset-success {
  display: none;
  align-items: self-start;
  justify-content: center;
  height: 100%;
  padding-top: 50px;
  background-color: #f7f7f7;
}

.reset-success .success-icon {
  text-align: center;
  font-size: 42px;
  color: #65b045;
  margin: 30px 0 10px;
}

.reset-success .success-icon i {
  background: #65b045;
  color: #fff;
  border-radius: 50%;
  padding: 15px;
}

.reset-success .success-message {
  text-align: center;
  color: #444;
  font-size: 14px;
}

/*********************/
.edit-details-modal, 
.publish-application-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.edit-details-close-modal, 
.publish-application-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}

.edit-details-content, 
.publish-application-content {
  width: 600px;
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
  overflow-y: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.edit-details-content h2, 
.publish-application-content h2 {
  margin-top: 0;
  font-size: 20px !important;
  font-weight: 700;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  text-align: left;
  margin-bottom: 50px;
}

.edit-details-content h2 i, 
.publish-application-content h2 i {
  font-size: 16px;
  margin-left: 8px;
}

.edit-details-modal-body, 
.publish-application-modal-body {
    display: block;
    padding: 10px 0;
}

.edit-details-modal-header, 
.publish-application-modal-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.edit-details-block, 
.publish-application-block {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
}

.edit-details-modal-header label, 
.publish-application-modal-header label {
  font-weight: 600;
}


.edit-details-input, 
.publish-application-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  flex: 1;
  margin-top: 5px;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  height: 34px;
}

.edit-details-textarea, 
.publish-application-textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  flex: 1;
  margin-top: 5px;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  height: 97px;
}


.edit-details-error-message, 
.publish-application-error-message {
  position: absolute;
  top: 100%;
  left: 0;
  color: #e53935;
  font-size: 12px;
  display: none;
  white-space: nowrap;
}

.edit-details-modal-footer, 
.publish-application-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
}

.edit-details-cancel, 
.publish-application-cancel {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.edit-details-save:disabled,
.publish-application-save:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}

.edit-details-save,
.publish-application-save {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

/*********************/
.notification-panel {
  position: fixed;
  top: 48px;
  right: 73px;
  width: 320px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  max-height: 500px;
  display: none;
  flex-direction: column;
  z-index: 1000;
  border: 1px solid #ccc;
}

.notification-panel.visible {
  display: flex;
}

.notification-header {
  padding: 0px 16px;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notification-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.notification-list {
  overflow-y: auto;
  max-height: 540px;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.notification-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 6px;
  margin-right: 12px;
}

.notification-icon.success {
  background-color: #2ecc71; /* verde */
}

.notification-icon.failed {
  background-color: #e74c3c; /* vermelho */
}

.notification-content {
  flex: 1;
}

.notification-message {
  font-size: 14px;
  color: #333;
  margin: 0 0 4px 0;
  line-height: 16px;
}

.notification-date {
  font-size: 12px;
  color: #888;
  margin: 0;
}

/*********************/

.link-create-modal, 
.link-edit-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.link-create-content, 
.link-edit-content {
  background: #fff;
  width: 600px;
  max-height: calc(100% - 64px);
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
  overflow-y: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.link-create-close-modal, 
.link-edit-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}

.link-create-content h2, 
.link-edit-content h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  text-align: left;
  margin-bottom: 50px;
}

.link-create-content h2 i, 
.link-edit-content h2 i {
  font-size: 16px;
  margin-left: 8px;
}

.link-create-modal-body, 
.link-edit-modal-body {
  margin-top: 20px;
}

.link-create-modal-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.link-edit-modal-header {
  display: flex;
  width: 100%;
}

.link-edit-modal-subheader {
  display: none;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.link-create-block,
.link-edit-block {
  position: relative;
  width: 100%;
}

.link-create-block label,
.link-edit-block label {
    font-weight: 600;
}

.link-create-upload-area .icon,
.link-edit-upload-area .icon {
  margin: 0px;
}

.link-create-upload-area i,
.link-edit-upload-area i {
  font-size: 26px;
  color: #bfbfbf;
}

.link-create-upload-area .title,
.link-edit-upload-area .title {
  font-size: 20px;
  color: #666;
  margin: 0px;
}

.link-create-upload-area .subtitle,
.link-edit-upload-area .subtitle {
  font-size: 14px;
  margin: 0px;
  padding: 0px 8px 8px;
  white-space: pre-line;
  text-align: center;
  line-height: 1.4 !important;
  color: #666;
}

.link-create-input, .link-create-textarea, .link-create-upload-area,
.link-edit-input, .link-edit-textarea, .link-edit-upload-area {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  flex: 1;
  margin-top: 5px;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  height: 34px;
}

.link-create-upload-area,
.link-edit-upload-area {
  border: 2px dashed #ccc;
  padding: 10px;
  cursor: pointer;
  background-color: #fafafa;
  height: 196px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.link-create-upload-area-container,
.link-edit-upload-area-container {
  width: 100%;
  height: 196px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#link-create-description,
#link-edit-description {
  height: 85px;
}

.link-create-space-container,
.link-edit-space-container {
  position: relative;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 7px 10px 7px 10px;
  background: #ffffff;
  cursor: pointer;
  width: max-content;
  min-width: fit-content;
  max-width: 100%;
  min-width: 100%;
  max-height: 34px;
}

.link-create-space-selected-value,
.link-edit-space-selected-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.link-create-space-selected-box-value,
.link-edit-space-selected-box-value {
  display: none;
}

.link-create-space-dropdown,
.link-edit-space-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  margin-top: 2px;
  overflow-y: auto;
  max-height: 160px;
}

.link-create-space-dropdown-item,
.link-edit-space-dropdown-item {
  display: flex;
  padding: 8px 12px;
  cursor: pointer;
  height: 40px;
  align-items: center;
  transition: background 0.3s;
}

.link-create-browse,
.link-edit-browse {
  margin-top: 5px;
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
  background-color: #fff;
}

.link-create-error-message,
.link-edit-error-message {
  position: absolute;
  top: 100%;
  left: 0;
  color: #e53935;
  font-size: 12px;
  display: none;
  white-space: nowrap;
}

.link-create-checkbox,
.link-edit-checkbox {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 0px;
}

.link-create-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
}

.link-edit-modal-footer {
  display: flex;
  justify-content: right;
  gap: 10px;
  padding-top: 20px;
}

.link-create-modal-buttons,
.link-edit-modal-buttons {
  display: flex;
  gap: 10px;
}

.link-create-option,
.link-edit-option {
  align-items: center;
  display: flex;
}


.link-create-cancel,
.link-edit-cancel {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.link-edit-cancel:hover {
  background-color: #e0e0e0;
}

.link-create-save,
.link-edit-save {
  background-color: #00aaff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #00aaff;
  height: 34px;
}

.link-create-save:disabled,
.link-edit-save:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  border: 1px solid #0000001f;
}

.link-create-preview-container,
.link-edit-preview-container {
  position: relative;
  display: none;
  height: 196px;
  aspect-ratio: 8 / 5;
  padding: 10px;
  justify-content: center;
}

.link-create-preview-container img,
.link-edit-preview-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.link-create-remove-preview,
.link-edit-remove-preview {
  position: absolute;
  display: flex;
  top: 18px;
  right: 18px;
  background: #666;
  color: white;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  line-height: 28px;
  align-items: center;
  justify-content: center;
}

.link-create-remove-preview i,
.link-edit-remove-preview i {
  font-size: 13px;
  color: #fff;
}

/*********************/
.show-dependence-modal,
.show-details-modal,
.tutorial-video-modal{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.show-dependence-close-modal,
.show-details-close-modal,
.tutorial-video-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}

.show-dependence-content {
  max-width: calc(100vw - 64px);
  max-height: calc(100vh - 64px);
  min-width: 600px;
  /*min-height: 600px;*/
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
  overflow-y: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.show-details-content {
  max-width: calc(100vw - 64px);
  max-height: calc(100vh - 64px);
  min-width: 600px;
  /*min-height: 600px;*/
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
  overflow-y: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tutorial-video-content {
  max-width: calc(100vw - 64px);
  max-height: calc(100vh - 64px);
  min-width: 600px;
  min-height: 483px;
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
  overflow-y: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.show-dependence-content h2,
.show-details-content h2,
.tutorial-video-content h2 {
  margin-top: 0;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #333;
  text-align: left;
}

.show-dependence-content h2 i,
.show-details-content h2 i,
.tutorial-video-content h2 i {
  font-size: 16px;
  margin-left: 8px;
}

.show-dependence-modal-body,
.show-details-modal-body,
.tutorial-video-modal-body {
  display: block;
  padding: 10px 0;
}

.show-dependence-modal-header,
.show-details-modal-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
  /*min-height: 400px;*/
  min-width: 600px;
}

.tutorial-video-modal-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 337px;
  min-width: 600px;
}

.show-dependence-block,
.show-details-block,
.tutorial-video-block {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
}

.show-details-dataset-block {
  display: flex;
  margin-top: 5px;
}

.show-details-dataset-block p {
  margin: 0px;
}

.show-dependence-modal-header label,
.show-details-modal-header label,
.tutorial-video-modal-header label {
  font-weight: 600;
}


.show-dependence-modal-footer,
.show-details-modal-footer,
.tutorial-video-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
}

.show-dependence-close,
.show-details-close,
.tutorial-video-close {
  background: none;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.link-create-loading,
.link-edit-loading,
.show-dependence-loading,
.show-application-editor-loading,
.show-details-loading {
  position: relative;
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #555;
  width: 100%;
  min-height: 500px;
  height: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.tutorial-video-loading {
  position: relative;
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #555;
  min-width: 600px;
  min-height: 337px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.show-dependence-loading img,
.show-details-loading img,
.show-application-editor-loading img,
.link-create-loading img,
.link-edit-loading img,
.tutorial-video-loading img {
    height: 180px;
}

.show-details-spinner,
.tutorial-video-spinner {
  width: 16px;
  height: 16px;
  border: 3px solid #ccc;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.show-dependence-loader,
.show-details-loader,
.show-application-editor-loader,
.link-create-loader,
.link-edit-loader,
.tutorial-video-loader {
  height: 4px;
  width: 130px;
  --c:no-repeat linear-gradient(#00aaff  0 0);
  background: var(--c),var(--c),#becbd1;
  background-size: 60% 100%;
  animation: l16 3s infinite;
}

@keyframes l16 {
  0%   {background-position:-150% 0,-150% 0}
  66%  {background-position: 250% 0,-150% 0}
  100% {background-position: 250% 0, 250% 0}
}

/*********************/

.show-details-grid {
  display: flex;
  padding: 0px;
  gap: 20px;
  background-color: #fff;
  overflow-y: auto;
  overflow-x: hidden;
  height: calc(100vh - 64px - 146px);
  /*max-height: calc(100vh - 64px);
  min-height: 600px;*/
}


.show-dependence-grid {
  display: none;
  padding: 0px;
  gap: 20px;
  background-color: #fff;
  overflow: hidden;
  height: calc(100vh - 64px - 146px);
  max-height: calc(100vh - 64px - 146px);
  /*min-height: 600px;*/
}

.show-details-container {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
}

.show-details-internal-content {
  width: fit-content;
  flex: 1;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  background-color: #fafafa;
  border: 1px solid #ccc;
}

.show-details-tabs {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.show-details-tab {
  margin: 2px 0px;
  cursor: pointer;
  height: 40px;
  display: flex;
  align-items: center;
  border: 0px;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  border-left: 2px solid transparent;
  background-color: #fff;
  padding: 0px;
  height: 40px;
}

.show-details-tab > .icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  margin-right: 5px;
}

.show-details-tab > .icon > i {
  font-size: 16px;
  width: 16px;
  padding: 0px 12px;
}

.show-details-tab.active,
.show-details-tab.active:hover {
  background: #e7e7e7;
  border-left: 2px solid #73c4fc;
}

.show-details-tab:hover {
  background: #e7e7e7;
  border-left: 2px solid transparent;
}

.show-details-tab-content {
  display: none;
}

.show-details-info-grid {
  display: flex;
  gap: 30px;
}

/**/
.show-details-header {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.show-details-header h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0px 0px 30px;
}

.show-details-body {
  display: flex;
  gap: 40px;
}

.show-details-left {
  flex: 0 0 250px;
  text-align: center;
}


.show-details-thumbnail,
.show-details-note-thumbnail, 
.show-details-link-thumbnail,
.show-details-link-thumbnail-image {
  background-color: #f2f2f2;
  aspect-ratio: 8 / 5;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px 0px 10px;
  border-radius: 6px;
}

.show-details-note-thumbnail img,
.show-details-link-thumbnail img {
  max-height: 40px;
  max-width: 40px;
}

.show-details-link-thumbnail-image img {
  height: auto;
  max-width: 250px;
}

.show-details-title {
  font-size: 18px;
  font-weight: 600;
  margin-top: 10px;
}

.show-details-right {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.show-details-info-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.show-details-info-item {
  display: flex;
  flex-direction: column;
  padding-right: 5px;
}

.show-details-label {
  font-weight: 600;
  font-size: 14px;
  color: #000;
}

.show-details-value {
  margin-top: 5px;
  font-size: 14px;
}

.show-details-value.workspace {
  display: flex;
}

.show-details-workspace-type {
  border-radius: 5px;
  height: 20px;
  width: 20px;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  flex-shrink: 0;
  background: #f0f0f0;
  display: flex;
  margin-right: 8px;
}

.show-details-workspace-type.gray {
  background-color: #ccc;
}

.show-details-workspace-type.red {
  background-color: #dc423f;
  color: #fff;
}

.show-details-workspace-type.blue {
  background-color: #005cb9;
  color: #fff;
}

.show-details-workspace-type svg {
  height: 12px;
  width: 12px;
}

.show-details-avatar {
  display: inline-block;
  background: #e67e22;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  margin-right: 8px;
  font-size: 14px;
}

.show-details-owner-info {
  display: inline-block;
  vertical-align: middle;
}

.show-details-owner-info p {
  margin: 0;
  font-size: 14px;
}

.show-details-owner-info .email {
  font-size: 12px;
  color: #666;
}

/*********************/
.applications-grid,
.favorites-grid {
  padding: 20px 40px 20px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  background-color: #fafafa;
  grid-auto-rows: 312px;
  overflow-y: auto;
  max-height: calc(100vh - 197px);
}

.applications-item {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0px;
  text-align: center;
  transition: box-shadow 0.3s;
  width: 288px;
  height: min-content;
}

.applications-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.applications-item-body {
  position: relative;
  width: 288px;
  aspect-ratio: 8 / 5;
}

.applications-item-over-body {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f2f2f2;
  width: 100%;
  height: 0;
  opacity: 0;
  z-index: 2;
  align-items: center;
  display: flex;
  justify-content: center;
}

.applications-item-over-info {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.applications-item-over-info img {
  height: 20px;
  width: 20px;
}

.applications-item-over-info p {
  margin-left: 5px;
  color: #666;
}

.applications-item-application-over-action {
    background: #00aaff;
    border: 1px solid #00aaff;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    height: 34px;
    color: #fff;
}
.applications-item .applications-item-body .icon {
  width: 100%;
  height: 100%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.applications-item .applications-item-body .icon img {
  width: 50px;
  height: 50px;
  opacity: 25%;
  color: #2196F3;
  margin-bottom: 0px;
}

.applications-item-workspace-type {
  display: flex;
  z-index: 20;
  position: relative;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  border-radius: 5px;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  margin-top: -10px;
}

.applications-item-workspace-type.gray {
  background-color: #ccc;
}

.applications-item-workspace-type.red {
  background-color: #dc423f;
}

.applications-item-workspace-type.blue {
  background-color: #005cb9;
}

.applications-item-workspace-type.blue svg, 
.applications-item-workspace-type.red svg {
  color: #fff;
  height: 12px;
  width: 12px;
}

.applications-item-subbody {
  display: flex;
  padding: 13px 8px 13px 12px;
  border-top: 1px solid #ccc;
  align-items: center;
  margin-top: -10px;
}

.applications-item-footer {
  text-align: left;
  display: block;
  width: 100%;
}

.applications-item-footer h3.title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: rgb(64, 64, 64);
  text-align: left;
  line-height: 20px;
  width: 100%;
  margin: 0;
}

.applications-item-footer-sub {
  display: flex;
  margin-top: 2px;
}

.applications-item-subfooter {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  justify-items: self-start;
  line-height: 20px;
  margin: 0px;
  width: 100%;
}

.applications-item-subfooter .icon {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: #cbcbcb;
  margin: 0px 4px 0px 0px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.applications-item-subfooter p.info {
  margin: 0;
  font-size: 12px;
}

.applications-item-subfooter-menu {
    width: fit-content;
}

.applications-application-item-menu {
    white-space: nowrap;
    background-color: #fff;
    border: 0px;
    height: 32px;
}

.applications-application-item-menu:hover {
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border-radius: 2px;
}

.invert-icon {
  transform: scaleX(-1);
}

/*********************/

.error-box-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal */
.error-box-modal {
  background: #fff;
  width: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  font-family: Arial, sans-serif;
  font-size: 0.95em;
  padding: 20px;
}


.error-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.error-box-close {
  background: transparent;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
  height: 20px;
  display: flex;
  align-items: center;
  margin: 0px;
  padding: 0px;
}

.error-box-body {
  text-align: center;
}

.error-box-icon {
  font-size: 16px;
  color: #d32f2f;
  padding-top: 3px;
}

.error-box-info {
  display: flex;
  flex-direction: row;
  column-gap: 8px;
  align-items: center;
  margin-left: 26px;
}

.error-box-header h2 {
  font-size: 18px !important;
  font-weight: 700;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  margin: 0px;
  text-align: left;
}

.error-box-info h3 {
  font-size: 16px !important;
  font-weight: 700;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  margin: 0px;
  text-align: left;
}

.error-box-message {
  margin-left: 26px;
  text-align: left;
  line-height: 1.4;
  padding: 20px 0px;
}

.error-box-message p {
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;  
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0px
}

/* Botão */
.error-box-button {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  justify-self: end;
  height: 34px;  
}

.error-box-button:hover {
  background-color: #e0e0e0;
}

/*********************/

.warning-box-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal */
.warning-box-modal {
  background: #fff;
  width: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  font-family: Arial, sans-serif;
  font-size: 0.95em;
  padding: 20px;
}

.warning-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.warning-box-close {
  background: transparent;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
  height: 20px;
  display: flex;
  align-items: center;
  margin: 0px;
  padding: 0px;
}

.warning-box-body {
  text-align: center;
}

.warning-box-icon {
  font-size: 16px;
  color: #FF9800;
  padding-top: 3px;
}

.warning-box-info {
  display: flex;
  flex-direction: row;
  column-gap: 8px;
  align-items: center;
  margin-left: 26px;
}

.warning-box-header h2 {
  font-size: 18px !important;
  font-weight: 700;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  margin: 0px;
  text-align: left;
}

.warning-box-info h3 {
  font-size: 16px !important;
  font-weight: 700;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  margin: 0px;
  text-align: left;
}

.warning-box-message {
  margin-left: 26px;
  text-align: left;
  line-height: 1.4;
  padding: 20px 0px;
}

.warning-box-message p {
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;  
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0px
}

/* Botão */
.warning-box-button {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  justify-self: end;
  height: 34px;  
}

.warning-box-button:hover {
  background-color: #e0e0e0;
}

/*********************/
.about-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal */
.about-modal-content {
  background: #fff;
  border-radius: 8px;
  width: 500px;
  max-width: 90%;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  position: relative;
  /*font-family: Arial, sans-serif;*/
}

/* Cabeçalho */
.about-modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

.about-logo {
  height: 30px;
}

.about-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}

/* Corpo */
.about-modal-body {
  text-align: center;
}

.about-modal-body p {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
}

.about-modal-body > p > strong {
  font-weight: 600;
  margin-bottom: 5px;
}

/* Rodapé */
.about-modal-footer {
  text-align: center;
  margin-top: 20px;
}

.about-copy-button {
  background: #f5f5f5;
  border: 1px solid #ccc;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.about-copy-button:hover {
  background: #e0e0e0;
}

/*********************/

.show-details-dataset-page {
  width: 1280px;
  /*padding-top: 30px; */  /* verificar como fica a aparencia */
  height: -webkit-fill-available; /* adicionado */
}

.show-details-dataset-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.show-details-dataset-btn-primary {
  background: #007c63;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  margin-left: 10px;
  cursor: pointer;
}

.show-details-dataset-btn-outline {
  background: transparent;
  color: #007c63;
  border: 1px solid #007c63;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.show-details-dataset-tabs {
  border-bottom: 1px solid #ccc;
  margin-bottom: 16px;
}

.show-details-dataset-tabs button {
  background: none;
  border: none;
  padding: 10px 16px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.show-details-dataset-tabs .active {
  border-bottom: 3px solid #007c63;
  color: #007c63;
}

.show-details-dataset-body {
  display: flex;
  gap: 30px;
  /*overflow-y: hidden;
  max-height: calc(100vh - 64px - 283px);*/
}

.show-details-dataset-main {
  flex: 1;
}

.show-details-dataset-description textarea {
  width: 100%;
  min-height: 60px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px;
  margin-top: 5px;
}

.show-details-dataset-schema {
  margin-top: 5px;
  border: 1px solid #ccc;
}

.show-details-dataset-schema table {
  width: 100%;
  border-collapse: collapse;
}

.show-details-dataset-schema th,
.show-details-dataset-schema td {
  border-bottom: 1px solid #e0e0e0;
  padding: 10px;
  text-align: left;
}

.show-details-dataset-sidebar {
  width: 300px;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 35px;
  background-color: #fafafa;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 8px;
}

.show-details-dataset-box {
  font-size: 14px;
}


.show-details-dataset-page label,
.show-details-dataset-page strong {
  font-weight: 600;
}


.show-details-connector-type {
  margin-right: 8px;
}

.show-details-connector-type img {
  height: 20px;
}

.show-details-dataset-schema-table {
  /*height: calc(100vh - 64px - 482px);
  overflow: auto;*/
}

.show-details-dataset-description {
  margin-bottom: 15px;
}

.show-details-dataset-schema-table table th,
.show-details-dataset-schema-table table td {
  padding: 7px 10px;
  height: 40px;
  width: 33.33%;
  text-wrap-mode: wrap;
  overflow-wrap: anywhere;
}

.show-details-dataset-schema-table table th:not(:first-child) {
  background-color: #f7f7f7;
  border-bottom: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  font-weight: 600;
}

.show-details-dataset-schema-table table td:not(:first-child) {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

.show-details-dataset-schema-table table th {
  background-color: #f7f7f7;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  font-weight: 600;
}

.show-details-dataset-schema-table table tr {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.show-details-dataset-schema-table table td {
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  background-color: #fff;
}

.show-details-dataset-schema-filter {
  margin-top: 15px;
}

.show-details-dataset-block #dataset-filter {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 34px;
}

.show-details-dataset-schema-table-col3 {
}

/*********************/

.create-automation-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.create-automation-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}

.create-automation-modal-content {
  width: 1077px;
  height: calc(100vh - 64px);
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
  overflow-y: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.create-automation-modal-content h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  text-align: left;
  /*margin-bottom: 50px;*/
}

.create-automation-modal-content h2 i {
  font-size: 16px;
  margin-left: 8px;
}


.create-automation-modal-body {
  display: block;
  padding: 10px 0;
}


.create-automation-modal-header {
  display: flex;
  gap: 30px;
  flex-direction: row;
}

.create-automation-sidebar {
  width: 250px;
  background: #fff;
  border-right: 1px solid #ddd;
  padding: 16px;
  overflow-y: auto;
}

.create-automation-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.create-automation-menu li {
  display: flex;
  margin: 2px 0px;
  align-items: center;
  border-left: 2px solid transparent;
  cursor: pointer;
  font-size: 14px;
  height: 36px;
  padding-left: 12px;
}

.create-automation-menu li:hover {
  background-color:#e7e7e7;
  border-left: 2px solid #73c4fc;
}

.create-automation-menu li.active {
  background-color: #e7e7e7;
  border-left: 2px solid #73c4fc;
}

.create-automation-menu li > strong {
  font-weight: 600;
}

.create-automation-right {
  width: 100%;
}

.create-automation-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-top: 16px !important;
  font-size: 14px;
  color: #888;
  text-transform: uppercase;
  cursor: pointer;
}

.create-automation-section:hover {
  background-color: #e7e7e7 !important;
  border-left: 2px solid transparent !important;
  color: #000;
}

.create-automation-section > .toggle-icon {
  font-size: 14px;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.create-automation-section > .toggle-icon i {
  font-size: 14px;
  font-weight: bold;
  padding-right: 12px;
}

.create-automation-empty {
  margin-top: 16px;
  width: 100%;
  padding: 10px;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  font-size: 14px;
  cursor: pointer;
}

.create-automation-right-content {
  flex: 1;
  background: #fafafa;
  padding: 20px;
  overflow-y: auto;
}

.create-automation-right-header {
  margin-bottom: 30px;
}

.create-automation-search {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #ccc;
  height: 34px;
}

.create-automation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  column-gap: 20px;
  row-gap: 30px;
}

.create-automation-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  position: relative;
  width: 250px;
  height: 227px;
  border: 2px solid #ccc;
  transition: transform 0.2s ease;
}

.create-automation-card:hover {
  border: 2px solid #00aaff;
  cursor: pointer;
}

.create-automation-card-image {
  height: 120px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.create-automation-card-body {
  padding: 12px;
}

.create-automation-card-body h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 600;
}

.create-automation-card-body p {
  margin: 0;
  font-size: 12px;
  color: #555;
}

.tag {
  display: inline-block;
  margin-top: 6px;
  background: #eef6f3;
  color: #007c63;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
}

.create-automation-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 16px;
  color: #555;
  cursor: pointer;
}

.create-automation-base-grid {
  height: calc(100vh - 64px - 156px);
  overflow-y: auto;
  scrollbar-gutter: stable;
}

/*********************/

.automation-dropdown-menu{
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  list-style: none;
  padding: 4px 0px;
  margin: 0;
  z-index: 100;
  min-width: 215px;
}

/*********************/

.language-selector {
  position: relative;
  display: inline-block;
  font-family: sans-serif;
  width: 160px;
  margin-right: 24px;
}

.language-selector.login {
  margin-right: 156px;
}


#selected-language {
  background: #fff;
  border: 1px solid #ccc;
  padding: 5px 0px 5px 12px;
  padding-right: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  position: relative;
  height: 32px;
  border-radius: 4px;
}

#selected-language i {
  font-size: 16px;
  position: absolute;
  right: 12px;
}

#selected-language svg:nth-of-type(2) {
  position: absolute;
  top: 9px;
  right: 7.5px;
  width: 14px;
  padding: 0px;
  transform: scaleY(-1);
}


#selected-language.open svg:nth-of-type(2) {
  position: absolute;
  right: 7.5px;
  width: 14px;
  padding: 0px;
  transform: scaleY(1);
}

.dropdown-icon {
  margin-left: auto;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.language-options {
  display: none;
  position: absolute;
  font-family: Arial, sans-serif;
  font-size: 0.95em;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: white;
  border: 1px solid #ccc;
  width: 100%;
  border-radius: 4px;
}

.language-options li {
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-options li svg {
}

.language-options li:hover {
  background-color: #f0f0f0;
}


/*********************/

#dependenceGraph {
  width: 900px;
  height: 100%;
}

.node text {
  font-size: 12px;
  pointer-events: none;
}

.node-content.dependence-app, 
.node-content.impact-dataset {
  padding: 8px 12px;
  background-color: #e0effb;
  border-radius: 4px;
  border: 1px solid #999;
  max-width: 270px;
  box-sizing: border-box;
  display: flex;
  column-gap: 5px;
}

.node-content {
  padding: 8px 12px;
  background-color: #f2f2f2;
  border-radius: 4px;
  border: 1px solid #999;
  max-width: 270px;
  box-sizing: border-box;
  display: flex;
  column-gap: 5px;
}

.node-content span {
  display: flex;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  justify-content: left;
  flex-direction: column;
}

.node-content > span > p.normal {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.node-content > span > p.small {
  display: flex;
  color: #666;
  position: relative;
  left: 0;
  margin: 0;
  font-size: 12px;
}

/*********************/
.application-editor-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.application-editor-modal-content {
  width: calc(100% - 64px);
  max-width: calc(100% - 64px);
  height: calc(100% - 64px);
  max-height: calc(100% - 64px);
  background-color: #fff;
  padding: 20px 0px;
  border-radius: 8px;
  overflow-y: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.application-editor-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #666;
}

.application-editor-modal-content h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  text-align: left;
  margin-left: 20px;
}

.application-editor-modal-body {
  display: flex;
  height: calc(100% - 42px - 44px);
  padding: 0px 0px 10px 0;
}

.application-editor-modal-header {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.application-editor-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 20px 0px 20px;
}

.application-editor-footer .right {
  display: none;
  gap: 10px;
}

.application-editor-btn-cancel,
.application-editor-btn-close {
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
  background-color: #fff;
}

.application-editor-btn-save, 
.application-editor-btn-execute {
  color: #fff;
  background: #00aaff;
  border: 1px solid #00aaff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}

.main-content-panel-application {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  height: calc(100vh - 48px);
  max-height: calc(100vh - 48px);
  background-color: #fff;
}

.application-editor-container {
  display: none;
  flex-direction: column;
  height: 100%;
}


.application-editor-toolbar {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  justify-content: space-between;
}

#application-editor-title {
  display: flex;
  background: #fff;
  height: 100%;
  align-items: center;
  padding: 8px 20px;
  border-right: 1px solid #ccc;
  border-top-right-radius: 6px;
  flex-wrap: nowrap;
  text-wrap-mode: nowrap;
}


#application-editor-title svg {
  height: 18px;
  width: 18px;
  margin-right: 8px;
}


.application-editor-btn {
  background: white;
  border: 1px solid #ccc;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
}

.application-editor-search {
  border: 1px solid #ccc;
  padding: 5px;
  width: 150px;
  border-radius: 4px;
}

.application-editor-toolbar-center {
  display: flex;
  gap: 8px;
  padding: 8px 0px;
  width: 100%;
  justify-content: center;
  border-bottom: 1px solid #ccc;
}

.application-editor-toolbar-right {
  display: flex;
  gap: 8px;
  padding: 8px 20px;
  border-bottom: 1px solid #ccc;
}

.application-editor-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  border-top: 1px solid #ccc;
}

.application-editor-area {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.application-editor-code-area {
  display: flex;
  height: 100%;
  background: #ffffff;
  /*border: 1px solid #ccc;*/
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border-radius: 0px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  position: relative;
  width: 100%;
}

button.separator {
  display: none;
  padding: 0px;
  margin: 0px;
  border: 0px;
  height: 12px;
  position: relative;
  justify-content: center;
  background: transparent;
}

.application-editor-code {
  flex: 1;
  border: none;
  padding: 10px;
  outline: none;
  resize: none;
  background: #fff;
  color: #333;
  line-height: 21px;
  font-size: 14px;
  height: 100%;
  overflow-y: scroll;
  font-family: 'Courier New', Courier, monospace;
  white-space: pre-wrap;
  word-wrap: break-word;
  caret-color: #000; 
}


.application-editor-code:focus {
  background-color: #fefefe;
  outline: none;
}

.application-editor-dataset-list {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0px;
  width: 100%;
  background-color: #fff;
  height: calc(100vh - 456px);
  max-height: calc(100vh - 456px);
  overflow-y: auto;
  overflow-x: hidden;
  font-size: 14px;
}

.application-editor-search-input {
  width: calc(100% - 20px);
  margin: 10px;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.application-editor-badge {
  background: #e3f2fd;
  color: #007bff;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 12px;
  margin-left: auto;
}

.application-editor-category {
  margin-bottom: 0px;
}

.application-editor-category-header {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  height: 32px;
  padding: 8px 10px;
}


.application-editor-category-header > .title {
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
}

.application-editor-chevron {
  margin-left: 5px;
  cursor: pointer;
  user-select: none;
  transform: scaleY(-1);
}

.application-editor-chevron svg {
  height: 14px;
  width: 14px;
  position: relative;
  top: 2px;
}

.application-editor-subitem {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 14px;
  color: #333;
  cursor: default;
}

.application-editor-subitem svg {
  height: 14px;
  margin-right: 8px;
}

.application-editor-subitem > .iconsvg {
  padding-top: 3px;
}

.application-editor-subitem:hover {
  background-color: #f0f4ff;
}

.application-editor-field-icon {
  margin-right: 8px;
  color: #4a90e2;
}

.application-editor-field-name {
  flex: 1;
  overflow-wrap: anywhere;
}

.application-editor-sub-items {
  margin-left: 30px;
  margin-top: 4px;
  display: none;
}

.application-editor-sub-items label,
.application-editor-category-header label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 4px;
}

.application-editor-sub-items label.checked,
.application-editor-category-header label.checked {
  background-color: #e6f2ff;
}

/****** AQUI **********/

.application-editor-sidebar {
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  border-left: 1px solid #ccc;
  padding: 20px;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.application-editor-tabs {
  display: flex;
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
}

.application-tab-button {
  flex: 1;
  padding: 8px;
  background: #f4f4f4;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-bottom: 2px solid transparent;
}

.application-tab-button.active {
  border-bottom: 2px solid #00aaff;
}

.application-tab-content {
  padding: 10px 0px 0px 0px;
  flex-direction: column;
}

#tab-recursos {
  display: flex;
}

#tab-documentacao {
  display:none;
}

.application-editor-data-header {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
}

.application-editor-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.application-editor-block label {
  font-weight: 600;
}

.application-editor-application-workspace {
  display: flex;
}

.application-editor-connection-header {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.application-editor-data-header > strong {
  font-weight: 600;
  font-size: 14px;
}

.application-editor-add-btn,
.application-editor-create-btn {
  background: #007f00;
  color: white;
  padding: 6px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  border-radius: 4px;
}

.application-editor-connection-box {
  background: #eaeaea;
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.application-editor-connection-search {
  border: 1px solid #ccc;
  padding: 5px;
  width: 100%;
}

.application-editor-folder {
  margin-top: 10px;
}

.application-editor-folder-actions button {
  margin-right: 5px;
}

.application-editor-output-area {
  border-top: 1px solid #ccc;
  background: #f9f9f9;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.application-editor-script {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-bottom: 1px solid #ccc;
}

.application-editor-panel {
  display: none;
  flex-direction: row;
  width: 100%;
  height: 100%;
}


.application-editor-output-body > .mensagem {
  color: #000000;
  line-height: 22px;
}

.application-editor-output-body > .mensagem > span.mensagem.error {
  color: #db0000;
}

.dropdown-menu-editor {
  position: relative;
  display: flex;
  user-select: none;
  width: 190px;
}

.dropdown-toggle-editor {
  padding: 7px 10px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  height: 34px;
  justify-content: space-between;
  width: 100%;
}

.dropdown-toggle-editor i {
  margin-right: 8px;
}

.dropdown-toggle-editor svg {
  margin-right: 8px;
  transform: scaleY(-1);
  margin-top: 1px;
}

.dropdown-toggle-editor > .arrow {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  top: 2px;
}

.dropdown-toggle-editor > .arrow svg {
  height: 14px;
  width: 14px;
  transform: scaleY(-1);
}

.dropdown-content-editor {
  display: none;
  position: absolute;
  bottom: 35px; /* Faz o dropdown abrir para cima */
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  min-width: 190px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 4px;
  overflow: hidden;
}

.dropdown-item-editor {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  cursor: pointer;
  height: 40px;
}

.dropdown-item-editor i{
  margin-right: 8px;
}

.dropdown-item-editor svg {
  margin-right: 8px;
  transform: scaleY(-1);
  margin-top: 1px;
}

.dropdown-toggle-editor-text {
  display: flex;
  align-items: center;
}

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

.editor-toolbar:hover {
  background: #ddd;
}

.editor-toolbar {
  display: flex;
  border: 0px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
  align-items: center;
  width: 32px;
  height: 32px;
  justify-content: center;
  font-family: "Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/*.editor-toolbar.indent,
.editor-toolbar.outdent,*/

.editor-toolbar i {
  width: 13.5px;
  height: 13.5px;
}

.editor-toolbar svg {
  width: 16px;
  height: 16px;
}

.editor-toolbar.search svg {
  position: relative;
  left: 2px;
  transform: scaleY(-1);
}

.editor-toolbar.test svg {
  position: relative;
  left: 2px;
  transform: scaleY(-1);
}

.editor-toolbar.test {
  width: fit-content;
  padding: 5px 12px;
  gap: 8px;
  background-color: #fff;
  border: 1px solid #aaaaaa;
}

.verticalbar {
  height: 32px;
  width: 1px;
  background: #ccc;
  margin: 0px 5px;
}

#nql-editor {
  height: calc(100% + 300px);
  width: 100%;
}

.application-editor-output-header {
  padding: 5px 20px;
  border-bottom: 1px solid #ccc;
}

.application-editor-output-title {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.application-editor-output-title svg {
  margin-left: 8px;
  cursor: pointer;
}

.application-editor-output-title.down svg {
  margin-left: 8px;
  transform: scaleY(-1);
  position: relative;
  top: 2px;
}


.application-editor-output-body {
  display: none;
  height: 120px;
  width: 100%;
  background: #fff;
  padding: 5px 0px 0px 20px;
  flex-direction: column;
  overflow-y: auto;
}

.application-editor-output-body.show {
  display: flex;
}

.application-editor-status-block {
  display: flex;
  padding: 9px 0px;
  align-items: center;
  justify-content: space-between;
  border-top: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  font-weight: 600;
  margin-bottom: 35px;
  margin-top: 15px;
}


.application-editor-status {
    background: #c2ffc2;
    padding: 2px 10px;
    border-radius: 8px;
    color: green;
}

.application-editor-status.error {
    background: #fdd1d1;
    color: red;
}

.application-editor-ia {
  display: none;
  height: 100%;
  width: 320px;
  min-width: 320px;
  border-left: 1px solid #ccc;

  overflow: hidden;
  transform: scaleX(0);
  transform-origin: center left;
  transition: transform 1s ease;
  opacity: 0;
}

.application-editor-ia.visible {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: calc(100vw * 0.3);
  min-width: 320px;
  border-left: 1px solid #ccc;
  overflow: hidden;
  transform-origin: center left;
  transition: transform 1s ease;
  transform: scaleX(1);
  opacity: 1;
  background: #f5f5f5;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.application-editor-chat {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.application-editor-chat.processing {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  align-items: center;
}

.application-panel-kpis {
  padding: 0px 20px;
  display: flex;
  gap: 20px;
  margin-top: 35px;
}

.application-panel-answers, 
.application-panel-exectime {
  font-weight: 600;
  margin-bottom: 15px;
  width: calc(50% - 10px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  color: #666;
  height: 103px;
}


.application-panel-kpis #panel-qtd-answer, 
.application-panel-kpis #panel-exec-time {
  font-weight: normal;
  display: block;
  font-size: 36px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

span#panel-qtd-answer {
  color: #3F51B5;
}

span#panel-exec-time {
  color: #4CAF50;
}

/*********************/
.anim-wrapper::before {
  opacity: 0;
}

.anim-wrapper {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: fadeIn .5s;
  z-index: 1;
} 

.anim-wrapper.full {
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  animation:fadeIn .5s reverse;
  z-index: 1;
}

.anim-wrapper > .gooey {
  position:relative;
  width:200px;
  height:200px;
  background:linear-gradient(120deg,#34e0f0 0%,#b400ff 100%);
  border-radius:42% 58% 70% 30%/45% 45% 55% 55%;
  animation:morph 3s linear infinite;
  transform-style:preserve-3d;
  mix-blend-mode:screen;
  will-change:border-radius;
}

.anim-wrapper.full > .gooey {
  position:relative;
  width:300px;
  height:300px;
  background:linear-gradient(120deg,#34e0f0 0%,#b400ff 100%);
  border-radius:42% 58% 70% 30%/45% 45% 55% 55%;
  animation:morph 3s linear infinite;
  transform-style:preserve-3d;
  /*mix-blend-mode:screen;*/
  will-change:border-radius;
}

.anim-wrapper.full.hide {
  animation: shrinkOut 0.8s forwards;
}

@keyframes shrinkOut {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}

/* pseudo‑camadas translúcidas */
.gooey::before,
.gooey::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(120deg,
              rgba(0,67,255,.55) 0%,
              rgba(0,103,255,.63)100%);
  /*box-shadow:5px 5px 89px rgba(0,102,255,.21);*/
  will-change:border-radius,transform,opacity; /*novo*/
}
.gooey::before{animation:morph 1.5s linear infinite;opacity:.21;}
.gooey::after {animation:morph 3s   linear infinite .4s;opacity:.89;}

/* camada extra */
.layer-extra{
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(120deg,
              rgba(0,255,135,.95) 0%,
              rgba(0,210,255,.89)100%);
  /*box-shadow:5px 5px 89px rgba(255,200,0,.21);
  mix-blend-mode:screen;*/
  animation:morph 2.2s linear infinite .8s;
  opacity:.65;
  pointer-events:none;
}

/* texto central */
.msg {
  color: #fff;
  font:24px sans-serif;
  position:absolute;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  letter-spacing:.05em;
  pointer-events:none;
  user-select:none;
  z-index:5;
}

.chat-ia {
  width: 100%;
  display: flex;
  justify-content: center;
}

.chat-ia .msg {
    color: #ffffff;
    font: 16px sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: .05em;
    pointer-events: none;
    user-select: none;
    z-index: 5;
}

.chat-ia > .anim-wrapper {
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: fadeIn .5s;
  z-index: 1;
}

@keyframes morph{
  0%,100%{
    border-radius:42% 58% 70% 30%/45% 45% 55% 55%;
    transform:translate3d(0,0,0) rotateZ(.01deg);
  }
  34%{
    border-radius:70% 30% 46% 54%/30% 29% 71% 70%;
    transform:translate3d(0,5px,0) rotateZ(.01deg);
  }
  50%{transform:translate3d(0,0,0) rotateZ(.01deg);}
  67%{
    border-radius:100% 60% 60% 100%/100% 100% 60% 60%;
    transform:translate3d(0,-3px,0) rotateZ(.01deg);
  }
}

@keyframes fadeIn{
  100%{transform:scale(1.03);opacity:0.89;}
}


/*********************/
.expired-confirm-box {
  background: white;
  padding: 20px 40px;
  border-radius: 8px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  /*font-family: 'Inter', sans-serif;*/
}

.expired-confirm-box > p {
  margin-top: 10px;
  font-size: 14px;
  text-align: justify;
}

.expired-confirm-box .small-note {
  font-size: 14px;
  color: #333;
  text-align: justify;
}

.expired-confirm-box .icon-success {
  margin: 20px auto;
  font-size: 64px;
  color: #00aaff;
}

.expired-confirm-footer {
    color: rgba(0, 0, 0, 0.55);
    margin-top: 10px;
    font-size: 14px;
}


/*********************/

.welcome-section > h1 {
  font-size: 24px;
  padding: 0px;
  margin: 0px 0px 20px 0px;
}

.welcome-section h2 {
  margin: 30px 0px 20px 0px;
  font-size: 18px;
  line-height: 24px;
  padding-bottom: 8px;
}

.welcome-area {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.welcome-left {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.welcome-first-steps {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 30px;
}

.welcome-cards-area > h2 {
  font-size: 16px;
  margin: 50px 0px 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
}

.welcome-right {
  width: 350px;
  min-width: 280px;
  margin: 0px 0px 20px 40px;
  height: 400px;
}

.welcome-right h3 {
  font-size: 16px;
  margin: 0px 0px 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
}

.welcome-right ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 50px;
  /*border-bottom: 1px solid #ccc;*/
}

.welcome-right ul li {
  margin: 0px 0px;
  cursor: pointer;
  height: 20px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.welcome-right li a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  width: 100%;
  display: flex;
  align-items: center;
}

.welcome-right li a > .icon {
  display: inline-flex;
  align-items: center;
}

.welcome-right li a > .icon > svg {
  scale: -1;
  height: 20px;
  width: 20px;
  transform: scaleX(-1);
  margin-right: 8px;
  position: relative;
  top: 0px;
  left: 0px;
  padding: 0px;
}

.welcome-right ul.news li {
  display: flex;
  height: 52px;
  margin-bottom: 16px;
}

.welcome-right ul.news li a > .image {
  display: inline-flex;
  align-items: center;
  margin-right: 7px;
}

.welcome-right ul.news li a > .image > img {
  width: 52px;
  height: 52px;
}

.welcome-right .news {
  max-height: 52px;
  cursor: pointer;
}

.welcome-right .news-title {
  font-weight: 600;
}

.welcome-right .news-content {
  font-size: 13px;
  color: #999;
  height: 34px;
  max-height: 34px;
  min-height: 34px;
  display: -webkit-box;
  -webkit-line-clamp: 2;       /* Número de linhas antes de cortar */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stepper {
  margin-left: 17px;
  width: 60%;
  max-width: 70%;
  min-width: 600px;
  border-left: 2px solid #dcdcdc;
  padding-left: 20px;
  
}

.stepper .content {
  cursor: pointer;
}

.step {
  position: relative;
  padding: 0px 0px 40px 20px;
}

.step .circle {
  position: absolute;
  left: -37px;
  top: 0px;
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.15);
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  line-height: 24px;
  color: rgba(64, 64, 64, 0.76);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step .circle i {
  font-size: 14px;
  margin-top: 2px;
}

.step.active .circle {
  border: 2px solid #00aaff;
  background: #00aaff;
  color: #ffffff;
}

.step.completed .circle {
  background: #fff;
  border: 2px solid #00aaff;
  color: #00aaff;
}

.step.completed .circle svg {
  transform: scaleY(-1);
  position: relative;
  top: 1px;
  left: 2px;
}

.step.completed .check {
  font-size: 14px;
  line-height: 24px;
}

.step.last {
  position: relative;
  padding: 0px 0px 0px 20px;
}

.step .clear {
  position: absolute;
  top: 34px;
  margin-left: -42px;
  width: 2px;
  background: #fff;
  height: 10px;
}

.step .content h4 {
  margin: 0;
  font-size: 16px;
  color: #1a1a1a;
}

.step .content p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #666;
}


/********/
.dt-column-title .help svg {
  transform: scaleX(-1);
  top: 3px;
  left: -1px;
  height: 16px;
  position: relative;
  scale: -1;
}

.ui-tooltip {
  line-height: 1.6;
  font-size: 0.95em;
  padding: 8px 12px;
  border-radius: 5px;
}

/*********************/
@media screen and (max-width: 1366px) {
	.login-container {
    padding: 48px 20px 0px 20px;
    gap: 5px;
    height: 100%;
	}
	.signup {
    	font-size: 14px;
    	color: rgba(0, 0, 0, 0.55);
    	margin-top: 10px;
    	margin-bottom: 0px;
	}

	.info-cards {
   	width: 100%;
   	max-width: calc((100vw - 260px - 40px) * 0.70);
    justify-content: center;
  }

	.info-card {
		min-height: 158px;    
	}

	.info-card p:nth-last-of-type(-n+2) {
  		display: none;
	}

	.chat-display {
   	width: 100%;
   	max-width: calc((100vw - 260px - 40px) * 0.70);
	}

	.prompt-section {
   	width: 100%;
   	max-width: calc((100vw - 260px - 40px) * 0.70);
  }
}


@media screen and (max-width: 1280px) {
  .info-cards {
   	width: 100%;
   	max-width: calc((100vw - 260px - 40px) * 0.85);
    justify-content: center;
  }

	.info-card {
		min-height: 158px;    
	}

	.info-card p:nth-last-of-type(-n+2) {
  		display: none;
	}

	.chat-display {
   	width: 100%;
   	max-width: calc((100vw - 260px - 40px) * 0.85);
	}

	.prompt-section {
   	width: 100%;
   	max-width: calc((100vw - 260px - 40px) * 0.85);
  }

  .application-panel-kpis {
    padding: 0px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 35px;
  }

  .application-panel-answers, 
  .application-panel-exectime {
    font-weight: 600;
    margin-bottom: 15px;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    color: #666;
    min-width: 189px;
  }
}


@media screen and (max-width: 1024px) {
  .info-cards {
   	width: 100%;
   	max-width: calc(100% - 20px);
    justify-content: center;
  }

	.info-card {
		min-height: 158px;    
	}

	.info-card p:nth-last-of-type(-n+2) {
  		display: none;
	}

	.chat-display {
   	width: 100%;
   	max-width: calc(100% - 20px);
	}

	.prompt-section {
   	width: 100%;
   	max-width: calc(100% - 20px);
  }
}


@media screen and (min-width: 768px) {

}


@media screen and (max-width: 480px) {
	.header-right i.fal.fa-question-circle {
    	display: none;
	}

	.main-icons .menu-icon,
	.main-icons .settings-icon {
 		display: block;
  		font-size: 20px; /* Tamanho dos ícones */
  		color: #000000; /* Cor dos ícones */
  		cursor: pointer;
	}

	.sidebar {
    	position: absolute;
    	display: none;
    	top: 0px;
    	left: 0px;
    	width: 85px;
    	z-index: 200;
  	}

	.menu ul li span {
    	margin: 0px;
    	/*display: none;*/
  	}
	
    .language-selector {
      position: relative;
      display: inline-block;
      font-family: sans-serif;
      width: 67px;
      margin-right: 10px;
    }

    #selected-language, .language-options li {
      font-size: 0;
    }

    .header-right {
      column-gap: 0px;
    }

    .header-main .main-icons > h1, .header-main .main-icons > span {
      display: none;
    }

    .stepper {
      margin-left: 17px;
      width: 60%;
      max-width: 70%;
      min-width: 270PX;
      border-left: 2px solid #dcdcdc;
      padding-left: 20px;
    }
    
    .tutorial-card {
      min-width: 100%;
    }
    
    p#typing-text {
      margin: 0;
      font-size: 24px;
      color: #999;
  }

	.main-content {
        width: 100%;
        z-index: 30;
    }

	.area-central,
    .area-central.clear {
    	width: 100%;
        max-width: 100%
	}

	.typing-container {
    	width: 100%;
	}

  	.prompt-section {
    	width: 100%;
    	max-width: 100%;
  	}
  
  	.info-card {
	    flex: none;
  	}

  	.info-cards {
    	width: 100%;
    	max-width: 100%;
        justify-content: center;
  	}

  	.info-card:nth-of-type(1) {
  	}

  	.info-card:nth-of-type(2),
  	.info-card:nth-of-type(3) {
    	display: none;
  	}

	.chat-display {
    	width: 100%;
    	max-width: 100%;
	}

	.source-btn {
    	width: 200px;
	}
}