/* Cobrança automática: o fluxo roda sozinho às 9h e a cliente paga pelo WhatsApp. Verde-noite e menta. */
.sc-lembrete {
  --mint: #4fe0a0;
  --muted: #8aa398;
  background:
    radial-gradient(55% 70% at 75% 12%, rgb(56 214 150 / 0.22), transparent 62%),
    radial-gradient(50% 60% at 8% 95%, rgb(20 120 90 / 0.38), transparent 62%),
    #07130f;
  color: #e8f2ec;
}

/* O fluxo, numa tela de pontos como os editores de automação */
.lb-flow {
  position: absolute;
  top: 3.5em;
  left: calc(50% - 31em);
  width: 24em;
  padding: 1.2em;
  border-radius: 1.4em;
  background:
    radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1.5px) 0 0 / 1.2em 1.2em,
    rgb(14 30 24 / 0.78);
  box-shadow: inset 0 0 0 1px rgb(79 224 160 / 0.14), 0 2em 4em -1.5em rgb(0 0 0 / 0.6);
}

.lb-flow__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1em;
}

.lb-flow__head b {
  font-size: 0.92em;
}

.lb-live {
  display: flex;
  align-items: center;
  gap: 0.4em;
  color: var(--mint);
  font-size: 0.72em;
  font-weight: 650;
}

.lb-live i {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0.25em rgb(79 224 160 / 0.2);
}

.lb-nodes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lb-node {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8em;
  padding: 0.75em 0.9em;
  border-radius: 1em;
  background: #12241d;
  box-shadow: 0 0 0 1px rgb(79 224 160 / 0.4), 0 0 1.6em -0.4em rgb(79 224 160 / 0.45);
}

.lb-node__ico {
  display: grid;
  place-items: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.7em;
  background: var(--mint);
  color: #06130e;
}

.lb-node__ico .sc-ico {
  width: 1.2em;
  height: 1.2em;
}

.lb-node__text {
  display: grid;
  line-height: 1.25;
}

.lb-node__text small {
  color: var(--muted);
  font-size: 0.66em;
}

.lb-node__text b {
  font-size: 0.82em;
}

.lb-chip {
  padding: 0.25em 0.6em;
  border-radius: 99em;
  background: rgb(79 224 160 / 0.14);
  color: var(--mint);
  font-size: 0.66em;
  font-weight: 650;
  white-space: nowrap;
}

.lb-link {
  height: 1.4em;
}

.lb-link i {
  display: block;
  width: 2px;
  height: 100%;
  margin-left: calc(2.1em - 1px);
  background: linear-gradient(var(--mint), rgb(79 224 160 / 0.3));
}

/* O celular da cliente */
.lb-phone {
  top: 1.5em;
  left: calc(50% + 1.5em);
}

.lb-screen {
  display: flex;
  flex-direction: column;
  padding: 0 1em;
  background:
    radial-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1.5px) 0 0 / 1.3em 1.3em,
    #0b1512;
}

.lb-head {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.7em 0 0.8em;
  border-bottom: 1px solid rgb(255 255 255 / 0.07);
}

.lb-head > .sc-ico {
  width: 1.2em;
  height: 1.2em;
  color: var(--mint);
}

.lb-head > span:last-child {
  display: grid;
  line-height: 1.2;
}

.lb-head b {
  font-size: 0.85em;
}

.lb-head small {
  color: var(--muted);
  font-size: 0.64em;
}

.lb-thread {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  padding: 0.8em 0;
  font-size: 0.78em;
}

.lb-day {
  align-self: center;
  padding: 0.25em 0.8em;
  border-radius: 99em;
  background: rgb(255 255 255 / 0.08);
  color: var(--muted);
  font-size: 0.85em;
}

.lb-msg {
  max-width: 84%;
  padding: 0.6em 0.75em 0.45em;
  border-radius: 1em;
  line-height: 1.35;
}

.lb-msg time {
  display: block;
  margin-top: 0.2em;
  color: rgb(255 255 255 / 0.5);
  font-size: 0.72em;
  text-align: right;
}

.lb-in {
  align-self: flex-start;
  border-top-left-radius: 0.3em;
  background: #1b2a24;
}

.lb-out {
  align-self: flex-end;
  border-top-right-radius: 0.3em;
  background: #1d7a57;
}

.lb-ticks {
  color: #8ff0c6;
  font-style: normal;
  letter-spacing: -0.25em;
}

.lb-pix__label {
  display: flex;
  align-items: center;
  gap: 0.4em;
  color: var(--mint);
  font-weight: 650;
}

.lb-pix code {
  display: block;
  margin-top: 0.45em;
  padding: 0.45em 0.55em;
  overflow: hidden;
  border-radius: 0.5em;
  background: rgb(0 0 0 / 0.28);
  color: #cfe9dc;
  font-family: var(--mono);
  font-size: 0.78em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lb-pix__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  margin-top: 0.5em;
  padding: 0.5em;
  border-radius: 0.6em;
  background: rgb(79 224 160 / 0.14);
  color: var(--mint);
  font-weight: 650;
}

.lb-typing {
  display: flex;
  gap: 0.3em;
  padding: 0.8em 0.9em;
}

.lb-typing i {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--muted);
  animation: lb-dot 1s ease-in-out infinite;
}

.lb-typing i:nth-child(2) { animation-delay: 0.15s; }
.lb-typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes lb-dot {
  0%, 60%, 100% { transform: none; opacity: 0.5; }
  30% { transform: translateY(-0.3em); opacity: 1; }
}

.lb-receipt {
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.lb-receipt > .sc-ico {
  width: 1.9em;
  height: 1.9em;
  padding: 0.4em;
  border-radius: 50%;
  background: var(--mint);
  color: #06130e;
  stroke-width: 3;
}

.lb-receipt span {
  display: grid;
  line-height: 1.3;
}

.lb-compose {
  position: absolute;
  right: 1em;
  bottom: 1em;
  left: 1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75em 1em;
  border-radius: 99em;
  background: #16231e;
  color: var(--muted);
  font-size: 0.78em;
}

.lb-compose .sc-ico {
  color: var(--mint);
}

.lb-notif {
  top: 30em;
  left: calc(50% - 30em);
  width: 21em;
}

.lb-notif .sc-notif__icon {
  background: var(--mint);
  color: #06130e;
}

@container film (max-width: 560px) {
  .sc-lembrete {
    font-size: 2.6cqw;
  }

  .lb-flow {
    display: none;
  }

  .lb-phone {
    top: 2em;
    left: calc(50% - 8.75em);
  }

  .lb-notif {
    top: 39.2em;
    left: calc(50% - 10em);
    width: 20em;
  }
}
