/* Cover iframe "My Account" (cross-origin — cannot edit).
   Real profile access: Healcode account-link as plain text on widget bottom-right. */

.lmyc-mindbody-account-link,
.lmyc-drawer-register__btn,
.lmyc-drawer-register {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.lmyc-mindbody-widget {
  position: relative;
}

/* White cover over top-right iframe My Account — blocks clicks */
.lmyc-mindbody-widget__account-mask {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 25 !important;
  width: 132px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 0 0 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  pointer-events: auto !important;
  cursor: default !important;
  user-select: none !important;
}

@media screen and (max-width: 767px) {
  .lmyc-mindbody-widget__account-mask {
    width: 118px !important;
    height: 40px !important;
  }
}

/* Drop old Cancel class label if any leftover */
.lmyc-mindbody-cancel-btn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* My Account — inside widget, bottom-right, plain black text (not a button) */
.lmyc-mb-account-cta {
  position: absolute !important;
  right: 36px !important;
  bottom: 34px !important;
  z-index: 26 !important;
  display: inline-flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: auto !important;
}

.lmyc-mb-account-cta healcode-widget,
.lmyc-mb-account-cta .loginRegister,
.lmyc-mb-account-cta a.loginRegister {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Kill button-effect / global CTA styling — plain black text only */
:is(#main-content, body):is(#main-content, body):is(#main-content, body) .lmyc-mb-account-cta a.healcode-link.healcode-link,
:is(#main-content, body):is(#main-content, body):is(#main-content, body) .lmyc-mb-account-cta a.loginRegister.loginRegister,
:is(#main-content, body):is(#main-content, body):is(#main-content, body) .lmyc-mb-account-cta .healcode-link.healcode-link,
:is(#main-content, body):is(#main-content, body):is(#main-content, body) .lmyc-mb-account-cta .loginRegister.loginRegister,
#main-content .lmyc-mb-account-cta a.healcode-link,
#main-content .lmyc-mb-account-cta a.loginRegister,
body .lmyc-mb-account-cta a.healcode-link,
body .lmyc-mb-account-cta a.loginRegister {
  display: inline !important;
  align-items: unset !important;
  justify-content: unset !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  background-size: auto !important;
  background-position: 0 0 !important;
  box-shadow: none !important;
  color: #1a1a1a !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  transform: none !important;
  cursor: pointer !important;
}

:is(#main-content, body):is(#main-content, body):is(#main-content, body) .lmyc-mb-account-cta a.healcode-link.healcode-link:hover,
:is(#main-content, body):is(#main-content, body):is(#main-content, body) .lmyc-mb-account-cta a.healcode-link.healcode-link:focus-visible,
:is(#main-content, body):is(#main-content, body):is(#main-content, body) .lmyc-mb-account-cta a.loginRegister.loginRegister:hover,
:is(#main-content, body):is(#main-content, body):is(#main-content, body) .lmyc-mb-account-cta a.loginRegister.loginRegister:focus-visible,
#main-content .lmyc-mb-account-cta a.healcode-link:hover,
#main-content .lmyc-mb-account-cta a.healcode-link:focus-visible,
body .lmyc-mb-account-cta a.loginRegister:hover,
body .lmyc-mb-account-cta a.loginRegister:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  color: #000000 !important;
  text-decoration: none !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Kill any leftover CTAs that were placed outside the widget */
.lmyc-mindbody-widget + .lmyc-mb-account-cta {
  display: none !important;
}
