/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-tsr4moof1k] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

/* Ruhiges, dunkelblaues Seitenmenü — die einzige kräftige Farbfläche der App. */
.sidebar[b-tsr4moof1k] {
    background-color: #1b3a5f;
}

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

.top-row-title[b-tsr4moof1k] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: #33404d;
}

/* Benachrichtigungs-Glocke mit rotem Zähler-Badge. */
.notification-bell[b-tsr4moof1k] {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #1b3a5f;
    padding: 0.35rem;
    border-radius: 0.375rem;
    text-decoration: none;
}

    .notification-bell:hover[b-tsr4moof1k] {
        background-color: #eef2f6;
        color: #16304e;
    }

.notification-badge[b-tsr4moof1k] {
    position: absolute;
    top: -0.25rem;
    right: -0.35rem;
    min-width: 1.05rem;
    padding: 0 0.28rem;
    border-radius: 0.6rem;
    background-color: #d64545;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.05rem;
    text-align: center;
}

.current-user[b-tsr4moof1k] {
    color: #33404d;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 16rem;
    text-decoration: none;
}

    .current-user:hover[b-tsr4moof1k] {
        color: #0d6efd;
        text-decoration: underline;
    }

.logout-form[b-tsr4moof1k] {
    margin: 0;
    display: inline-flex;
}

.logout-button[b-tsr4moof1k] {
    white-space: nowrap;
}

@media (max-width: 640.98px) {
    .top-row[b-tsr4moof1k] {
        justify-content: space-between;
        gap: 0.5rem;
    }

    .current-user[b-tsr4moof1k] {
        max-width: 8rem;
    }
}

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

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

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

    .top-row[b-tsr4moof1k], article[b-tsr4moof1k] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-tsr4moof1k] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-tsr4moof1k] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-4fd0wufl4b] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-4fd0wufl4b] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-4fd0wufl4b] {
    min-height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.25);
}

.navbar-brand[b-4fd0wufl4b] {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Icons als eingebettete SVGs im Stil der Bootstrap-Icons (weiß, dekorativ). */
.dw-icon[b-4fd0wufl4b] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
    background-repeat: no-repeat;
}

.dw-icon-dashboard[b-4fd0wufl4b] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' 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");
}

.dw-icon-projekte[b-4fd0wufl4b] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M9.828 3h3.982a2 2 0 0 1 1.992 2.181l-.637 7A2 2 0 0 1 13.174 14H2.825a2 2 0 0 1-1.991-1.819l-.637-7a1.99 1.99 0 0 1 .342-1.31L.5 3a2 2 0 0 1 2-2h3.672a2 2 0 0 1 1.414.586l.828.828A2 2 0 0 0 9.828 3zm-8.322.12C1.72 3.042 1.95 3 2.19 3h5.396l-.707-.707A1 1 0 0 0 6.172 2H2.5a1 1 0 0 0-1 .981l.006.139z'/%3E%3C/svg%3E");
}

.dw-icon-mails[b-4fd0wufl4b] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555zM0 4.697v7.104l5.803-3.558L0 4.697zM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757zm3.436-.586L16 11.801V4.697l-5.803 3.546z'/%3E%3C/svg%3E");
}

.dw-icon-review[b-4fd0wufl4b] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M4.98 4a.5.5 0 0 0-.39.188L1.54 8H6a.5.5 0 0 1 .5.5 1.5 1.5 0 1 0 3 0A.5.5 0 0 1 10 8h4.46l-3.05-3.812A.5.5 0 0 0 11.02 4H4.98zm9.954 5H10.45a2.5 2.5 0 0 1-4.9 0H1.066l.32 2.562a.5.5 0 0 0 .497.438h12.234a.5.5 0 0 0 .496-.438L14.933 9zM3.809 3.563A1.5 1.5 0 0 1 4.981 3h6.038a1.5 1.5 0 0 1 1.172.563l3.7 4.625a.5.5 0 0 1 .105.374l-.39 3.124A1.5 1.5 0 0 1 14.117 13H1.883a1.5 1.5 0 0 1-1.489-1.314l-.39-3.124a.5.5 0 0 1 .106-.374l3.7-4.625z'/%3E%3C/svg%3E");
}

.dw-icon-absender[b-4fd0wufl4b] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-5 6s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zM11 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5zm.5 2.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4zm2 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2zm0 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2z'/%3E%3C/svg%3E");
}

.dw-icon-aktivitaeten[b-4fd0wufl4b] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z'/%3E%3C/svg%3E");
}

.dw-icon-benachrichtigungen[b-4fd0wufl4b] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zm.995-14.901a1 1 0 1 0-1.99 0A5.002 5.002 0 0 0 3 6c0 1.098-.5 6-2 7h14c-1.5-1-2-5.902-2-7 0-2.42-1.72-4.44-4.005-4.901z'/%3E%3C/svg%3E");
}

.dw-icon-benutzer[b-4fd0wufl4b] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-5.784 6A2.238 2.238 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1h4.216zM4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z'/%3E%3C/svg%3E");
}

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

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

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

    .nav-item[b-4fd0wufl4b]  .nav-link {
        color: #cfd9e4;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

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

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

.nav-divider[b-4fd0wufl4b] {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin: 0.5rem 1rem;
}

.nav-scrollable[b-4fd0wufl4b] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-4fd0wufl4b] {
    display: block;
}

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

    .nav-scrollable[b-4fd0wufl4b] {
        /* Auf breiten Bildschirmen bleibt das Menü immer sichtbar. */
        display: block;

        /* Menü darf bei vielen Einträgen selbst scrollen. */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-a4hdrsgksb],
.components-reconnect-repeated-attempt-visible[b-a4hdrsgksb],
.components-reconnect-failed-visible[b-a4hdrsgksb],
.components-pause-visible[b-a4hdrsgksb],
.components-resume-failed-visible[b-a4hdrsgksb],
.components-rejoining-animation[b-a4hdrsgksb] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-retrying[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-failed[b-a4hdrsgksb],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-a4hdrsgksb] {
    display: block;
}


#components-reconnect-modal[b-a4hdrsgksb] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-a4hdrsgksb 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-a4hdrsgksb 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-a4hdrsgksb 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-a4hdrsgksb]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-a4hdrsgksb 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-a4hdrsgksb {
    0% {
        transform: translateY(30px) scale(0.95);
    }

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-a4hdrsgksb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-a4hdrsgksb] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-a4hdrsgksb] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-a4hdrsgksb] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-a4hdrsgksb] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-a4hdrsgksb] {
    position: relative;
    width: 80px;
    height: 80px;
}

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

        .components-rejoining-animation div:nth-child(2)[b-a4hdrsgksb] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-a4hdrsgksb {
    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: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Mail/MailDetailsDialog.razor.rz.scp.css */
/* Volltext-Anzeige im Detail-Dialog: Zeilenumbrüche der Mail erhalten (pre),
   aber lange Zeilen umbrechen statt horizontal zu scrollen; vertikal scrollbar,
   damit sehr lange Mails den Dialog nicht sprengen. */
.mail-body[b-6hxnrnkdtw] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    max-height: 50vh;
    overflow-y: auto;
    font-family: inherit;
    font-size: 0.9rem;
}
