/* ==========================================================================
   InSono — Anmeldung / Registrierung (mit Code per E-Mail)
   Entspricht Shopifys customer-Templates (login, register, reset_password),
   built in the InSono visual language.
   ========================================================================== */

.auth {
    display: grid;
    min-height: calc(100vh - var(--header-height));
    place-items: center;
    padding-block: 56px;
    background: var(--bg);
}

.auth__card {
    width: min(460px, 100%);
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.auth__card--wide {
    width: min(560px, 100%);
}

.auth__head {
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
    text-align: center;
}

.auth__title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.auth__subtitle {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.auth__form {
    display: grid;
    gap: 16px;
}

.auth__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}

.auth__link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth__link:hover {
    color: var(--header-accent);
}

.auth__submit {
    margin-top: 4px;
}

.auth__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-block: 4px;
    color: var(--soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth__divider::before,
.auth__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.auth__footer {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.auth__footer a {
    color: var(--accent);
    font-weight: 700;
}

/* ---- Benefit list next to the form -------------------------------------- */

.auth__perks {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.auth__perks li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.auth__perks svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--header-accent);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Anmeldung per E-Mail-Code */
.auth__alt { margin-top: 18px; }
.auth__alt-line { display: block; margin-bottom: 14px; text-align: center; color: var(--color-muted, #6c706a); font-size: 13px; }
.auth__alt-line::before,
.auth__alt-line::after { content: ""; display: inline-block; width: 28%; height: 1px; vertical-align: middle;
    margin: 0 10px; background: var(--line, #e5e1da); }
.auth__hint { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--color-muted, #6c706a); }

/* Karte mit Fortschrittsanzeige darüber (Checkout-Bestätigung) */
.auth__stack { width: 100%; max-width: 460px; }
.auth__stack .checkout-steps { justify-content: center; margin-top: 0; margin-bottom: 18px; }
.auth__stack .auth__card { width: 100%; }
