/* /Components/Layout/InloggningLayout.razor.rz.scp.css */
/* Ett kort i mitten av en ljus yta, med samma logotyp som i vänstermenyn. */
.inloggning[b-kahpr7sqz5] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: var(--rc-surface);
}

.inloggning-kort[b-kahpr7sqz5] {
    width: 100%;
    max-width: 24rem;
    background-color: white;
    border: 1px solid var(--rc-border);
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
}

.brand[b-kahpr7sqz5] {
    padding: 1.25rem 1.5rem 0.75rem;
    border-bottom: 1px solid var(--rc-border);
}

    .brand img[b-kahpr7sqz5] {
        display: block;
        width: 100%;
        max-width: 12rem;
        height: auto;
    }

    .brand .brand-app[b-kahpr7sqz5] {
        margin: 0.35rem 0 0 3.1rem;
        color: var(--rc-navy);
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-chbbe05xvb] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

/* Ljus meny med en tunn kant mot tabellen - i stil med logotypen (se app.css, --rc-*). */
.sidebar[b-chbbe05xvb] {
    background-color: var(--rc-surface);
    border-right: 1px solid var(--rc-border);
}

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

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

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

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

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

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

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

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

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

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

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

#blazor-error-ui[b-chbbe05xvb] {
    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-chbbe05xvb] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Vänstermenyn: ljus, med logotypen överst (se app.css för färgerna, --rc-*). */
.navbar-toggler[b-5x1qh76bh2] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid var(--rc-border);
    border-radius: 0.375rem;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a4a7c' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem white;
}

.navbar-toggler:checked[b-5x1qh76bh2] {
    background-color: var(--rc-navy-tint);
}

/* Rubrikraden finns bara på smala skärmar, där den bär knappen som visar menyn. */
.top-row[b-5x1qh76bh2] {
    min-height: 3.5rem;
    gap: 0.5rem;
    justify-content: flex-start;
    background-color: white;
    border-bottom: 1px solid var(--rc-border);
}

    .top-row .brand-icon[b-5x1qh76bh2] {
        height: 2rem;
    }

    .top-row .brand-name[b-5x1qh76bh2] {
        color: var(--rc-navy);
        font-weight: 600;
        font-size: 1.1rem;
    }

/* Logotypen överst i menyn, och appens namn under i logotypens gråa ton. */
.brand[b-5x1qh76bh2] {
    padding: 1.25rem 1rem 0.75rem;
    border-bottom: 1px solid var(--rc-border);
}

    .brand img[b-5x1qh76bh2] {
        display: block;
        width: 100%;
        max-width: 12rem;
        height: auto;
    }

    .brand .brand-app[b-5x1qh76bh2] {
        margin: 0.35rem 0 0 3.1rem;
        color: var(--rc-navy);
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

.nav-scrollable[b-5x1qh76bh2] {
    display: none;
}

/* På smala skärmar står logotypen redan i rubrikraden. */
@media (max-width: 640.98px) {
    .brand[b-5x1qh76bh2] {
        display: none;
    }
}

/* En kolumn som fyller resten av menyn, så att avstämningen kan läggas längst ned. */
.sidebar-tools[b-5x1qh76bh2] {
    color: var(--rc-text-muted);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .sidebar-tools[b-5x1qh76bh2]  .form-label,
    .sidebar-tools[b-5x1qh76bh2]  .form-check-label,
    .sidebar-tools[b-5x1qh76bh2]  summary {
        color: var(--rc-text);
    }

    .sidebar-tools[b-5x1qh76bh2]  .sidebar-tool {
        border-top: 1px solid var(--rc-border);
        padding: 0.5rem 0;
    }

    .sidebar-tools[b-5x1qh76bh2]  .sidebar-tool summary {
        cursor: pointer;
        font-weight: 600;
    }

    .sidebar-tools[b-5x1qh76bh2]  .sidebar-tool[open] summary {
        margin-bottom: 0.5rem;
    }

    .sidebar-tools[b-5x1qh76bh2]  kbd {
        font-size: 0.7rem;
        color: var(--rc-navy);
        background-color: var(--rc-navy-tint);
        box-shadow: none;
    }

    .sidebar-tools[b-5x1qh76bh2]  .btn-primary kbd {
        color: white;
        background-color: rgba(255, 255, 255, 0.2);
    }

/* Den inloggade användaren längst ned i menyn. */
.inloggad[b-5x1qh76bh2] {
    border-top: 1px solid var(--rc-border);
    color: var(--rc-text-muted);
    font-size: 0.8rem;
}

    .inloggad strong[b-5x1qh76bh2] {
        color: var(--rc-text);
    }

    .inloggad .btn-link[b-5x1qh76bh2] {
        font-size: inherit;
        vertical-align: baseline;
    }

.navbar-toggler:checked ~ .nav-scrollable[b-5x1qh76bh2] {
    display: flex;
    flex-direction: column;
}

@media (min-width: 641px) {
    .navbar-toggler[b-5x1qh76bh2],
    .top-row[b-5x1qh76bh2] {
        display: none;
    }

    .nav-scrollable[b-5x1qh76bh2] {
        /* Never collapse the sidebar for wide screens */
        display: flex;
        flex-direction: column;

        /* Allow sidebar to scroll for tall menus */
        height: 100vh;
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-23aiusiwoy],
.components-reconnect-repeated-attempt-visible[b-23aiusiwoy],
.components-reconnect-failed-visible[b-23aiusiwoy],
.components-pause-visible[b-23aiusiwoy],
.components-resume-failed-visible[b-23aiusiwoy],
.components-rejoining-animation[b-23aiusiwoy] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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