  /* ===================================================================
     Login page — restyled to match the "Edit Profile" form-card design:
     left-aligned bold uppercase card header with a bottom rule, plain
     labels with a red required-asterisk, square hairline inputs, and a
     bordered footer bar holding a black CTA with an arrow icon. Same
     content as before — styling only.
     =================================================================== */

  .cx-auth-page {
    padding: 0 0 5rem;
    background: #fff;
  }

  /* ---- Hero: full-bleed accent-tinted band carrying the page title, same
     treatment as the cart page's hero. ---- */
  .cx-auth-hero {
    background: color-mix(in srgb, var(--c-login-1) 85%, #000 15%);
    padding: 4.5rem 0;
  }

  .cx-auth-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 34rem;
    margin: 0 auto;
  }

  .cx-auth-hero__title {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    text-align: center;
  }

  .cx-auth-shell {
    max-width: 32rem;
    margin: 2.5rem auto 0;
    padding: 0 1.25rem;
  }

  @media (max-width: 640px) {
    .cx-auth-hero {
      padding: 2.75rem 0;
    }

    .cx-auth-hero__title {
      font-size: 1.45rem;
    }

    .cx-auth-shell {
      margin-top: 1.5rem;
    }
  }

  .cx-auth-card {
    background: #fff;
    border: 1px solid var(--adi-gray-200, #e5e5e5);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: none;
  }

  .cx-auth-card__head {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--adi-gray-200, #e5e5e5);
  }

  .cx-auth-card__head-label {
    margin: 0;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #000;
  }

  .cx-auth-card__body {
    padding: 2rem;
  }

  .cx-auth-card__sub {
    margin: 0 0 1.25rem;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--adi-gray-500, #767677);
  }

  .cx-auth-error {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 14px;
    line-height: 1.5;
  }

  .cx-auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }

  .cx-auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .cx-auth-field span {
    font-size: 13px;
    font-weight: 600;
    color: #000;
  }

  .cx-auth-required {
    color: #e02020;
    margin-left: 1px;
  }

  .cx-auth-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cx-auth-forgot {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    text-decoration: underline;
  }

  .cx-auth-forgot:hover {
    opacity: 0.7;
  }

  .cx-auth-field input {
    width: 100%;
    height: 42px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 14px;
    color: #222;
    background: transparent;
    outline: none;
    transition: border-color 0.15s;
    font-family: inherit;
  }

  .cx-auth-field input:focus {
    border-color: var(--c-login-1);
  }

  .cx-auth-actions {
    padding-top: 0.35rem;
  }

  .cx-auth-submit {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    background: var(--c-login-1);
    color: #fff;
    border-radius: 10px;
    padding: 0.8rem 1.6rem;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: opacity 0.15s ease;
  }

  .cx-auth-submit:hover {
    opacity: 0.85;
  }

  /* Round the Google/Apple buttons to match this card's own submit button
     (10px) instead of snippets/social-login.liquid's square default, so the
     full page matches the header popup's rounded social buttons. */
  .cx-auth-card {
    --social-login-radius: 10px;
  }

  .cx-auth-switch {
    text-align: center;
    font-size: 13px;
    color: var(--adi-gray-500, #767677);
    margin: 1.5rem 0 0;
  }

  .cx-auth-switch a {
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: underline;
  }

  .cx-auth-switch a:hover {
    opacity: 0.7;
  }

  @media (max-width: 480px) {
    .cx-auth-page {
      padding: 0 0 3rem;
    }

    .cx-auth-card__head,
    .cx-auth-card__body {
      padding: 1.1rem 1.25rem;
    }
  }
