/* Logged-out account presentation only; the existing Woo forms remain authoritative. */
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(28px, 5vw, 64px) 16px;
}
body.iz-modern-auth #customer_login {
  display: block;
  width: min(100%, 440px);
  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(20px, 5vw, 32px);
  border: 1px solid var(--iz-modern-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 32px rgb(21 19 19 / 4%);
}
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(24px, 4vw, 28px)/1.2 var(--iz-modern-sans);
  letter-spacing: -.04em;
}
body.iz-modern-auth #customer_login .iz-auth__intro {
  margin: 0 0 24px;
  color: var(--iz-modern-muted);
  font: 400 14px/1.5 var(--iz-modern-sans);
}
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;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
body.iz-modern-auth #customer_login .iz-sso-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font: 650 14px/1.4 var(--iz-modern-sans);
  text-decoration: none;
}
body.iz-modern-auth #customer_login .iz-auth__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 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 16px;
  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: 46px;
  padding: 11px 13px;
  border: 1px solid #c8c4c0;
  border-radius: 9px;
  background: #fff;
  color: var(--iz-modern-ink);
  font: 400 16px/1.4 var(--iz-modern-sans);
  box-shadow: none;
}
body.iz-modern-auth #customer_login input:focus {
  outline: 2px solid var(--iz-modern-red);
  outline-offset: 2px;
  border-color: var(--iz-modern-red);
}
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: 1px;
  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: 18px 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) {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
}
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 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: 46px;
  margin: 0;
  padding: 11px 16px;
  border: 1px solid var(--iz-modern-red);
  border-radius: 9px;
  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: 22px 0 0;
  text-align: center;
  color: var(--iz-modern-muted);
  font: 400 12px/1.6 var(--iz-modern-sans);
}
body.iz-modern-auth #customer_login .iz-auth__switch a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: var(--iz-modern-red);
  font-weight: 700;
  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;
}
