/* ==========================================================
   AZM Mitgliederbereich
   Registrierung und Login
   Stand: 14.07.2026
   ========================================================== */

.azm-auth-shell {
    display: grid;
    place-items: center;
    padding: 14px 0 34px;
}

.azm-auth-card {
    width: 100%;
    max-width: 760px;
    padding: 28px;
    border: 1px solid var(--azm-border);
    border-radius: var(--azm-radius-large);
    background: #fff;
    box-shadow: 0 12px 34px rgba(31, 41, 55, .07);
}

.azm-auth-card-small {
    max-width: 540px;
}

.azm-auth-card h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
}

.azm-auth-intro {
    margin: 12px 0 24px;
    color: var(--azm-text-soft);
    line-height: 1.65;
}

.azm-auth-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #f2b8b5;
    border-radius: var(--azm-radius-small);
    color: #8f1c13;
    background: #fff5f4;
    line-height: 1.5;
}

.azm-auth-alert ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.azm-auth-form {
    display: grid;
    gap: 18px;
}

.azm-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.azm-auth-field label {
    display: block;
    margin-bottom: 7px;
    color: #27364b;
    font-weight: 700;
}

.azm-auth-field input {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--azm-border-strong);
    border-radius: var(--azm-radius-small);
    color: var(--azm-text);
    background: #fff;
    outline: none;
}

.azm-auth-field input:focus {
    border-color: var(--azm-primary);
    box-shadow: 0 0 0 3px rgba(11, 79, 162, .12);
}

.azm-auth-field small {
    display: block;
    margin-top: 6px;
    color: var(--azm-muted);
    line-height: 1.45;
}

.azm-auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.azm-auth-check input {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.azm-auth-submit {
    width: 100%;
    min-height: 48px;
    border: 0;
}

.azm-auth-switch {
    margin: 22px 0 0;
    color: var(--azm-muted);
    text-align: center;
}

.azm-auth-switch a {
    font-weight: 700;
}

@media (max-width: 700px) {
    .azm-auth-card {
        padding: 22px;
    }

    .azm-auth-grid {
        grid-template-columns: 1fr;
    }
}