:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) :is(.wc-block-components-notice-banner,
  .woocommerce-info) {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) :is(.wc-block-components-notice-banner, .woocommerce-info) {
  padding: 1em 2em;
  margin: 0;
  position: relative;
  background-color: var(--dark-bg-color);
  border-radius: 10px;
  border-top: 3px solid var(--brand-color);
  overflow: hidden;
  list-style: none outside;
  width: auto;
  word-wrap: break-word;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

@media (min-width: 576px) {
  :is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) :is(.wc-block-components-notice-banner, .woocommerce-info) {
    gap: 12px;
  }
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .woocommerce-form-login {
  margin-top: 2em;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .woocommerce-info {
  padding-inline-start: 3.5em;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .woocommerce-info::before {
  color: var(--brand-color);
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) :is(.wc-block-components-notice-banner, .woocommerce-info) a {
  font-weight: 500;
  color: var(--dark-text-color);
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
  text-decoration: underline;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) :is(.wc-block-components-notice-banner, .woocommerce-info) .showlogin {
  font-weight: 600;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .form-row label {
  font-size: var(--body-font-size);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-color);
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .form-row :is(input, textarea) {
  width: 100%;
  background: var(--dark-bg-color);
  border-radius: 8px;
  padding: 14px 24px;
  font-size: var(--body-font-size);
  line-height: 18px;
  letter-spacing: -0.05em;
  color: var(--light-text-color);
  border-color: transparent;
}

.turbo-checkout-login-form {
  display: grid;
  border: none;
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(17, 24, 39, 0.06);
  padding: 20px;
}

.turbo-checkout-login-form :is(.wc-block-components-notice-banner, p) {
  width: 100% !important;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .form-row .woocommerce-form-login__rememberme {
  text-transform: capitalize;
  color: var(--dark-text-color);
  font-weight: 500;
  letter-spacing: normal;
  cursor: pointer;
  position: relative;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .turbo-checkout-login-form .form-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .turbo-checkout-login-form .form-row .button {
  padding: 15px 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 20px;
  color: var(--lighter-text-color);
  background-color: var(--brand-color);
  border-radius: 6px;
  font-size: var(--body-font-size);
  transition: all 0.3s ease;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .turbo-checkout-login-form .form-row .button:hover {
  background-color: #0F1523;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .lost_password a {
  text-decoration: underline;
  font-weight: 500;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .lost_password {
  margin-bottom: 0;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .lost_password a:hover {
  text-decoration: none;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .turbo-checkout-login-form input[type="checkbox"] {
  opacity: 0;
  width: 0;
  position: absolute;
  visibility: hidden;
  z-index: -1;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .turbo-checkout-login-form label.woocommerce-form__label-for-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  cursor: pointer;
  line-height: 1;
  margin-bottom: 0 !important;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .turbo-checkout-login-form label.woocommerce-form__label-for-checkbox::before {
  flex-shrink: 0;
  display: inline-block;
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--main-border-color);
  margin-right: 10px;
  transition: all 0.2s ease;
  margin-top: 1px;
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .turbo-checkout-login-form label.woocommerce-form__label-for-checkbox:has(input:checked)::before {
  border-color: var(--main-border-color);
  background-color: var(--brand-color);
}

:is(.elementor-editor-active, .turbo-builder-template, .tm-builder-checkout) .turbo-checkout-login-form label.woocommerce-form__label-for-checkbox:has(input:checked)::after {
  content: "";
  display: block;
  width: 6px;
  height: 12px;
  border-left: 2px solid var(--main-border-color);
  border-top: 2px solid var(--main-border-color);
  transform: rotate(225deg);
  position: absolute;
  top: 4px;
  left: 7px;
}

.tm-login-error.error {
  color: #e90202;
}