/* Supplied centered authentication/recovery layouts. Only account auth routes. */


.marielco-auth {
  --auth-ink: #171717;
  --auth-muted: var(--marielco-color-text-muted, #767676);
  --auth-line: #e3e3df;
  --marielco-auth-header-height: calc(var(--marielco-header-height, 72px) + var(--wp-admin--admin-bar--height, 0px));
  width: 100%;
  min-height: calc(100svh - var(--marielco-auth-header-height));
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 64px 24px 80px;
  background: #fff;
  color: var(--auth-ink);
  font-family: var(--marielco-font-family, Arimo, Arial, sans-serif);
  font-size: 14px;
  line-height: 1.55;
}
.marielco-auth *, .marielco-auth *::before, .marielco-auth *::after { box-sizing: border-box; }
.marielco-auth [hidden] { display: none; }
.marielco-auth .marielco-auth__shell { width: 100%; max-width: 520px; min-width: 0; margin: 0; }
.marielco-auth h1, .marielco-auth h2 { font-family: inherit; font-weight: 400; color: inherit; text-transform: none; }
.marielco-auth a { text-decoration: none; }
.marielco-auth .marielco-auth__title { margin: 0 0 28px; font-size: 34px; line-height: 1.1; letter-spacing: -.025em; text-align: center; }
.marielco-auth__tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 30px; }
.marielco-auth .marielco-auth__tab { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #666; background-color: transparent; background-image: linear-gradient(#111,#111), linear-gradient(#aaa,#aaa); background-position: left bottom; background-size: 0% 1px, 100% 1px; background-repeat: no-repeat; transition: color var(--marielco-transition-standard), background-size var(--marielco-transition-standard); }
.marielco-auth .marielco-auth__tab:is(:hover,:focus-visible,.is-active) { color: #111; background-size: 100% 1px, 100% 1px; opacity: 1; }
.marielco-auth__panel { min-width: 0; }
/* Native's generic #customer_login rule assumes a two-column register layout. */
.marielco-auth .marielco-auth__shell#customer_login > .marielco-auth__panel { border: 0; }
.marielco-auth form.marielco-auth__form { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.marielco-auth__grid { display: grid; gap: 4px 24px; grid-template-columns: minmax(0, 1fr); }
.marielco-auth__field { position: relative; padding-top: 6px; min-width: 0; }
.marielco-auth .marielco-auth__field > input { display: block; width: 100%; min-width: 0; height: 58px; margin: 0; padding: 22px 0 7px; border: 0; border-bottom: 1px solid #bcbcbc; border-radius: 0; background: transparent; background-image: none; color: var(--auth-ink); font: inherit; font-size: 14px; line-height: 28px; box-shadow: none; outline: none; transition: border-color var(--marielco-transition-fast, 150ms ease); }
.marielco-auth .marielco-auth__field > input:focus { outline: none; box-shadow: none; border-bottom-color: #111; }
.marielco-auth .marielco-auth__field > label { position: absolute; left: 0; top: 29px; margin: 0; color: var(--auth-muted); font-size: 14px; font-weight: 400; line-height: 18px; pointer-events: none; transition: top var(--marielco-transition-fast, 150ms ease), font-size var(--marielco-transition-fast, 150ms ease), color var(--marielco-transition-fast, 150ms ease); }
.marielco-auth__field > input:focus ~ label, .marielco-auth__field > input:not(:placeholder-shown) ~ label { top: 6px; font-size: 12px; }
.marielco-auth__field > input:focus ~ label { color: #111; }
.marielco-auth .marielco-auth__field--password > input { padding-right: 52px; }
/* Edge's input-only reveal control would duplicate the accessible MARIELCO button. */
.marielco-auth .marielco-auth__field--password > input::-ms-reveal { display: none; }
.marielco-auth .marielco-auth__field > input:-webkit-autofill { -webkit-text-fill-color: var(--auth-ink); box-shadow: 0 0 0 1000px #fff inset; }
.marielco-auth .marielco-auth__show { position: absolute; right: 0; top: 19px; display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; min-width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; background-image: none; color: var(--auth-muted); box-shadow: none; transform: none; transition: color var(--marielco-transition-fast, 150ms ease); }
.marielco-auth .marielco-auth__show:hover { background: transparent; color: #111; box-shadow: none; }
.marielco-auth__show svg { display: block; flex: 0 0 20px; width: 20px; height: 20px; pointer-events: none; }
.marielco-auth__eye-slash { opacity: 0; transition: opacity var(--marielco-transition-fast, 150ms ease); }
.marielco-auth__show[aria-pressed=true] .marielco-auth__eye-slash { opacity: 1; }
.marielco-auth__meta { margin-top: 16px; min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.marielco-auth .marielco-auth__check { display: inline-flex; align-items: center; gap: 9px; min-height: 32px; margin: 0; color: #333; font-size: 13px; font-weight: 400; line-height: 1.4; cursor: pointer; }
.marielco-auth__check input { flex: 0 0 15px; width: 15px; height: 15px; margin: 0; accent-color: #111; }
.marielco-auth .marielco-auth__link { display: inline-flex; align-items: center; min-height: 32px; color: var(--auth-muted); font-size: 13px; line-height: 1.4; transition: color var(--marielco-transition-fast, 150ms ease); }
.marielco-auth .marielco-auth__link:hover { color: #111; background: transparent; }
.marielco-auth .marielco-auth__submit { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; justify-content: center; margin: 26px 0 0; padding: 0 16px; border: 1px solid #111; border-radius: 0; background: #111; background-image: none; color: #fff; font: inherit; font-size: 12px; font-weight: 400; letter-spacing: .10em; text-transform: uppercase; box-shadow: none; transform: none; }
.marielco-auth .marielco-auth__submit:hover, .marielco-auth .marielco-auth__submit:focus { background: #111; color: #fff; box-shadow: none; transform: none; }
.marielco-auth__submit span { position: relative; padding-block: 3px; }
.marielco-auth .marielco-auth__submit:disabled { opacity: .5; cursor: not-allowed; }
.marielco-auth .marielco-auth__password-note { margin: 14px 0 0; color: var(--auth-muted); font-size: 13px; line-height: 1.6; }
.marielco-auth .woocommerce-privacy-policy-text { margin: 16px 0 0; color: var(--auth-muted); font-size: 12px; line-height: 1.6; }
.marielco-auth .woocommerce-privacy-policy-text p { margin: 0; }
.marielco-auth .woocommerce-privacy-policy-text a { color: #111; }
.marielco-auth .form-row { margin: 14px 0; padding: 0; }
.marielco-auth .form-row label { font-size: 13px; }
.marielco-auth .woocommerce-password-strength, .marielco-auth .woocommerce-password-hint { margin-top: 8px; font-size: 12px; line-height: 1.6; }
.marielco-auth__trap { position: absolute; left: -999em; }
.marielco-auth__social { display: grid; gap: var(--marielco-action-gap); margin-top: 22px; text-align: center; }
.marielco-auth .marielco-auth__social a { color: #111; font-size: 13px; }
.marielco-auth a:focus-visible, .marielco-auth button:focus-visible, .marielco-auth input[type=checkbox]:focus-visible { outline: 1px solid #111; outline-offset: 3px; }
/* Center recovery content below the header; min-height still permits short-screen scrolling. */
.marielco-auth.marielco-auth--recovery { align-items: center; padding-block: var(--marielco-space-4xl, 48px); }
.marielco-auth--recovery .marielco-auth__shell { max-width: 500px; }
/* Override Native's 470px lost-password form cap within this 500px shell only. */
.marielco-auth.marielco-auth--recovery .marielco-auth__form { width: 100%; max-width: none; }
.marielco-auth .marielco-auth__recovery-note { margin: 0 0 22px; color: var(--auth-muted); font-size: 13px; line-height: 1.7; }
.marielco-auth .marielco-auth__return { display: flex; justify-content: center; margin-top: 16px; }
.marielco-auth--recovery .woocommerce-message { margin: 0 0 22px; padding: 14px 16px; border: 0; border-left: 2px solid #111; border-radius: 0; background: #f3f4f2; color: var(--auth-ink); font-size: 13px; line-height: 1.65; }
.marielco-auth--recovery .woocommerce-message::before { content: none; }
@media (max-width: 768px) {
  .marielco-auth { min-height: calc(100dvh - var(--marielco-auth-header-height)); padding: 18px 16px 22px; }
  .marielco-auth .marielco-auth__shell { max-width: 430px; }
  .marielco-auth .marielco-auth__title { margin-bottom: 16px; font-size: 26px; line-height: 1; }
  .marielco-auth__tabs { margin-bottom: 18px; }
  .marielco-auth .marielco-auth__tab { min-height: 38px; }
  .marielco-auth__grid { gap: 0 16px; }
  .marielco-auth__field { padding-top: 2px; }
  .marielco-auth .marielco-auth__field > input { height: 50px; padding-top: 18px; padding-bottom: 5px; font-size: 16px; line-height: 26px; }
  .marielco-auth .marielco-auth__field > label { top: 23px; }
  .marielco-auth .marielco-auth__field > input:focus ~ label, .marielco-auth .marielco-auth__field > input:not(:placeholder-shown) ~ label { top: 3px; font-size: 12px; }
  .marielco-auth .marielco-auth__show { top: 7px; }
  .marielco-auth__meta { margin-top: 12px; gap: 14px; }
  .marielco-auth .marielco-auth__check, .marielco-auth .marielco-auth__link { font-size: 12px; }
  .marielco-auth .marielco-auth__submit { height: 48px; min-height: 48px; margin-top: 18px; }
  .marielco-auth .woocommerce-privacy-policy-text { margin-top: 10px; line-height: 1.5; }
  .marielco-auth--recovery .marielco-auth__shell { max-width: 500px; }
  .marielco-auth.marielco-auth--recovery { padding-block: var(--marielco-space-xl, 24px); }
  .marielco-auth .marielco-auth__recovery-note { margin-bottom: 16px; text-align: center; }
}
@media (max-width: 380px) {
  .marielco-auth { padding-top: 14px; padding-bottom: 16px; }
  .marielco-auth .marielco-auth__title { font-size: 24px; margin-bottom: 14px; }
  .marielco-auth__tabs { margin-bottom: 14px; }
  .marielco-auth .marielco-auth__tab { min-height: 36px; }
  .marielco-auth .marielco-auth__field > input { height: 47px; }
  .marielco-auth .marielco-auth__show { top: 4px; }
  .marielco-auth .marielco-auth__submit { height: 46px; min-height: 46px; margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .marielco-auth *, .marielco-auth *::before, .marielco-auth *::after { transition: none; animation: none; }
}

.marielco-account-route { width: 100%; background: #fff; }
.marielco-account-route__content > .woocommerce { width: 100%; margin: 0; }
.marielco-auth .marielco-auth__panel[hidden], .marielco-auth .marielco-auth__show[hidden] { display: none; }
.marielco-auth input[aria-invalid=true] { border-bottom-color: #111; }
.marielco-auth .marielco-auth__form > .marielco-form-security { margin: 20px 0; min-width: 0; }
.marielco-auth [data-security-status] { color: var(--auth-muted); font-size: 12px; line-height: 1.6; }
