@use '../atoms/variables' as *; // ─── Page ───────────────────────────────────────────────────────────────────── .account-page { min-height: 100vh; background: $color-bg; display: flex; flex-direction: column; } // ─── Header ────────────────────────────────────────────────────────────────── .account-header { background: linear-gradient(135deg, $color-header-from 0%, $color-header-to 100%); padding: $space-6; display: flex; align-items: center; justify-content: space-between; gap: $space-6; box-shadow: 0 2px 16px rgba(0, 50, 120, 0.2); } .account-header__title { font-size: $font-size-xl; font-weight: $font-weight-bold; color: $color-white; } // ─── Tab-Navigation (Pill im Header) ───────────────────────────────────────── .account-tabs { display: flex; background: rgba(255, 255, 255, 0.18); border-radius: $radius-pill; padding: 3px; gap: $space-1; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); } .account-tab { display: inline-flex; align-items: center; padding: $space-2 $space-5; font-size: $font-size-sm; font-weight: $font-weight-medium; color: rgba(255, 255, 255, 0.8); text-decoration: none; border-radius: $radius-pill; transition: background $transition-fast, color $transition-fast; white-space: nowrap; &:hover:not(.account-tab--active) { color: $color-white; background: rgba(255, 255, 255, 0.12); } &--active { color: $color-text-dark; background: $color-white; font-weight: $font-weight-bold; } } // ─── Content ───────────────────────────────────────────────────────────────── .account-content { flex: 1; max-width: 680px; width: 100%; margin: $space-8 auto; padding: 0 $space-6; display: flex; flex-direction: column; gap: $space-6; } // ─── Karte ─────────────────────────────────────────────────────────────────── .account-card { background: $color-card-white; border-radius: $radius-lg; box-shadow: $shadow-card; padding: $space-8; } // ─── Formular-Grid ─────────────────────────────────────────────────────────── .account-form__grid { display: grid; grid-template-columns: 160px 1fr; gap: $space-4 $space-6; align-items: start; } .account-form__label { font-size: $font-size-sm; font-weight: $font-weight-medium; color: $color-text-muted; padding-top: 7px; } .account-form__field { display: flex; flex-direction: column; gap: $space-2; } .account-form__hint { font-size: $font-size-xs; color: $color-text-muted; &--owner { font-size: $font-size-sm; line-height: 1.55; margin-top: $space-1; } } .account-form__link { font-size: $font-size-sm; color: $color-primary; text-decoration: none; &:hover { text-decoration: underline; } } // ─── Passwort-Sektion (toggle) ──────────────────────────────────────────────── .account-form__pw-section { display: contents; // bleibt im Grid-Fluss &[hidden] { display: none !important; } } // ─── Actions ───────────────────────────────────────────────────────────────── .account-form__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: $space-4; margin-top: $space-2; padding-top: $space-4; border-top: 1px solid $color-border; } // ─── Toast ─────────────────────────────────────────────────────────────────── .account-toast { position: fixed; bottom: $space-6; right: $space-6; background: $color-text-dark; color: $color-white; padding: $space-3 $space-5; border-radius: $radius-md; font-size: $font-size-sm; opacity: 0; transform: translateY(8px); transition: opacity $transition-base, transform $transition-base; pointer-events: none; z-index: 9999; &--visible { opacity: 1; transform: translateY(0); } &--error { background: #c83232; } }