/* Shared newsletter CTA blocks: square panel + one-liner inline bar.
   Promotes the free "Top 5 Bots for Early Retirement" report. */
.tbe-cta {
  box-sizing: border-box;
  font-family: inherit;
}
.tbe-cta *,
.tbe-cta *::before,
.tbe-cta *::after {
  box-sizing: border-box;
}

/* ---- Square block ---- */
.tbe-cta--square {
  width: 100%;
  padding: 40px 20px;
}
.tbe-cta--square .tbe-cta__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 40px;
  border-radius: 22px;
  background: radial-gradient(120% 140% at 0% 0%, #12261c 0%, #0e1a14 60%);
  border: 1px solid rgba(146, 248, 199, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}
.tbe-cta__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #08130d;
  background: #92f8c7;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.tbe-cta__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 800;
}
.tbe-cta__title span {
  color: #92f8c7;
}
.tbe-cta__sub {
  margin: 0 auto 24px;
  max-width: 560px;
  color: #c7d3cd;
  font-size: 16px;
  line-height: 1.55;
}
.tbe-cta__form {
  margin: 0 auto;
  max-width: 560px;
}
.tbe-cta__row {
  display: flex;
  gap: 10px;
}
.tbe-cta__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 15px;
}
.tbe-cta__input::placeholder {
  color: #8fa39a;
}
.tbe-cta__input:focus {
  outline: none;
  border-color: #92f8c7;
  box-shadow: 0 0 0 3px rgba(146, 248, 199, 0.2);
}
.tbe-cta__btn {
  flex: 0 0 auto;
  height: 52px;
  padding: 0 24px;
  border: none;
  border-radius: 12px;
  background: #92f8c7;
  color: #08130d;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.12s ease,
    background 0.12s ease;
}
.tbe-cta__btn:hover {
  background: #a9ffd6;
}
.tbe-cta__btn:active {
  transform: translateY(1px);
}
.tbe-cta__btn:disabled {
  opacity: 0.7;
  cursor: default;
}
.tbe-cta__error {
  margin: 12px 0 0;
  color: #ff9a9a;
  font-size: 14px;
}
.tbe-cta__fine {
  margin: 14px 0 0;
  color: #8fa39a;
  font-size: 12px;
  line-height: 1.5;
}
.tbe-cta__fine a {
  color: #92f8c7;
  text-decoration: underline;
}
.tbe-cta__done {
  margin: 0;
  color: #92f8c7;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  padding: 8px 0;
}

/* Alt tone variant (near footer / end of blog) */
.tbe-cta--alt .tbe-cta__inner {
  background: radial-gradient(120% 140% at 100% 0%, #1c2438 0%, #0e1320 60%);
  border-color: rgba(146, 248, 199, 0.18);
}

/* ---- One-liner inline bar (MarketBeat-style, dark-theme native) ---- */
.tbe-cta.tbe-cta--bar {
  display: flex;
  align-items: center;
  gap: 16px 20px;
  flex-wrap: wrap;
  width: 100%;
  margin: 32px 0;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(146, 248, 199, 0.25);
  background: #0e1a14;
}
.tbe-cta--bar .tbe-cta__bar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c7d3cd;
  font-size: 15px;
  font-weight: 500;
}
.tbe-cta--bar .tbe-cta__bar-label strong {
  color: #fff;
  font-weight: 700;
}
.tbe-cta--bar .tbe-cta__bar-label svg {
  flex: 0 0 auto;
  color: #92f8c7;
}
.tbe-cta--bar .tbe-cta__form {
  margin: 0 0 0 auto;
  max-width: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tbe-cta--bar .tbe-cta__input {
  height: 44px;
  width: 240px;
  flex: 0 1 240px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.tbe-cta--bar .tbe-cta__input::placeholder {
  color: #8fa39a;
}
.tbe-cta--bar .tbe-cta__input:focus {
  border-color: #92f8c7;
  box-shadow: 0 0 0 3px rgba(146, 248, 199, 0.2);
}
.tbe-cta--bar .tbe-cta__btn {
  height: 44px;
  border-radius: 8px;
  background: #f5c518;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 13px;
}
.tbe-cta--bar .tbe-cta__btn:hover {
  background: #ffd633;
}
.tbe-cta--bar .tbe-cta__error {
  width: 100%;
  margin: 6px 0 0;
  color: #ff9a9a;
}
.tbe-cta--bar .tbe-cta__done {
  text-align: left;
  color: #92f8c7;
  padding: 0;
}

@media (max-width: 640px) {
  .tbe-cta--square {
    padding: 24px 14px;
  }
  .tbe-cta--square .tbe-cta__inner {
    padding: 28px 20px;
  }
  .tbe-cta__title {
    font-size: 26px;
  }
  .tbe-cta__row {
    flex-direction: column;
  }
  .tbe-cta__btn {
    width: 100%;
  }
  .tbe-cta--bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .tbe-cta--bar .tbe-cta__form {
    margin-left: 0;
    width: 100%;
  }
  .tbe-cta--bar .tbe-cta__input {
    flex: 1 1 auto;
    width: auto;
  }
}
