/* Central de mensagens — Mercado Pro Clubs */
body.chat-painel-aberto {
  overflow: hidden;
}

body.animar-scroll.mostrar {
  transform: none;
}

.hu-chat-toast {
  position: fixed;
  z-index: 1400;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid rgba(18, 224, 108, .55);
  border-radius: 10px;
  background: #07120c;
  color: #eafff2;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .42);
  font-size: .78rem;
  font-weight: 750;
}

.hu-chat-toast.erro {
  border-color: rgba(255, 100, 100, .6);
  color: #ffd7d7;
}

.recrutamento-header-btn.email-container {
  position: relative;
  display: flex;
  min-width: 146px;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 7px 13px;
  color: #e9f3ec;
  border: 1px solid rgba(18, 224, 108, .45);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(18, 224, 108, .11), rgba(18, 224, 108, .04));
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .025);
  animation: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.recrutamento-header-btn.email-container:hover,
.recrutamento-header-btn.email-container:focus-visible {
  border-color: #12e06c;
  outline: none;
  background: rgba(18, 224, 108, .12);
  transform: translateY(-1px);
}

.recrutamento-header-btn .email-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: #12e06c;
}

.header-central-atalhos .recrutamento-header-texto,
.recrutamento-header-texto {
  display: grid;
  min-width: 0;
  line-height: 1.1;
}

.recrutamento-header-texto strong {
  color: #f4f8f5;
  font-size: .66rem;
  font-weight: 900;
  white-space: nowrap;
}

.recrutamento-header-texto small {
  margin-top: 3px;
  color: #79a68b;
  font-size: .5rem;
  font-weight: 750;
}

.recrutamento-mobile-btn {
  display: none;
}

.chat-acesso-overlay {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 6, 4, .84);
  backdrop-filter: blur(9px);
}

.chat-acesso-modal {
  position: relative;
  width: min(470px, 100%);
  padding: 31px;
  color: #eef7f1;
  border: 1px solid rgba(18, 224, 108, .42);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 5%, rgba(18, 224, 108, .14), transparent 35%),
    #0a120e;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .62);
  text-align: center;
}

.chat-acesso-fechar {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 35px;
  height: 35px;
  color: #bdc9c1;
  border: 1px solid #35453b;
  border-radius: 10px;
  background: #111a15;
  cursor: pointer;
  font-size: 1.25rem;
}

.chat-acesso-icone {
  display: grid;
  width: 61px;
  height: 61px;
  place-items: center;
  margin: 0 auto 15px;
  color: #12e06c;
  border: 1px solid rgba(18, 224, 108, .4);
  border-radius: 16px;
  background: rgba(18, 224, 108, .08);
  font-size: 1.45rem;
}

.chat-acesso-modal > small {
  color: #12e06c;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.chat-acesso-modal h2 {
  margin: 9px 0 0;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.2;
}

.chat-acesso-modal > p {
  margin: 11px auto 0;
  color: #93a098;
  font-size: .72rem;
  line-height: 1.58;
}

.chat-acesso-beneficios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 20px;
}

.chat-acesso-beneficios span {
  padding: 9px 6px;
  color: #b8c5bd;
  border: 1px solid #2f4036;
  border-radius: 9px;
  background: rgba(255, 255, 255, .025);
  font-size: .55rem;
  font-weight: 750;
}

.chat-acesso-acoes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 21px;
}

.chat-acesso-acoes a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  color: #d7e1da;
  border: 1px solid #3a4a40;
  border-radius: 10px;
  background: #111a15;
  text-decoration: none;
  font-size: .68rem;
  font-weight: 900;
}

.chat-acesso-acoes a.primaria {
  color: #06120a;
  border-color: #12e06c;
  background: #12e06c;
}

.chat-backdrop {
  position: fixed;
  z-index: 9996;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 5, 4, .72);
  backdrop-filter: blur(7px);
}

.chat-backdrop.aberto {
  display: block;
}

.chat-painel {
  position: fixed;
  z-index: 9998;
  top: 50%;
  right: 50%;
  display: none;
  width: min(1480px, calc(100vw - 46px));
  height: min(900px, calc(100dvh - 66px));
  min-height: 500px;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  color: #f2f7f3;
  border: 1px solid rgba(44, 75, 58, .88);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(18, 224, 108, .11), transparent 34%),
    #07100d;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .64), 0 0 0 1px rgba(255, 255, 255, .018) inset;
  font-family: "Montserrat", sans-serif;
  transform: translate(50%, -50%);
  animation: chat-entrada .2s ease-out;
}

.chat-painel.aberto {
  display: grid;
}

@keyframes chat-entrada {
  from { opacity: 0; transform: translate(50%, calc(-50% - 8px)) scale(.985); }
  to { opacity: 1; transform: translate(50%, -50%); }
}

.chat-painel button,
.chat-painel input,
.chat-painel textarea {
  font: inherit;
}

.chat-painel-topo {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 17px;
  padding: 20px 28px;
  border-bottom: 1px solid #26352d;
  background: rgba(4, 11, 8, .86);
}

.chat-painel-marca {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(18, 224, 108, .4);
  border-radius: 16px;
  background: rgba(18, 224, 108, .08);
}

.chat-painel-marca img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.chat-painel-marca svg,
.chat-boas-vindas-icone svg,
.chat-lista-vazia-icone svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #12e06c;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-painel-titulo {
  min-width: 0;
}

.chat-painel-resumo {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

.chat-painel-resumo > span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  color: #85948b;
  border: 1px solid #2a3b31;
  border-radius: 999px;
  background: rgba(255, 255, 255, .02);
  font-size: .62rem;
  font-weight: 750;
  white-space: nowrap;
}

.chat-painel-resumo strong { color: #12e06c; font-size: .68rem; }

.chat-painel-titulo > span {
  display: block;
  margin-bottom: 2px;
  color: #12e06c;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .15em;
}

.chat-painel-topo h2 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
}

.chat-icone-btn {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  color: #d1dad4;
  border: 1px solid #33433a;
  border-radius: 10px;
  background: #101914;
  cursor: pointer;
}

#msg-btn-fechar {
  margin-left: 2px;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-size: 1.5rem;
}

.chat-icone-btn:hover,
.chat-icone-btn:focus-visible {
  color: #12e06c;
  border-color: #12e06c;
  outline: none;
}

.chat-layout {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(330px, 33%) minmax(0, 1fr);
}

.chat-sidebar {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
  padding: 18px 16px 16px;
  border-right: 1px solid #26352d;
  background: rgba(8, 17, 13, .86);
}

.chat-busca-wrap {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  color: #78867e;
  border: 1px solid #12e06c;
  border-radius: 13px;
  background: #0b120f;
}

.chat-busca-wrap:focus-within {
  border-color: #12e06c;
  box-shadow: 0 0 0 3px rgba(18, 224, 108, .09);
}

.chat-busca-wrap input {
  width: 100%;
  min-width: 0;
  height: 50px;
  color: #edf4ef;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: .72rem;
}

.chat-busca-wrap input::placeholder {
  color: #68756e;
}

.chat-busca-wrap > svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.chat-filtros {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.chat-filtros button {
  min-width: 0;
  min-height: 42px;
  padding: 8px 4px;
  color: #89968f;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-size: .59rem;
  font-weight: 800;
}

.chat-filtros button.ativo {
  color: #12e06c;
  border-color: rgba(18, 224, 108, .28);
  background: rgba(18, 224, 108, .08);
}

.chat-filtros button span {
  display: inline-grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  margin-left: 2px;
  padding-inline: 4px;
  border-radius: 999px;
  color: #a9b6ae;
  background: #1a251f;
  font-size: .5rem;
}

.chat-filtros button.ativo span { color: #05140a; background: #12e06c; }

.chat-lista {
  min-height: 0;
  overflow-y: auto;
  scrollbar-color: #315641 transparent;
  scrollbar-width: thin;
}

.chat-lista-item {
  position: relative;
  display: flex;
  min-width: 0;
  margin-bottom: 6px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 11px;
  background: rgba(255, 255, 255, .025);
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.chat-lista-item:hover {
  border-color: #344a3d;
  background: rgba(255, 255, 255, .045);
  transform: translateY(-1px);
}

.chat-lista-item.selecionado {
  border-color: rgba(18, 224, 108, .5);
  background: rgba(18, 224, 108, .09);
}

.chat-lista-item.nao-lido {
  border-color: rgba(18, 224, 108, .32) !important;
  background: rgba(18, 224, 108, .07) !important;
}

.chat-lista-abrir {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 10px;
  padding: 11px 5px 11px 10px;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.chat-lista-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #33483b;
  border-radius: 11px;
  background: #111b16;
}

.chat-lista-avatar img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.chat-lista-conteudo {
  display: block;
  min-width: 0;
  flex: 1;
}

.chat-lista-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chat-lista-linha strong,
.chat-lista-previa {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-lista-linha strong {
  color: #f4f7f5;
  font-size: .72rem;
}

.chat-lista-linha time {
  flex: 0 0 auto;
  color: #728078;
  font-size: .52rem;
}

.chat-lista-previa {
  margin-top: 4px;
  color: #8c9991;
  font-size: .62rem;
  line-height: 1.35;
}

.chat-lista-item.nao-lido .chat-lista-previa {
  color: #d8e2dc;
  font-weight: 700;
}

.chat-lista-conteudo small {
  display: block;
  margin-top: 5px;
  color: #12e06c;
  font-size: .49rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.chat-lista-arquivar {
  width: 28px;
  flex: 0 0 auto;
  padding: 0;
  color: #6f7c74;
  border: 0;
  border-left: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.chat-lista-arquivar:hover,
.chat-lista-arquivar:focus-visible {
  color: #12e06c;
  border-left-color: #31433a;
  outline: 0;
  background: rgba(18, 224, 108, .06);
}

.chat-lista-vazia,
.chat-carregando {
  display: grid;
  min-height: 230px;
  place-items: center;
  align-content: center;
  padding: 20px;
  color: #78867e;
  text-align: center;
}

.chat-lista-vazia > span {
  margin-bottom: 9px;
  color: #12e06c;
  font-size: 1.4rem;
}

.chat-lista-vazia strong {
  color: #dbe4de;
  font-size: .75rem;
}

.chat-lista-vazia p,
.chat-carregando p {
  max-width: 230px;
  margin: 6px 0 0;
  font-size: .62rem;
  line-height: 1.5;
}

.chat-lista-vazia > a {
  display: inline-flex;
  min-height: 34px;
  margin-top: 12px;
  align-items: center;
  padding: 0 12px;
  color: #06120a;
  border-radius: 8px;
  background: #12e06c;
  text-decoration: none;
  font-size: .58rem;
  font-weight: 900;
}

.chat-main {
  position: relative;
  min-width: 0;
  min-height: 0;
  background:
    linear-gradient(rgba(5, 13, 9, .94), rgba(5, 13, 9, .94)),
    url("../IMG/mercado-campo-tatico-v1.svg") center / cover;
}

.chat-boas-vindas {
  display: grid;
  height: 100%;
  place-items: center;
  align-content: center;
  padding: 30px;
  text-align: center;
}

.chat-boas-vindas-icone {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 17px;
  color: #12e06c;
  border: 1px solid rgba(18, 224, 108, .35);
  border-radius: 18px;
  background: rgba(18, 224, 108, .07);
  font-size: 1.7rem;
}

.chat-boas-vindas small {
  color: #12e06c;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.chat-boas-vindas h3 {
  margin: 8px 0 0;
  color: #fff;
  font-size: 1.25rem;
}

.chat-boas-vindas p {
  max-width: 410px;
  margin: 9px 0 0;
  color: #89968e;
  font-size: .72rem;
  line-height: 1.55;
}

.chat-boas-vindas-acoes {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.chat-boas-vindas-acoes a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  color: #dce7e0;
  border: 1px solid #33443a;
  border-radius: 9px;
  background: #101914;
  text-decoration: none;
  font-size: .62rem;
  font-weight: 850;
}

.chat-boas-vindas-acoes a:first-child { color: #06120a; border-color: #12e06c; background: #12e06c; }

.chat-conversa {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto auto;
}

.chat-conversa[hidden] {
  display: none !important;
}

.chat-conversa-topo {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-bottom: 1px solid #28372f;
  background: rgba(7, 15, 11, .94);
}

.chat-voltar {
  display: none;
}

.chat-conversa-escudo {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 4px;
  object-fit: contain;
  border: 1px solid rgba(18, 224, 108, .35);
  border-radius: 11px;
  background: #111b16;
}

.chat-conversa-identidade {
  min-width: 110px;
  flex: 1;
}

.chat-conversa-identidade h3 {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-conversa-identidade p {
  overflow: hidden;
  margin: 4px 0 0;
  color: #829087;
  font-size: .56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-conversa-acoes {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
}

.chat-conversa-acoes a,
.chat-conversa-acoes button {
  padding: 7px 8px;
  color: #b9c5bd;
  border: 1px solid #34443b;
  border-radius: 7px;
  background: #101813;
  cursor: pointer;
  text-decoration: none;
  font-size: .55rem;
  font-weight: 800;
}

.chat-conversa-acoes a:hover {
  color: #06100a;
  border-color: #12e06c;
  background: #12e06c;
}

.chat-conversa-acoes button:hover {
  color: #ff9a9a;
  border-color: rgba(255, 110, 110, .48);
}

.chat-conversa-acoes button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.chat-aviso-bloqueio {
  padding: 9px 14px;
  color: #ffd4d4;
  border-bottom: 1px solid rgba(211, 47, 47, .22);
  background: rgba(211, 47, 47, .08);
  font-size: .64rem;
  text-align: center;
}

.chat-mensagens {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 7px;
  overflow-y: auto;
  padding: 17px 18px;
  scroll-behavior: smooth;
  scrollbar-color: #315641 transparent;
  scrollbar-width: thin;
}

.chat-carregando span {
  width: 26px;
  height: 26px;
  border: 2px solid rgba(18, 224, 108, .18);
  border-top-color: #12e06c;
  border-radius: 50%;
  animation: chat-girar .7s linear infinite;
}

@keyframes chat-girar { to { transform: rotate(360deg); } }

.chat-carregar-anteriores {
  align-self: center;
  margin-bottom: 7px;
  padding: 7px 12px;
  color: #91a098;
  border: 1px solid #32433a;
  border-radius: 999px;
  background: rgba(7, 15, 11, .85);
  cursor: pointer;
  font-size: .57rem;
  font-weight: 800;
}

.chat-separador-data {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 5px 0;
  color: #718078;
  font-size: .52rem;
  text-align: center;
}

.chat-separador-data::before,
.chat-separador-data::after {
  height: 1px;
  flex: 1;
  background: #28372f;
  content: "";
}

.chat-mensagem {
  width: fit-content;
  max-width: min(76%, 520px);
  padding: 9px 12px 7px;
  border: 1px solid #314139;
  border-radius: 13px 13px 13px 3px;
  background: #111a16;
  box-shadow: 0 5px 13px rgba(0, 0, 0, .12);
}

.chat-mensagem.minha {
  align-self: flex-end;
  color: #06120b;
  border-color: #12e06c;
  border-radius: 13px 13px 3px 13px;
  background: linear-gradient(145deg, #25ea78, #12d968);
}

.chat-mensagem.recebida {
  align-self: flex-start;
}

.chat-mensagem > strong {
  display: block;
  margin-bottom: 4px;
  color: #12e06c;
  font-size: .55rem;
}

.chat-mensagem p {
  margin: 0;
  color: #e3ebe6;
  font-size: .69rem;
  line-height: 1.47;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.chat-mensagem.minha p {
  color: #07120b;
  font-weight: 600;
}

.chat-mensagem footer {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 4px;
  color: #718078;
  font-size: .49rem;
}

.chat-mensagem.minha footer {
  color: rgba(5, 20, 11, .63);
}

.chat-mensagem-leitura {
  font-weight: 800;
}

.chat-link-externo {
  color: #75f1a7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chat-mensagem.minha .chat-link-externo {
  color: #073a1c;
}

.chat-mensagens-vazio {
  display: grid;
  min-height: 100%;
  place-items: center;
  align-content: center;
  color: #85928a;
  text-align: center;
}

.chat-mensagens-vazio span { font-size: 1.45rem; }
.chat-mensagens-vazio strong { margin-top: 8px; color: #dbe4de; font-size: .75rem; }
.chat-mensagens-vazio p { margin: 5px 0 0; font-size: .62rem; }

.chat-novas-mensagens {
  position: absolute;
  right: 22px;
  bottom: 178px;
  z-index: 2;
  padding: 7px 11px;
  color: #06110a;
  border: 0;
  border-radius: 999px;
  background: #12e06c;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
  cursor: pointer;
  font-size: .57rem;
  font-weight: 900;
}

.chat-respostas-rapidas {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 14px 5px;
  scrollbar-width: none;
}

.chat-respostas-rapidas[hidden] { display: none; }
.chat-respostas-rapidas::-webkit-scrollbar { display: none; }

.chat-respostas-rapidas button {
  min-width: max-content;
  height: 28px;
  flex: 0 0 auto;
  padding: 6px 9px;
  color: #a9b7ae;
  border: 1px solid #34463b;
  border-radius: 999px;
  background: #0d1611;
  cursor: pointer;
  font-size: .53rem;
  font-weight: 750;
}

.chat-respostas-rapidas button:hover {
  color: #12e06c;
  border-color: #12e06c;
}

.chat-seguranca {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 15px;
  color: #718078;
}

.chat-seguranca > span { color: #12e06c; }
.chat-seguranca p { margin: 0; font-size: .49rem; line-height: 1.35; }
.chat-seguranca strong { color: #a8b5ad; }

.chat-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px 14px 12px;
  border-top: 1px solid #26352d;
  background: rgba(6, 13, 9, .95);
}

.chat-form textarea {
  width: 100%;
  min-height: 42px;
  max-height: 112px;
  resize: none;
  padding: 11px 58px 10px 12px;
  overflow-y: auto;
  color: #f0f5f2;
  border: 1px solid #34443b;
  border-radius: 11px;
  outline: 0;
  background: #101914;
  font-size: .68rem;
  line-height: 1.45;
}

.chat-form textarea:focus {
  border-color: #12e06c;
  box-shadow: 0 0 0 3px rgba(18, 224, 108, .08);
}

.chat-form textarea:disabled {
  cursor: not-allowed;
  opacity: .52;
}

#msg-contador {
  position: absolute;
  right: 106px;
  bottom: 25px;
  color: #68766e;
  font-size: .48rem;
  pointer-events: none;
}

.chat-form > button {
  display: flex;
  min-width: 84px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  color: #06120a;
  border: 0;
  border-radius: 10px;
  background: #12e06c;
  cursor: pointer;
  font-size: .61rem;
  font-weight: 900;
}

.chat-form > button:disabled {
  cursor: not-allowed;
  filter: grayscale(.7);
  opacity: .42;
}

.chat-form > button b { font-size: .8rem; }

#msg-envio-status {
  position: absolute;
  right: 15px;
  bottom: 0;
  color: #7f8d84;
  font-size: .47rem;
}

@media (max-width: 900px) {
  .chat-painel {
    top: 76px;
    right: 12px;
    width: calc(100vw - 24px);
    height: calc(100dvh - 92px);
    transform: none;
    animation: none;
  }

  .chat-layout { grid-template-columns: 300px minmax(0, 1fr); }
  .chat-conversa-acoes button { display: none; }
}

@media (min-width: 769px) and (max-width: 1500px) {
  .recrutamento-header-btn.email-container {
    width: 44px;
    min-width: 44px;
    justify-content: center;
    padding-inline: 9px;
  }

  .header-central-atalhos .recrutamento-header-texto,
  .recrutamento-header-texto { display: none; }
}

@media (max-width: 768px) {
  #painel-msg.chat-painel {
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 0;
    max-height: none !important;
    border: 0;
    border-radius: 0;
  }

  .chat-painel-topo { min-height: 64px; padding: 9px 12px; }
  .chat-painel-resumo { display: none; }
  .chat-painel-marca { width: 38px; height: 38px; }
  .chat-layout { display: block; min-height: 0; height: 100%; }
  .chat-sidebar { height: 100%; border-right: 0; }
  .chat-sidebar.conversa-aberta { display: none; }
  .chat-layout:has(.chat-main.tem-conversa) .chat-sidebar { display: none; }
  .chat-main { display: none; height: 100%; }
  .chat-main.tem-conversa { display: block; }
  .chat-voltar { display: grid; }
  .chat-conversa-topo { padding: 9px 10px; }
  .chat-conversa-escudo { width: 39px; height: 39px; }
  .chat-conversa-acoes { gap: 4px; }
  .chat-conversa-acoes a { display: none; }
  .chat-conversa-acoes a:not([hidden]):first-of-type { display: inline-flex; }
  .chat-conversa-acoes button { display: inline-flex; padding: 7px; font-size: .5rem; }
  .chat-mensagens { padding: 14px 11px; }
  .chat-mensagem { max-width: 87%; }
  .chat-respostas-rapidas { padding-inline: 10px; }
  .chat-seguranca { padding-inline: 11px; }
  .chat-form { padding-inline: 10px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  #msg-contador { right: 100px; bottom: max(25px, calc(env(safe-area-inset-bottom) + 13px)); }
  #msg-envio-status { right: 11px; }

  .recrutamento-header-btn.email-container {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
  }

  .header-central-atalhos .recrutamento-header-texto,
  .recrutamento-header-texto {
    display: none;
  }

  .recrutamento-mobile-btn {
    position: fixed;
    z-index: 920;
    right: 12px;
    bottom: max(13px, env(safe-area-inset-bottom));
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 9px;
    padding: 7px 12px 7px 8px;
    color: #06120a;
    border: 1px solid #3bf08a;
    border-radius: 14px;
    background: linear-gradient(145deg, #25eb79, #12d969);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .48), 0 0 20px rgba(18, 224, 108, .16);
    cursor: pointer;
    font: inherit;
    text-align: left;
  }

  .recrutamento-mobile-icone {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    background: rgba(4, 20, 10, .12);
    font-size: 1rem;
  }

  .recrutamento-mobile-btn > span:nth-child(2) {
    display: grid;
    line-height: 1.1;
  }

  .recrutamento-mobile-btn strong {
    font-size: .66rem;
    font-weight: 950;
  }

  .recrutamento-mobile-btn small {
    margin-top: 3px;
    font-size: .48rem;
    font-weight: 750;
  }

  #recrutamento-mobile-badge {
    position: absolute;
    top: -6px;
    right: -5px;
    display: grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    padding: 0 5px;
    color: #fff;
    border: 2px solid #07100d;
    border-radius: 999px;
    background: #e33c3c;
    font-size: .52rem;
  }

  #recrutamento-mobile-badge[hidden],
  body.chat-painel-aberto .recrutamento-mobile-btn {
    display: none;
  }

  .chat-acesso-modal {
    padding: 27px 18px 20px;
  }

  .chat-acesso-beneficios {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 410px) {
  .chat-conversa-acoes button:first-of-type { display: none; }
  .chat-form > button { min-width: 46px; width: 46px; padding: 0; }
  .chat-form > button span { display: none; }
  #msg-contador { right: 65px; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-painel { animation: none; }
  .chat-lista-item { transition: none; }
  .chat-mensagens { scroll-behavior: auto; }
}

/* ==========================================================================
   CENTRAL DE RECRUTAMENTO — CONVERSA V2
   ========================================================================== */
.chat-backdrop.aberto {
  background: rgba(0, 6, 4, .82);
  backdrop-filter: blur(12px);
}

#painel-msg.chat-painel {
  width: min(1480px, calc(100vw - 36px));
  height: min(900px, calc(100dvh - 44px));
  min-height: 620px;
  grid-template-rows: 98px minmax(0, 1fr);
  isolation: isolate;
  border-color: rgba(18, 224, 108, .36);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% -20%, rgba(18, 224, 108, .1), transparent 35%),
    #030b07;
  box-shadow: 0 40px 130px rgba(0, 0, 0, .76), inset 0 1px rgba(255, 255, 255, .025);
}

#painel-msg .chat-painel-topo {
  position: relative;
  z-index: 3;
  min-width: 0;
  min-height: 98px;
  overflow: hidden;
  padding: 18px 28px;
  border-bottom-color: rgba(60, 99, 76, .42);
  background: linear-gradient(180deg, rgba(5, 17, 11, .98), rgba(3, 12, 8, .98));
}

#painel-msg .chat-painel-marca {
  width: 55px;
  height: 61px;
  color: #12e06c;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 0 12px rgba(18, 224, 108, .18));
}

#painel-msg .chat-painel-marca svg {
  width: 45px;
  height: 52px;
  stroke-width: 1.35;
}

#painel-msg .chat-painel-titulo h2 {
  color: #f5f9f6;
  font-family: "Barlow Condensed", "Arial Narrow", Montserrat, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-style: italic;
  font-weight: 950;
  letter-spacing: -.015em;
}

#painel-msg .chat-painel-titulo h2 span { color: #12e06c; }
#painel-msg .chat-painel-resumo { opacity: .9; }
#painel-msg #msg-btn-fechar { margin-left: 10px; }

#painel-msg .chat-layout {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  grid-template-columns: minmax(325px, 31%) minmax(0, 1fr);
}

#painel-msg .chat-sidebar {
  min-height: 0;
  overflow: hidden;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 24px 18px 0;
  border-right-color: rgba(60, 99, 76, .42);
  background:
    linear-gradient(180deg, rgba(7, 18, 12, .96), rgba(3, 11, 7, .98));
}

.chat-sidebar-titulo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 2px;
}

.chat-sidebar-titulo h3 {
  margin: 0;
  color: #fff;
  font-size: 1.08rem;
  letter-spacing: -.02em;
}

.chat-sidebar-titulo > span {
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #12e06c, transparent);
}

#painel-msg .chat-busca-wrap {
  min-height: 48px;
  border-color: #31463a;
  border-radius: 11px;
  background: rgba(13, 24, 18, .88);
}

#painel-msg .chat-busca-wrap:focus-within { border-color: #12e06c; }
#painel-msg .chat-busca-wrap input { height: 46px; font-size: .69rem; }

#painel-msg .chat-filtros {
  gap: 0;
  overflow: hidden;
  border: 1px solid #25372d;
  border-radius: 11px;
  background: rgba(11, 22, 16, .82);
}

#painel-msg .chat-filtros button {
  min-height: 44px;
  border: 0;
  border-right: 1px solid #25372d;
  border-radius: 0;
  font-size: .61rem;
}

#painel-msg .chat-filtros button:last-child { border-right: 0; }
#painel-msg .chat-filtros button.ativo {
  color: #1af07a;
  border: 1px solid #12e06c;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(18, 224, 108, .14), rgba(18, 224, 108, .055));
  box-shadow: inset 0 0 22px rgba(18, 224, 108, .04);
}

#painel-msg .chat-lista {
  min-height: 0;
  padding: 2px 2px 14px;
  overscroll-behavior: contain;
}

#painel-msg .chat-lista-item {
  min-height: 88px;
  margin-bottom: 10px;
  border-color: #2a3e33;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(16, 29, 22, .92), rgba(7, 17, 11, .9));
}

#painel-msg .chat-lista-item:hover {
  border-color: rgba(18, 224, 108, .48);
  background: linear-gradient(135deg, rgba(19, 37, 26, .95), rgba(8, 20, 13, .95));
}

#painel-msg .chat-lista-item.selecionado {
  border-color: #12e06c;
  background:
    radial-gradient(circle at 100% 50%, rgba(18, 224, 108, .1), transparent 42%),
    linear-gradient(135deg, rgba(15, 42, 27, .96), rgba(7, 22, 14, .96));
  box-shadow: inset 0 0 30px rgba(18, 224, 108, .035);
}

#painel-msg .chat-lista-abrir { gap: 13px; padding: 13px 7px 13px 13px; }
#painel-msg .chat-lista-avatar {
  width: 53px;
  height: 53px;
  border-color: rgba(18, 224, 108, .45);
  border-radius: 13px;
  background: #0c1811;
}

#painel-msg .chat-lista-linha strong { color: #f5f8f6; font-size: .72rem; }
#painel-msg .chat-lista-linha time { font-size: .55rem; }
#painel-msg .chat-lista-previa { margin-top: 5px; font-size: .59rem; }
#painel-msg .chat-lista-conteudo small { margin-top: 5px; color: #12e06c; font-size: .53rem; }
#painel-msg .chat-lista-arquivar { width: 32px; }

.chat-gerenciar {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 -18px;
  color: #96a49b;
  border-top: 1px solid #263a2e;
  background: rgba(5, 14, 9, .94);
  text-decoration: none;
  font-size: .64rem;
  font-weight: 800;
  transition: color .16s ease, background .16s ease;
}

.chat-gerenciar svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.chat-gerenciar:hover { color: #12e06c; background: rgba(18, 224, 108, .04); }

#painel-msg .chat-main {
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(3, 13, 8, .94), rgba(3, 13, 8, .94)),
    url("../IMG/mercado-campo-tatico-v1.svg") center / cover;
}

#painel-msg .chat-boas-vindas {
  background: radial-gradient(circle, rgba(18, 224, 108, .055), transparent 42%);
}

#painel-msg .chat-boas-vindas-icone {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(18, 224, 108, .045);
  box-shadow: 0 0 0 18px rgba(18, 224, 108, .018);
}

#painel-msg .chat-boas-vindas h3 { font-size: 1.7rem; }

#painel-msg .chat-conversa { grid-template-rows: auto auto minmax(0, 1fr) auto auto; }
#painel-msg .chat-conversa-topo { grid-row: 1; }
#painel-msg .chat-aviso-bloqueio { grid-row: 2; }
#painel-msg .chat-mensagens { grid-row: 3; }
#painel-msg .chat-novas-mensagens { grid-row: 3; }
#painel-msg .chat-respostas-rapidas { grid-row: 4; }
#painel-msg .chat-composer-wrap { grid-row: 5; }

#painel-msg .chat-conversa-topo {
  min-height: 108px;
  gap: 15px;
  padding: 18px 24px;
  border-bottom-color: rgba(60, 99, 76, .42);
  background: linear-gradient(180deg, rgba(5, 16, 10, .98), rgba(4, 13, 9, .98));
}

#painel-msg .chat-conversa-escudo {
  width: 62px;
  height: 62px;
  padding: 7px;
  border-color: #12e06c;
  border-radius: 15px;
  background: #0c1811;
  box-shadow: 0 0 26px rgba(18, 224, 108, .06);
}

#painel-msg .chat-conversa-identidade { position: relative; }
#painel-msg .chat-conversa-identidade h3 { font-size: 1.02rem; }
#painel-msg .chat-conversa-identidade p { display: inline-block; margin-top: 6px; font-size: .61rem; }

.chat-status-ativo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 9px;
  color: #12e06c;
  font-size: .58rem;
  font-weight: 800;
}

.chat-status-ativo i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #12e06c;
  box-shadow: 0 0 9px rgba(18, 224, 108, .55);
}

.chat-status-ativo.bloqueado { color: #ff8e8e; }
.chat-status-ativo.bloqueado i { background: #ff7373; box-shadow: 0 0 9px rgba(255, 115, 115, .45); }

#painel-msg .chat-conversa-acoes { gap: 9px; }
#painel-msg .chat-conversa-acoes a,
#painel-msg .chat-conversa-acoes button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-color: #31533f;
  border-radius: 9px;
  background: rgba(10, 22, 15, .86);
  font-size: .58rem;
}

#painel-msg .chat-conversa-acoes svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

#painel-msg .chat-mensagens {
  position: relative;
  padding: 24px 28px;
  background: radial-gradient(circle at 50% 42%, rgba(18, 224, 108, .025), transparent 35%);
}

#painel-msg .chat-mensagens-vazio {
  width: min(590px, calc(100% - 44px));
  height: min(330px, calc(100% - 8px));
  min-height: 220px;
  box-sizing: border-box;
  align-self: center;
  margin: auto;
  padding: 30px 42px;
  border: 1px solid rgba(48, 112, 75, .6);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 30%, rgba(18, 224, 108, .07), transparent 38%),
    rgba(5, 17, 11, .78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(4px);
}

.chat-mensagens-vazio-icone {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  margin-bottom: 28px;
  color: #12e06c;
  border: 1px solid rgba(18, 224, 108, .6);
  border-radius: 50%;
  background: rgba(18, 224, 108, .04);
  box-shadow: 0 0 0 16px rgba(18, 224, 108, .018), 0 0 45px rgba(18, 224, 108, .08);
}

.chat-mensagens-vazio-icone svg {
  width: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

#painel-msg .chat-mensagens-vazio small {
  color: #12e06c;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .12em;
}

#painel-msg .chat-mensagens-vazio strong {
  margin-top: 13px;
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -.035em;
}

#painel-msg .chat-mensagens-vazio p {
  max-width: 460px;
  margin-top: 12px;
  color: #8e9b93;
  font-size: .7rem;
  line-height: 1.65;
}

#painel-msg .chat-respostas-rapidas {
  min-height: 68px;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px 14px;
  background: rgba(3, 12, 8, .88);
}

#painel-msg .chat-respostas-rapidas button {
  height: 40px;
  padding: 8px 15px;
  border-color: #31533f;
  background: rgba(9, 22, 15, .9);
  font-size: .57rem;
}

#painel-msg .chat-respostas-rapidas button > span {
  margin-right: 7px;
  color: #12e06c;
  font-size: .8rem;
}

.chat-composer-wrap {
  padding: 14px 18px 17px;
  border-top: 1px solid rgba(60, 99, 76, .42);
  background: linear-gradient(180deg, rgba(6, 17, 11, .98), rgba(4, 13, 9, .99));
}

#painel-msg .chat-seguranca { padding: 0 5px 11px; }
#painel-msg .chat-seguranca > span { display: grid; width: 20px; place-items: center; }
#painel-msg .chat-seguranca svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
#painel-msg .chat-seguranca p { font-size: .52rem; }
#painel-msg .chat-seguranca strong { color: #12e06c; }

#painel-msg .chat-form {
  padding: 0;
  border: 0;
  background: transparent;
}

#painel-msg .chat-form textarea {
  min-height: 54px;
  padding: 16px 68px 14px 16px;
  border-color: #12e06c;
  border-radius: 13px;
  background: #0d1912;
  font-size: .68rem;
  box-shadow: inset 0 0 28px rgba(18, 224, 108, .02);
}

#painel-msg #msg-contador { right: 128px; bottom: 20px; }
#painel-msg .chat-form > button {
  min-width: 112px;
  height: 54px;
  border-radius: 13px;
  background: linear-gradient(145deg, #24ef7c, #10d965);
  box-shadow: 0 10px 30px rgba(18, 224, 108, .12);
  font-size: .65rem;
}

#painel-msg .chat-form > button:not(:disabled):hover { background: #38f38a; transform: translateY(-1px); }
#painel-msg #msg-envio-status { right: 124px; bottom: -13px; }

@media (max-width: 1100px) {
  #painel-msg.chat-painel {
    top: 18px;
    right: 18px;
    width: calc(100vw - 36px);
    height: calc(100dvh - 36px);
    min-height: 0;
    transform: none;
    animation: none;
  }
  #painel-msg .chat-painel-resumo { display: none; }
  #painel-msg .chat-layout { grid-template-columns: 300px minmax(0, 1fr); }
  #painel-msg .chat-conversa-acoes a,
  #painel-msg .chat-conversa-acoes button { padding-inline: 10px; }
  #painel-msg .chat-respostas-rapidas { justify-content: flex-start; }
}

@media (max-width: 768px) {
  #painel-msg.chat-painel {
    inset: 0 !important;
    width: 100vw;
    height: 100dvh;
    grid-template-rows: 66px minmax(0, 1fr);
    border-radius: 0;
  }
  #painel-msg .chat-painel-topo { min-height: 66px; padding: 8px 12px; }
  #painel-msg .chat-painel-marca { width: 38px; height: 44px; }
  #painel-msg .chat-painel-marca svg { width: 34px; height: 39px; }
  #painel-msg .chat-painel-titulo h2 { font-size: 1.05rem; }
  #painel-msg .chat-layout { display: block; height: 100%; }
  #painel-msg .chat-sidebar { padding: 18px 14px 0; }
  #painel-msg .chat-gerenciar { margin-inline: -14px; }
  #painel-msg .chat-conversa-topo { min-height: 76px; padding: 9px 10px; }
  #painel-msg .chat-conversa-escudo { width: 45px; height: 45px; }
  #painel-msg .chat-status-ativo { display: none; }
  #painel-msg .chat-conversa-acoes a,
  #painel-msg .chat-conversa-acoes button {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }
  #painel-msg .chat-conversa-acoes svg { display: block; width: 16px; }
  #painel-msg .chat-conversa-acoes a:not([hidden]):first-of-type { display: inline-flex; }
  #painel-msg .chat-conversa-acoes button { display: inline-flex; }
  #painel-msg .chat-mensagens { padding: 15px 11px; }
  #painel-msg .chat-mensagens-vazio { width: calc(100% - 10px); min-height: 260px; padding: 27px 18px; }
  #painel-msg .chat-mensagens-vazio-icone { width: 64px; height: 64px; margin-bottom: 19px; }
  #painel-msg .chat-mensagens-vazio strong { font-size: 1.35rem; }
  #painel-msg .chat-respostas-rapidas { min-height: 54px; padding: 7px 10px; }
  #painel-msg .chat-respostas-rapidas button { height: 34px; padding: 6px 10px; }
  #painel-msg .chat-composer-wrap { padding: 9px 10px max(12px, env(safe-area-inset-bottom)); }
  #painel-msg .chat-seguranca { padding-bottom: 7px; }
  #painel-msg .chat-form textarea { min-height: 48px; }
  #painel-msg .chat-form > button { width: 50px; min-width: 50px; height: 48px; padding: 0; }
  #painel-msg .chat-form > button span { display: none; }
  #painel-msg #msg-contador { right: 67px; bottom: 17px; }
}
