body.woocommerce-account,
body.woocommerce-account #c27-site-wrapper{
  background: #f4eee3 !important;
}

.sign-in-box{
  box-shadow: none!important;
  border-radius: 0!important;
  padding: 0!important;
  background-color: transparent!important;
}

p.connect-with{
  display: none!important;
}

header.elementor-location-header{
  display: none!important;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
    box-shadow: none!important;
}

.ct-auth {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 48px 24px !important;
  background: #f4eee3 !important;
  color: #2b2622 !important;
}

.ct-auth,
.ct-auth * {
  box-sizing: border-box !important;
}

.ct-auth__inner {
  width: 100% !important;
  max-width: 440px !important;
}

.ct-auth__brand {
  display: flex !important;
  justify-content: center !important;
  margin: 0 auto 22px !important;
  text-decoration: none !important;
}

.ct-auth__logo {
  display: block !important;
  width: auto !important;
  height: 62px !important;
}

.ct-auth__site-name {
  color: #2b2622 !important;
  font-size: 28px !important;
  font-weight: 800 !important;
}

.ct-auth__card {
  width: 100% !important;
  padding: 30px 30px 34px !important;
  overflow: hidden !important;
  background: #fffdf9 !important;
  border: 1px solid #eae3d6 !important;
  border-radius: 20px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.ct-auth__notices:empty {
  display: none !important;
}

.ct-auth__main-tabs,
.ct-auth-methods__tabs {
  display: flex !important;
  gap: 5px !important;
  padding: 5px !important;
  margin: 0 0 26px !important;
  list-style: none !important;
  background: #f0eae0 !important;
  border-radius: 12px !important;
}

.ct-auth__main-tabs li {
  flex: 1 !important;
  margin: 0 !important;
  padding-left: 0;
  opacity: 1 !important;
}

form.sign-in-form.register .form-group{
  display: flex;
    flex-direction: column-reverse;
}

.woocommerce-page form .show-toggle-password, .woocommerce form .show-toggle-password{
  top: 55%!important;
}

.ct-auth__main-tabs a,
.ct-auth-methods__tab {
  display: block !important;
  width: 100% !important;
  padding: 9px !important;
  color: #8a8175 !important;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 9px !important;
  cursor: pointer !important;
  transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
  
}

.ct-auth-methods__tab{
box-shadow: inset 0 -2px #8a8175 !important;
}

.ct-auth__main-tabs .active a,
.ct-auth-methods__tab.is-active {
  color: #211d1a !important;
  background: #fffdf9 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.ct-auth__title {
  margin: 0 0 22px !important;
  color: #2b2622 !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  font-family: "Rubik", Sans-serif !important;
}

.ct-auth-methods__tabs {
  margin-bottom: 18px !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.ct-auth-methods__tab {
  border-radius: 8px 8px 0 0 !important;
}

.ct-auth-methods__tab.is-active {
  color: #1f9254 !important;
  box-shadow: inset 0 -2px #1f9254 !important;
}

.ct-auth-methods__panel[hidden],
.ct-auth__panel.hide,
.ct-auth__switch-copy[hidden] {
  display: none !important;
}

.ct-auth-form__field,
.ct-auth-form .form-group,
.ct-auth-form .fields-wrapper {
  margin-bottom: 16px !important;
}

.ct-auth-form label,
.ct-auth-form__field label {
  display: block !important;
  margin: 0 0 8px !important;
  color: #3a332c !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  position: static!important;
}

.ct-auth-form input[type="text"],
.ct-auth-form input[type="email"],
.ct-auth-form input[type="tel"],
.ct-auth-form input[type="password"],
.ct-auth-form select,
.ct-auth-form textarea,
.ct-auth-methods__panel input[type="text"],
.ct-auth-methods__panel input[type="tel"] {
  width: 100% !important;
  min-height: 50px !important;
  padding: 13px 16px !important;
  color: #2b2622 !important;
  font-size: 15px !important;
  background: #fffdf9 !important;
  border: 1px solid #dbd4c7 !important;
  border-radius: 12px !important;
  outline: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.ct-auth-form input:focus,
.ct-auth-form select:focus,
.ct-auth-form textarea:focus,
.ct-auth-methods__panel input:focus {
  border-color: #1f9254 !important;
  box-shadow: 0 0 0 3px rgba(31, 146, 84, 0.12) !important;
}

.ct-auth-form__options {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 2px 0 22px !important;
}

.ct-auth-form__remember {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
  font-weight: 500 !important;
}

.ct-auth-form__remember input {
  margin: 0 !important;
}

.ct-auth-form__forgot,
.ct-auth__switch-copy a {
  color: #1f9254 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.ct-auth-form__submit,
.ct-auth-methods__panel button[type="submit"],
.ct-auth-phone__submit {
  width: 100% !important;
  min-height: 50px !important;
  padding: 14px 18px !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  background: #1f9254 !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(31, 146, 84, 0.24) !important;
  cursor: pointer !important;
}

.ct-auth-form__submit:hover,
.ct-auth-methods__panel button[type="submit"]:hover,
.ct-auth-phone__submit:hover {
  background: #197b47 !important;
}

.ct-auth__switch-copy {
  margin: 22px 0 0 !important;
  color: #5e574b !important;
  font-size: 14.5px !important;
  text-align: center !important;
}

.ct-auth__switch-copy a {
  margin-inline-start: 4px !important;
}

.ct-auth__social-login:empty {
  display: none !important;
}

.ct-auth__social-login:not(:empty) {
  margin-bottom: 18px !important;
}

.ct-auth__social-login .nsm7Bb-HzV7m-LgbsSe {
  width: 100% !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 13px 16px !important;
  color: #2b2622 !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  background: #fffdf9 !important;
  border: 1px solid #dbd4c7 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
}

.ct-auth__social-login .nsm7Bb-HzV7m-LgbsSe:hover,
.ct-auth__social-login .nsm7Bb-HzV7m-LgbsSe:focus {
  background: #fff !important;
  border-color: #bfb6a7 !important;
  box-shadow: 0 0 0 3px rgba(31, 146, 84, 0.1) !important;
  outline: none !important;
}

.ct-auth__social-login .nsm7Bb-HzV7m-LgbsSe-MJoBVe {
  display: none !important;
}

.ct-auth__social-login .nsm7Bb-HzV7m-LgbsSe-bN97Pc-sM5MNb {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.ct-auth__social-login .nsm7Bb-HzV7m-LgbsSe-Bz112c {
  width: 19px !important;
  height: 19px !important;
  display: flex !important;
  flex: 0 0 19px !important;
  align-items: center !important;
  justify-content: center !important;
}

.ct-auth__social-login .LgbsSe-Bz112c {
  width: 19px !important;
  height: 19px !important;
  display: block !important;
}

.ct-auth__social-login .nsm7Bb-HzV7m-LgbsSe-BPrWId {
  color: #2b2622 !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

.ct-auth__social-login .L6cTce {
  width: 1px !important;
  height: 1px !important;
  position: absolute !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.ct-auth-phone {
  margin-top: 4px !important;
}

.ct-auth-phone__label {
  display: block !important;
  margin: 0 0 8px !important;
  color: #3a332c !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.ct-auth-phone__fields {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  margin-bottom: 18px !important;
}

.ct-auth-methods__panel .ct-auth-phone__prefix {
  width: 102px !important;
  min-width: 102px !important;
  height: 50px !important;
  padding: 0 12px !important;
  color: #2b2622 !important;
  font-size: 15px !important;
  text-align: left !important;
  background: #fffdf9 !important;
  border: 1px solid #dbd4c7 !important;
  border-radius: 12px !important;
  outline: none !important;
}

.ct-auth-phone__separator {
  color: #8a8175 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  padding-inline: 10px;
}

.ct-auth-methods__panel .ct-auth-phone__number {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  text-align: left !important;
  direction: ltr !important;
}

.ct-auth-phone__submit {
  margin: 0 !important;
}

.ct-auth__social-login .nsl-container,
.ct-auth__social-login .mo-openid-app-icons,
.ct-auth__social-login .social-login-buttons {
  width: 100% !important;
}

/* Prevent Facebook/Meta providers from flashing before the JS removes them. */
.ct-auth [data-provider="facebook"],
.ct-auth [data-provider="meta"],
.ct-auth .nsl-button-facebook,
.ct-auth .mo-openid-app-icons a[href*="facebook.com"],
.ct-auth a[href*="facebook.com/dialog/oauth"] {
  display: none !important;
}

@media (max-width: 560px) {
  .ct-auth {
    align-items: flex-start !important;
    padding: 28px 16px !important;
  }

  .ct-auth__card {
    padding: 24px 20px 28px !important;
    border-radius: 16px !important;
  }

  .ct-auth__logo {
    height: 52px !important;
  }

  .ct-auth-form__options {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
}

/* Loading state for the email register form. */
.ct-email-register {
    position: relative;
}

.ct-email-register .ct-auth-variant{
  display: flex;
    flex-direction: column;
    gap: 10px; 
}

.ct-email-register .ct-auth-variant .ct-auth-form label{
  margin: 10px 0 !important;
  font-weight: normal !important;
}

.ct-checkbox-label input[type="checkbox"]{
  position: relative;
    top: 3px;
}

.ct-auth-tos{
      margin: 18px 0px 0px;
    font-size: 12.5px;
    color: rgb(138, 129, 117);
    line-height: 1.6;
    text-align: right;
}

.ct-auth-methods__panel #ct-form-otp button[type="submit"]{
  margin-block-start: 15px;
}

.ct-auth-methods__panel form.ct-otp-resend-form button[type="submit"]{
  background: transparent !important;
    box-shadow: none !important;
    color: #2b2622 !important;
    padding: 0 !important;
    font-size: 14px !important;
    text-decoration: underline;
}

.ct-email-register.is-loading {
    pointer-events: none;
}

.ct-email-register.is-loading::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 20;
    background: rgb(255 255 255 / 70%);
    border-radius: inherit;
}

.ct-email-register.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 21;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    border: 3px solid rgb(0 0 0 / 15%);
    border-top-color: #1f9254;
    border-radius: 50%;
    animation: ct-auth-spin .7s linear infinite;
}

@keyframes ct-auth-spin {
    to {
        transform: rotate(360deg);
    }
}