@use '../atoms/variables' as *; // ─── Login Page ─────────────────────────────────────────────────────────────── .login-body { min-height: 100vh; background: $color-bg; display: flex; align-items: center; justify-content: center; } // ─── Card ───────────────────────────────────────────────────────────────────── .login-card { background: $color-card-white; border-radius: $radius-xl; padding: $space-10 $space-12; width: 100%; max-width: 540px; box-shadow: $shadow-card; } .login-card__title { font-size: $font-size-xl; font-weight: $font-weight-bold; color: $color-text-dark; text-align: center; margin-bottom: $space-8; } .login-card__error { background: rgba($color-error, 0.08); border: 1px solid rgba($color-error, 0.25); border-radius: $radius-sm; color: $color-error; font-size: $font-size-sm; padding: $space-3 $space-4; margin-bottom: $space-6; } // ─── Form Grid ──────────────────────────────────────────────────────────────── .login-form__grid { display: grid; grid-template-columns: 90px 1fr; gap: $space-5 $space-4; align-items: center; margin-bottom: $space-5; } .login-form__label { font-size: $font-size-base; color: $color-text-muted; text-align: right; padding-right: $space-2; } .login-form__field { display: flex; align-items: center; gap: $space-3; } .login-form__field--password { flex-wrap: wrap; gap: $space-2 $space-3; } .login-form__forgot { font-size: $font-size-sm; color: $color-text-muted; text-decoration: none; white-space: nowrap; &:hover { color: $color-primary; text-decoration: underline; } } // ─── Footer-Link (z. B. "Zurück zur Anmeldung") ─────────────────────────────── .login-form__footer { text-align: center; margin-top: $space-6; } .login-form__link { font-size: $font-size-sm; color: $color-text-muted; text-decoration: none; &:hover { color: $color-primary; text-decoration: underline; } } // ─── Info-Text (nach E-Mail-Versand) ────────────────────────────────────────── .login-card__info { font-size: $font-size-base; color: $color-text-base; text-align: center; margin-bottom: $space-6; line-height: 1.6; } .login-card__sub { font-size: $font-size-sm; color: $color-text-muted; text-align: center; margin-bottom: $space-6; } // ─── "Angemeldet bleiben" ───────────────────────────────────────────────────── .login-form__remember { display: flex; justify-content: center; margin-bottom: $space-6; } .login-form__remember-label { display: flex; align-items: center; gap: $space-2; cursor: pointer; font-size: $font-size-base; color: $color-text-base; input[type='checkbox'] { width: 16px; height: 16px; cursor: pointer; accent-color: $color-primary; } } // ─── Submit ─────────────────────────────────────────────────────────────────── .login-form__actions { display: flex; justify-content: center; } .login-form__submit { padding: $space-3 $space-10; font-size: $font-size-md; }