/*
 * BOLEPIX — TESTE GRÁTIS TOPO + WHATSAPP SEM PULO V5697Q
 */

/* Teste Grátis: topo igual ao Login */
.auth-landing .auth-card:has(#reg) {
  padding: 0 32px 32px !important;
  overflow: hidden !important;
}

.auth-landing .auth-card:has(#reg) > h1 {
  width: auto !important;
  margin: 0 -32px 22px !important;
  padding: 18px 32px !important;
  border-radius: 23px 23px 0 0 !important;
  box-sizing: border-box !important;
}

.auth-landing .auth-card:has(#reg) > .muted {
  margin-top: 0 !important;
}

/* WhatsApp: nasce no canto direito sem passar pelo centro */
.bp-wa-v5693a-overlay {
  position: fixed !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  right: 18px !important;
  bottom: 82px !important;
  width: min(360px, calc(100vw - 36px)) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100vh - 106px) !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
  pointer-events: none !important;
  transform: none !important;
  translate: none !important;
  animation: none !important;
  transition: none !important;
}

.bp-wa-v5693a-overlay > .bp-wa-v5693a-card {
  width: 100% !important;
  max-width: 100% !important;
  max-height: calc(100vh - 106px) !important;
  margin: 0 !important;
  pointer-events: auto !important;
  transform: none !important;
  translate: none !important;
  animation: none !important;
  transition: none !important;
}

.bp-wa-v5693a-overlay[data-position="left"] {
  left: 18px !important;
  right: auto !important;
}

.bp-wa-v5693a-overlay[data-position="right"] {
  left: auto !important;
  right: 18px !important;
}

@media (max-width: 720px) {
  .bp-wa-v5693a-overlay {
    left: 10px !important;
    right: 10px !important;
    bottom: 76px !important;
    width: auto !important;
    max-height: calc(100vh - 96px) !important;
  }

  .bp-wa-v5693a-overlay > .bp-wa-v5693a-card {
    max-height: calc(100vh - 96px) !important;
  }
}

@media (max-width: 520px) {
  .auth-landing .auth-card:has(#reg) {
    padding: 0 18px 22px !important;
  }

  .auth-landing .auth-card:has(#reg) > h1 {
    margin: 0 -18px 20px !important;
    padding: 17px 18px !important;
    border-radius: 19px 19px 0 0 !important;
  }
}
