:root {
  --primary-color: #19825a;
  --secondary-color: #fff;
  --accent-color: <?=GTS_CONFIG_ENV[ "accent_color"] ?? "#007bff" ?>;
  --font-roman: "<?= GTS_CONFIG_ENV[" font-roman "] ?? " Inter " ?>";
}

.toggle-btn.active-toggle {
  background-color: #ffffff;
  color: #10b981 !important; /* Verde RHP */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.toggle-btn:not(.active-toggle) i {
  opacity: 0.5;
}

/* Layout dos dados pessoais */
.bloco-dados-contato h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  color: #0f172a;
  font-size: 22px;
  margin-bottom: 5px;
}




#divHonorarios {
  margin-top: 5px !important;
  border: none !important;
}
/* Estilo do Card COREME */
.card-coreme-info {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%) !important;
  border-left: 5px solid --primary-color !important;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e1e8f0;
  animation: slideIn 0.5s ease-out;
  margin-bottom: 5px !important;
}

.coreme-icon {
  background-color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.coreme-icon i {
  color: #fff;
  font-size: 24px;
}

.coreme-text h5 {
  margin: 0 0 5px 0;
  color: #2c3e50;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.coreme-text p {
  margin: 0;
  color: #5d6d7e;
  font-size: 13px;
  line-height: 1.5;
}

/* Destaque opcional na seção */
.coreme-border-active {
  transition: border 0.3s ease;
  border-radius: 15px;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*  */
/* Estilo Base para o Card de Aviso */
.card-aviso {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
  /* Garante que o header fique dentro do border-radius */
  border: 1px solid #ddd;
}

.card-header-aviso {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #f0ad4e;
  /* Amarelo/Laranja de Atenção */
  border-bottom: 1px solid #eb9316;
}

.card-aviso .card-header-aviso i {
  margin-right: 8px;
}

.card-body-aviso {
  padding: 20px;
  background-color: #fff;
}

/* Estilo para o Card SIM (verde de sucesso/confirmação) */
.card-sim {
  border-color: #5cb85c;
  /* Verde */
}

.card-sim .card-header-aviso.header-sim {
  background-color: #5cb85c;
  /* Verde */
  border-bottom-color: #4cae4c;
}

.card-body-aviso p {
  margin-bottom: 10px;
  line-height: 1.5;
  color: #333;
}

/* Estilização moderna do Checkbox de Ciência */
.form-group input[type="checkbox"] {
  /* Esconde o checkbox nativo */
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.label-ciencia {
  display: inline-block;
  position: relative;
  padding-left: 30px;
  /* Espaço para o checkbox customizado */
  cursor: pointer;
  font-weight: normal;
  user-select: none;
  line-height: 20px;
  /* Alinha o texto com a caixa */
  color: #333;
}

/* Cria a caixa customizada */
.label-ciencia::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #5cb85c;
  /* Borda verde */
  background-color: #fff;
  border-radius: 4px;
  transition: all 0.3s;
}

/* Cria o 'check' (tick) */
.label-ciencia::after {
  content: "\f00c";
  /* Código do ícone 'check' (Font Awesome) - Certifique-se de que o Font Awesome está carregado */
  font-family: "Font Awesome 5 Free";
  /* Se estiver usando FA5 */
  font-weight: 900;
  position: absolute;
  left: 4px;
  top: 0px;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s;
}

/* Estilo quando o checkbox estiver marcado */
.form-group input[type="checkbox"]:checked + .label-ciencia::before {
  background-color: #5cb85c;
  /* Preenche de verde */
  border-color: #5cb85c;
}

.form-group input[type="checkbox"]:checked + .label-ciencia::after {
  opacity: 1;
  /* Mostra o check */
  transform: scale(1);
}

/* Estilo no hover */
.label-ciencia:hover::before {
  box-shadow: 0 0 5px rgba(92, 184, 92, 0.5);
}

/*  */

.cadastro-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.titulo-com-ajuda {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icone-ajuda {
  display: none;
  background: var(--primary-color) !important;
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  text-align: center;
  line-height: 22px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.texto-ajuda {
  margin-top: 10px;
  transition: all 0.3s ease;
}

/* --- Versão mobile: tooltip escondido até clicar --- */
@media (max-width: 767px) {
  .texto-ajuda {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    background: #333;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    max-width: 270px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
  }

  .icone-ajuda {
    display: block;
  }

  .texto-ajuda.ativo {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-5px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (min-width: 769px) {
  .cadastro-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cadastro-header .titulo-user {
    font-size: 26px;
  }

  .cadastro-header .txtCinza {
    font-size: 15px;
    text-align: right;
  }
}

@media (max-width: 768px) {
  .cadastro-header {
    text-align: center;
  }

  .cadastro-header .titulo-user {
    font-size: 22px;
  }

  .cadastro-header .txtCinza {
    font-size: 14px;
    line-height: 1.4;
  }
}

h1 {
  letter-spacing: -1px;
  font-weight: 100;
}

body {
  font-family: "<?= GTS_CONFIG_ENV[" font-roman "] ?>";
}

.bootstrap-datetimepicker-widget > ul {
  font-family: initial;
  font: initial;
}

.banner-login {
  border-radius: 15px;
  max-width: 50%;
}

.col-md-2,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9 {
  padding-left: 0px !important;
  padding-right: 0 !important;
}

.col-md-12 {
  padding: 0 !important;
}

.column-text {
  display: flex;
  flex-direction: column;
}

.form-cadastro {
  margin-left: 30%;
  border-left: 1px solid #e4e7ec;
  width: 70%;
  padding: 20px !important;
}

.form-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-container {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: start;
  flex-direction: column;
}

.loading-animation {
  position: absolute;
  top: 15%;
  right: 10px;
  transform: translate(0, -50%) rotate(0deg);
  width: 20px;
  height: 20px;
  background: transparent;
  border: 4px solid #999;
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.div-footer {
  display: flex;
  padding: 20px;
  justify-content: space-between;
}

.div-btns {
  display: flex;
}

.section {
  border-bottom: 1px solid #e4e7ec;
  display: flex;
  padding-top: 20px;
}

.errornamename {
  margin-top: 20px !important;
}

.form-errorname {
  margin-bottom: 50px !important;
}

.form-errorCRM {
  margin-bottom: 60px !important;
}

.titulo-user {
  font-size: 29px !important;
}

.bootstrap-select > .btn-default:before {
  background: none !important;
}

.form-group,
.bootstrap-select > .btn-default:before {
  background: #f7f6f6;
  border-radius: 10px;
  padding: 8px;
  padding-left: 20px;
  margin-right: 10px;
}

.dropdown-toggle {
  padding-top: 0 !important;
}

.bootstrap-select {
  height: 20px !important;
}

.form-group {
  height: 54px;
}

.form-control {
  border: none !important;
  height: 20px;
  color: #373535;
}

.bootstrap-select > .btn-default {
  border-bottom: none !important;
}

.fg-line:not([class*="has-"]):after {
  background: none !important;
}

label {
  margin-bottom: 0;
  color: #858585;
}

.form-group:hover {
  background-color: #ffffff !important;
  border: 1px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
}

.bodyTermo {
  padding: 36px 50px !important;
}

.modalDoTermo {
  margin-top: 80px;
  border-radius: 30px;
  text-align: justify;
}

.dropdown-toggle {
  height: 30px !important;
}

.filter-option {
  font-size: 13px;
}

.txtCinza {
  font-size: 15px;
  color: #666d7f;
}

.btn-sync {
  font-size: 18px !important;
  padding: 15px 35px !important;
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
}

.btn-sync:hover {
  background-color: #ffffff !important;
  border: 1px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
}

.btn {
  font-size: 18px;
  padding: 7px 25px;
  border-radius: 10px;
  text-transform: capitalize;
  margin-left: 10px;
}

.btnAdd {
  font-size: 18px;
  background-color: #ffffff !important;
  padding: 15px 25px !important;
  border: 1px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
}

.btnAdd:hover {
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
}

.dropdown-menu {
  max-width: 100%;
}

.banner {
  display: flex;
  justify-content: center;
  width: 100%;
}

.banner-content {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.div-banner {
  display: flex;
  width: 30%;
  height: 100vh;
  left: 0%;
  position: fixed;
  top: 0%;
  justify-content: center;
  align-items: center;
}

.div-banner-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.logos {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  top: -20px;
}

.tooltip-visible,
.tooltip-visible-b {
  display: none;
  position: absolute;
  background-color: var(--primary-color) !important;
  color: white;
  padding: 10px;
  border-radius: 5px;
  z-index: 1;
  top: 25px;
  right: 20px;
}

.tooltip-senha {
  width: 400px;
  right: 0px;
}

.tooltip-trigger,
.tooltip-trigger-b {
  display: flex;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: white;
  background-color: var(--primary-color) !important;
  justify-content: center;
  align-items: center;
  cursor: help;
}

.tooltip-trigger-b {
  margin-left: 10px;
}

header,
footer {
  display: none !important;
}

@media (max-height: 666px) {
  .banner-login {
    max-width: 62%;
  }
}

@media screen and (max-width: 1281px) {
  .btn-sync,
  .btnAdd {
    padding: 10px 25px !important;
  }
}

@media screen and (max-width: 1281px) {
  .div-banner {
    display: none !important;
  }

  .form-cadastro {
    margin-left: 0 !important;
    width: 100%;
  }
}

@media screen and (max-width: 998px) {
  .form-cadastro {
    margin-left: 0 !important;
    border-left: 0px !important;
    padding: 5px !important;
    width: 100%;
  }

  .card-header {
    border-bottom: 1px solid #e4e7ec;
    padding: 10px !important;
  }

  .section,
  .div-footer {
    display: block !important;
    padding: 10px 60px !important;
  }

  .div-banner {
    display: none !important;
  }

  .bodyTermo {
    padding: 26px 40px !important;
  }

  .div-btns {
    justify-content: center;
    align-items: center;
  }

  .form-errorname {
    margin-bottom: 70px !important;
  }

  .form-errorCRM {
    margin-bottom: 70px !important;
  }

  #file-prev {
    width: 65% !important;
  }
}

#alert_default {
  position: fixed;
  z-index: 1;
  width: 100% !important;
  color: #fff;
  background-color: var(--secondary-color) !important;
}

.logo-mobile {
  display: none;
}

@media screen and (max-width: 720px) {
  #alert_default {
    margin-bottom: 0 !important;
  }

  .error-login {
    margin-bottom: -25% !important;
  }

  .logo-mobile {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .div_btns {
    justify-content: center;
    align-items: center;
    display: flex;
  }

  #file-prev {
    width: 85% !important;
  }

  #modalDoc {
    margin: 3% !important;
  }

  .section,
  .div-footer {
    padding: 10px !important;
  }

  /* Ajustar modal para mobile view */
  .modalDoTermo {
    width: 95% !important;
  }
}

@media (max-width: 366px) {
}

@media screen and (max-width: 320px) {
  .wrap-login100 {
    height: 485px !important;
  }
}

.fileinput-preview {
  border: none;
}

.btn-file {
  height: 150px;
  width: 250px;
  border-radius: 15px;
  background: #f3ffff;
  border: 2px dashed var(--primary-color) !important;
  height: 140px;
  width: 230px;
}

.fileinput {
  display: block;
}

.textDoc {
  font-size: 15px;
}

.icon-file {
  filter: brightness(0) saturate(100%) invert(23%) sepia(83%) saturate(1346%)
    hue-rotate(129deg) brightness(85%) contrast(101%);
}

.input-container {
  position: relative;
}

.valid-feedback {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  display: flex;
  align-items: center;
}

#crmFeedback {
  display: none;
  /* inicia escondido */
  margin-top: 6px;
  margin-bottom: 20px;
  /* garante espaço abaixo */
  width: 100%;
}

#escapeCRMdiv {
  display: none;
  margin-top: 5px;
}

/* estilos do dropdown de sugestões */
#suggestions {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  max-height: 200px;
  overflow-y: auto;
  background-color: #fff;
  text-align: left;
}

#suggestions li {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#suggestions li:hover {
  background-color: #f1f1f1;
}

/* estilo para item "Cadastrar nova empresa" */
#suggestions li.outra {
  background-color: var(--primary-color) !important;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

#suggestions li.outra:hover {
  background-color: var(--primary-color) !important;
}

.readonly-highlight {
  background-color: #e7f3ff !important;
  color: #004085 !important;
  font-weight: 500;
  border: 1px solid #b8daff;
  cursor: not-allowed;
  border-radius: 6px;
  padding-left: 10px;
  text-indent: 10px;
}

/* AREAS DE INTERESSE */

.areas-interesse-container {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 8px 40px;
  /* espaço para as setas não cobrirem conteúdo */
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  position: relative;
}

/* Remove barra de rolagem */
.areas-interesse-container::-webkit-scrollbar {
  display: none;
}

.areas-interesse-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Sombra no final para indicar mais itens */
.areas-interesse-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.9), transparent);
}

/* Cartões */
.interesse-card {
  min-width: 160px;
  background: #fff;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s;
  scroll-snap-align: start;
}

.interesse-card:hover {
  transform: translateY(-2px);
}

/* Cabeçalhos e labels (igual ao seu, mantive) */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  cursor: pointer;
  border-bottom: 1px solid #e4e7ec;
  padding-bottom: 25px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-left i {
  font-size: 20px;
  color: #555;
}

.header-left span {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.toggle-items {
  font-size: 14px;
  color: #777;
  transition: transform 0.25s;
}

.selected-count {
  padding: 0 10px 6px;
  font-size: 12px;
  color: #555;
}

.card-items {
  max-height: 0;
  overflow: hidden;
  padding: 0 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.card-items.open {
  max-height: 500px;
  padding: 6px 10px;
}

.areas-interesse-wrapper {
  position: relative;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.06);
  color: #111;
  font-size: 20px;
  cursor: pointer;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.12s ease;
  z-index: 20;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.scroll-btn.left {
  left: 6px;
}

.scroll-btn.right {
  right: 6px;
}

.scroll-btn.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) scale(0.95);
}

/* opcional: hover */
.scroll-btn:hover {
  transform: translateY(-50%) scale(1.03);
}

.interesse-card {
  min-width: 160px;
  background: #fff;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.25s;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-left i {
  font-size: 20px;
  color: #555;
}

.header-left span {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.toggle-items {
  font-size: 14px;
  color: #777;
  transition: transform 0.25s;
  margin-left: 12px;
  /* aumenta a distância da seta para o título */
}

.selected-count {
  padding: 0 10px 6px;
  font-size: 12px;
  color: #555;
}

.card-items {
  max-height: 0;
  overflow: hidden;
  padding: 0 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.card-items label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  cursor: pointer;
  color: #444;
}

.card-items.open {
  max-height: 500px;
  padding: 6px 10px;
}
