/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ============================================================
   MAINLAYOUT.RAZOR.CSS – Scoped Styles für das Haupt-Layout

   Beschreibung:
   – Definiert das zweispaltige App-Grundgerüst: Sidebar links, Hauptbereich rechts.
   – Auf Tablet/Handy: Sidebar als Slide-In, Mobile-Topbar oben sichtbar.
   – Hintergrundverläufe folgen dem Design-System aus app.css.

   Zweck:
   – Gehört zum projekteinheitlichen Datei-Header-Standard.
   ============================================================ */

/* Äußerer Rahmen: Sidebar links, scrollbarer Hauptbereich rechts */
.app-layout[b-o7idk1t2t9] {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% -8%, rgba(34, 225, 207, 0.09), transparent 28rem),
        linear-gradient(135deg, var(--bg-app-deep), var(--bg-app));
}

/* Flex-Container für den scrollbaren Inhaltsbereich */
.app-main[b-o7idk1t2t9] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

/* Scrollbarer Inhaltsbereich mit abgestuftem Hintergrundverlauf */
.app-content[b-o7idk1t2t9] {
    flex: 1;
    padding: 1.75rem 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(16, 33, 42, 0.72) 0%, rgba(7, 19, 22, 0.96) 44%, var(--bg-app) 100%);
}

/* ── Tablet (≤ 1199px): Sidebar wird zum Slide-In-Overlay ─────────── */
@media (max-width: 1199px) {
    .app-layout[b-o7idk1t2t9] {
        flex-direction: column;
    }

    .app-main[b-o7idk1t2t9] {
        overflow: visible;
    }

    .app-content[b-o7idk1t2t9] {
        padding: 1.25rem;
        overflow-x: hidden;
    }
}

/* ── Mobile (≤ 768px) ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .app-content[b-o7idk1t2t9] {
        padding: 1rem;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ============================================================
   NAVMENU.RAZOR.CSS – Scoped Styles für die Seitennavigation

   Beschreibung:
   – Styles für die linke Sidebar mit Markenzeile, Navigationsliste und Links.
   – Aktueller aktiver Link wird durch Accent-Farbe und Glow hervorgehoben.
   – Auf Tablet/Handy: Mobile-Topbar mit Hamburger, Sidebar als Slide-In-Overlay.

   Zweck:
   – Gehört zum projekteinheitlichen Datei-Header-Standard.
   ============================================================ */

/* ── Mobile Topbar ──────────────────────────────────────────────────── */

/* Standardmäßig unsichtbar – wird nur auf Tablet/Handy eingeblendet */
.mobile-topbar[b-t8jdtb3bmt] {
    display: none;
    flex-shrink: 0;
}

/* Hamburger-Button */
.hamburger-btn[b-t8jdtb3bmt] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(34, 225, 207, 0.07);
    border: 1px solid rgba(34, 225, 207, 0.18);
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.hamburger-btn:hover[b-t8jdtb3bmt] {
    background: rgba(34, 225, 207, 0.13);
    border-color: rgba(34, 225, 207, 0.32);
}

.hamburger-icon[b-t8jdtb3bmt] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger-icon span[b-t8jdtb3bmt] {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

/* Animiertes X wenn geöffnet */
.hamburger-icon--open span:nth-child(1)[b-t8jdtb3bmt] {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-icon--open span:nth-child(2)[b-t8jdtb3bmt] {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger-icon--open span:nth-child(3)[b-t8jdtb3bmt] {
    transform: translateY(-7px) rotate(-45deg);
}

/* Brand-Link links in der Mobile-Topbar */
.mobile-header-brand[b-t8jdtb3bmt] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.mobile-brand-logo[b-t8jdtb3bmt] {
    height: 46px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.mobile-brand-text[b-t8jdtb3bmt] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.mobile-brand-name[b-t8jdtb3bmt] {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.01em;
}

.mobile-brand-sub[b-t8jdtb3bmt] {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* ── Overlay-Hintergrund ────────────────────────────────────────────── */

.nav-overlay[b-t8jdtb3bmt] {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 9, 13, 0.72);
    z-index: 190;
    animation: navOverlayFadeIn-b-t8jdtb3bmt 0.22s ease;
    backdrop-filter: blur(1px);
    touch-action: none;
}

/* Auf Desktop nicht sichtbar (Sicherheitsregel für erzwungene Resize-Szenarien) */
@media (min-width: 1200px) {
    .nav-overlay[b-t8jdtb3bmt] { display: none; }
}

@keyframes navOverlayFadeIn-b-t8jdtb3bmt {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Sidebar-Container ──────────────────────────────────────────────── */

.sidebar[b-t8jdtb3bmt] {
    width: 240px;
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(13, 26, 32, 0.98) 0%, rgba(3, 9, 13, 0.98) 100%),
        var(--bg-app-deep);
    color: var(--text-soft);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border-right: 1px solid var(--border-soft);
    box-shadow: 10px 0 34px rgba(0, 0, 0, 0.28);
}

/* Markenzeile mit Logo und Text */
.sidebar-brand[b-t8jdtb3bmt] {
    padding: 0.8rem 1rem 0.7rem 1rem;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-logo[b-t8jdtb3bmt] {
    width: 70px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text[b-t8jdtb3bmt] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name[b-t8jdtb3bmt] {
    font-size: 1.2em;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.01em;
}

.brand-sub[b-t8jdtb3bmt] {
    font-size: 0.72em;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 0.17em;
    text-transform: uppercase;
    margin-top: 0.38rem;
}

/* Navigationsliste: kein Bullet, kompaktes Padding */
.nav-list[b-t8jdtb3bmt] {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    overflow-y: auto;
    flex: 1;
}

.nav-list li[b-t8jdtb3bmt] {
    margin: 0;
    padding: 0 10px;
    margin-bottom: 4px;
}

/* Optischer Trenner zwischen Navigationsbereichen */
.nav-separator[b-t8jdtb3bmt] {
    height: 1px;
    background-color: var(--border-soft);
    margin: 0.5rem 10px;
}

/* Blazor NavLink: Basis-Styling für alle Links */
[b-t8jdtb3bmt] .nav-link {
    display: flex;
    align-items: center;
    padding: 10px 12px 10px 14px;
    color: #E2E8F0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 550;
    border-radius: 12px;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

/* Hover: subtiler Teal-Glow als linker Akzentstreifen */
[b-t8jdtb3bmt] .nav-link:hover {
    background-color: rgba(34, 225, 207, 0.07);
    color: var(--text-main);
    box-shadow: inset 2px 0 0 rgba(34, 225, 207, 0.34);
}

/* Aktiver Link: stärkerer Verlauf und Glow für aktuellen Bereich */
[b-t8jdtb3bmt] .nav-link.active {
    background: linear-gradient(90deg, rgba(34, 225, 207, 0.16), rgba(34, 225, 207, 0.05));
    color: var(--accent-primary);
    font-weight: 800;
    box-shadow: inset 3px 0 0 var(--accent-primary), 0 0 20px rgba(34, 225, 207, 0.1);
}

.nav-label[b-t8jdtb3bmt] {
    line-height: 1.4;
}

/* Benutzer und Logout am unteren Rand der Sidebar */
.sidebar-footer[b-t8jdtb3bmt] {
    margin-top: auto;
    padding: 0.75rem 0.75rem 1rem;
    border-top: 1px solid var(--border-soft);
    position: relative;
}

/* Benutzer-Karte als Button: Avatar + Name + Rolle + Chevron */
.sidebar-user-card[b-t8jdtb3bmt] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 10px 10px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.sidebar-user-card:hover[b-t8jdtb3bmt] {
    background: rgba(34, 225, 207, 0.07);
    border-color: rgba(34, 225, 207, 0.22);
}

.sidebar-user-card[aria-expanded="True"][b-t8jdtb3bmt] {
    background: rgba(34, 225, 207, 0.07);
    border-color: rgba(34, 225, 207, 0.28);
}

.sidebar-chevron[b-t8jdtb3bmt] {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--text-soft);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

/* ── Benutzer-Dropdown (öffnet nach oben) ───────────────────────────── */

.user-menu-backdrop[b-t8jdtb3bmt] {
    position: fixed;
    inset: 0;
    z-index: 90;
}

.user-menu-popup[b-t8jdtb3bmt] {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 100;
    background: #0f1e25;
    border: 1px solid rgba(34, 225, 207, 0.18);
    border-radius: 16px;
    padding: 0.5rem 0.4rem;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
    animation: menuFadeUp-b-t8jdtb3bmt 0.15s ease;
}

@keyframes menuFadeUp-b-t8jdtb3bmt {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.user-menu-header[b-t8jdtb3bmt] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 0.6rem 0.65rem;
}

.user-menu-avatar[b-t8jdtb3bmt] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(34, 225, 207, 0.16);
    border: 1px solid rgba(34, 225, 207, 0.38);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

.user-menu-avatar--img[b-t8jdtb3bmt] {
    background: none;
    border-color: rgba(34, 225, 207, 0.28);
}

.user-menu-avatar img[b-t8jdtb3bmt] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-menu-identity[b-t8jdtb3bmt] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-menu-name[b-t8jdtb3bmt] {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-menu-role[b-t8jdtb3bmt] {
    font-size: 0.72rem;
    color: var(--text-soft);
    margin-top: 1px;
}

.user-menu-divider[b-t8jdtb3bmt] {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 0.25rem 0.2rem;
}

.user-menu-item[b-t8jdtb3bmt] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.855rem;
    font-weight: 550;
    color: var(--text-soft);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.user-menu-item:hover[b-t8jdtb3bmt] {
    background: rgba(34, 225, 207, 0.08);
    color: var(--text-main);
}

.user-menu-item i[b-t8jdtb3bmt] {
    font-size: 0.95rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.user-menu-item--danger[b-t8jdtb3bmt] {
    color: #f87171;
}

.user-menu-item--danger:hover[b-t8jdtb3bmt] {
    background: rgba(239, 68, 68, 0.10);
    color: #fca5a5;
}

.user-menu-logout-form[b-t8jdtb3bmt] {
    margin: 0;
    padding: 0;
}

/* Initials-Avatar */
.sidebar-avatar[b-t8jdtb3bmt] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(34, 225, 207, 0.16);
    border: 1px solid rgba(34, 225, 207, 0.38);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

/* Wenn ein Bild vorhanden ist */
.sidebar-avatar--img[b-t8jdtb3bmt] {
    background: none;
    border-color: rgba(34, 225, 207, 0.28);
}

.sidebar-avatar-img[b-t8jdtb3bmt] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.sidebar-user-info[b-t8jdtb3bmt] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar-user-name[b-t8jdtb3bmt] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role[b-t8jdtb3bmt] {
    font-size: 0.72rem;
    color: var(--text-soft);
    margin-top: 1px;
}

/* ── Tablet + Mobile: Slide-In Sidebar (≤ 1199px) ──────────────────── */
@media (max-width: 1199px) {

    /* Mobile Topbar einblenden */
    .mobile-topbar[b-t8jdtb3bmt] {
        display: flex;
        align-items: center;
        height: 62px;
        padding: 0 1rem;
        background: var(--bg-app-deep);
        border-bottom: 1px solid var(--border-soft);
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
    }

    /* Hamburger nach rechts drängen */
    .hamburger-btn[b-t8jdtb3bmt] {
        margin-left: auto;
    }

    /* Sidebar-Brand ausblenden – Logo bereits in der Topbar sichtbar */
    .sidebar-brand[b-t8jdtb3bmt] {
        display: none;
    }

    /* Sidebar als festes Slide-In-Panel – startet unterhalb der Topbar */
    .sidebar[b-t8jdtb3bmt] {
        position: fixed;
        top: 62px;
        left: 0;
        bottom: 0;
        min-height: calc(100dvh - 62px);
        width: 240px;
        z-index: 200;
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                    box-shadow 0.28s ease;
        border-right: 1px solid var(--border-soft);
        box-shadow: none;
    }

    /* Sidebar geöffnet: hereinschieben */
    .sidebar--open[b-t8jdtb3bmt] {
        transform: translateX(0);
        box-shadow: 8px 0 48px rgba(0, 0, 0, 0.58),
                    24px 0 80px rgba(0, 0, 0, 0.32);
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* ============================================================
   RECONNECTMODAL.RAZOR.CSS – Scoped Styles für den Reconnect-Dialog

   Beschreibung:
   – Styles für den Verbindungsunterbrechungs-Dialog des Blazor-Servers.
   – Blendet alle Statustexte standardmäßig aus; Blazor setzt per CSS-Klasse
     den richtigen Zustand (show, retrying, failed, paused, resume-failed).

   Zweck:
   – Gehört zum projekteinheitlichen Datei-Header-Standard.
   ============================================================ */

/* Standardmäßig alle Statustexte ausblenden – Blazor aktiviert sie via CSS-Klasse */
.components-reconnect-first-attempt-visible[b-0griyib4q7],
.components-reconnect-repeated-attempt-visible[b-0griyib4q7],
.components-reconnect-failed-visible[b-0griyib4q7],
.components-pause-visible[b-0griyib4q7],
.components-resume-failed-visible[b-0griyib4q7],
.components-rejoining-animation[b-0griyib4q7] {
    display: none;
}

/* Zustandsabhängige Sichtbarkeit: jede Klasse zeigt den passenden Statustext */
#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-0griyib4q7],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-0griyib4q7],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-0griyib4q7],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-0griyib4q7],
#components-reconnect-modal.components-reconnect-retrying[b-0griyib4q7],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-0griyib4q7],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-0griyib4q7],
#components-reconnect-modal.components-reconnect-failed[b-0griyib4q7],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-0griyib4q7] {
    display: block;
}

/* Dialog-Rahmen: Design-System-Farben mit Glasmorphismus-Effekt */
#components-reconnect-modal[b-0griyib4q7] {
    background: #0d1a20;
    background: var(--bg-surface, #0d1a20);
    background-image: linear-gradient(155deg, #19333c 0%, #0d1a20 46%, #050d11 100%);
    background-image: var(--surface-gradient, linear-gradient(155deg, #19333c 0%, #0d1a20 46%, #050d11 100%));
    color: #f3fbff;
    color: var(--text-main, #f3fbff);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid rgba(142, 226, 220, 0.19);
    border: 1px solid var(--border-strong, rgba(142, 226, 220, 0.19));
    border-radius: 16px;
    border-radius: var(--radius-md, 16px);
    box-shadow: var(--shadow-glow, 0 22px 56px rgba(0, 0, 0, 0.52), 0 0 34px rgba(34, 225, 207, 0.07));
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-0griyib4q7 0.5s both;
}

/* Einblend-Animation beim Öffnen */
#components-reconnect-modal[open][b-0griyib4q7] {
    animation: components-reconnect-modal-slideUp-b-0griyib4q7 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-0griyib4q7 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

/* Dunkler Overlay hinter dem Dialog */
#components-reconnect-modal[b-0griyib4q7]::backdrop {
    background-color: rgba(3, 9, 13, 0.72);
    animation: components-reconnect-modal-fadeInOpacity-b-0griyib4q7 0.5s ease-in-out;
    opacity: 1;
}

/* ------------------------------------------------------------------
   Animationen
   ------------------------------------------------------------------ */

/* Dialog fährt von unten ein */
@keyframes components-reconnect-modal-slideUp-b-0griyib4q7 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-0griyib4q7 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-0griyib4q7 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* ------------------------------------------------------------------
   Inhalt des Dialogs: zentrierter Flex-Container
   ------------------------------------------------------------------ */
.components-reconnect-container[b-0griyib4q7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-0griyib4q7] {
    margin: 0;
    text-align: center;
    color: var(--text-soft);
}

/* Primärer Aktions-Button (Erneut versuchen / Fortsetzen) */
#components-reconnect-modal button[b-0griyib4q7] {
    border: 1px solid rgba(34, 225, 207, 0.76);
    background: var(--button-gradient-primary);
    color: var(--text-on-accent);
    padding: 4px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    box-shadow: var(--glow-primary);
}

#components-reconnect-modal button:hover[b-0griyib4q7] {
    background: linear-gradient(135deg, #4bf1df 0%, #22e1cf 48%, #00a89b 100%);
}

#components-reconnect-modal button:active[b-0griyib4q7] {
    background: var(--button-gradient-primary);
}

/* ------------------------------------------------------------------
   Ladeanimation: zwei konzentrische Kreise pulsieren nach außen
   ------------------------------------------------------------------ */
.components-rejoining-animation[b-0griyib4q7] {
    position: relative;
    width: 80px;
    height: 80px;
}

.components-rejoining-animation div[b-0griyib4q7] {
    position: absolute;
    border: 3px solid var(--accent-primary);
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-0griyib4q7 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

/* Zweiter Kreis um eine halbe Periode versetzt für Puls-Effekt */
.components-rejoining-animation div:nth-child(2)[b-0griyib4q7] {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-animation-b-0griyib4q7 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0;
        left: 0;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Pages/Login.razor.rz.scp.css */
/* ============================================================
   LOGIN.RAZOR.CSS - Stylesheet

   Beschreibung:
   - Styles für die Login- und Ersteinrichtungsseite.

   Zweck:
   - Gehört zum projekteinheitlichen Datei-Header-Standard.
   ============================================================ */

/* Vollbild-Hintergrund der Login-Seite */
.login-page[b-o9p8rmrcu0] {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(34, 225, 207, 0.12), transparent 32%),
        var(--bg-app-deep, #03090d);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    gap: 18px;
}

/* Äußerer Container – begrenzt die maximale Breite */
.login-shell[b-o9p8rmrcu0] {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Karte mit Glasmorphism-Effekt */
.login-card[b-o9p8rmrcu0] {
    width: 100%;
    background:
        radial-gradient(circle at top, rgba(34, 225, 207, 0.07), transparent 34%),
        linear-gradient(180deg, rgba(13, 26, 32, 0.98) 0%, rgba(3, 9, 13, 0.98) 100%);
    border-radius: 28px;
    border: 1px solid rgba(34, 225, 207, 0.10);
    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.34),
        0 8px 18px rgba(0, 0, 0, 0.18);
    padding: 36px 36px 32px;
    backdrop-filter: blur(18px);
}

/* Ersteinrichtungs-Panel */
.login-setup-panel[b-o9p8rmrcu0] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Hinweisbox bei fehlendem Admin-Account */
.login-setup-note[b-o9p8rmrcu0] {
    padding: 14px 16px;
    background: rgba(34, 225, 207, 0.06);
    border: 1px solid rgba(34, 225, 207, 0.12);
    border-radius: 16px;
    color: rgba(243, 251, 255, 0.82);
    font-size: 0.94rem;
    line-height: 1.6;
}

/* Marken-Bereich oben in der Karte */
.login-brand[b-o9p8rmrcu0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    text-align: center;
    gap: 6px;
}

/* Logo-Bild */
.login-logo-wrap[b-o9p8rmrcu0] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo[b-o9p8rmrcu0] {
    width: 160px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(34, 225, 207, 0.18));
}

/* Hauptname "OrgaPlus" */
.login-brand-name[b-o9p8rmrcu0] {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main, #f3fbff);
    line-height: 1.1;
}

/* Modulname "FINANZ" */
.login-brand-module[b-o9p8rmrcu0] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent-primary, #22e1cf);
}

/* Überschriften-Block */
.login-header[b-o9p8rmrcu0] {
    margin-top: 10px;
    margin-bottom: 18px;
    text-align: center;
}

/* Seitenüberschrift */
.login-title[b-o9p8rmrcu0] {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    line-height: 1.05;
    font-weight: 700;
    color: var(--text-main, #f3fbff);
    letter-spacing: -0.04em;
    margin: 0;
    user-select: none;
    outline: none;
}

.login-title:focus[b-o9p8rmrcu0],
.login-title:focus-visible[b-o9p8rmrcu0] {
    outline: none;
    box-shadow: none;
}

/* Formular-Stack */
.login-form[b-o9p8rmrcu0] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Formular-Labels */
.login-card :deep(.form-label)[b-o9p8rmrcu0],
.login-form .form-label[b-o9p8rmrcu0] {
    color: var(--text-main, #f3fbff) !important;
    font-weight: 700;
}

/* Eingabefelder */
.login-input[b-o9p8rmrcu0] {
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid var(--border-soft, rgba(255, 255, 255, 0.08));
    background: var(--bg-input, rgba(16, 33, 42, 0.8));
    color: var(--text-main, #f3fbff);
    font-size: 16px;
    line-height: 1.45;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.22);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

/* Platzhaltertext */
.login-input[b-o9p8rmrcu0]::placeholder {
    color: var(--text-faint, rgba(226, 232, 240, 0.36));
}

/* Fokus-Zustand */
.login-input:focus[b-o9p8rmrcu0] {
    border-color: rgba(34, 225, 207, 0.42);
    background: rgba(16, 33, 42, 0.95);
    box-shadow:
        0 0 0 4px rgba(34, 225, 207, 0.10),
        inset 0 1px 2px rgba(0, 0, 0, 0.22);
    outline: none;
}

/* Fehlermeldungs-Box */
.login-error[b-o9p8rmrcu0] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 14px;
    background: rgba(255, 95, 109, 0.08);
    border: 1px solid rgba(255, 95, 109, 0.18);
    border-radius: 16px;
    font-size: 0.875rem;
    color: var(--danger, #ff5f6d);
    margin: 2px 0 4px;
}

/* Primär-Button (Anmelden / Einrichten) */
.login-btn[b-o9p8rmrcu0] {
    width: 100%;
    justify-content: center;
    min-height: 54px;
    border: none;
    border-radius: 16px;
    background: var(--button-gradient-primary, linear-gradient(135deg, #22e1cf 0%, #00bfae 54%, #0a8f8d 100%));
    box-shadow: 0 4px 16px rgba(34, 225, 207, 0.22);
    color: var(--text-on-accent, #031015);
    font-size: 1rem;
    font-weight: 700;
    margin-top: 10px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* Hover-Zustand */
.login-btn:hover[b-o9p8rmrcu0] {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(34, 225, 207, 0.28);
    color: var(--text-on-accent, #031015);
}

/* Active-Zustand */
.login-btn:active[b-o9p8rmrcu0] {
    filter: brightness(0.95);
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(34, 225, 207, 0.18);
}

/* Passwort-Toggle: äußerer Wrapper */
.pw-toggle-wrap[b-o9p8rmrcu0] {
    position: relative;
}

/* Passwort-Toggle: Auge-Button absolut rechts */
.pw-toggle-wrap .pw-toggle-btn[b-o9p8rmrcu0] {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-muted, rgba(226, 232, 240, 0.45));
    transition: color 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    line-height: 0;
}

/* Hover: Icon heller */
.pw-toggle-wrap .pw-toggle-btn:hover[b-o9p8rmrcu0] {
    color: var(--text-soft, rgba(226, 232, 240, 0.88));
}

/* Abstand damit Text nicht vom Button überlagert wird */
.pw-toggle-wrap .login-input[b-o9p8rmrcu0] {
    padding-right: 46px;
}

/* Auge offen: Standard (Passwort verborgen) */
.pw-toggle-btn .eye-show[b-o9p8rmrcu0] { display: block; }
.pw-toggle-btn .eye-hide[b-o9p8rmrcu0] { display: none; }

/* Auge geschlossen: nach Aktivierung (Passwort sichtbar) */
.pw-toggle-btn.is-visible .eye-show[b-o9p8rmrcu0] { display: none; }
.pw-toggle-btn.is-visible .eye-hide[b-o9p8rmrcu0] { display: block; }

/* Responsive: kleine Bildschirme */
@media (max-width: 480px) {
    .login-page[b-o9p8rmrcu0] { padding: 20px 14px; }

    .login-card[b-o9p8rmrcu0] {
        padding: 26px 22px 22px;
        border-radius: 22px;
    }

    .login-logo[b-o9p8rmrcu0] { width: 130px; }
    .login-title[b-o9p8rmrcu0] { font-size: 1.7rem; }
}

@media (max-width: 430px) {
    .login-page[b-o9p8rmrcu0] {
        justify-content: flex-start;
        padding: max(12px, env(safe-area-inset-top)) 12px 12px;
        min-height: 100dvh;
    }

    .login-card[b-o9p8rmrcu0] {
        padding: 18px 16px 16px;
        border-radius: 20px;
    }

    .login-logo[b-o9p8rmrcu0] { width: 110px; }
    .login-brand-module[b-o9p8rmrcu0] { font-size: 0.68rem; }
    .login-title[b-o9p8rmrcu0] { font-size: 1.22rem; }

    .login-input[b-o9p8rmrcu0] {
        min-height: 48px;
        font-size: 16px;
        border-radius: 14px;
    }

    .login-btn[b-o9p8rmrcu0] {
        min-height: 48px;
        margin-top: 6px;
        border-radius: 14px;
    }
}
/* /Pages/Profil/ProfilPage.razor.rz.scp.css */
/* ============================================================
   PROFILPAGE.RAZOR.CSS – Scoped Styles für die Profilseite
   ============================================================ */

.pp-shell[b-9pzxikznoz] {
    max-width: 480px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.pp-header[b-9pzxikznoz] {
    margin-bottom: 1.75rem;
}

/* Karte */
.pp-card[b-9pzxikznoz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Avatar-Bereich */
.pp-avatar-wrap[b-9pzxikznoz] {
    position: relative;
    width: 96px;
    height: 96px;
    flex-shrink: 0;
}

.pp-avatar-img[b-9pzxikznoz] {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(34, 225, 207, 0.42);
}

.pp-avatar-initials[b-9pzxikznoz] {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(34, 225, 207, 0.16);
    border: 2px solid rgba(34, 225, 207, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

/* Kamera-Button über dem Avatar */
.pp-upload-btn[b-9pzxikznoz] {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: #0d1a20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.pp-upload-btn:hover[b-9pzxikznoz] {
    transform: scale(1.12);
    background: #1bc9b5;
}

/* InputFile verstecken – Label übernimmt den Klick */
.pp-upload-btn input[b-9pzxikznoz] {
    display: none;
}

/* Name + Rolle */
.pp-info[b-9pzxikznoz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pp-name[b-9pzxikznoz] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.pp-role[b-9pzxikznoz] {
    font-size: 0.78rem;
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Bild-entfernen-Button */
.pp-remove-btn[b-9pzxikznoz] {
    background: none;
    border: 1px solid rgba(239, 68, 68, 0.28);
    border-radius: var(--radius-sm, 8px);
    color: #f87171;
    font-size: 0.80rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.pp-remove-btn:hover[b-9pzxikznoz] {
    background: rgba(239, 68, 68, 0.10);
    border-color: rgba(239, 68, 68, 0.55);
}

.pp-loading[b-9pzxikznoz] {
    font-size: 0.875rem;
    color: var(--text-soft);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .pp-shell[b-9pzxikznoz] {
        padding: 1rem;
        max-width: 100%;
    }

    .pp-card[b-9pzxikznoz] {
        padding: 1.5rem 1rem;
        border-radius: var(--radius-md);
    }
}

@media (max-width: 480px) {
    .pp-shell[b-9pzxikznoz] {
        padding: 0.75rem;
    }

    .pp-name[b-9pzxikznoz] {
        font-size: 1.1rem;
    }
}
/* /Pages/Schnellbuchung/SchnellbuchungPage.razor.rz.scp.css */
/* ============================================================
   SCHNELLBUCHUNGPAGE.RAZOR.CSS – Scoped Styles für die Schnellbuchung

   Beschreibung:
   – Styles für das Kachel-Grid, Buchungs-Modal und Tabellen der Schnellbuchungsseite.
   – Aktive Kacheln leuchten im Design-System-Akzent (Teal-Glow).

   Zweck:
   – Gehört zum projekteinheitlichen Datei-Header-Standard.
   ============================================================ */

/* Seitenlayout: Cards untereinander, frei wachsend */
.qb-page-layout[b-07glg3oa5n] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ------------------------------------------------------------------
   Kachel-Grid – 3 Spalten → 9 Buttons = sauberes 3×3-Raster
   ------------------------------------------------------------------ */
.qb-grid[b-07glg3oa5n] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

/* Einzelne Kachel */
.qb-tile[b-07glg3oa5n] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-md);
    background: var(--bg-elevated);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    color: var(--text-soft);
    cursor: pointer;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
    min-height: 110px;
    width: 100%;
}

.qb-tile:hover[b-07glg3oa5n] {
    background: linear-gradient(135deg, rgba(34, 225, 207, 0.10), rgba(34, 225, 207, 0.03));
    border-color: rgba(34, 225, 207, 0.35);
    color: var(--text-main);
}

.qb-tile:active[b-07glg3oa5n] {
    transform: scale(0.97);
}

/* Aktiver Zustand – identisch zum aktiven Nav-Link-Glow */
.qb-tile--active[b-07glg3oa5n] {
    background: linear-gradient(135deg, rgba(34, 225, 207, 0.16), rgba(34, 225, 207, 0.05));
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    font-weight: 700;
    box-shadow:
        0 0 22px rgba(34, 225, 207, 0.18),
        0 0 0 1px rgba(34, 225, 207, 0.25),
        inset 0 1px 0 rgba(34, 225, 207, 0.12);
}

/* Icon-Glow beim aktiven Button */
.qb-tile--active .qb-tile__icon[b-07glg3oa5n] {
    filter: drop-shadow(0 0 7px rgba(34, 225, 207, 0.85));
}

.qb-tile__icon[b-07glg3oa5n] {
    font-size: 2rem;
    line-height: 1;
    transition: filter var(--transition-fast);
}

.qb-tile__label[b-07glg3oa5n] {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

/* ------------------------------------------------------------------
   Modal
   ------------------------------------------------------------------ */
.qb-modal-content[b-07glg3oa5n] {
    background: linear-gradient(155deg, rgba(20, 38, 47, 0.98) 0%, rgba(8, 20, 26, 0.99) 100%);
    border: 1px solid rgba(34, 225, 207, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(34, 225, 207, 0.08);
    color: var(--text-main);
}

.qb-modal-header[b-07glg3oa5n] {
    background: linear-gradient(180deg, rgba(34, 225, 207, 0.10), rgba(34, 225, 207, 0.03));
    border-bottom: 1px solid rgba(34, 225, 207, 0.18);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    gap: 12px;
    padding: 20px 24px;
}

.qb-modal-header .modal-title[b-07glg3oa5n] {
    color: var(--accent-primary);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

/* Modal-Icon mit Glow */
.qb-modal-icon[b-07glg3oa5n] {
    font-size: 1.6rem;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 8px rgba(34, 225, 207, 0.75));
    flex-shrink: 0;
}

.modal-body[b-07glg3oa5n] {
    padding: 24px;
    background: transparent;
}

.qb-modal-footer[b-07glg3oa5n] {
    border-top: 1px solid rgba(34, 225, 207, 0.12);
    padding: 16px 24px;
    background: transparent;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Buchungsanzahl im Card-Header */
.qb-entry-count[b-07glg3oa5n] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0;
}

/* Betragszelle in der Tabelle */
.qb-amount-cell[b-07glg3oa5n] {
    color: #ff5f6d;
    font-weight: 700;
}

/* Summen-Zeile */
.qb-total-row[b-07glg3oa5n] {
    background: linear-gradient(90deg, rgba(255, 95, 109, 0.18) 0%, rgba(255, 95, 109, 0.06) 60%, transparent 100%);
    border-top: 2px solid rgba(255, 95, 109, 0.40);
    box-shadow: inset 3px 0 0 #ff5f6d;
}

.qb-total-row td[b-07glg3oa5n] {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

.qb-total-label[b-07glg3oa5n] {
    color: #ff5f6d;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.qb-total-amount[b-07glg3oa5n] {
    color: #ff5f6d;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

/* Betragsfeld */
.qb-amount-input[b-07glg3oa5n] {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: rgba(13, 26, 32, 0.8);
    border-color: rgba(34, 225, 207, 0.25);
    color: var(--text-main);
}

.qb-amount-input:focus[b-07glg3oa5n] {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(34, 225, 207, 0.18);
    background: rgba(13, 26, 32, 0.9);
    color: var(--text-main);
}

/* Speichern-Button */
.qb-save-btn[b-07glg3oa5n] {
    min-width: 160px;
}

/* ------------------------------------------------------------------
   Mobile Anpassungen
   ------------------------------------------------------------------ */
@media (max-width: 768px) {
    .qb-modal-header[b-07glg3oa5n] {
        padding: 14px 16px;
    }
    .modal-body[b-07glg3oa5n] {
        padding: 16px;
    }
    .qb-modal-footer[b-07glg3oa5n] {
        padding: 12px 16px;
    }
}

@media (max-width: 600px) {
    .qb-grid[b-07glg3oa5n] {
        grid-template-columns: repeat(2, 1fr);
    }

    .qb-tile[b-07glg3oa5n] {
        min-height: 90px;
        padding: var(--space-md);
    }

    .qb-tile__icon[b-07glg3oa5n] {
        font-size: 1.6rem;
    }

    .qb-amount-input[b-07glg3oa5n] {
        font-size: 1.2rem;
    }

    .qb-save-btn[b-07glg3oa5n] {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .qb-grid[b-07glg3oa5n] {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .qb-tile[b-07glg3oa5n] {
        min-height: 80px;
        padding: var(--space-sm);
    }

    .qb-tile__label[b-07glg3oa5n] {
        font-size: 0.78rem;
    }
}
/* /Pages/Settings/BenutzerPage.razor.rz.scp.css */
/* ============================================================
   BENUTZERPAGE.RAZOR.CSS – Benutzerverwaltung
   ============================================================ */

.bv-shell[b-w57w41lo93] {
    padding: 1.5rem 2rem 3rem;
    max-width: 1000px;
}

.bv-header[b-w57w41lo93] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.bv-add-btn[b-w57w41lo93] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.5rem 1.1rem;
    background: var(--button-gradient-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-on-accent);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.bv-add-btn:hover[b-w57w41lo93] {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* Alerts */
.bv-alert[b-w57w41lo93] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.bv-alert--success[b-w57w41lo93] {
    background: rgba(72, 230, 178, 0.08);
    border: 1px solid rgba(72, 230, 178, 0.2);
    color: var(--success);
}

.bv-alert--error[b-w57w41lo93] {
    background: rgba(255, 95, 109, 0.08);
    border: 1px solid rgba(255, 95, 109, 0.2);
    color: var(--danger);
}

/* Formular-Karte */
.bv-form-card[b-w57w41lo93] {
    background: var(--bg-surface-2);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md, 12px);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.bv-form-title[b-w57w41lo93] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 1rem;
}

.bv-form-grid[b-w57w41lo93] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.bv-input[b-w57w41lo93] {
    min-height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
    background: var(--bg-input);
    color: var(--text-main);
    font-size: 0.875rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bv-input:focus[b-w57w41lo93] {
    border-color: rgba(34, 225, 207, 0.42);
    box-shadow: 0 0 0 3px rgba(34, 225, 207, 0.10);
    outline: none;
}

.bv-form-actions[b-w57w41lo93] {
    display: flex;
    gap: 0.75rem;
}

/* Buttons */
.bv-btn[b-w57w41lo93] {
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: filter 0.18s ease, transform 0.18s ease;
}

.bv-btn--primary[b-w57w41lo93] {
    background: var(--button-gradient-primary);
    color: var(--text-on-accent);
}

.bv-btn--danger[b-w57w41lo93] {
    background: var(--danger);
    color: #fff;
}

.bv-btn--ghost[b-w57w41lo93] {
    background: transparent;
    color: var(--text-soft);
    border: 1px solid var(--border-soft);
}

.bv-btn:hover:not(:disabled)[b-w57w41lo93] { filter: brightness(1.1); transform: translateY(-1px); }
.bv-btn:disabled[b-w57w41lo93] { opacity: 0.5; cursor: not-allowed; }

/* Tabelle */
.bv-table-wrap[b-w57w41lo93] {
    overflow-x: auto;
}

.bv-table[b-w57w41lo93] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.bv-table th[b-w57w41lo93] {
    text-align: left;
    padding: 0.6rem 1rem;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border-soft);
}

.bv-table td[b-w57w41lo93] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-soft);
    vertical-align: middle;
}

.bv-row--inactive td[b-w57w41lo93] { opacity: 0.5; }

.bv-cell-name[b-w57w41lo93]  { color: var(--text-main) !important; font-weight: 600; }
.bv-cell-email[b-w57w41lo93] { color: var(--text-muted) !important; font-size: 0.82rem; }
.bv-cell-date[b-w57w41lo93]  { color: var(--text-muted) !important; font-size: 0.82rem; }

/* Badges */
.bv-badge[b-w57w41lo93] {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 99px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.bv-badge--super[b-w57w41lo93]    { background: rgba(34, 225, 207, 0.12); color: var(--accent-primary); }
.bv-badge--user[b-w57w41lo93]     { background: rgba(255,255,255,0.06);   color: var(--text-muted); }
.bv-badge--active[b-w57w41lo93]   { background: rgba(72, 230, 178, 0.12); color: var(--success); }
.bv-badge--inactive[b-w57w41lo93] { background: rgba(255, 95, 109, 0.10); color: var(--danger); }

/* Aktions-Icons */
.bv-cell-actions[b-w57w41lo93] { display: flex; gap: 6px; align-items: center; }

.bv-icon-btn[b-w57w41lo93] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 7px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.bv-icon-btn--toggle[b-w57w41lo93] { color: var(--accent-primary); }
.bv-icon-btn--toggle:hover[b-w57w41lo93] { background: rgba(34, 225, 207, 0.1); }

.bv-icon-btn--delete[b-w57w41lo93] { color: var(--text-muted); }
.bv-icon-btn--delete:hover[b-w57w41lo93] { color: var(--danger); background: rgba(255, 95, 109, 0.1); }

.bv-protected-hint[b-w57w41lo93] {
    color: var(--text-faint);
    font-size: 1rem;
    padding: 5px 7px;
}

/* Bestätigungs-Dialog */
.bv-overlay[b-w57w41lo93] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.bv-dialog[b-w57w41lo93] {
    background: var(--bg-surface-3);
    border: 1px solid var(--border-strong, rgba(255,255,255,0.12));
    border-radius: var(--radius-md, 12px);
    padding: 1.75rem 2rem;
    max-width: 380px;
    width: 90%;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.5;
}

.bv-dialog-actions[b-w57w41lo93] {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.bv-loading[b-w57w41lo93], .bv-empty[b-w57w41lo93] {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 1.5rem 0;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .bv-shell[b-w57w41lo93] {
        padding: 1rem 1rem 2rem;
    }

    .bv-header[b-w57w41lo93] {
        flex-direction: column;
        align-items: stretch;
    }

    .bv-add-btn[b-w57w41lo93] {
        width: 100%;
        justify-content: center;
    }

    .bv-form-grid[b-w57w41lo93] {
        grid-template-columns: 1fr;
    }

    .bv-form-actions[b-w57w41lo93] {
        flex-direction: column;
    }

    .bv-btn[b-w57w41lo93] {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Tabelle horizontal scrollbar */
    .bv-table-wrap[b-w57w41lo93] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--radius-sm);
    }

    /* E-Mail-Spalte auf Mobile ausblenden (Platz sparen) */
    .bv-cell-email[b-w57w41lo93] { display: none; }
    .bv-table th:nth-child(2)[b-w57w41lo93] { display: none; }
}
/* /Pages/Setup.razor.rz.scp.css */
/* ============================================================
   SETUP.RAZOR.CSS - Stylesheet

   Beschreibung:
   - Styles für die Ersteinrichtungsseite (Setup).
   - Identisches Design wie Login.razor.css.

   Zweck:
   - Gehört zum projekteinheitlichen Datei-Header-Standard.
   ============================================================ */

.login-page[b-bilbmjfrfm] {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(34, 225, 207, 0.12), transparent 32%),
        var(--bg-app-deep, #03090d);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    gap: 18px;
}

.login-shell[b-bilbmjfrfm] {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-card[b-bilbmjfrfm] {
    width: 100%;
    background:
        radial-gradient(circle at top, rgba(34, 225, 207, 0.07), transparent 34%),
        linear-gradient(180deg, rgba(13, 26, 32, 0.98) 0%, rgba(3, 9, 13, 0.98) 100%);
    border-radius: 28px;
    border: 1px solid rgba(34, 225, 207, 0.10);
    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.34),
        0 8px 18px rgba(0, 0, 0, 0.18);
    padding: 36px 36px 32px;
    backdrop-filter: blur(18px);
}

.login-setup-panel[b-bilbmjfrfm] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-setup-note[b-bilbmjfrfm] {
    padding: 14px 16px;
    background: rgba(34, 225, 207, 0.06);
    border: 1px solid rgba(34, 225, 207, 0.12);
    border-radius: 16px;
    color: rgba(243, 251, 255, 0.82);
    font-size: 0.94rem;
    line-height: 1.6;
}

.login-brand[b-bilbmjfrfm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    text-align: center;
    gap: 6px;
}

.login-logo-wrap[b-bilbmjfrfm] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo[b-bilbmjfrfm] {
    width: 120px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(34, 225, 207, 0.18));
}

.login-brand-name[b-bilbmjfrfm] {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main, #f3fbff);
    line-height: 1.1;
}

.login-brand-module[b-bilbmjfrfm] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent-primary, #22e1cf);
}

.login-header[b-bilbmjfrfm] {
    margin-top: 10px;
    margin-bottom: 18px;
    text-align: center;
}

.login-title[b-bilbmjfrfm] {
    font-size: clamp(1.6rem, 4vw, 2rem);
    line-height: 1.05;
    font-weight: 700;
    color: var(--text-main, #f3fbff);
    letter-spacing: -0.04em;
    margin: 0;
    user-select: none;
    outline: none;
}

.login-title:focus[b-bilbmjfrfm],
.login-title:focus-visible[b-bilbmjfrfm] {
    outline: none;
    box-shadow: none;
}

.login-form[b-bilbmjfrfm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-card :deep(.form-label)[b-bilbmjfrfm],
.login-form .form-label[b-bilbmjfrfm] {
    color: var(--text-main, #f3fbff) !important;
    font-weight: 700;
}

.login-input[b-bilbmjfrfm] {
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid var(--border-soft, rgba(255, 255, 255, 0.08));
    background: var(--bg-input, rgba(16, 33, 42, 0.8));
    color: var(--text-main, #f3fbff);
    font-size: 16px;
    line-height: 1.45;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.22);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.login-input[b-bilbmjfrfm]::placeholder {
    color: var(--text-faint, rgba(226, 232, 240, 0.36));
}

.login-input:focus[b-bilbmjfrfm] {
    border-color: rgba(34, 225, 207, 0.42);
    background: rgba(16, 33, 42, 0.95);
    box-shadow:
        0 0 0 4px rgba(34, 225, 207, 0.10),
        inset 0 1px 2px rgba(0, 0, 0, 0.22);
    outline: none;
}

.login-error[b-bilbmjfrfm] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 14px;
    background: rgba(255, 95, 109, 0.08);
    border: 1px solid rgba(255, 95, 109, 0.18);
    border-radius: 16px;
    font-size: 0.875rem;
    color: var(--danger, #ff5f6d);
    margin: 2px 0 4px;
}

.login-btn[b-bilbmjfrfm] {
    width: 100%;
    justify-content: center;
    min-height: 54px;
    border: none;
    border-radius: 16px;
    background: var(--button-gradient-primary, linear-gradient(135deg, #22e1cf 0%, #00bfae 54%, #0a8f8d 100%));
    box-shadow: 0 4px 16px rgba(34, 225, 207, 0.22);
    color: var(--text-on-accent, #031015);
    font-size: 1rem;
    font-weight: 700;
    margin-top: 10px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.login-btn:hover[b-bilbmjfrfm] {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(34, 225, 207, 0.28);
    color: var(--text-on-accent, #031015);
}

.login-btn:active[b-bilbmjfrfm] {
    filter: brightness(0.95);
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(34, 225, 207, 0.18);
}

.login-meta-link[b-bilbmjfrfm] {
    font-size: 0.84rem;
    color: rgba(226, 232, 240, 0.82);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(226, 232, 240, 0.18);
    transition: color 0.18s ease;
}

.login-meta-link:hover[b-bilbmjfrfm] {
    color: var(--text-main, #f3fbff);
}

.pw-toggle-wrap[b-bilbmjfrfm] {
    position: relative;
}

.pw-toggle-wrap .pw-toggle-btn[b-bilbmjfrfm] {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-muted, rgba(226, 232, 240, 0.45));
    transition: color 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    line-height: 0;
}

.pw-toggle-wrap .pw-toggle-btn:hover[b-bilbmjfrfm] {
    color: var(--text-soft, rgba(226, 232, 240, 0.88));
}

.pw-toggle-wrap .login-input[b-bilbmjfrfm] {
    padding-right: 46px;
}

.pw-toggle-btn .eye-show[b-bilbmjfrfm] { display: block; }
.pw-toggle-btn .eye-hide[b-bilbmjfrfm] { display: none; }
.pw-toggle-btn.is-visible .eye-show[b-bilbmjfrfm] { display: none; }
.pw-toggle-btn.is-visible .eye-hide[b-bilbmjfrfm] { display: block; }

@media (max-width: 480px) {
    .login-page[b-bilbmjfrfm] { padding: 20px 14px; }
    .login-card[b-bilbmjfrfm] { padding: 26px 22px 22px; border-radius: 22px; }
    .login-logo[b-bilbmjfrfm] { width: 100px; }
    .login-title[b-bilbmjfrfm] { font-size: 1.5rem; }
}

@media (max-width: 430px) {
    .login-page[b-bilbmjfrfm] {
        justify-content: flex-start;
        padding: max(12px, env(safe-area-inset-top)) 12px 12px;
        min-height: 100dvh;
    }
    .login-card[b-bilbmjfrfm] { padding: 18px 16px 16px; border-radius: 20px; }
    .login-logo[b-bilbmjfrfm] { width: 88px; }
    .login-brand-module[b-bilbmjfrfm] { font-size: 0.68rem; }
    .login-title[b-bilbmjfrfm] { font-size: 1.1rem; }
    .login-input[b-bilbmjfrfm] { min-height: 48px; font-size: 16px; border-radius: 14px; }
    .login-btn[b-bilbmjfrfm] { min-height: 48px; margin-top: 6px; border-radius: 14px; }
}
