:root {
  --xewex-otp-accent: #006039;
  --xewex-otp-accent-hover: #004d2e;
  --xewex-otp-accent-rgb: 0,96,57;
  --xewex-otp-text: #333333;
  --xewex-otp-bg: #f7f7f7;
  --xewex-otp-radius: 10px;
}




/* Обёртка табов */
.okhta-auth__tabs {
    display: flex;
    gap: 10px;
    padding: 4px;
    background: #f7f7f7;
    border-radius: 10px;
    border: 1px solid rgba(51, 51, 51, .12);
    margin: 12px 0 22px;
}

/* Кнопки табов */
.okhta-auth__tab {
    appearance: none;
    -webkit-appearance: none;
    flex: 1;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

/* Активная кнопка */
.okhta-auth__tab.is-active {
    background: var(--xewex-otp-accent);
    border-color: var(--xewex-otp-accent);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(var(--xewex-otp-accent-rgb), .24);
}

/* Наведение */
.okhta-auth__tab:not(.is-active):hover {
    background: #ffffff;
    border-color: rgba(var(--xewex-otp-accent-rgb), .25);
    color: var(--xewex-otp-accent);
}

/* Фокус */
.okhta-auth__tab:focus {
    outline: none;
}

.okhta-auth__tab:focus-visible {
    box-shadow: 0 0 0 3px rgba(var(--xewex-otp-accent-rgb), .18);
}

body.woocommerce-account:not(.logged-in) header,
body.woocommerce-account:not(.logged-in) footer {
  display: none !important;
}

body.woocommerce-account .elementor-element.elementor-element-ceb201a {
    display: none !important;
}

body.woocommerce-account .elementor-element.elementor-element-6e8c352 {
    display: none !important;
}



body.woocommerce-account:not(.logged-in) .page-title.page-title-default,
body.woocommerce-account:not(.logged-in) .header-banner.color-scheme-light {
  display: none !important;
}

body.woocommerce-account:not(.logged-in).header-banner-enabled .website-wrapper {
  margin-top: 0 !important;
}

body.woocommerce-account:not(.logged-in) .main-page-wrapper,
body.woocommerce-account:not(.logged-in) .site-content,
body.woocommerce-account:not(.logged-in) .page-title {
  padding: 0 !important;
  margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) .main-page-wrapper {
  margin-bottom: 30px !important;
}

body.woocommerce-account:not(.logged-in),
body.woocommerce-account:not(.logged-in) .website-wrapper,
body.woocommerce-account:not(.logged-in) .main-page-wrapper,
body.woocommerce-account:not(.logged-in) .page-wrapper,
body.woocommerce-account:not(.logged-in) .site-content,
body.woocommerce-account:not(.logged-in) .main-page-wrapper > .container {
  min-height: 100%;
}

body.woocommerce-account:not(.logged-in) {
  color: var(--xewex-otp-text);
}

body.woocommerce-account:not(.logged-in) .main-page-wrapper > .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.woocommerce-account:not(.logged-in) .main-page-wrapper > .container > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.woocommerce-account:not(.logged-in) .main-page-wrapper .site-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.woocommerce-account:not(.logged-in) .okhta-auth {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr);
}

body.woocommerce-account:not(.logged-in) .okhta-auth__left {
  position: relative;
  background: var(--xewex-otp-bg-image) right/cover no-repeat;
  overflow: hidden;
  border-radius: 0px 20px 20px 0px;
}

body.woocommerce-account:not(.logged-in) .okhta-auth__left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--xewex-otp-accent-rgb), .22), rgba(0,0,0,.18));
}

body.woocommerce-account:not(.logged-in) .okhta-auth__right {
  display: grid;
  place-items: center;
  padding: 36px;
}

body.woocommerce-account:not(.logged-in) .okhta-auth__card {
  width: min(440px, 100%);
  background: #fff;
  border-radius: var(--xewex-otp-radius);
  padding: 30px;
  border: 1px solid rgba(51,51,51,.08);
  box-shadow: 0 18px 55px rgba(0,0,0,.08);
  color: var(--xewex-otp-text);
}

body.woocommerce-account:not(.logged-in) .okhta-auth__title {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 750;
  margin-bottom: 8px;
  color: var(--xewex-otp-text);
  letter-spacing: -0.02em;
}

body.woocommerce-account:not(.logged-in) .okhta-auth__subtitle {
  margin-bottom: 20px;
  color: rgba(51,51,51,.72);
  line-height: 1.45;
}

.okhta-auth__panes .okhta-auth__pane {
  display: none;
}

.okhta-auth__panes .okhta-auth__pane.is-active {
  display: block;
}

.okhta-auth__tabs {
  display: flex;
  gap: 8px;
  padding: 5px;
  margin: 16px 0 20px;
  background: var(--xewex-otp-bg);
  border-radius: var(--xewex-otp-radius);
  border: 1px solid rgba(51,51,51,.07);
}

body.woocommerce-account:not(.logged-in) .okhta-auth__tab {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--xewex-otp-radius);
  border: 1px solid transparent;
  background: transparent;
  color: var(--xewex-otp-text);
  font-weight: 650;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: none;
}

body.woocommerce-account:not(.logged-in) .okhta-auth__tab:hover {
  background: rgba(var(--xewex-otp-accent-rgb), .08);
  border-color: rgba(var(--xewex-otp-accent-rgb), .16);
  color: var(--xewex-otp-accent);
}

body.woocommerce-account:not(.logged-in) .okhta-auth__tab.is-active {
  background: var(--xewex-otp-accent);
  border-color: var(--xewex-otp-accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(var(--xewex-otp-accent-rgb), .24);
}

body.woocommerce-account:not(.logged-in) .okhta-auth__tab:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--xewex-otp-accent-rgb), .18);
}

.okhta-auth__pane-subtitle {
  margin-bottom: 18px;
  color: rgba(51,51,51,.72);
  line-height: 1.45;
}

.cveti-otp__row,
.okhta-emailotp__step,
.xewex-auth-form__row,
.xewex-password-login__row {
  margin: 12px 0;
}

.cveti-otp label,
.okhta-emailotp__label,
.xewex-auth-form__label,
.xewex-password-login__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 650;
  color: var(--xewex-otp-text);
}

body.woocommerce-account:not(.logged-in) .okhta-auth__card input[type="tel"],
body.woocommerce-account:not(.logged-in) .okhta-auth__card input[type="text"],
body.woocommerce-account:not(.logged-in) .okhta-auth__card input[type="email"],
body.woocommerce-account:not(.logged-in) .okhta-auth__card input[type="password"],
.cveti-otp input[type="tel"],
.cveti-otp input[type="text"],
.okhta-emailotp__input,
.xewex-auth-form__input,
.xewex-password-login__input {
  width: 100%;
  border-radius: var(--xewex-otp-radius);
  padding: 13px 14px;
  border: 1px solid rgba(51,51,51,.18);
  background: #fff;
  color: var(--xewex-otp-text);
  box-sizing: border-box;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
  box-shadow: none;
}

body.woocommerce-account:not(.logged-in) .okhta-auth__card input::placeholder,
.cveti-otp input::placeholder,
.okhta-emailotp__input::placeholder {
  color: rgba(51,51,51,.45);
}

body.woocommerce-account:not(.logged-in) .okhta-auth__card input[type="tel"]:focus,
body.woocommerce-account:not(.logged-in) .okhta-auth__card input[type="text"]:focus,
body.woocommerce-account:not(.logged-in) .okhta-auth__card input[type="email"]:focus,
body.woocommerce-account:not(.logged-in) .okhta-auth__card input[type="password"]:focus,
.cveti-otp input[type="tel"]:focus,
.cveti-otp input[type="text"]:focus,
.okhta-emailotp__input:focus,
.xewex-auth-form__input:focus,
.xewex-password-login__input:focus {
  outline: none;
  border-color: var(--xewex-otp-accent);
  box-shadow: 0 0 0 3px rgba(var(--xewex-otp-accent-rgb), .14);
  background: #fff;
}

.okhta-emailotp__input {
  margin-bottom: 18px;
}

.xewex-password-login__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 14px;
}

.xewex-password-login__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(51,51,51,.72);
  font-size: 14px;
  line-height: 1.35;
}

.xewex-password-login__remember-input {
  width: auto;
  margin: 0;
}

.xewex-password-login__lost,
.xewex-password-login__otp-toggle,
.xewex-password-login__password-toggle {
  color: var(--xewex-otp-accent) !important;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.xewex-password-login__lost:hover,
.xewex-password-login__otp-toggle:hover,
.xewex-password-login__password-toggle:hover {
  color: var(--xewex-otp-accent-hover) !important;
  text-decoration: underline;
}

.xewex-password-login__otp,
.xewex-password-login__other {
  margin: 0 0 16px;
}

.xewex-password-login__otp-toggle,
.xewex-password-login__password-toggle {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  text-transform: none;
}

.xewex-password-login__otp-panel,
.xewex-password-login__password-panel {
  margin-top: 12px;
  padding: 14px;
  border-radius: var(--xewex-otp-radius);
  background: rgba(var(--xewex-otp-accent-rgb), .06);
  border: 1px solid rgba(var(--xewex-otp-accent-rgb), .14);
}

.xewex-password-login__otp-code-wrap {
  margin-top: 12px;
}

.xewex-password-login__otp-timer {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(51,51,51,.66);
}

.xewex-password-register__otp-code-wrap {
  margin-top: 12px;
}

.xewex-password-register__otp-timer {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(51,51,51,.66);
}

body.woocommerce-account:not(.logged-in) .okhta-auth__card button:not(.okhta-auth__tab):not(.okhta-emailotp__link):not(.xewex-password-login__otp-toggle):not(.xewex-password-login__password-toggle),
body.woocommerce-account:not(.logged-in) .okhta-auth__card input[type="submit"],
.cveti-otp .button,
.okhta-emailotp__btn,
.xewex-auth-form__btn,
.xewex-password-login__btn {
  width: 100%;
  border-radius: var(--xewex-otp-radius);
  padding: 13px 16px;
  background-color: var(--xewex-otp-accent) !important;
  color: #fff !important;
  border: 1px solid var(--xewex-otp-accent) !important;
  cursor: pointer;
  text-transform: none;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(var(--xewex-otp-accent-rgb), .22);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

body.woocommerce-account:not(.logged-in) .okhta-auth__card button:not(.okhta-auth__tab):not(.okhta-emailotp__link):not(.xewex-password-login__otp-toggle):not(.xewex-password-login__password-toggle):hover,
body.woocommerce-account:not(.logged-in) .okhta-auth__card input[type="submit"]:hover,
.cveti-otp .button:hover,
.okhta-emailotp__btn:hover,
.xewex-auth-form__btn:hover,
.xewex-password-login__btn:hover {
  background-color: var(--xewex-otp-accent-hover) !important;
  border-color: var(--xewex-otp-accent-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(var(--xewex-otp-accent-rgb), .26);
}

.cveti-otp .button:disabled,
.okhta-emailotp__btn:disabled,
.okhta-emailotp__link:disabled,
.xewex-auth-form__btn:disabled,
.xewex-password-login__btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.okhta-emailotp__link {
  width: 100%;
  background: transparent !important;
  border: 0 !important;
  padding: 0;
  color: var(--xewex-otp-accent) !important;
  cursor: pointer;
  text-align: center;
  margin-top: 12px;
  text-transform: none;
  box-shadow: none !important;
  font-weight: 650;
}

.okhta-emailotp__link:hover {
  color: var(--xewex-otp-accent-hover) !important;
  text-decoration: underline;
}

.cveti-otp__msg,
.okhta-emailotp__msg,
.xewex-auth-form__msg,
.xewex-password-login__msg {
  min-height: 18px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--xewex-otp-text);
}

.cveti-timer {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(51,51,51,.66);
}

.okhta-auth__accept {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(51,51,51,.08);
  font-size: 12px;
  line-height: 1.45;
  color: rgba(51,51,51,.66);
}

.xewex-otp-notice {
  padding: 16px;
  border-radius: var(--xewex-otp-radius);
  background: #fff;
  border: 1px solid rgba(var(--xewex-otp-accent-rgb), .16);
  color: var(--xewex-otp-text);
}

@media (max-width: 900px) {
  body.woocommerce-account:not(.logged-in) .website-wrapper {
    background: var(--xewex-otp-bg-image) center/cover no-repeat !important;
  }

  body.woocommerce-account:not(.logged-in) .main-page-wrapper,
  body.woocommerce-account:not(.logged-in) .page-wrapper,
  body.woocommerce-account:not(.logged-in) .site-content,
  body.woocommerce-account:not(.logged-in) .container,
  body.woocommerce-account:not(.logged-in) .page-content,
  body.woocommerce-account:not(.logged-in) .entry-content {
    background: transparent !important;
  }

  body.woocommerce-account:not(.logged-in) .website-wrapper::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.28);
    z-index: 0;
    pointer-events: none;
  }
  body.woocommerce-account {
  background: var(--xewex-otp-bg-image) right/cover no-repeat;
  }
  body.woocommerce-account:not(.logged-in) .okhta-auth {
    grid-template-columns: 1fr !important;
    
    position: relative;
    z-index: 1;
    background: transparent;
  }

  body.woocommerce-account:not(.logged-in) .okhta-auth__left {
    display: none !important;
  }

  body.woocommerce-account:not(.logged-in) .okhta-auth__right {
    position: relative;
    z-index: 2;
    padding: 24px;
    background: transparent !important;
  }

  body.woocommerce-account:not(.logged-in) .okhta-auth__card {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

@media (max-width: 480px) {
  body.woocommerce-account:not(.logged-in) .okhta-auth__right {
    padding: 16px;
  }

  body.woocommerce-account:not(.logged-in) .okhta-auth__card {
    padding: 22px;
  }

  body.woocommerce-account:not(.logged-in) .okhta-auth__title {
    font-size: 23px;
  }
}
