@import '_content/Wm.Dossier/Wm.Dossier.82rmh68yth.bundle.scp.css';
@import '_content/Wm.Models/Wm.Models.1w9mnztwkx.bundle.scp.css';
@import '_content/Wm.Orders/Wm.Orders.091imv7et3.bundle.scp.css';
@import '_content/Wm.Products/Wm.Products.vzawx1j28c.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ============================================================
   MainLayout.razor.css — responsive shell chrome.
   Desktop  (>= Md): persistent drawer, full app-bar.
   Mobile   (<  Md): drawer is a slide-in overlay (zero left
   space), short title, user name / logout collapse into icons.
   ============================================================ */

/* ---------- App bar ---------- */
.wm-shell[b-pcdobfuilz]  .wm-appbar .mud-toolbar {
    gap: 4px;
    min-width: 0;
}

.wm-shell[b-pcdobfuilz]  .wm-appbar-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wm-shell[b-pcdobfuilz]  .wm-title-short { display: none; }

.wm-appbar-actions[b-pcdobfuilz] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex-shrink: 0;
}

.wm-user-name[b-pcdobfuilz] {
    font-size: 13px;
    white-space: nowrap;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Logout icon button only exists on mobile */
.wm-shell[b-pcdobfuilz]  .wm-logout-icon { display: none; }

/* ---------- Mobile ---------- */
@media (max-width: 959.98px) {
    /* Short brand instead of the full product name */
    .wm-shell[b-pcdobfuilz]  .wm-title-full { display: none; }
    .wm-shell[b-pcdobfuilz]  .wm-title-short { display: inline; }

    /* Collapse user name + text logout into a single icon */
    .wm-user-name[b-pcdobfuilz] { display: none; }
    .wm-shell[b-pcdobfuilz]  .wm-logout-btn { display: none; }
    .wm-shell[b-pcdobfuilz]  .wm-logout-icon { display: inline-flex; }

    .wm-appbar-actions[b-pcdobfuilz] { gap: 6px; }

    /* Tighter page gutters so content gets the full width back */
    .wm-shell[b-pcdobfuilz]  .wm-page-container {
        padding-left: 12px;
        padding-right: 12px;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-kn3aps74oa],
.components-reconnect-repeated-attempt-visible[b-kn3aps74oa],
.components-reconnect-failed-visible[b-kn3aps74oa],
.components-pause-visible[b-kn3aps74oa],
.components-resume-failed-visible[b-kn3aps74oa],
.components-rejoining-animation[b-kn3aps74oa] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-kn3aps74oa],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-kn3aps74oa],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-kn3aps74oa],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-kn3aps74oa],
#components-reconnect-modal.components-reconnect-retrying[b-kn3aps74oa],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-kn3aps74oa],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-kn3aps74oa],
#components-reconnect-modal.components-reconnect-failed[b-kn3aps74oa],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-kn3aps74oa] {
    display: block;
}


#components-reconnect-modal[b-kn3aps74oa] {
    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-kn3aps74oa 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-kn3aps74oa 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-kn3aps74oa 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-kn3aps74oa]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-kn3aps74oa 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-kn3aps74oa {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-kn3aps74oa {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-kn3aps74oa {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-kn3aps74oa] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-kn3aps74oa] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-kn3aps74oa] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-kn3aps74oa] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-kn3aps74oa] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-kn3aps74oa] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-kn3aps74oa] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-kn3aps74oa 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-kn3aps74oa] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-kn3aps74oa {
    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;
    }
}
