/* _content/Dsms.Web/Components/Layout/MainLayout.razor.rz.scp.css */
/* Layout-spezifische Overrides – Hauptstyles in dsms-layout.css */
/* _content/Dsms.Web/Components/Layout/NavMenu.razor.rz.scp.css */
.dsms-sidebar-header[b-hpadr3ge0y] {
    padding: var(--dsms-space-5) var(--dsms-space-5) var(--dsms-space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

@media (min-width: 641px) {
    .dsms-sidebar-inner[b-hpadr3ge0y] {
        display: flex;
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }
}

.dsms-sidebar-brand[b-hpadr3ge0y] {
    display: flex;
    align-items: center;
    gap: var(--dsms-space-3);
    text-decoration: none;
    color: #fff;
}

.dsms-sidebar-brand:hover[b-hpadr3ge0y] {
    color: #fff;
    text-decoration: none;
    opacity: 0.92;
}

.dsms-sidebar-logo[b-hpadr3ge0y] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--dsms-radius-sm);
    background: var(--dsms-primary);
    font-size: var(--dsms-font-size-sm);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.dsms-sidebar-title[b-hpadr3ge0y] {
    font-size: var(--dsms-font-size-lg);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.navbar-toggler[b-hpadr3ge0y] {
    display: none;
}

.navbar-toggler-label[b-hpadr3ge0y] {
    display: none;
}

.dsms-nav[b-hpadr3ge0y] {
    padding: var(--dsms-space-3) var(--dsms-space-3) var(--dsms-space-6);
}

.nav-section[b-hpadr3ge0y] {
    font-size: var(--dsms-font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dsms-text-on-dark-muted);
    padding: var(--dsms-space-5) var(--dsms-space-3) var(--dsms-space-2);
    margin-top: var(--dsms-space-2);
}

.nav-section.dsms-nav-footer[b-hpadr3ge0y] {
    margin-top: var(--dsms-space-4);
    padding-top: var(--dsms-space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-item[b-hpadr3ge0y] {
    margin-bottom: 2px;
}

.nav-item[b-hpadr3ge0y]  .nav-link {
    color: var(--dsms-text-on-dark);
    border-radius: var(--dsms-radius-sm);
    padding: 0.6rem var(--dsms-space-3);
    font-size: var(--dsms-font-size-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    width: 100%;
    border: none;
    background: none;
    text-align: left;
    transition: background 0.12s ease, color 0.12s ease;
}

.nav-item[b-hpadr3ge0y]  a.active {
    background: var(--dsms-sidebar-active);
    color: #fff;
}

.nav-item[b-hpadr3ge0y]  .nav-link:hover {
    background: var(--dsms-sidebar-hover);
    color: #fff;
    text-decoration: none;
}

.dsms-nav-logout[b-hpadr3ge0y] {
    cursor: pointer;
    font-family: inherit;
}

.dsms-sidebar-version[b-hpadr3ge0y] {
    padding: var(--dsms-space-3);
    font-size: var(--dsms-font-size-xs);
    color: rgba(255, 255, 255, 0.55);
    user-select: none;
}

.dsms-sidebar-footer[b-hpadr3ge0y] {
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-scrollable[b-hpadr3ge0y] {
    display: block;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.dsms-sidebar-scroll[b-hpadr3ge0y] {
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}

.dsms-sidebar-scroll[b-hpadr3ge0y]::-webkit-scrollbar {
    width: 8px;
}

.dsms-sidebar-scroll[b-hpadr3ge0y]::-webkit-scrollbar-track {
    background: transparent;
}

.dsms-sidebar-scroll[b-hpadr3ge0y]::-webkit-scrollbar-thumb {
    background-color: rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.dsms-sidebar-scroll[b-hpadr3ge0y]::-webkit-scrollbar-thumb:hover {
    background-color: rgba(148, 163, 184, 0.6);
}

@media (max-width: 640.98px) {
    .dsms-sidebar-inner[b-hpadr3ge0y] {
        position: relative;
    }

    .navbar-toggler[b-hpadr3ge0y] {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
        opacity: 0;
        z-index: 2;
        cursor: pointer;
    }

    .navbar-toggler-label[b-hpadr3ge0y] {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: var(--dsms-radius-sm);
        border: 1px solid rgba(255, 255, 255, 0.15);
        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.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") center/1.4rem no-repeat rgba(255, 255, 255, 0.06);
        z-index: 1;
        cursor: pointer;
    }

    .dsms-sidebar-header[b-hpadr3ge0y] {
        padding-right: 4rem;
    }

    .nav-scrollable[b-hpadr3ge0y] {
        display: none;
        flex: none;
        height: auto;
        max-height: none;
        overflow-y: visible;
    }

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

    .dsms-sidebar-footer[b-hpadr3ge0y] {
        display: none;
    }

    .navbar-toggler:checked ~ .dsms-sidebar-footer[b-hpadr3ge0y] {
        display: block;
    }
}

@media (min-width: 641px) {
    .navbar-toggler[b-hpadr3ge0y],
    .navbar-toggler-label[b-hpadr3ge0y] {
        display: none !important;
    }
}
/* _content/Dsms.Web/Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-l0d29tg6ll],
.components-reconnect-repeated-attempt-visible[b-l0d29tg6ll],
.components-reconnect-failed-visible[b-l0d29tg6ll],
.components-pause-visible[b-l0d29tg6ll],
.components-resume-failed-visible[b-l0d29tg6ll],
.components-rejoining-animation[b-l0d29tg6ll] {
    display: none;
}

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


#components-reconnect-modal[b-l0d29tg6ll] {
    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-l0d29tg6ll 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-l0d29tg6ll {
    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;
    }
}
/* _content/Dsms.Web/Components/Shared/TenantSwitcher.razor.rz.scp.css */
/* Kompakter Mandanten-Switcher – SaaS-Style, integriert in die Top-Bar */

.tenant-switcher[b-hfoxhxos8w] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.tenant-switcher__backdrop[b-hfoxhxos8w] {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: transparent;
}

.tenant-switcher__trigger[b-hfoxhxos8w] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    min-height: 2.25rem;
    background: var(--dsms-surface);
    border: 1px solid var(--dsms-border);
    border-radius: var(--dsms-radius-sm);
    box-shadow: var(--dsms-shadow-sm);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    font-family: inherit;
    line-height: 1.2;
}

.tenant-switcher__trigger:hover:not(:disabled)[b-hfoxhxos8w] {
    border-color: var(--dsms-border-strong);
    box-shadow: var(--dsms-shadow);
    background: var(--dsms-bg);
}

.tenant-switcher--open .tenant-switcher__trigger[b-hfoxhxos8w] {
    border-color: var(--dsms-primary);
    box-shadow: 0 0 0 3px var(--dsms-primary-soft);
}

.tenant-switcher__trigger:disabled[b-hfoxhxos8w] {
    cursor: wait;
    opacity: 0.85;
}

.tenant-switcher__trigger--placeholder[b-hfoxhxos8w] {
    cursor: default;
    opacity: 0.7;
}

.tenant-switcher__trigger--link[b-hfoxhxos8w] {
    text-decoration: none;
    color: inherit;
}

.tenant-switcher__trigger--link:hover[b-hfoxhxos8w] {
    text-decoration: none;
    color: inherit;
}

.tenant-switcher--pending .tenant-switcher__trigger[b-hfoxhxos8w] {
    pointer-events: none;
}

.tenant-switcher__trigger-text[b-hfoxhxos8w] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-width: 0;
}

.tenant-switcher__label[b-hfoxhxos8w] {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dsms-text-muted);
    line-height: 1;
}

.tenant-switcher__value[b-hfoxhxos8w] {
    font-size: var(--dsms-font-size-sm);
    font-weight: 600;
    color: var(--dsms-text);
    max-width: 11rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.125rem;
}

.tenant-switcher__chevron[b-hfoxhxos8w] {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    color: var(--dsms-text-muted);
    transition: transform 0.15s ease;
}

.tenant-switcher--open .tenant-switcher__chevron[b-hfoxhxos8w] {
    transform: rotate(180deg);
}

.tenant-switcher__spinner[b-hfoxhxos8w] {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    border: 2px solid var(--dsms-border);
    border-top-color: var(--dsms-primary);
    border-radius: 50%;
    animation: tenant-switcher-spin-b-hfoxhxos8w 0.65s linear infinite;
}

.tenant-switcher__menu[b-hfoxhxos8w] {
    position: absolute;
    top: calc(100% + 0.375rem);
    right: 0;
    z-index: 101;
    min-width: 13rem;
    max-width: 18rem;
    margin: 0;
    padding: 0.375rem;
    list-style: none;
    background: var(--dsms-surface);
    border: 1px solid var(--dsms-border);
    border-radius: var(--dsms-radius);
    box-shadow: var(--dsms-shadow-lg);
    animation: tenant-switcher-menu-in-b-hfoxhxos8w 0.15s ease;
}

.tenant-switcher__item[b-hfoxhxos8w] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.625rem;
    border: none;
    border-radius: var(--dsms-radius-sm);
    background: transparent;
    font-family: inherit;
    font-size: var(--dsms-font-size-sm);
    color: var(--dsms-text);
    text-align: left;
    cursor: pointer;
    transition: background 0.12s ease;
}

.tenant-switcher__item:hover[b-hfoxhxos8w] {
    background: var(--dsms-bg);
}

.tenant-switcher__item--active[b-hfoxhxos8w] {
    background: var(--dsms-primary-soft);
    font-weight: 600;
    color: var(--dsms-primary);
}

.tenant-switcher__item--active:hover[b-hfoxhxos8w] {
    background: var(--dsms-primary-soft);
}

.tenant-switcher__item-name[b-hfoxhxos8w] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tenant-switcher__check[b-hfoxhxos8w] {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    color: var(--dsms-primary);
}

.tenant-switcher__error[b-hfoxhxos8w] {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
    color: #fff;
    background: var(--dsms-danger);
    border-radius: 50%;
    cursor: help;
}

@keyframes tenant-switcher-spin-b-hfoxhxos8w {
    to { transform: rotate(360deg); }
}

@keyframes tenant-switcher-menu-in-b-hfoxhxos8w {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
