@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/spacegrotesk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body.tecnesio-account-auth {
  --tec-auth-ink: #1B1230;
  --tec-auth-purple: #33125C;
  --tec-auth-purple-soft: #4A1E7D;
  --tec-auth-orange: #F0631A;
  --tec-auth-orange-dark: #D8530F;
  --tec-auth-cream: #FBF7F2;
  --tec-auth-surface: #FFFFFF;
  --tec-auth-border: #E9DED4;
  --tec-auth-muted: #716A7A;
  --tec-auth-soft: #F4EDF8;
  --tec-auth-danger: #B42318;
  --tec-auth-success: #16734A;
  background: var(--tec-auth-cream);
  color: var(--tec-auth-ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.tecnesio-account-auth *,
body.tecnesio-account-auth *::before,
body.tecnesio-account-auth *::after {
  box-sizing: border-box;
}

body.tecnesio-account-auth .elementor-widget-shortcode,
body.tecnesio-account-auth .elementor-widget-shortcode > .elementor-widget-container,
body.tecnesio-account-auth .elementor-widget-text-editor,
body.tecnesio-account-auth .elementor-widget-text-editor > .elementor-widget-container {
  width: 100%;
}

body.tecnesio-account-auth .woocommerce {
  width: 100%;
  max-width: 608px;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 52px) 24px 56px;
  color: var(--tec-auth-ink);
  font-family: 'Inter', sans-serif;
}

body.tecnesio-account-auth .woocommerce a {
  color: var(--tec-auth-purple-soft);
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 3px;
}

body.tecnesio-account-auth .woocommerce a:hover {
  color: var(--tec-auth-orange-dark);
  text-decoration: underline;
}

body.tecnesio-account-auth .woocommerce :focus-visible {
  outline: 3px solid rgba(240, 99, 26, .34);
  outline-offset: 2px;
}

/* Login and registration card. WooCommerce remains responsible for forms. */
body.tecnesio-account-auth #customer_login {
  position: relative;
  display: block !important;
  width: 100%;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--tec-auth-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, .985);
  box-shadow: 0 24px 64px rgba(51, 18, 92, .10), 0 4px 16px rgba(27, 18, 48, .04);
  overflow: hidden;
}

body.tecnesio-account-auth #customer_login::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--tec-auth-purple) 0 62%, var(--tec-auth-orange) 62% 100%);
}

body.tecnesio-account-auth #customer_login .u-column1,
body.tecnesio-account-auth #customer_login .u-column2 {
  float: none !important;
  position: relative;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 30px 36px 34px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.tecnesio-account-auth #customer_login:not(.tec-auth-enhanced) .u-column2 {
  border-top: 1px solid var(--tec-auth-border);
}

body.tecnesio-account-auth #customer_login.tec-auth-enhanced .u-column1,
body.tecnesio-account-auth #customer_login.tec-auth-enhanced .u-column2 {
  animation: tecAuthEnter .22s ease;
}

body.tecnesio-account-auth #customer_login.tec-auth-enhanced [hidden] {
  display: none !important;
}

@keyframes tecAuthEnter {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Accessible segmented switch inserted by auth.js. */
body.tecnesio-account-auth .tec-auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  width: 100%;
  margin: 0 0 8px;
  padding: 5px;
  border-radius: 15px;
  background: var(--tec-auth-soft);
}

body.tecnesio-account-auth .tec-auth-tab {
  appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--tec-auth-muted);
  font: 650 13px/1 'Inter', sans-serif;
  box-shadow: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

body.tecnesio-account-auth .tec-auth-tab:hover {
  color: var(--tec-auth-purple);
}

body.tecnesio-account-auth .tec-auth-tab.is-active {
  background: #FFFFFF;
  color: var(--tec-auth-purple);
  box-shadow: 0 3px 12px rgba(51, 18, 92, .09);
}

body.tecnesio-account-auth .tec-auth-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--tec-auth-orange);
  transform: translateX(-50%);
}

body.tecnesio-account-auth #customer_login h2 {
  margin: 0 0 26px;
  color: var(--tec-auth-ink);
  font: 700 clamp(28px, 4vw, 35px)/1.12 'Space Grotesk', sans-serif;
  letter-spacing: -.035em;
}

body.tecnesio-account-auth #customer_login form,
body.tecnesio-account-auth form.woocommerce-ResetPassword {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.tecnesio-account-auth #customer_login form br,
body.tecnesio-account-auth form.woocommerce-ResetPassword br {
  display: none;
}

body.tecnesio-account-auth #customer_login .form-row,
body.tecnesio-account-auth form.woocommerce-ResetPassword .form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 0 19px;
  padding: 0;
}

body.tecnesio-account-auth #customer_login label,
body.tecnesio-account-auth form.woocommerce-ResetPassword label {
  display: block;
  margin: 0 0 8px;
  color: var(--tec-auth-ink);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.45;
}

body.tecnesio-account-auth .required {
  color: var(--tec-auth-orange-dark);
}

body.tecnesio-account-auth #customer_login input[type='text'],
body.tecnesio-account-auth #customer_login input[type='email'],
body.tecnesio-account-auth #customer_login input[type='password'],
body.tecnesio-account-auth form.woocommerce-ResetPassword input[type='text'],
body.tecnesio-account-auth form.woocommerce-ResetPassword input[type='password'] {
  appearance: none;
  display: block;
  width: 100%;
  height: 52px;
  min-height: 52px;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid #D8CFCA;
  border-radius: 11px;
  background: #FFFFFF;
  color: var(--tec-auth-ink);
  font: 500 15px/1.4 'Inter', sans-serif;
  box-shadow: 0 1px 2px rgba(27, 18, 48, .02);
  transition: border-color .18s ease, box-shadow .18s ease;
}

body.tecnesio-account-auth #customer_login input:hover,
body.tecnesio-account-auth form.woocommerce-ResetPassword input:hover {
  border-color: #BBAEA7;
}

body.tecnesio-account-auth #customer_login input:focus,
body.tecnesio-account-auth form.woocommerce-ResetPassword input:focus {
  outline: none;
  border-color: var(--tec-auth-purple-soft);
  box-shadow: 0 0 0 3px rgba(74, 30, 125, .13);
}

body.tecnesio-account-auth #customer_login input[aria-invalid='true'],
body.tecnesio-account-auth #customer_login .woocommerce-invalid input {
  border-color: var(--tec-auth-danger);
}

body.tecnesio-account-auth span.password-input {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.tecnesio-account-auth span.password-input > input {
  width: 100% !important;
  padding-right: 56px !important;
}

body.tecnesio-account-auth span.password-input > button.show-password-input {
  all: unset !important;
  box-sizing: border-box !important;
  position: absolute !important;
  z-index: 3 !important;
  top: 0 !important;
  right: 8px !important;
  bottom: 0 !important;
  width: 38px !important;
  height: 38px !important;
  margin: auto 0 !important;
  border-radius: 9px !important;
  background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A1E7D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 19px 19px !important;
  cursor: pointer !important;
}

body.tecnesio-account-auth span.password-input > button.show-password-input::before,
body.tecnesio-account-auth span.password-input > button.show-password-input::after {
  content: none !important;
}

body.tecnesio-account-auth span.password-input > button.show-password-input.display-password {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A1E7D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M10.6 6.2A9.8 9.8 0 0 1 12 6c6.5 0 10 6 10 6a17 17 0 0 1-3 3.7'/%3E%3Cpath d='M6.2 6.2C3.5 8 2 12 2 12s3.5 6 10 6a10 10 0 0 0 4.1-.9'/%3E%3C/svg%3E") !important;
}

body.tecnesio-account-auth span.password-input > button.show-password-input:hover {
  background-color: var(--tec-auth-soft) !important;
}

body.tecnesio-account-auth .woocommerce-form-login__rememberme {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  margin: 0 0 6px !important;
  color: var(--tec-auth-muted) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  cursor: pointer;
}

body.tecnesio-account-auth .woocommerce-form-login__rememberme input {
  flex: 0 0 auto;
  width: 17px !important;
  height: 17px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: var(--tec-auth-purple);
}

body.tecnesio-account-auth #customer_login button.button:not(.show-password-input),
body.tecnesio-account-auth #customer_login .woocommerce-button,
body.tecnesio-account-auth #customer_login .woocommerce-Button,
body.tecnesio-account-auth form.woocommerce-ResetPassword button.button,
body.tecnesio-account-auth form.woocommerce-ResetPassword .woocommerce-Button {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin: 9px 0 0;
  padding: 14px 20px;
  border: 1px solid var(--tec-auth-purple);
  border-radius: 11px;
  background: var(--tec-auth-purple);
  color: #FFFFFF;
  font: 700 13.5px/1 'Inter', sans-serif;
  box-shadow: 0 10px 22px rgba(51, 18, 92, .18);
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.tecnesio-account-auth #customer_login button.button:not(.show-password-input):hover,
body.tecnesio-account-auth #customer_login .woocommerce-button:hover,
body.tecnesio-account-auth #customer_login .woocommerce-Button:hover,
body.tecnesio-account-auth form.woocommerce-ResetPassword button.button:hover,
body.tecnesio-account-auth form.woocommerce-ResetPassword .woocommerce-Button:hover {
  border-color: var(--tec-auth-orange-dark);
  background: var(--tec-auth-orange-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(216, 83, 15, .20);
}

body.tecnesio-account-auth #customer_login .lost_password {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--tec-auth-border);
  text-align: center;
}

body.tecnesio-account-auth #customer_login .lost_password a {
  font-size: 12px;
}

body.tecnesio-account-auth #customer_login .register > p:not(.form-row) {
  margin: 2px 0 17px;
  color: var(--tec-auth-muted);
  font-size: 12.5px;
  line-height: 1.65;
}

body.tecnesio-account-auth #customer_login .woocommerce-privacy-policy-text {
  margin: 18px 0 20px;
  padding: 16px 17px;
  border: 1px solid var(--tec-auth-border);
  border-radius: 12px;
  background: var(--tec-auth-cream);
}

body.tecnesio-account-auth #customer_login .woocommerce-privacy-policy-text p {
  margin: 0;
  color: var(--tec-auth-muted);
  font-size: 11.5px;
  line-height: 1.65;
}

/* Lost-password request and new-password forms. */
body.tecnesio-account-auth form.woocommerce-ResetPassword.lost_reset_password {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 44px 42px 40px;
  border: 1px solid var(--tec-auth-border);
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 24px 64px rgba(51, 18, 92, .10), 0 4px 16px rgba(27, 18, 48, .04);
  overflow: hidden;
}

body.tecnesio-account-auth form.woocommerce-ResetPassword.lost_reset_password::before {
  content: 'RECUPERAR ACCESO';
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--tec-auth-soft);
  color: var(--tec-auth-purple-soft);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
}

body.tecnesio-account-auth form.woocommerce-ResetPassword.lost_reset_password::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--tec-auth-purple) 0 62%, var(--tec-auth-orange) 62% 100%);
}

body.tecnesio-account-auth form.woocommerce-ResetPassword > p:not(.form-row) {
  margin: 0 0 27px;
  color: var(--tec-auth-muted);
  font-size: 13px;
  line-height: 1.7;
}

body.tecnesio-account-auth .woocommerce-password-strength {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 650;
}

body.tecnesio-account-auth .woocommerce-password-strength.bad,
body.tecnesio-account-auth .woocommerce-password-strength.short {
  background: #FDE8E5;
  color: var(--tec-auth-danger);
}

body.tecnesio-account-auth .woocommerce-password-strength.good,
body.tecnesio-account-auth .woocommerce-password-strength.strong {
  background: #E7F5EE;
  color: var(--tec-auth-success);
}

body.tecnesio-account-auth .woocommerce-password-hint {
  display: block;
  margin-top: 8px;
  color: var(--tec-auth-muted);
  font-size: 11.5px;
  line-height: 1.55;
}

/* Notices stay outside the card so errors never become hidden with a tab. */
body.tecnesio-account-auth .woocommerce-notices-wrapper,
body.tecnesio-account-auth .woocommerce > .woocommerce-error,
body.tecnesio-account-auth .woocommerce > .woocommerce-message,
body.tecnesio-account-auth .woocommerce > .woocommerce-info {
  width: 100%;
  margin: 0 auto 16px;
}

body.tecnesio-account-auth .woocommerce-notices-wrapper:empty {
  display: none;
}

body.tecnesio-account-auth .woocommerce-error,
body.tecnesio-account-auth .woocommerce-message,
body.tecnesio-account-auth .woocommerce-info {
  list-style: none;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--tec-auth-border);
  border-top: 0;
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--tec-auth-ink);
  font-size: 12.5px;
  line-height: 1.55;
  box-shadow: 0 7px 20px rgba(27, 18, 48, .045);
}

body.tecnesio-account-auth .woocommerce-error { border-left: 4px solid var(--tec-auth-danger); }
body.tecnesio-account-auth .woocommerce-message { border-left: 4px solid var(--tec-auth-success); }
body.tecnesio-account-auth .woocommerce-info { border-left: 4px solid var(--tec-auth-purple-soft); }

body.tecnesio-account-auth .woocommerce-error::before,
body.tecnesio-account-auth .woocommerce-message::before,
body.tecnesio-account-auth .woocommerce-info::before {
  top: 14px;
  left: 17px;
  color: var(--tec-auth-purple-soft);
}

body.tecnesio-account-auth .woocommerce-error::before { color: var(--tec-auth-danger); }
body.tecnesio-account-auth .woocommerce-message::before { color: var(--tec-auth-success); }

@media (max-width: 620px) {
  body.tecnesio-account-auth .woocommerce {
    padding: 18px 14px 38px;
  }

  body.tecnesio-account-auth #customer_login {
    border-radius: 20px;
  }

  body.tecnesio-account-auth #customer_login .u-column1,
  body.tecnesio-account-auth #customer_login .u-column2 {
    padding: 27px 24px 29px;
  }

  body.tecnesio-account-auth form.woocommerce-ResetPassword.lost_reset_password {
    padding: 36px 28px 32px;
    border-radius: 20px;
  }
}

@media (max-width: 390px) {
  body.tecnesio-account-auth .woocommerce {
    padding-inline: 10px;
  }

  body.tecnesio-account-auth #customer_login .u-column1,
  body.tecnesio-account-auth #customer_login .u-column2 {
    padding-inline: 17px;
  }

  body.tecnesio-account-auth .tec-auth-tab {
    min-height: 44px;
    padding-inline: 8px;
    font-size: 12px;
  }

  body.tecnesio-account-auth form.woocommerce-ResetPassword.lost_reset_password {
    padding-inline: 21px;
  }

  body.tecnesio-account-auth #customer_login input[type='text'],
  body.tecnesio-account-auth #customer_login input[type='email'],
  body.tecnesio-account-auth #customer_login input[type='password'],
  body.tecnesio-account-auth form.woocommerce-ResetPassword input[type='text'],
  body.tecnesio-account-auth form.woocommerce-ResetPassword input[type='password'] {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tecnesio-account-auth *,
  body.tecnesio-account-auth *::before,
  body.tecnesio-account-auth *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (forced-colors: active) {
  body.tecnesio-account-auth .tec-auth-tab.is-active,
  body.tecnesio-account-auth #customer_login,
  body.tecnesio-account-auth form.woocommerce-ResetPassword.lost_reset_password {
    border: 2px solid CanvasText;
  }
}
