/* /Components/UserMenu.razor.rz.scp.css */
.user-menu[b-l5osefd4gn] {
    position: relative;
    display: flex;
    align-items: center;
}

.user-menu-trigger[b-l5osefd4gn] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 60vw;
    padding: 0.35rem 0.5rem;
    background: none;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    color: inherit;
    font-size: 0.95rem;
    cursor: pointer;
}

    .user-menu-trigger:hover[b-l5osefd4gn] {
        background-color: rgba(0, 0, 0, 0.05);
    }

.user-menu-name[b-l5osefd4gn] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Warnpunkt bei abweichender Client-/Serverversion — sichtbar ohne das Menü zu öffnen. */
.user-menu-dot[b-l5osefd4gn] {
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #cc8a00;
}

.user-menu-caret[b-l5osefd4gn] {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Liegt unter dem Menü, aber über allem anderen: Klick daneben schließt. */
.user-menu-backdrop[b-l5osefd4gn] {
    position: fixed;
    inset: 0;
    z-index: 1040;
}

.user-menu-panel[b-l5osefd4gn] {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    z-index: 1050;
    min-width: 15rem;
    padding: 0.35rem 0;
    background-color: #fff;
    border: 1px solid #d6d5d5;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.user-menu-row[b-l5osefd4gn] {
    padding: 0.5rem 1rem;
}

.user-menu-item[b-l5osefd4gn] {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    background: none;
    border: 0;
    color: inherit;
    font-size: 0.95rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

    .user-menu-item:hover[b-l5osefd4gn] {
        background-color: #f2f2f2;
        text-decoration: none;
    }

.user-menu-sep[b-l5osefd4gn] {
    margin: 0.35rem 0;
    border: 0;
    border-top: 1px solid #e5e5e5;
}

.user-menu-version[b-l5osefd4gn] {
    padding: 0.25rem 1rem 0.35rem;
    color: #6c757d;
    font-size: 0.8rem;
}

.user-menu-warning[b-l5osefd4gn] {
    margin: 0 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: #fff3cd;
    border-radius: 0.375rem;
    color: #664d03;
    font-size: 0.8rem;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-zjrw6evg15] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-zjrw6evg15] {
    flex: 1;
}

.sidebar[b-zjrw6evg15] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-zjrw6evg15] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

/* Die Versionsanzeige darf nicht umbrechen — sonst sprengt sie bei langen
   Benutzernamen die feste Zeilenhöhe. Stattdessen weicht sie zurück und wird
   notfalls abgeschnitten; das Benutzer-Menü kürzt seinerseits per Ellipse. */
.top-row-version[b-zjrw6evg15] {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

    .top-row[b-zjrw6evg15]  a, .top-row[b-zjrw6evg15]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-zjrw6evg15]  a:hover, .top-row[b-zjrw6evg15]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-zjrw6evg15]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    /* Nur noch ein Element (das Benutzer-Menü) — rechtsbündig statt verteilt. */
    .top-row[b-zjrw6evg15] {
        justify-content: flex-end;
    }

    .top-row[b-zjrw6evg15]  a, .top-row[b-zjrw6evg15]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-zjrw6evg15] {
        flex-direction: row;
    }

    .sidebar[b-zjrw6evg15] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-zjrw6evg15] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-zjrw6evg15]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-zjrw6evg15], article[b-zjrw6evg15] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ar9up3z7mb] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-ar9up3z7mb] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ar9up3z7mb] {
    font-size: 1.1rem;
}

.bi[b-ar9up3z7mb] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-ar9up3z7mb] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-ar9up3z7mb] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-ar9up3z7mb] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-shield-lock-nav-menu[b-ar9up3z7mb] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-shield-lock-fill' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 0c-.69 0-1.843.265-2.928.56-1.11.3-2.229.655-2.887.87a1.54 1.54 0 0 0-1.044 1.262c-.596 4.477.787 7.795 2.465 9.99a11.777 11.777 0 0 0 2.517 2.453c.386.273.744.482 1.048.625.28.132.581.24.829.24s.548-.108.829-.24a7.159 7.159 0 0 0 1.048-.625 11.775 11.775 0 0 0 2.517-2.453c1.678-2.195 3.061-5.513 2.465-9.99a1.541 1.541 0 0 0-1.044-1.263 62.467 62.467 0 0 0-2.887-.87C9.843.266 8.69 0 8 0zm0 5a1.5 1.5 0 0 1 .5 2.915l.385 1.99a.5.5 0 0 1-.491.595h-.788a.5.5 0 0 1-.49-.595l.384-1.99A1.5 1.5 0 0 1 8 5z'/%3E%3C/svg%3E");
}

.nav-item[b-ar9up3z7mb] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ar9up3z7mb] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ar9up3z7mb] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ar9up3z7mb]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-ar9up3z7mb]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-ar9up3z7mb]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ar9up3z7mb] {
        display: none;
    }

    .collapse[b-ar9up3z7mb] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-ar9up3z7mb] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/FirstLogin.razor.rz.scp.css */
.login-page[b-5vrgp6t4cn] {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    padding-top: calc(1.5rem + env(safe-area-inset-top));
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    background: #f4f5f7;
}

.login-card[b-5vrgp6t4cn] {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-card h1[b-5vrgp6t4cn] {
    margin: 0;
    font-size: 1.4rem;
    color: #1b1f27;
    text-align: center;
}

.login-card form[b-5vrgp6t4cn] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hint[b-5vrgp6t4cn] {
    margin: 0;
    font-size: 0.9rem;
    color: #444b58;
}

.hint.small[b-5vrgp6t4cn] {
    font-size: 0.8rem;
    color: #6b7280;
}

.field[b-5vrgp6t4cn] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: #444b58;
}

.field input[b-5vrgp6t4cn] {
    height: 44px;
    padding: 0 0.75rem;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    font-size: 1rem;
}

.field input:focus-visible[b-5vrgp6t4cn] {
    outline: 2px solid #3b6cf0;
    outline-offset: 1px;
}

.qr-box[b-5vrgp6t4cn] {
    max-width: 220px;
    align-self: center;
    border: 1px solid #e4e7ee;
    border-radius: 8px;
    padding: 0.5rem;
    background: #fff;
}

.qr-box img[b-5vrgp6t4cn] {
    width: 100%;
    height: auto;
    display: block;
    /* Module beim Skalieren scharf halten, damit der Code gut scannbar bleibt */
    image-rendering: pixelated;
}

.error[b-5vrgp6t4cn] {
    color: #d3352c;
    font-size: 0.85rem;
    margin: 0;
}

.submit-btn[b-5vrgp6t4cn] {
    height: 46px;
    border: none;
    border-radius: 8px;
    background: #3b6cf0;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.submit-btn:hover:not(:disabled)[b-5vrgp6t4cn],
.submit-btn:focus-visible[b-5vrgp6t4cn] {
    background: #2f58cc;
}

.submit-btn:disabled[b-5vrgp6t4cn] {
    opacity: 0.6;
    cursor: default;
}

.back-btn[b-5vrgp6t4cn] {
    height: 42px;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    background: #fff;
    color: #444b58;
    font-size: 0.95rem;
    cursor: pointer;
}

.back-btn:hover:not(:disabled)[b-5vrgp6t4cn],
.back-btn:focus-visible[b-5vrgp6t4cn] {
    background: #eef0f4;
}
/* /Pages/Login.razor.rz.scp.css */
.login-page[b-78epuyxxj5] {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    padding-top: calc(1.5rem + env(safe-area-inset-top));
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    background: #f4f5f7;
}

.login-card[b-78epuyxxj5] {
    width: 100%;
    max-width: 360px;
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-card h1[b-78epuyxxj5] {
    margin: 0;
    font-size: 1.4rem;
    color: #1b1f27;
    text-align: center;
}

.version-line[b-78epuyxxj5] {
    text-align: center;
    font-size: 0.8rem;
    color: #8a90a0;
    margin-top: -0.5rem;
}

.mode-switch[b-78epuyxxj5] {
    display: flex;
    gap: 0.5rem;
}

.mode-switch button[b-78epuyxxj5] {
    flex: 1;
    height: 40px;
    border: 1px solid #d7dbe2;
    background: #fff;
    color: #3b6cf0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.mode-switch button.active[b-78epuyxxj5] {
    background: #3b6cf0;
    border-color: #3b6cf0;
    color: #fff;
}

.mode-switch button:not(.active):hover[b-78epuyxxj5],
.mode-switch button:not(.active):focus-visible[b-78epuyxxj5] {
    background: #eef0f4;
}

.login-card form[b-78epuyxxj5] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field[b-78epuyxxj5] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: #444b58;
}

.field input[b-78epuyxxj5] {
    height: 44px; /* touch-freundlich */
    padding: 0 0.75rem;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    font-size: 1rem;
}

.field input:focus-visible[b-78epuyxxj5] {
    outline: 2px solid #3b6cf0;
    outline-offset: 1px;
}

.captcha-row[b-78epuyxxj5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.captcha-box[b-78epuyxxj5] {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
}

.captcha-box[b-78epuyxxj5]  svg {
    width: 100%;
    height: auto;
    display: block;
}

.captcha-refresh[b-78epuyxxj5] {
    width: 44px;
    height: 44px;
    border: 1px solid #d7dbe2;
    background: #fff;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
}

.captcha-refresh:hover[b-78epuyxxj5],
.captcha-refresh:focus-visible[b-78epuyxxj5] {
    background: #eef0f4;
}

.captcha-refresh:disabled[b-78epuyxxj5] {
    opacity: 0.6;
    cursor: default;
}

.error[b-78epuyxxj5] {
    color: #d3352c;
    font-size: 0.85rem;
    margin: 0;
}

.hint[b-78epuyxxj5] {
    margin: 0;
    font-size: 0.9rem;
    color: #444b58;
}

.back-btn[b-78epuyxxj5] {
    height: 42px;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    background: #fff;
    color: #444b58;
    font-size: 0.95rem;
    cursor: pointer;
}

.back-btn:hover:not(:disabled)[b-78epuyxxj5],
.back-btn:focus-visible[b-78epuyxxj5] {
    background: #eef0f4;
}

.submit-btn[b-78epuyxxj5] {
    height: 46px;
    border: none;
    border-radius: 8px;
    background: #3b6cf0;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.submit-btn:hover:not(:disabled)[b-78epuyxxj5],
.submit-btn:focus-visible[b-78epuyxxj5] {
    background: #2f58cc;
}

.submit-btn:disabled[b-78epuyxxj5] {
    opacity: 0.6;
    cursor: default;
}

@media (min-width: 480px) {
    .login-card[b-78epuyxxj5] {
        padding: 2.25rem 2rem;
    }
}
/* /Pages/Registrieren.razor.rz.scp.css */
.login-page[b-al0qkiplin] {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    padding-top: calc(1.5rem + env(safe-area-inset-top));
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    background: #f4f5f7;
}

.login-card[b-al0qkiplin] {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-card h1[b-al0qkiplin] {
    margin: 0;
    font-size: 1.4rem;
    color: #1b1f27;
    text-align: center;
}

.version-line[b-al0qkiplin] {
    text-align: center;
    font-size: 0.8rem;
    color: #8a90a0;
    margin-top: -0.5rem;
}

.mode-switch[b-al0qkiplin] {
    display: flex;
    gap: 0.5rem;
}

.mode-switch button[b-al0qkiplin] {
    flex: 1;
    height: 40px;
    border: 1px solid #d7dbe2;
    background: #fff;
    color: #3b6cf0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.mode-switch button.active[b-al0qkiplin] {
    background: #3b6cf0;
    border-color: #3b6cf0;
    color: #fff;
}

.mode-switch button:not(.active):hover[b-al0qkiplin],
.mode-switch button:not(.active):focus-visible[b-al0qkiplin] {
    background: #eef0f4;
}

.login-card form[b-al0qkiplin] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field[b-al0qkiplin] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: #444b58;
}

.field input[b-al0qkiplin] {
    height: 44px; /* touch-freundlich */
    padding: 0 0.75rem;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    font-size: 1rem;
}

.field input:focus-visible[b-al0qkiplin] {
    outline: 2px solid #3b6cf0;
    outline-offset: 1px;
}

.captcha-row[b-al0qkiplin] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.captcha-box[b-al0qkiplin] {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
}

.captcha-box[b-al0qkiplin]  svg {
    width: 100%;
    height: auto;
    display: block;
}

.captcha-refresh[b-al0qkiplin] {
    width: 44px;
    height: 44px;
    border: 1px solid #d7dbe2;
    background: #fff;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
}

.captcha-refresh:hover[b-al0qkiplin],
.captcha-refresh:focus-visible[b-al0qkiplin] {
    background: #eef0f4;
}

.captcha-refresh:disabled[b-al0qkiplin] {
    opacity: 0.6;
    cursor: default;
}

.error[b-al0qkiplin] {
    color: #d3352c;
    font-size: 0.85rem;
    margin: 0;
}

.hint[b-al0qkiplin] {
    margin: 0;
    font-size: 0.9rem;
    color: #444b58;
}

.back-btn[b-al0qkiplin] {
    height: 42px;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    background: #fff;
    color: #444b58;
    font-size: 0.95rem;
    cursor: pointer;
}

.back-btn:hover:not(:disabled)[b-al0qkiplin],
.back-btn:focus-visible[b-al0qkiplin] {
    background: #eef0f4;
}

.submit-btn[b-al0qkiplin] {
    height: 46px;
    border: none;
    border-radius: 8px;
    background: #3b6cf0;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.submit-btn:hover:not(:disabled)[b-al0qkiplin],
.submit-btn:focus-visible[b-al0qkiplin] {
    background: #2f58cc;
}

.submit-btn:disabled[b-al0qkiplin] {
    opacity: 0.6;
    cursor: default;
}

@media (min-width: 480px) {
    .login-card[b-al0qkiplin] {
        padding: 2.25rem 2rem;
    }
}

.field select[b-al0qkiplin] {
    height: 44px;
    padding: 0 0.5rem;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
}

.field small[b-al0qkiplin] {
    color: #8a90a0;
    font-size: 0.8rem;
}

.pruefung-box[b-al0qkiplin] {
    background: #eef0f4;
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    color: #1b1f27;
}

.erfolg[b-al0qkiplin] {
    color: #1e7a3c;
    font-size: 0.95rem;
    margin: 0;
}

.link[b-al0qkiplin] {
    text-align: center;
    font-size: 0.9rem;
}
