/* Split login — layout Sync Pay, arte Bruno Bet à esquerda */
.bb-auth {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  background: #fff;
  font-family: Inter, system-ui, sans-serif;
  overflow: hidden;
}
.bb-auth-left {
  flex: 1.15 1 0%;
  min-width: 0;
  position: relative;
  background: #000;
  overflow: hidden;
  align-self: stretch;
  min-height: 100%;
}
.bb-auth-left img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Preenche o painel cortando o excesso — sem zoom além do tamanho do arquivo. */
  object-fit: cover;
  object-position: center center;
  display: block;
}
.bb-auth-right {
  flex: 1 1 0%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 16px;
  min-width: 0;
  background: #fff;
  overflow-y: auto;
}
@media (max-width: 992px) {
  .bb-auth {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow: auto;
  }
  .bb-auth-left {
    display: none !important;
  }
  .bb-auth-right {
    flex: 1 1 auto;
    min-height: 100vh;
    width: 100%;
  }
  /* iOS Safari dá zoom em inputs com font-size < 16px */
  .bb-input-wrap input {
    font-size: 16px;
  }
}
.bb-auth-card {
  width: 100%;
  max-width: 314px;
  text-align: center;
}
.bb-auth-card:has(.bb-subscribe-expanded) {
  max-width: 520px;
}
.bb-auth-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 26px;
}
.bb-auth-welcome img {
  display: block;
  height: 92px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.bb-auth-welcome h1 {
  color: #191f2d;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
.bb-auth-welcome p {
  color: rgba(25, 31, 45, 0.6);
  font-size: 14px;
  margin: 0;
}
.bb-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  margin-bottom: 20px;
  text-align: left;
}
.bb-field:nth-of-type(2) {
  margin-bottom: 8px;
}
.bb-field label {
  font-size: 10px;
  line-height: 14px;
  font-weight: 600;
  color: #1b1d1c;
}
.bb-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.bb-input-wrap .bb-ico {
  position: absolute;
  left: 12px;
  color: #999;
  display: flex;
  pointer-events: none;
}
.bb-input-wrap input {
  width: 100%;
  height: 40px;
  padding: 12px 36px 12px 36px;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  color: #1b1d1c;
  background: #fff;
  border: 1px solid rgba(27, 29, 28, 0.1);
  transition: 0.2s;
}
.bb-input-wrap input::placeholder {
  color: #9ca3af;
}
.bb-input-wrap input:focus {
  border-color: #d4af37;
}
.bb-eye {
  position: absolute;
  right: 12px;
  background: none;
  border: 0;
  color: #999;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}
.bb-forgot {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  background: none;
  border: 0;
  font-size: 10px;
  font-weight: 500;
  color: #e8c547;
  text-decoration: none;
  margin-bottom: 20px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.bb-forgot:hover {
  text-decoration: underline;
}
.bb-submit {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: #e8c547;
  color: #111;
  cursor: pointer;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}
.bb-submit:hover {
  background: #e0c04a;
}
.bb-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.bb-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9ca3af;
  font-size: 12px;
  margin: 0 0 14px;
}
.bb-divider:before,
.bb-divider:after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(27, 29, 28, 0.12);
}
.bb-google {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(27, 29, 28, 0.12);
  background: #fff;
  color: #1b1d1c;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
}
.bb-google:hover {
  background: #f7f7f8;
}
.bb-create {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 500;
  color: #1b1d1c;
}
.bb-create p {
  margin: 0;
}
.bb-create button {
  background: none;
  border: 0;
  color: #e8c547;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}
.bb-create button:hover {
  text-decoration: underline;
}
.bb-subscribe {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.bb-subscribe-lead {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(25, 31, 45, 0.65);
  text-align: center;
}
.bb-plans {
  display: flex;
  gap: 6px;
  width: 100%;
}
.bb-plan-tab {
  flex: 1;
  padding: 8px 4px;
  border-radius: 8px;
  border: 1px solid rgba(27, 29, 28, 0.12);
  background: #f7f7f8;
  color: #1b1d1c;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: 0.15s;
}
.bb-plan-tab:hover {
  border-color: rgba(212, 175, 55, 0.45);
}
.bb-plan-tab.is-active {
  background: rgba(232, 197, 71, 0.18);
  border-color: #e8c547;
  color: #111;
}
.bb-subscribe-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  color: #111;
  background: linear-gradient(135deg, #f5d547 0%, #e8a317 100%);
  box-shadow: 0 4px 18px rgba(232, 163, 23, 0.35);
  transition: 0.15s;
}
.bb-subscribe-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 22px rgba(232, 163, 23, 0.45);
}

/* 2 cards no login — Mensal / 3 Meses */
.bb-subscribe-expanded {
  margin-top: 8px;
  gap: 14px;
}
.bb-plans-header {
  text-align: center;
  margin-bottom: 4px;
}
.bb-plans-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #191f2d;
}
.bb-plans-sub {
  margin: 4px 0 0;
  font-size: 11px;
  color: rgba(25, 31, 45, 0.6);
}
.bb-plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
@media (max-width: 520px) {
  .bb-plans-grid {
    grid-template-columns: 1fr;
  }
}
.bb-plan-card {
  position: relative;
  border: 1px solid rgba(27, 29, 28, 0.12);
  border-radius: 12px;
  padding: 12px 10px 10px;
  background: #fafafa;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 100%;
}
.bb-plan-card.has-badge {
  border-color: rgba(232, 197, 71, 0.55);
  box-shadow: 0 4px 16px rgba(232, 163, 23, 0.12);
}
.bb-plan-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f5d547 0%, #e8a317 100%);
  color: #111;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.bb-plan-name {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #191f2d;
}
.bb-plan-price {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}
.bb-plan-note {
  margin: 0;
  font-size: 9px;
  line-height: 1.35;
  color: rgba(25, 31, 45, 0.55);
  flex: 1;
}
.bb-plan-cta {
  margin-top: auto;
  padding: 10px 8px;
  font-size: 11px;
  letter-spacing: 0.03em;
}
.bb-plans-foot {
  margin: 0;
  font-size: 10px;
  text-align: center;
  color: rgba(25, 31, 45, 0.5);
}
.bb-subscribe-expanded .bb-plan-card {
  background: #141418;
  border: 2px solid #2d2d30;
  border-radius: 16px;
  padding: 22px 14px 14px;
}
.bb-subscribe-expanded .bb-plan-card.has-badge {
  border-color: rgba(232, 197, 71, 0.5);
  box-shadow: 0 0 24px rgba(232, 197, 71, 0.12);
}
.bb-subscribe-expanded .bb-plan-name {
  color: #fff;
  font-size: 16px;
  margin-top: 4px;
}
.bb-subscribe-expanded .bb-plan-note {
  color: #a1a1aa;
  font-size: 12px;
  line-height: 1.4;
}
.bb-subscribe-expanded .bb-plan-cta {
  margin-top: 8px;
  font-size: 12px;
  padding: 12px 10px;
}
.bb-subscribe-expanded .bb-plans-foot {
  font-size: 11px;
  color: rgba(25, 31, 45, 0.55);
}

/* Página pública /gerenciar-assinatura (sem login) */
.bb-public-plans-page {
  min-height: 100vh;
  background: #0d0d0f;
}
.bb-public-plans-wrap {
  min-height: 100vh;
  padding: 32px 16px 48px;
  background: #0d0d0f;
}
.bb-public-plans-inner {
  max-width: 960px;
  margin: 0 auto;
}
.bb-public-back {
  display: inline-block;
  margin-bottom: 20px;
  color: #a1a1aa;
  font-size: 13px;
  text-decoration: none;
}
.bb-public-back:hover {
  color: #e8c547;
}
.bb-plans-dark .bb-plans-title {
  color: #fff;
  font-size: 24px;
}
.bb-plans-dark .bb-plans-sub {
  color: #a1a1aa;
  font-size: 14px;
}
.bb-plans-dark .bb-plans-grid {
  gap: 16px;
  margin-top: 24px;
}
.bb-plans-dark .bb-plan-card {
  background: #141418;
  border: 2px solid #2d2d30;
  padding: 24px 16px 16px;
}
.bb-plans-dark .bb-plan-card.has-badge {
  border-color: rgba(232, 197, 71, 0.45);
  box-shadow: 0 0 32px rgba(232, 197, 71, 0.12);
}
.bb-plans-dark .bb-plan-name {
  color: #fff;
  font-size: 18px;
}
.bb-plans-dark .bb-plan-price {
  color: #e8c547;
  font-size: 22px;
}
.bb-plans-dark .bb-plan-note {
  color: #71717a;
  font-size: 12px;
}
.bb-plans-dark .bb-plans-foot {
  color: #52525b;
  margin-top: 24px;
  font-size: 12px;
}
.bb-plans-dark .bb-plan-cta {
  font-size: 13px;
  padding: 12px 16px;
}
.bb-alert {
  margin-bottom: 14px;
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  text-align: left;
}
.bb-alert.err {
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
}
.bb-alert.warn {
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.1);
  color: #92400e;
}
