/* Logged-out account presentation only; the existing Woo forms remain authoritative. */
@font-face {
  font-family: "Google Sans";
  src: url("../../fonts/GoogleSans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

body.iz-modern-auth .iz-newsticker { display: none; }
body.iz-modern-auth.iz-auth-ready #primary > .page-header { display: none; }
body.iz-modern-auth #primary {
  width: 100%;
  min-width: 0;
  padding: clamp(24px, 4vw, 48px) 16px;
}
body.iz-modern-auth #customer_login {
  display: block;
  width: min(100%, 432px);
  margin: 0 auto;
  font-family: var(--iz-modern-sans);
}
body.iz-modern-auth #customer_login > [class*="u-column"] {
  float: none;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 24px;
  padding: clamp(18px, 5vw, 32px);
  border: 1px solid var(--iz-modern-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 36px rgb(58 33 27 / 7%);
}
body.iz-modern-auth #customer_login > [hidden] { display: none; }
body.iz-modern-auth #customer_login :is(h1, h2) {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  color: var(--iz-modern-ink);
  font: 750 clamp(25px, 6.4vw, 34px)/1.15 var(--iz-modern-sans);
  letter-spacing: -.04em;
  text-align: center;
}
body.iz-modern-auth #customer_login .iz-auth__intro {
  margin: 0 0 22px;
  color: var(--iz-modern-muted);
  font: 400 14px/1.5 var(--iz-modern-sans);
  text-align: center;
}
body.iz-modern-auth #customer_login form {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  font: 400 14px/1.5 var(--iz-modern-sans);
}
body.iz-modern-auth #customer_login .iz-sso-buttons {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}
body.iz-modern-auth.iz-auth-ready #customer_login .iz-sso-buttons { margin-top: 0; }
/* Social sign-in requires an existing account. */
body.iz-modern-auth.iz-auth-ready #customer_login .u-column2 .iz-sso-buttons { display: none; }
body.iz-modern-auth #customer_login .iz-sso-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0;
  padding: 0 max(18px, 8%) 0 36px;
  border-radius: 11px;
  background: #fff;
  font: 500 14px/20px "Google Sans", Arial, sans-serif;
  text-align: center;
  text-decoration: none;
}
body.iz-modern-auth #customer_login .iz-sso-button::before {
  content: "";
  position: absolute;
  inset-block: 0;
  margin-block: auto;
  background: center / contain no-repeat;
}
body.iz-modern-auth #customer_login .iz-sso-button--google {
  border-color: #747775;
  color: #1f1f1f;
}
body.iz-modern-auth #customer_login .iz-sso-button--google::before {
  inset-inline-start: 12px;
  width: 20px;
  height: 20px;
  background-image: url("../../img/google-sign-in.png");
}
body.iz-modern-auth #customer_login .iz-sso-button--apple {
  border-color: #1d1d1f;
  color: #000;
}
body.iz-modern-auth #customer_login .iz-sso-button--apple::before {
  /* Apple's artwork includes the button's vertical and leading clearance. */
  inset-inline-start: 4px;
  width: 31px;
  height: 44px;
  background-image: url("../../img/apple-sign-in.svg");
  mix-blend-mode: multiply;
}
body.iz-modern-auth #customer_login .iz-sso-button:hover {
  background: #f7f7f7;
  text-decoration: none;
}
body.iz-modern-auth #customer_login .iz-auth__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 17px 0;
  color: var(--iz-modern-muted);
  font-size: 12px;
}
body.iz-modern-auth #customer_login .iz-auth__divider::before,
body.iz-modern-auth #customer_login .iz-auth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--iz-modern-line);
}
body.iz-modern-auth #customer_login .form-row {
  float: none;
  width: 100%;
  margin: 0 0 13px;
  padding: 0;
}
body.iz-modern-auth #customer_login label {
  display: block;
  margin-bottom: 7px;
  color: var(--iz-modern-ink);
  font: 600 13px/1.5 var(--iz-modern-sans);
}
body.iz-modern-auth #customer_login input:is([type="text"], [type="email"], [type="password"]) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #918a85;
  border-radius: 11px;
  background: #fbfbfa;
  color: var(--iz-modern-ink);
  font: 400 16px/1.4 var(--iz-modern-sans);
  box-shadow: none;
}
body.iz-modern-auth #customer_login input:is([type="text"], [type="email"], [type="password"]):focus {
  outline: 2px solid var(--iz-modern-red);
  outline-offset: 2px;
  border-color: var(--iz-modern-red);
  background: #fff;
}
body.iz-modern-auth #customer_login .password-input { position: relative; display: block; width: 100%; }
body.iz-modern-auth #customer_login .password-input input { padding-right: 48px; }
body.iz-modern-auth #customer_login .show-password-input {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--iz-modern-muted);
  transform: none;
}
/* The active parent stylesheet omits Woo's password-toggle glyph. */
body.iz-modern-auth #customer_login .show-password-input::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin: auto;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
body.iz-modern-auth #customer_login .show-password-input.display-password::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-45deg);
}
body.iz-modern-auth #customer_login .show-password-input:focus-visible {
  outline: 2px solid var(--iz-modern-red);
  outline-offset: -2px;
}
body.iz-modern-auth #customer_login .iz-auth__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
}
/* Woo's clearfix would otherwise occupy cells in this two-column row. */
body.iz-modern-auth #customer_login .iz-auth__actions::before,
body.iz-modern-auth #customer_login .iz-auth__actions::after { display: none; }
body.iz-modern-auth #customer_login .iz-auth__actions :is(label, a) {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}
body.iz-modern-auth #customer_login label.woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
body.iz-modern-auth #customer_login .iz-auth__actions label { align-items: center; }
body.iz-modern-auth #customer_login input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--iz-modern-red);
}
body.iz-modern-auth #customer_login button[type="submit"] {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 16px;
  border: 1px solid var(--iz-modern-red);
  border-radius: 11px;
  background: var(--iz-modern-red);
  color: #fff;
  font: 700 14px/1.4 var(--iz-modern-sans);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
body.iz-modern-auth #customer_login button[type="submit"]:hover { background: var(--iz-modern-deep); }
body.iz-modern-auth #customer_login .iz-auth__switch {
  margin: 16px 0 0;
  padding-top: 4px;
  border-top: 1px solid var(--iz-modern-line);
  text-align: center;
  color: var(--iz-modern-muted);
  font: 500 13px/1.5 var(--iz-modern-sans);
}
body.iz-modern-auth #customer_login .iz-auth__switch a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--iz-modern-red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.iz-modern-auth #customer_login .woocommerce-form-register > p:not(.form-row, .iz-auth__divider) {
  margin: 0 0 16px;
  color: var(--iz-modern-muted);
  font-size: 13px;
}
