/*
 * LOTOFACIL_PWA_CONNECTION_EXIT_GUARD_V3443
 * Aviso offline e confirmação de saída do PWA.
 */

body.lf-pwa-modal-lock-v3443 {
  overflow: hidden !important;
}

/* =========================
   AVISO SEM INTERNET
   ========================= */

#lfOfflineOverlayV3443 {
  position: fixed;
  inset: 0;
  z-index: 2147483645;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(2, 19, 34, 0.84);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

#lfOfflineOverlayV3443.lf-visible-v3443 {
  display: flex !important;
}

#lfOfflineDialogV3443 {
  width: min(100%, 460px);
  box-sizing: border-box;
  padding: 30px 24px 24px;
  border: 1px solid rgba(0, 232, 107, 0.48);
  border-radius: 24px;
  background: #ffffff;
  color: #071a2b;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  text-align: center;
}

#lfOfflineIconV3443 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(0, 232, 107, 0.13);
  font-size: 35px;
  line-height: 1;
}

#lfOfflineTitleV3443 {
  margin: 0 0 12px;
  color: #071a2b;
  font-size: clamp(24px, 6vw, 31px);
  line-height: 1.12;
  font-weight: 900;
}

#lfOfflineMessageV3443 {
  margin: 0;
  color: #526174;
  font-size: 17px;
  line-height: 1.55;
}

#lfOfflineStatusV3443 {
  min-height: 22px;
  margin: 15px 0 0;
  color: #526174;
  font-size: 14px;
  line-height: 1.4;
}

#lfOfflineRetryV3443 {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  padding: 13px 20px;
  border: 0;
  border-radius: 15px;
  background: #00c967;
  color: #071a2b;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
}

#lfOfflineRetryV3443:disabled {
  cursor: wait;
  opacity: 0.72;
}

/* =========================
   CONFIRMAÇÃO DE SAÍDA
   ========================= */

#lfExitOverlayV3443 {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(2, 19, 34, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

#lfExitOverlayV3443.lf-visible-v3443 {
  display: flex !important;
}

#lfExitDialogV3443 {
  width: min(100%, 430px);
  box-sizing: border-box;
  padding: 28px 23px 23px;
  border: 1px solid rgba(0, 232, 107, 0.48);
  border-radius: 23px;
  background: #ffffff;
  color: #071a2b;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  text-align: center;
}

#lfExitIconV3443 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 17px;
  border-radius: 50%;
  background: rgba(0, 232, 107, 0.13);
  font-size: 32px;
  line-height: 1;
}

#lfExitTitleV3443 {
  margin: 0 0 10px;
  color: #071a2b;
  font-size: clamp(23px, 6vw, 30px);
  line-height: 1.15;
  font-weight: 900;
}

#lfExitMessageV3443 {
  margin: 0;
  color: #526174;
  font-size: 17px;
  line-height: 1.5;
}

#lfExitActionsV3443 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 23px;
}

#lfExitNoV3443,
#lfExitYesV3443 {
  min-height: 53px;
  padding: 12px 16px;
  border-radius: 14px;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
}

#lfExitNoV3443 {
  border: 1px solid #00c967;
  background: #ffffff;
  color: #071a2b;
}

#lfExitYesV3443 {
  border: 1px solid #00c967;
  background: #00c967;
  color: #071a2b;
}

#lfExitNoV3443:focus-visible,
#lfExitYesV3443:focus-visible,
#lfOfflineRetryV3443:focus-visible {
  outline: 3px solid rgba(7, 26, 43, 0.32);
  outline-offset: 3px;
}

@media (max-width: 420px) {
  #lfOfflineOverlayV3443,
  #lfExitOverlayV3443 {
    padding: 15px;
  }

  #lfOfflineDialogV3443,
  #lfExitDialogV3443 {
    padding: 25px 18px 20px;
    border-radius: 20px;
  }
}

/*
 * LOTOFACIL_PWA_EXIT_REALISTIC_V3444
 */

#lfExitConfirmedToastV3444 {
  position: fixed;
  left: 50%;
  bottom: max(26px, env(safe-area-inset-bottom));
  z-index: 2147483647;
  display: none;
  width: min(calc(100% - 32px), 440px);
  box-sizing: border-box;
  padding: 16px 18px;
  border: 1px solid rgba(0, 232, 107, 0.7);
  border-radius: 16px;
  background: #071a2b;
  color: #ffffff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  transform: translateX(-50%);
}

#lfExitConfirmedToastV3444.lf-visible-v3444 {
  display: block !important;
}
