/* ═══════════════════════════════════════════════════════════════
   FORTHEWIN — Chat Interface CSS
   VERSÃO OTIMIZADA
   ═══════════════════════════════════════════════════════════════ */

@import url('./components.css');


/* ═══════════════════════════════════════════════════════════════
   FALLBACKS / RESET
   ═══════════════════════════════════════════════════════════════ */

:root {
  --color-black: #000000;
  --color-white: #ffffff;

  --color-apple-black: #1d1d1f;
  --color-apple-gray-100: #f5f5f7;
  --color-apple-gray-300: #a1a1a6;

  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;

  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --transition-fast: 160ms ease;
}


* {
  box-sizing: border-box;
}


html,
body {
  margin: 0;
  padding: 0;

  width: 100%;
  min-height: 100%;
}


body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  background: #000000;
}


a {
  color: inherit;
  text-decoration: none;
}


button,
input {
  font: inherit;
}


button {
  border: 0;
}


/* ═══════════════════════════════════════════════════════════════
   ANIMAÇÃO GERAL
   ═══════════════════════════════════════════════════════════════ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

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


/* ═══════════════════════════════════════════════════════════════
   LAYOUT DO CHAT
   ═══════════════════════════════════════════════════════════════ */

.chat-page {
  min-height: 100vh;

  display: flex;
  flex-direction: column;

  position: relative;

  background-color: var(--color-black);
  color: var(--color-white);

  overflow: hidden;
}


/* ═══════════════════════════════════════════════════════════════
   BACKGROUND OTIMIZADO
   ═══════════════════════════════════════════════════════════════ */

.chat-bg {
  position: absolute;

  inset: 0;

  z-index: 0;

  pointer-events: none;

  overflow: hidden;
}


.chat-bg__image {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  background-image:
    url('../../assets/images/forthewin-chat-bg.png');

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  /* removido blur pesado */
  filter: brightness(0.72);

  opacity: 0.90;

  transform: translateZ(0);
}


.chat-bg__vignette {
  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0.16) 58%,
      rgba(0, 0, 0, 0.48) 100%
    );
}


.chat-bg__overlay {
  position: absolute;

  inset: 0;

  background-color:
    rgba(0, 0, 0, 0.12);

  /* removido backdrop-filter */
}


/* ═══════════════════════════════════════════════════════════════
   CONTAINER PRINCIPAL OTIMIZADO
   ═══════════════════════════════════════════════════════════════ */

.chat-container {
  position: relative;

  z-index: 10;

  display: flex;
  flex-direction: column;

  width: 100%;
  max-width: 860px;

  height: 100vh;

  margin: 0 auto;

  background-color:
    rgba(18, 18, 20, 0.90);

  /* sombra reduzida */
  box-shadow:
    0 0 36px
    rgba(0, 0, 0, 0.55);

  /* removidos blur e saturate pesados */

  border-left:
    1px solid
    rgba(255, 255, 255, 0.06);

  border-right:
    1px solid
    rgba(255, 255, 255, 0.06);
}


/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */

.chat-header {
  display: flex;

  align-items: center;

  justify-content:
    space-between;

  padding:
    16px 24px;

  background-color:
    rgba(26, 26, 28, 0.97);

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.08);

  /* removido backdrop-filter */
}


.chat-header__left {
  display: flex;

  align-items: center;

  gap:
    var(--space-4);
}


.chat-header__back {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 36px;
  height: 36px;

  border-radius:
    var(--radius-pill);

  background-color:
    rgba(255, 255, 255, 0.08);

  color:
    var(--color-white);

  transition:
    background-color var(--transition-fast),
    transform var(--transition-fast);

  will-change: transform;
}


.chat-header__back:hover {
  background-color:
    rgba(255, 255, 255, 0.16);

  transform:
    scale(1.04);
}


.chat-header__avatar {
  width: 40px;
  height: 40px;

  border-radius:
    var(--radius-pill);

  background-color:
    var(--color-white);

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 900;
  font-size: 11px;

  color:
    var(--color-black);

  letter-spacing:
    0.05em;

  box-shadow:
    0 2px 6px
    rgba(255, 255, 255, 0.14);
}


.chat-header__info {
  display: flex;

  flex-direction: column;
}


.chat-header__title {
  font-size: 16px;

  font-weight: 800;

  color:
    var(--color-white);

  letter-spacing:
    0.04em;
}


.chat-header__subtitle {
  font-size: 12px;

  color:
    var(--color-apple-gray-300);

  display: flex;

  align-items: center;

  gap: 6px;
}


.status-dot {
  display: inline-block;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background-color:
    #34C759;

  box-shadow:
    0 0 6px
    rgba(52, 199, 89, 0.55);
}


/* ═══════════════════════════════════════════════════════════════
   CORPO DO CHAT
   ═══════════════════════════════════════════════════════════════ */

.chat-body {
  flex: 1;

  overflow-y: auto;
  overflow-x: hidden;

  padding:
    var(--space-8);

  display: flex;

  flex-direction: column;

  gap:
    var(--space-6);

  /* removido scroll-behavior smooth */
  scroll-behavior: auto;

  contain: layout paint;
}


/* scrollbar mais simples */
.chat-body::-webkit-scrollbar {
  width: 8px;
}


.chat-body::-webkit-scrollbar-track {
  background:
    rgba(255, 255, 255, 0.03);
}


.chat-body::-webkit-scrollbar-thumb {
  background:
    rgba(255, 255, 255, 0.22);

  border-radius:
    999px;
}


/* ═══════════════════════════════════════════════════════════════
   MENSAGENS
   ═══════════════════════════════════════════════════════════════ */

.message {
  display: flex;

  gap:
    var(--space-3);

  max-width: 84%;

  animation:
    fadeInUp
    160ms
    ease-out
    forwards;
}


.message--ai {
  align-self:
    flex-start;
}


.message--user {
  align-self:
    flex-end;

  flex-direction:
    row-reverse;
}


.message__avatar {
  width: 32px;
  height: 32px;

  border-radius:
    var(--radius-pill);

  background-color:
    var(--color-white);

  color:
    var(--color-black);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 10px;

  font-weight: 900;

  flex-shrink: 0;
}


.message--user
.message__avatar {
  background-color:
    rgba(255, 255, 255, 0.15);

  color:
    var(--color-white);
}


.message__content {
  display: flex;

  flex-direction: column;

  gap:
    var(--space-2);
}


.message__bubble {
  padding:
    14px 18px;

  border-radius:
    var(--radius-lg);

  font-size: 14px;

  line-height: 1.55;

  letter-spacing:
    -0.01em;
}


.message--ai
.message__bubble {
  background-color:
    rgba(38, 38, 42, 0.96);

  color:
    #F5F5F7;

  border-top-left-radius:
    4px;

  border:
    1px solid
    rgba(255, 255, 255, 0.07);
}


.message--user
.message__bubble {
  background-color:
    var(--color-white);

  color:
    var(--color-apple-black);

  border-top-right-radius:
    4px;

  font-weight:
    500;
}


.message__time {
  font-size: 10px;

  color:
    var(--color-apple-gray-300);

  align-self:
    flex-end;

  padding:
    0 4px;
}


.message--user
.message__time {
  align-self:
    flex-start;
}


/* ═══════════════════════════════════════════════════════════════
   DIGITANDO
   ═══════════════════════════════════════════════════════════════ */

.typing-indicator {
  display: flex;

  align-items: center;

  gap: 5px;

  padding:
    12px 18px;

  background-color:
    rgba(38, 38, 42, 0.96);

  border-radius:
    var(--radius-lg);

  border-top-left-radius:
    4px;

  width:
    fit-content;

  border:
    1px solid
    rgba(255, 255, 255, 0.07);
}


.typing-dot {
  width: 6px;
  height: 6px;

  border-radius:
    50%;

  background-color:
    var(--color-apple-gray-300);

  animation:
    typing
    1.1s
    infinite
    ease-in-out;
}


.typing-dot:nth-child(1) {
  animation-delay:
    0s;
}


.typing-dot:nth-child(2) {
  animation-delay:
    0.15s;
}


.typing-dot:nth-child(3) {
  animation-delay:
    0.30s;
}


@keyframes typing {
  0%,
  60%,
  100% {
    transform:
      translateY(0);
  }

  30% {
    transform:
      translateY(-4px);
  }
}


/* ═══════════════════════════════════════════════════════════════
   OPÇÕES
   ═══════════════════════════════════════════════════════════════ */

.chat-options {
  display: flex;

  flex-direction: column;

  gap: 8px;

  margin-top:
    10px;

  width:
    100%;
}


.option-btn {
  width:
    100%;

  text-align:
    left;

  padding:
    12px 20px;

  background-color:
    rgba(255, 255, 255, 0.06);

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  border-radius:
    var(--radius-pill);

  color:
    var(--color-white);

  font-size:
    14px;

  font-weight:
    500;

  letter-spacing:
    -0.01em;

  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);

  cursor:
    pointer;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  will-change: transform;
}


.option-btn:hover {
  background-color:
    var(--color-white);

  color:
    var(--color-apple-black);

  border-color:
    var(--color-white);

  transform:
    scale(1.01);
}


.option-btn::after {
  content:
    '→';

  font-size:
    15px;

  opacity:
    0.7;
}


/* ═══════════════════════════════════════════════════════════════
   CARD FINAL
   ═══════════════════════════════════════════════════════════════ */

.sales-card {
  position:
    relative;

  margin-top:
    16px;

  padding:
    28px;

  background:
    rgba(30, 30, 34, 0.98);

  border:
    1px solid
    rgba(255, 255, 255, 0.15);

  border-radius:
    var(--radius-xl);

  display:
    flex;

  flex-direction:
    column;

  gap:
    16px;

  box-shadow:
    0 10px 26px
    rgba(0, 0, 0, 0.44);

  /* removido blur do card */

  overflow:
    visible;
}


.sales-card__badge {
  font-size:
    11px;

  font-weight:
    800;

  letter-spacing:
    0.18em;

  color:
    var(--color-apple-gray-300);

  text-transform:
    uppercase;
}


.sales-card__title {
  font-size:
    1.35rem;

  font-weight:
    800;

  color:
    var(--color-white);

  line-height:
    1.25;

  letter-spacing:
    -0.02em;
}


.sales-card__desc {
  font-size:
    14px;

  color:
    var(--color-apple-gray-100);

  line-height:
    1.6;
}


/* ═══════════════════════════════════════════════════════════════
   ÁREA DO CTA
   ═══════════════════════════════════════════════════════════════ */

.sales-card__action {
  position:
    relative;

  width:
    100%;

  margin-top:
    4px;

  padding:
    42px 0 50px;

  perspective:
    900px;

  transform-style:
    preserve-3d;

  isolation:
    isolate;
}


/* ═══════════════════════════════════════════════════════════════
   BOTÃO PRETO OTIMIZADO
   ═══════════════════════════════════════════════════════════════ */

.sales-card__btn,
.sales-card__btn--black {
  position:
    relative;

  width:
    100%;

  min-height:
    82px;

  box-sizing:
    border-box;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    18px;

  padding:
    10px 14px
    10px 24px;

  background:
    linear-gradient(
      180deg,
      #151517 0%,
      #080809 48%,
      #020203 100%
    );

  color:
    #ffffff;

  border:
    2px solid
    rgba(255, 255, 255, 0.92);

  border-radius:
    var(--radius-pill);

  text-decoration:
    none;

  overflow:
    hidden;

  z-index:
    20;

  box-shadow:
    0 0 0 2px rgba(255,255,255,.10),
    0 0 9px rgba(255,255,255,.14),
    0 12px 26px rgba(0,0,0,.50);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;

  will-change:
    transform;
}


.sales-card__btn--black::before {
  content:
    "";

  position:
    absolute;

  top:
    0;

  left:
    -45%;

  width:
    30%;

  height:
    100%;

  background:
    linear-gradient(
      110deg,
      transparent,
      rgba(255,255,255,.05),
      rgba(255,255,255,.42),
      rgba(255,255,255,.08),
      transparent
    );

  transform:
    skewX(-25deg);

  pointer-events:
    none;

  z-index:
    2;
}


.sales-card__action:hover
.sales-card__btn--black {
  transform:
    translateY(-2px)
    scale(1.008);

  border-color:
    #ffffff;

  box-shadow:
    0 0 0 2px rgba(255,255,255,.18),
    0 0 18px rgba(255,255,255,.34),
    0 0 34px rgba(255,255,255,.16),
    0 14px 28px rgba(0,0,0,.54);
}


.sales-card__action:hover
.sales-card__btn--black::before {
  animation:
    ftwButtonShine
    1.1s
    ease;
}


@keyframes ftwButtonShine {
  from {
    left:
      -45%;
  }

  to {
    left:
      130%;
  }
}


/* ═══════════════════════════════════════════════════════════════
   TEXTO DO BOTÃO
   ═══════════════════════════════════════════════════════════════ */

.sales-card__btn-text {
  position:
    relative;

  flex:
    1;

  color:
    #ffffff;

  text-align:
    center;

  font-size:
    clamp(12px, 1.45vw, 16px);

  font-weight:
    900;

  letter-spacing:
    .02em;

  line-height:
    1.2;

  text-transform:
    uppercase;

  text-shadow:
    0 1px 2px
    rgba(0,0,0,.75);

  z-index:
    5;
}


/* ═══════════════════════════════════════════════════════════════
   DIVISOR
   ═══════════════════════════════════════════════════════════════ */

.ftw-cta-divider {
  position:
    relative;

  width:
    1px;

  height:
    50px;

  flex-shrink:
    0;

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(255,255,255,.85),
      transparent
    );

  z-index:
    5;
}


/* ═══════════════════════════════════════════════════════════════
   GRÁFICOS OTIMIZADOS
   ═══════════════════════════════════════════════════════════════ */

.ftw-growth {
  position:
    relative;

  width:
    64px;

  height:
    64px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  flex-shrink:
    0;

  z-index:
    5;
}


.ftw-growth--right {
  width:
    49px;

  height:
    49px;
}


.ftw-growth svg {
  width:
    100%;

  height:
    100%;

  overflow:
    visible;
}


.ftw-growth__bar {
  transform-box:
    fill-box;

  transform-origin:
    bottom;

  /* removido drop-shadow */
}


.ftw-growth__bar--1 {
  fill:
    #55555a;
}


.ftw-growth__bar--2 {
  fill:
    #9d9da3;
}


.ftw-growth__bar--3 {
  fill:
    #eeeeef;
}


.ftw-growth__line,
.ftw-growth__arrow {
  fill:
    none;

  stroke:
    #ff2828;

  stroke-width:
    5;

  stroke-linecap:
    round;

  stroke-linejoin:
    round;

  /* removido filter */
}


.sales-card__action:hover
.ftw-growth__bar--1 {
  animation:
    ftwBar1
    .75s
    ease-in-out
    infinite
    alternate;
}


.sales-card__action:hover
.ftw-growth__bar--2 {
  animation:
    ftwBar2
    .85s
    ease-in-out
    infinite
    alternate;
}


.sales-card__action:hover
.ftw-growth__bar--3 {
  animation:
    ftwBar3
    .95s
    ease-in-out
    infinite
    alternate;
}


@keyframes ftwBar1 {
  from {
    transform:
      scaleY(.62);
  }

  to {
    transform:
      scaleY(1);
  }
}


@keyframes ftwBar2 {
  from {
    transform:
      scaleY(.70);
  }

  to {
    transform:
      scaleY(1);
  }
}


@keyframes ftwBar3 {
  from {
    transform:
      scaleY(.78);
  }

  to {
    transform:
      scaleY(1);
  }
}


/* ═══════════════════════════════════════════════════════════════
   SETA
   ═══════════════════════════════════════════════════════════════ */

.ftw-cta-arrow {
  position:
    relative;

  width:
    60px;

  height:
    60px;

  flex-shrink:
    0;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    50%;

  color:
    #ffffff;

  background:
    radial-gradient(
      circle at 35% 25%,
      #1c1c20,
      #020203 70%
    );

  border:
    2px solid
    rgba(255,255,255,.94);

  box-shadow:
    0 0 7px rgba(255,255,255,.18);

  z-index:
    7;

  transition:
    transform .20s ease,
    box-shadow .20s ease;

  will-change:
    transform;
}


.ftw-cta-arrow svg {
  width:
    26px;

  height:
    26px;
}


.sales-card__action:hover
.ftw-cta-arrow {
  transform:
    translateX(3px)
    scale(1.03);

  box-shadow:
    0 0 10px rgba(255,255,255,.24);
}


.sales-card__action:hover
.ftw-cta-arrow svg {
  animation:
    ftwArrow
    .7s
    ease-in-out
    infinite
    alternate;
}


@keyframes ftwArrow {
  from {
    transform:
      translateX(-1px);
  }

  to {
    transform:
      translateX(3px);
  }
}


/* ═══════════════════════════════════════════════════════════════
   MOEDAS DESATIVADAS
   Mantém o HTML existente oculto sem afetar o layout.
   ═══════════════════════════════════════════════════════════════ */

.ftw-coins {
  display: none !important;
}


/* ═══════════════════════════════════════════════════════════════
   BRILHOS DO BOTÃO — RESTAURADOS
   ═══════════════════════════════════════════════════════════════ */

.ftw-flare {
  position: absolute;

  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: #ffffff;

  opacity: 0;

  pointer-events: none;

  z-index: 30;

  box-shadow:
    0 0 5px 2px rgba(255,255,255,.95),
    0 0 16px 5px rgba(255,255,255,.35);
}


.ftw-flare::before,
.ftw-flare::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  background: rgba(255,255,255,.80);

  transform: translate(-50%, -50%);
}


.ftw-flare::before {
  width: 28px;
  height: 1px;
}


.ftw-flare::after {
  width: 1px;
  height: 28px;
}


.ftw-flare--1 {
  left: 4%;
  top: 41%;
}


.ftw-flare--2 {
  right: 3%;
  top: 18%;
}


.ftw-flare--3 {
  right: 13%;
  bottom: 18%;
}


.sales-card__action:hover
.ftw-flare {
  animation:
    ftwFlareAnimation
    1.35s
    ease-in-out
    infinite
    alternate;
}


.sales-card__action:hover
.ftw-flare--2 {
  animation-delay: -.45s;
}


.sales-card__action:hover
.ftw-flare--3 {
  animation-delay: -.9s;
}


@keyframes ftwFlareAnimation {
  from {
    opacity: .12;

    transform: scale(.45) rotate(0deg);
  }

  to {
    opacity: .95;

    transform: scale(1.25) rotate(45deg);
  }
}


/* ═══════════════════════════════════════════════════════════════
   CLIQUE
   ═══════════════════════════════════════════════════════════════ */

.sales-card__btn--black:active {
  transform:
    translateY(0)
    scale(.99);
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER OTIMIZADO
   ═══════════════════════════════════════════════════════════════ */

.chat-footer {
  padding:
    16px 24px;

  background-color:
    rgba(26, 26, 28, 0.97);

  border-top:
    1px solid
    rgba(255, 255, 255, 0.08);

  /* removido backdrop-filter */
}


.chat-input-form {
  display:
    flex;

  gap:
    12px;

  align-items:
    center;
}


.chat-input {
  flex:
    1;

  min-width:
    0;

  padding:
    12px 22px;

  background-color:
    rgba(45, 45, 50, 0.82);

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  border-radius:
    var(--radius-pill);

  color:
    var(--color-white);

  font-family:
    inherit;

  font-size:
    14px;

  outline:
    none;

  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast);
}


.chat-input:focus {
  border-color:
    var(--color-white);

  background-color:
    rgba(55, 55, 60, 0.92);
}


.chat-input::placeholder {
  color:
    var(--color-apple-gray-300);
}


.chat-send-btn {
  width:
    40px;

  height:
    40px;

  border-radius:
    var(--radius-pill);

  background-color:
    var(--color-white);

  color:
    var(--color-apple-black);

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  flex-shrink:
    0;

  cursor:
    pointer;

  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast);

  will-change:
    transform;
}


.chat-send-btn:hover {
  transform:
    scale(1.04);

  background-color:
    #F5F5F7;
}


.chat-send-btn:disabled {
  opacity:
    0.3;

  cursor:
    not-allowed;

  transform:
    none;
}


/* ═══════════════════════════════════════════════════════════════
   TABLET
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 700px) {

  .chat-body {
    padding:
      22px;
  }


  .sales-card {
    padding:
      22px;
  }


  .sales-card__action {
    padding:
      36px 0 42px;
  }


  .sales-card__btn,
  .sales-card__btn--black {
    min-height:
      70px;

    gap:
      9px;

    padding:
      8px 10px
      8px 14px;
  }


  .ftw-growth {
    width:
      48px;

    height:
      48px;
  }


  .ftw-growth--right {
    width:
      38px;

    height:
      38px;
  }


  .ftw-cta-divider {
    height:
      37px;
  }


  .sales-card__btn-text {
    font-size:
      11px;
  }


  .ftw-cta-arrow {
    width:
      47px;

    height:
      47px;
  }


  .ftw-cta-arrow svg {
    width:
      21px;

    height:
      21px;
  }


}


/* ═══════════════════════════════════════════════════════════════
   CELULAR
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 500px) {

  .chat-header {
    padding:
      12px 14px;
  }


  .chat-body {
    padding:
      16px;
  }


  .sales-card {
    padding:
      18px;
  }


  .sales-card__action {
    padding:
      30px 0 36px;
  }


  .sales-card__btn,
  .sales-card__btn--black {
    min-height:
      64px;

    gap:
      7px;

    padding:
      7px 8px
      7px 11px;
  }


  .ftw-growth {
    width:
      40px;

    height:
      40px;
  }


  .ftw-growth--right {
    display:
      none;
  }


  .ftw-cta-divider {
    height:
      31px;
  }


  .sales-card__btn-text {
    font-size:
      9px;

    letter-spacing:
      0;
  }


  .ftw-cta-arrow {
    width:
      41px;

    height:
      41px;
  }


  .ftw-cta-arrow svg {
    width:
      19px;

    height:
      19px;
  }


}
/* =========================================================
   CURSOR DE BLOQUEIO NO CHAT
   ========================================================= */

#chatInput:disabled {
  cursor: not-allowed !important;
  pointer-events: auto;
}

/* Botão de enviar bloqueado */
#chatForm button:disabled {
  cursor: not-allowed !important;
  pointer-events: auto;
}

/* Caso seja input submit */
#chatForm input[type="submit"]:disabled {
  cursor: not-allowed !important;
  pointer-events: auto;
}
#chatInput:disabled {
  cursor: not-allowed !important;
  pointer-events: auto;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

#chatInput:disabled:hover {
  opacity: 0.75;
  filter: brightness(0.85);
}