/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* =================================================
   Hovedlayout
   ================================================= */

.app-shell[b-qb7ss3ejcf] {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background-color: #f2f4f7;
}


/* =================================================
   Toppmeny
   ================================================= */

.app-header[b-qb7ss3ejcf] {
    background-color: #24558a;
    color: #ffffff;
}

.header-inner[b-qb7ss3ejcf] {
    max-width: 1400px;
    min-height: 54px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}


/* =================================================
   Applikasjonsnavn og ikon
   ================================================= */

.app-brand[b-qb7ss3ejcf] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.app-brand:hover[b-qb7ss3ejcf] {
    color: #ffffff;
    text-decoration: none;
}

.app-brand svg[b-qb7ss3ejcf] {
    flex-shrink: 0;
}


/* =================================================
   Innlogget bruker
   ================================================= */

.header-user[b-qb7ss3ejcf] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.header-username[b-qb7ss3ejcf] {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =================================================
   Utlogging
   ================================================= */

.logout-form[b-qb7ss3ejcf] {
    display: flex;
    align-items: center;
    margin: 0;
    flex-shrink: 0;
}

.logout-button[b-qb7ss3ejcf] {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 5px;
    background-color: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 120ms ease;
}

.logout-button:hover[b-qb7ss3ejcf] {
    background-color: rgba(255, 255, 255, 0.15);
}

.logout-button:active[b-qb7ss3ejcf] {
    background-color: rgba(255, 255, 255, 0.25);
}

.logout-button:focus-visible[b-qb7ss3ejcf] {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}


/* =================================================
   Navigasjonsmeny
   ================================================= */

.app-navigation[b-qb7ss3ejcf] {
    background-color: #ffffff;
    border-bottom: 1px solid #d5dbe3;
}

.navigation-inner[b-qb7ss3ejcf] {
    max-width: 1400px;
    min-height: 46px;
    margin: 0 auto;
    padding: 4px 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
}


/* =================================================
   Navigasjonslenker

   ::deep benyttes fordi NavLink er en egen
   Blazor-komponent.
   ================================================= */

.navigation-inner[b-qb7ss3ejcf]  .navigation-link {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 5px;
    color: #475569;
    background-color: transparent;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    transition:
        background-color 120ms ease,
        color 120ms ease;
}

.navigation-inner[b-qb7ss3ejcf]  .navigation-link svg {
    flex-shrink: 0;
}

.navigation-inner[b-qb7ss3ejcf]  .navigation-link:hover {
    background-color: #edf1f5;
    color: #24558a;
    text-decoration: none;
}

.navigation-inner[b-qb7ss3ejcf]  .navigation-link.active {
    background-color: #e3edf8;
    color: #24558a;
    font-weight: 600;
}

.navigation-inner[b-qb7ss3ejcf]  .navigation-link:focus-visible {
    outline: 2px solid #24558a;
    outline-offset: 2px;
}


/* =================================================
   Hovedinnhold
   ================================================= */

.app-main[b-qb7ss3ejcf] {
    flex: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    min-width: 0;
}


/* =================================================
   Blazor feilmelding
   ================================================= */

#blazor-error-ui[b-qb7ss3ejcf] {
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 2000;
    padding: 12px 48px 12px 16px;
    background-color: #fff3cd;
    color: #664d03;
    border-top: 1px solid #e5cf83;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    box-sizing: border-box;
}

#blazor-error-ui .reload[b-qb7ss3ejcf] {
    margin-left: 8px;
    color: #24558a;
    font-weight: 600;
    text-decoration: underline;
}

#blazor-error-ui .dismiss[b-qb7ss3ejcf] {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #664d03;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}


/* =================================================
   Nettbrett og mindre skjermer
   ================================================= */

@media (max-width: 768px) {

    .header-inner[b-qb7ss3ejcf] {
        min-height: 48px;
        padding: 0 12px;
    }

    .app-brand[b-qb7ss3ejcf] {
        gap: 8px;
        font-size: 20px;
    }

    .app-brand svg[b-qb7ss3ejcf] {
        width: 24px;
        height: 24px;
    }

    .header-user[b-qb7ss3ejcf] {
        gap: 8px;
    }

    .header-username[b-qb7ss3ejcf] {
        font-size: 13px;
    }

    .navigation-inner[b-qb7ss3ejcf] {
        min-height: 42px;
        padding: 3px 10px;
        gap: 4px;
    }

    .navigation-inner[b-qb7ss3ejcf]  .navigation-link {
        min-height: 35px;
        padding: 7px 10px;
        gap: 5px;
        font-size: 13px;
    }

    .navigation-inner[b-qb7ss3ejcf]  .navigation-link svg {
        width: 17px;
        height: 17px;
    }

    .app-main[b-qb7ss3ejcf] {
        padding: 12px;
    }
}


/* =================================================
   Mobiltelefon
   ================================================= */

@media (max-width: 480px) {

    .header-inner[b-qb7ss3ejcf] {
        min-height: 46px;
        padding: 0 10px;
    }

    .app-brand[b-qb7ss3ejcf] {
        font-size: 19px;
        gap: 7px;
    }

    .app-brand svg[b-qb7ss3ejcf] {
        width: 22px;
        height: 22px;
    }

    .header-username[b-qb7ss3ejcf] {
        max-width: 150px;
        font-size: 13px;
    }

    .logout-button[b-qb7ss3ejcf] {
        width: 34px;
        height: 34px;
    }

    .navigation-inner[b-qb7ss3ejcf] {
        min-height: 42px;
        padding: 3px 5px;
        gap: 2px;
    }

    .navigation-inner[b-qb7ss3ejcf]  .navigation-link {
        flex: 1;
        min-height: 36px;
        padding: 6px 5px;
        gap: 4px;
        font-size: 12px;
    }

    .navigation-inner[b-qb7ss3ejcf]  .navigation-link svg {
        width: 15px;
        height: 15px;
    }

    .app-main[b-qb7ss3ejcf] {
        padding: 10px;
    }
}


/* =================================================
   Svært smale mobilskjermer
   ================================================= */

@media (max-width: 360px) {

    .navigation-inner[b-qb7ss3ejcf]  .navigation-link svg {
        display: none;
    }

    .navigation-inner[b-qb7ss3ejcf]  .navigation-link {
        padding: 6px 4px;
        font-size: 12px;
    }

    .app-main[b-qb7ss3ejcf] {
        padding: 8px;
    }
}


/* =================================================
   Redusert animasjon
   ================================================= */

@media (prefers-reduced-motion: reduce) {

    .logout-button[b-qb7ss3ejcf],
    .navigation-inner[b-qb7ss3ejcf]  .navigation-link {
        transition: none;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-2fngkhxd3b],
.components-reconnect-repeated-attempt-visible[b-2fngkhxd3b],
.components-reconnect-failed-visible[b-2fngkhxd3b],
.components-pause-visible[b-2fngkhxd3b],
.components-resume-failed-visible[b-2fngkhxd3b],
.components-rejoining-animation[b-2fngkhxd3b] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-2fngkhxd3b {
    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;
    }
}
