/* /Components/Layout/AppLayout.razor.rz.scp.css */
html[b-b5unrf2yl8], body[b-b5unrf2yl8] {
    height: 100%;
}

.page[b-b5unrf2yl8] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}
main[b-b5unrf2yl8] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0; /* KRITISK */
    overflow: hidden;
}

article.content[b-b5unrf2yl8] {
    flex: 1 1 auto;
    min-height: 0; /* KRITISK */
    overflow: auto; /* vanliga sidor scrollar h�r */
}

.sidebar[b-b5unrf2yl8] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #001144 70%);
}

.top-row[b-b5unrf2yl8] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: var(--app-header-height);
    display: flex;
    align-items: center;
    
    height: var(--app-header-height);
    min-height: var(--app-header-height);
    flex: 0 0 var(--app-header-height); 
    
}

    .top-row[b-b5unrf2yl8]  a, .top-row[b-b5unrf2yl8]  .btn-link {
        white-space: nowrap;
        /*margin-left: 1.5rem;*/
        text-decoration: none;
    }
    /* Only apply margin to top-row anchors that are direct children */
    .top-row[b-b5unrf2yl8]  > a,
    .top-row[b-b5unrf2yl8]  > .btn-link {
        margin-left: 1.5rem;
    }

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

    .top-row[b-b5unrf2yl8]  a:first-child:not(.nav-link-logo) {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .top-row[b-b5unrf2yl8]  .nav-link-logo {
        margin-left: 0 !important;
        padding: 0;
        display: flex;
        align-items: center;
        text-decoration: none;
    }

@media (max-width: 640.98px) {
    .top-row[b-b5unrf2yl8] {
        height: 2.75rem; /* ~44px */
        justify-content: flex-start;
    }

    .top-row[b-b5unrf2yl8]  a, .top-row[b-b5unrf2yl8]  .btn-link {
        margin-left: 0;
    }
    .navbar-logo[b-b5unrf2yl8] {
        height: 1.25rem; /* ~20px */
    }
}

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

    .sidebar[b-b5unrf2yl8] {
        width: 250px;
        height: 100%; /* b�ttre �n 100vh n�r .page redan �r 100vh */
        position: sticky;
        top: 0;
        flex: 0 0 250px; /* g�r bredden stabil i flex-layouten */
    }

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

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

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

#blazor-error-ui[b-b5unrf2yl8] {
    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-b5unrf2yl8] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


.navbar-logo[b-b5unrf2yl8] {
    height: 2rem; /* ~32px, good default */
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

@media (max-width: 640.98px) {
    .navbar-logo[b-b5unrf2yl8] {
        height: 1.5rem; /* ~24px on phones */
    }
}

.app-shell[b-b5unrf2yl8] {
    min-height: 100vh;
    background-color: #e9ecef; /* gr� yta utanf�r appen */
}

.app-frame[b-b5unrf2yl8] {
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
}
/* /Components/Layout/HeroLayout.razor.rz.scp.css */
.hero-wrapper[b-7616sfzfhr] {
    position: relative;
    background-image: url('/images/hero-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    /*min-height: 100vh;*/
    min-height: calc(100vh - 3.5rem); /* header height */
    z-index: -0;
}

    .hero-wrapper[b-7616sfzfhr]::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(1, 17, 49, 0.6); /* adjust opacity: 0 = none, 1 = full black */
        z-index: -1; /* sits behind your content */
    }

.page[b-7616sfzfhr] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-7616sfzfhr] {
    flex: 1;
}

.sidebar[b-7616sfzfhr] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #001144 70%);
}

.top-row[b-7616sfzfhr] {
    /*background-color: #f7f7f7;*/
    /*border-bottom: 1px solid #d6d5d5;*/
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    background-color: rgba(0,0,0,0.4);
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #001144 70%);
}

    .top-row[b-7616sfzfhr]  a, .top-row[b-7616sfzfhr]  .btn-link {
        white-space: nowrap;
        /*margin-left: 1.5rem;*/
        text-decoration: none;
    }
    /* Only apply margin to top-row anchors that are direct children */
    .top-row[b-7616sfzfhr]  > a,
    .top-row[b-7616sfzfhr]  > .btn-link {
        margin-left: 1.5rem;
    }

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

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

    .top-row img[b-7616sfzfhr] {
        height: 100%; /* fill the parent’s height */
        width: auto; /* keep aspect ratio */
        display: block; /* avoid inline baseline weirdness */
        margin-right: auto;
    }

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

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

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

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

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

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

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

#blazor-error-ui[b-7616sfzfhr] {
    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-7616sfzfhr] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/* /Components/Layout/MainHeaderComponent.razor.rz.scp.css */
:host[b-4bsj4b8n9x] {
    display: block;
    width: 100%;
}

.header-container[b-4bsj4b8n9x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.header-title[b-4bsj4b8n9x] {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* spacing between h2 and badge */
}

/* Avatar circle */
.user-avatar[b-4bsj4b8n9x] {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0066cc;
    color: white;
    font-weight: bold;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.9rem;
    box-shadow: 0 0 4px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

    .user-avatar:hover[b-4bsj4b8n9x] {
        background-color: #004c99;
    }

/* Dropdown menu now correctly anchored */
.user-menu[b-4bsj4b8n9x] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    width: 200px;
    z-index: 1000;
    overflow: hidden;
}

    /* Normalize a + button appearance */
    .user-menu a[b-4bsj4b8n9x],
    .user-menu button[b-4bsj4b8n9x] {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 10px 14px;
        text-align: left;
        background: none;
        border: none;
        outline: none;
        color: #333;
        font: inherit;
        text-decoration: none;
        cursor: pointer;
        box-sizing: border-box;
    }

        .user-menu a:hover[b-4bsj4b8n9x],
        .user-menu button:hover[b-4bsj4b8n9x] {
            background-color: #f0f0f0;
        }

:host[b-4bsj4b8n9x]  a,
:host-context(.top-row) .user-menu a[b-4bsj4b8n9x] {
    margin-left: 0px !important;
    padding-left: 0px !important;
}

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.main-wrapper[b-s3a45h3hok] {
    position: relative;
    background-image: url('/images/hero-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    /*min-height: 100vh;*/
    min-height: calc(100vh - 3.5rem); /* header height */
    z-index: -0;
}

    .main-wrapper_2[b-s3a45h3hok]::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(1, 17, 49, 0.6); /* adjust opacity: 0 = none, 1 = full black */
        z-index: -1; /* sits behind your content */
    }

.navbar-logo[b-s3a45h3hok] {
    height: 100%;
    display: block;
}

.page[b-s3a45h3hok] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.sidebar[b-s3a45h3hok] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #001144 70%);
}

.top-row[b-s3a45h3hok] {
    /*background-color: #f7f7f7;*/
    /*border-bottom: 1px solid #d6d5d5;*/
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    background-color: rgba(0,0,0,0.4);
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #001144 70%);
}

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

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

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

.nav-link-logo[b-s3a45h3hok] {
    height: 100%;
    margin-right: auto;
}

    .top-row img[b-s3a45h3hok] {
        /*height: 100%;*/ /* fill the parent’s height */
        width: auto; /* keep aspect ratio */
        display: block; /* avoid inline baseline weirdness */
        margin-right: auto;
    }

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

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

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

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

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

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

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

#blazor-error-ui[b-s3a45h3hok] {
    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-s3a45h3hok] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* =========================
   NavMenu layout + behavior
   ========================= */

/* Sidebar header bar (same height as main header) */
.top-row[b-mmpmp2somu] {
    position: relative; /* needed for absolute hamburger positioning */
    height: var(--app-header-height);
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    padding-top: calc(var(--app-header-pad-y) / 2);
    padding-bottom: calc(var(--app-header-pad-y) / 2);
}

/* Logo scales with header height */
.navbar-logo[b-mmpmp2somu] {
    max-height: calc(var(--app-header-height) - var(--app-header-pad-y));
    width: auto;
    display: block;
    object-fit: contain;
}

/* Hamburger (mobile) */
.navbar-toggler[b-mmpmp2somu] {
    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);
    display: block; /* mobile-first: visible */
    z-index: 10; /* ensure it stays above the logo */
}

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

/* -------------------------
   Nav link + icon styling
   ------------------------- */

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

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

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

    .nav-item[b-mmpmp2somu]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        line-height: 3rem;
        display: flex;
        align-items: center;
        width: 100%;
        /* stop item text from wrapping and show ellipses */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

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

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

/* Template icon system (background-image icons) */
.bi[b-mmpmp2somu] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

/* SVG icon in VAKA System link */
.nav-icon[b-mmpmp2somu] {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    display: inline-block;
    fill: currentColor;
}

/* Wrap label in <span class="nav-text"> */
.nav-text[b-mmpmp2somu] {
    min-width: 0;
}

/* -------------------------
   Footer (version item)
   ------------------------- */

.nav-footer[b-mmpmp2somu] {
    border-top: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.2);
}

.nav-link-version[b-mmpmp2somu] {
    color: #d7d7d7;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    border-radius: 4px;

    font-size: 0.8rem; /* n�got mindre text */
    line-height: 1.1;
    padding: .2rem .5rem; /* halvera vertikal padding */
}
    .nav-link-version .bi[b-mmpmp2somu] {
        font-size: 1rem;
        line-height: 1;
        display: inline-flex;
        align-items: center;
    }

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

/* =========================
   Responsive behavior
   ========================= */

/* MOBILE FIRST (default): hide menu + footer until hamburger checked */
.nav-scrollable[b-mmpmp2somu],
.nav-footer[b-mmpmp2somu] {
    display: none;
}

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

/* On mobile, do NOT force full-height sidebar */
.navmenu-root[b-mmpmp2somu] {
    display: block;
    height: auto;
}

/* DESKTOP (>=641px): show menu+footer always, footer sticks to bottom */
@media (min-width: 641px) {

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

    .nav-scrollable[b-mmpmp2somu],
    .nav-footer[b-mmpmp2somu] {
        display: block;
    }

    .navmenu-root[b-mmpmp2somu] {
        display: flex;
        flex-direction: column;
        height: 100vh;
    }

    .nav-scrollable[b-mmpmp2somu] {
        flex: 1 1 auto;
        overflow-y: auto;
        /* optional: if you prefer explicit height */
        height: calc(100vh - var(--app-header-height));
    }

    .nav-footer[b-mmpmp2somu] {
        flex-shrink: 0;
    }
}

.sidebar-link[b-mmpmp2somu] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-icon[b-mmpmp2somu] {
    width: 32px; /* lite bredare kolumn */
    display: flex;
    justify-content: center; /* horisontell centrering */
    align-items: center; /* vertikal centrering */
}

    .sidebar-icon .bi[b-mmpmp2somu] {
        font-size: 1.2rem;
        line-height: 1;
        vertical-align: 0;
    }
/* =========================
   Icon background images
   ========================= */

.bi-house-door-fill-nav-menu[b-mmpmp2somu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' 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");
}

.bi-plus-square-fill-nav-menu[b-mmpmp2somu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-mmpmp2somu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-mmpmp2somu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-mmpmp2somu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-mmpmp2somu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-mmpmp2somu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-mmpmp2somu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

/* /Components/Layout/VAKAAdminLayout.razor.rz.scp.css */
.app-frame[b-jtddvqe5p2] {
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
}
.app-shell[b-jtddvqe5p2] {
    min-height: 100vh;
    background-color: #e9ecef; /* grå yta utanför appen */
}
/* /Components/Shared/ConfirmDialog.razor.rz.scp.css */
.confirm-modal .modal-dialog-centered[b-l010n0nc6c] {
    align-items: flex-start;
    min-height: 100vh;
}

.confirm-dialog[b-l010n0nc6c] {
    width: fit-content;
    min-width: 420px;
    max-width: min(90vw, 560px);
    margin: 6rem auto 0 auto;
}

    .confirm-dialog .modal-content[b-l010n0nc6c] {
        width: fit-content;
        min-width: 0;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        display: block !important;
    }

    .confirm-dialog .modal-body[b-l010n0nc6c] {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        flex: 0 0 auto !important;
    }

    .confirm-dialog .modal-footer[b-l010n0nc6c] {
        border-top: 0;
    }

.confirm-message[b-l010n0nc6c] {
    white-space: pre-line;
}
/* /Components/Shared/FloatingMessage.razor.rz.scp.css */
.floating-message[b-k2rpb2ybb0] {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    padding-right: 2.25rem; /* room for X button */

    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    color: #fff;
    font-size: 0.95rem;
    max-width: 320px;
    min-width: 200px;
}

.floating-message-error[b-k2rpb2ybb0] {
    background-color: #dc3545;
}

.floating-message-info[b-k2rpb2ybb0] {
    background-color: #0d6efd; /* Bootstrap primary */
}

.floating-message-success[b-k2rpb2ybb0] {
    background-color: #198754; /* Bootstrap success */
}

.floating-message-warning[b-k2rpb2ybb0] {
    background-color: #ffc107;
    color: #212529; /* bättre kontrast */
}

.floating-message-close[b-k2rpb2ybb0] {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    cursor: pointer;
    opacity: 0.7;
    color: #fff;
    font-size: 1.1rem;
}

.floating-message-close:hover[b-k2rpb2ybb0] {
    opacity: 1;
}

.floating-message-icon[b-k2rpb2ybb0] {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-top: 0.05rem; /* finjusterar vertikal linjering */
    flex-shrink: 0;
}

.floating-message-text[b-k2rpb2ybb0] {
    line-height: 1.35;
    word-break: break-word;
}

.floating-message-close[b-k2rpb2ybb0] {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    cursor: pointer;
    opacity: 0.7;
    color: #fff;
    font-size: 1.1rem;
}

.floating-message-close:hover[b-k2rpb2ybb0] {
    opacity: 1;
}
/* /Pages/App/Components/AutoGrowTextArea/AutoGrowTextArea.razor.rz.scp.css */
.autogrow-wrap[b-8suhr127i5] {
    display: grid;
    /* Max 8 rader + bootstrap padding + border */
    max-height: calc(1.5em * 8 + .75rem + 2px);
    /* Hindrar mät-elementet (::after) från att expandera layouten */
    overflow: hidden;
}

.autogrow-wrap[b-8suhr127i5]::after {
    content: attr(data-replicated-value) " ";
    white-space: pre-wrap;
    visibility: hidden;
    grid-area: 1 / 1 / 2 / 2;
    /* Matcha Bootstrap .form-control */
    padding: .375rem .75rem;
    border: 1px solid transparent;
    /* Matcha radbrytning */
    overflow-wrap: break-word;
    word-break: break-word;
}

.autogrow-wrap > textarea[b-8suhr127i5] {
    grid-area: 1 / 1 / 2 / 2;
    resize: none;
    /* Viktigt: INGEN height:100% här */
    overflow: auto;
    overflow-wrap: break-word;
    word-break: break-word;
}
/* /Pages/App/Components/EditableHeader/EditableHeaderText.razor.rz.scp.css */
.editable-header-text[b-p6f14ciys1] {
    position: relative;
    min-width: 0;
    max-width: 100%;
    /* reserv för pennan så texten kan ellipsa innan den krockar */
    /*padding-right: 1.75rem;*/
}

.editable-header-text__label[b-p6f14ciys1] {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* pennan ligger ovanpå, tar inte “layout-bredd” */
/* Make the icon button a centered square */
.editable-header-text__icon[b-p6f14ciys1] {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* overrides btn-link padding */
    line-height: 1;
    vertical-align: middle;
    opacity: 0;
    transition: opacity 0.15s ease;
}

    .editable-header-text__icon i[b-p6f14ciys1] {
        line-height: 1;
        display: block;
    }

/* View mode: icon sits right after text, but the whole thing cannot exceed parent width */
.editable-header-text:not(.is-editing)[b-p6f14ciys1] {
    display: inline-flex;
    align-items: center; /* keep */
    gap: .25rem;
    min-width: 0;
    max-width: 100%;
}

    /* Label ellipsizes when container hits max-width */
    .editable-header-text:not(.is-editing) .editable-header-text__label[b-p6f14ciys1] {
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

/* visa på hover/focus */
.editable-header-text:hover .editable-header-text__icon[b-p6f14ciys1],
.editable-header-text:focus-within .editable-header-text__icon[b-p6f14ciys1] {
    opacity: 1;
}

/* edit-läge input */
.editable-header-text__input[b-p6f14ciys1] {
    width: clamp(12rem, 40vw, 25rem);
    min-width: 0;
}

/* Edit mode: 1 row, input grows, buttons stay fixed */
.editable-header-text.is-editing[b-p6f14ciys1] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .5rem;
    min-width: 0;
    width: 100%;
}

    .editable-header-text.is-editing .editable-header-text__input[b-p6f14ciys1] {
        width: 100%;
        min-width: 0;
    }

    .editable-header-text.is-editing .editable-header-text__btn[b-p6f14ciys1] {
        white-space: nowrap;
    }
/* /Pages/App/Components/Favorite/StarToggle.razor.rz.scp.css */
.star-toggle[b-xuw4iosra4] {
    text-decoration: none;
    line-height: 1;
}

    .star-toggle i[b-xuw4iosra4] {
        font-size: 1.2rem;
    }

    
    .star-toggle:focus-visible[b-xuw4iosra4] {
        outline: 2px solid var(--bs-primary);
        outline-offset: 2px;
        border-radius: .25rem;
    }
/* /Pages/App/Components/Map/DeviceLocationsMap.razor.rz.scp.css */
.map-wrapper[b-sb97aanwn2] {
    position: relative;
}

.map-canvas[b-sb97aanwn2] {
    height: 420px;
    border-radius: .5rem;
}

.map-frame[b-sb97aanwn2] {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    min-height: 0; /* gör att Leaflet får “riktig” yta i flex-layout */
    z-index: 1;
}

.map-attribution[b-sb97aanwn2] {
    position: absolute;
    right: 10px;
    bottom: 8px;
    font-size: 11px;
    color: rgba(0,0,0,.55);
    background: rgba(255,255,255,.25);
    backdrop-filter: blur(4px);
    padding: 3px 8px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 10;
    opacity: .6;
    transition: opacity .2s ease;
}

.map-frame:hover .map-attribution[b-sb97aanwn2] {
    opacity: .9;
}


.map-frame .leaflet-container[b-sb97aanwn2] {
    height: 100%;
    width: 100%;
    z-index: 1;
}

.leaflet-control-attribution[b-sb97aanwn2] {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.35) !important; /* svagare text */
    background: rgba(255, 255, 255, 0.5) !important;
    padding: 2px 8px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* länkar ärver samma svaga ton */
.leaflet-control-attribution a[b-sb97aanwn2] {
    color: rgba(0, 0, 0, 0.35) !important;
    text-decoration: none;
}
.leaflet-control-attribution a:hover[b-sb97aanwn2] {
    text-decoration: underline;
}

.map-popup-host[b-sb97aanwn2] {
    position: absolute;
    z-index: 5000;
    pointer-events: none;
}

.map-popup-host[b-sb97aanwn2] {
    pointer-events: none;
}

.map-popup-host > *[b-sb97aanwn2] {
    pointer-events: auto;
}

.leaflet-popup-content .btn[b-sb97aanwn2] {
    border-radius: .5rem;
}

.leaflet-popup-content[b-sb97aanwn2] {
    margin: 12px 14px;
}

/* /Pages/App/Components/Map/DeviceMapPopup.razor.rz.scp.css */


.map-popup-card[b-mhhno3r3n2] {
    border-radius: 14px;
    pointer-events: auto; /* men knappar ska vara klickbara */
    min-width: 260px;
}

.map-popup-host > *[b-mhhno3r3n2] {
    pointer-events: auto; /* gör knappar klickbara */
}

.map-popup-host[b-mhhno3r3n2] {
    position: absolute;
    z-index: 5000;
    pointer-events: none;
}

/* /Pages/App/Components/ModalDialog/AppDialog.razor.rz.scp.css */
/* Gör att content får en maxhöjd och kan layoutas med flex */
/*::deep .modal-content {
    max-height: 85vh; 
    height: 85vh;
    display: flex;
    flex-direction: column;
}
*/
[b-19f40z8rma] .modal-content {
    height: clamp(520px, 85vh, 900px);
    display: flex;
    flex-direction: column;
}

/* Body ska inte scrolla – den ska bara vara en flex-container */
[b-19f40z8rma] .appdialog-body {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

[b-19f40z8rma] .modal-body {
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

[b-19f40z8rma] .appdialog-header-left,
[b-19f40z8rma] .appdialog-titleblock {
    min-width: 0; /* avgörande för ellipsis i flex */
}

[b-19f40z8rma] .appdialog-title {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Trunkera subtitle också */
[b-19f40z8rma] .modal-header .text-truncate {
    min-width: 0;
}

[b-19f40z8rma] .modal-header > * {
    min-width: 0;
}

[b-19f40z8rma] .dialog-disabled {
    pointer-events: none;
    opacity: 0.6;
}
/* /Pages/App/DeviceProperty/DevicePropertyDialog.razor.rz.scp.css */

.device-settings-layout[b-ac2afxvbe4] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.device-settings-tabs[b-ac2afxvbe4] {
    flex: 0 0 auto;
}

.device-settings-scroll[b-ac2afxvbe4] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
}

/* 2 kolumner: text tar 1fr och kan krympa, badge tar auto */
[b-ac2afxvbe4] .appdialog-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .5rem;
    min-width: 0;
}

/* textkolumnen måste få krympa */
[b-ac2afxvbe4] .appdialog-title-text {
    min-width: 0;
}

/* badge ska aldrig krympa */
[b-ac2afxvbe4] .appdialog-title-badge {
    white-space: nowrap;
}

[b-ac2afxvbe4] .header-textblock {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important; /* 100% av 742px-parenten */
}

[b-ac2afxvbe4] .modal-header .header-textblock * {
    min-width: 0;
}

[b-ac2afxvbe4] .eh-wrap {
    flex: 1 1 0% !important; /* riktig flex-basis så den kan krympa */
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden; /* stoppar barn som försöker växa */
}
/* /Pages/App/Favorites.razor.rz.scp.css */
/* =========================
   Tile Card 
   ========================= */

.tile-card[b-42epn6df4d] {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    background: #fff;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    cursor: pointer;
}

    .tile-card:hover[b-42epn6df4d] {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,.10);
        border-color: rgba(13,110,253,.18);
    }

    .tile-card:focus[b-42epn6df4d],
    .tile-card:focus-visible[b-42epn6df4d] {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(13,110,253,.20), 0 8px 24px rgba(0,0,0,.10);
        border-color: rgba(13,110,253,.35);
    }

/* Alla tiles lika stora */
.tile-fixed[b-42epn6df4d] {
    height: 138px;
}


/* Card body fyller hela höjden */
.tile-card-body[b-42epn6df4d] {
    height: 100%;
    padding: 1rem 1rem 0.9rem 1rem;
}

/* =========================
   Layout 
   ========================= */

.tile-layout[b-42epn6df4d] {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    height: 100%;
    min-width: 0; /* viktigt */
}

/* Vänsterkolumn */
.tile-main[b-42epn6df4d] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Högerkolumn (knappar) */
.tile-actions-column[b-42epn6df4d] {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}


/* =========================
   Title + ikon
   ========================= */

.tile-title-row[b-42epn6df4d] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.device-img[b-42epn6df4d] {
    height: 1.8em;
    width: 1.8em;
    margin-right: 0;
    flex: 0 0 auto;
}


/* Själva texten */
.tile-title-text[b-42epn6df4d] {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}


/* =========================
   Description
   ========================= */

/* 2 rader clamp */
.tile-desc[b-42epn6df4d] {
    margin-top: 0.2rem;
    color: var(--bs-secondary-color);
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/* Endats 1 rad för bskrivning:
.tile-desc {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
*/
/* =========================
   Badges
   ========================= */
.tile-badges[b-42epn6df4d] {
    max-width: 100%;
    overflow: hidden;
}


/* =========================
   Ikoner / knappar
   ========================= */

.favorite-star[b-42epn6df4d] {
    color: var(--bs-primary);
}


/* =========================
   Loading overlay
   ========================= */

.tile-loading[b-42epn6df4d] {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: inherit;
}


/* =========================
   Utilities
   ========================= */


.min-w-0[b-42epn6df4d] {
    min-width: 0;
}
/* /Pages/App/ManageBackups/BackupFilesDialog.razor.rz.scp.css */
.backup-table-scroll[b-ui2z189w2r] {
    max-height: 360px; /* ~10 rader beroende på padding/font */
    overflow-y: auto;
}

.table-narrow > :not(caption) > * > *[b-ui2z189w2r] {
    padding-top: .25rem;
    padding-bottom: .25rem;
    padding-left: .5rem;
    padding-right: .5rem;
    font-size: .875rem; /* ungefär "small" */
}

.table-narrow td.file-col[b-ui2z189w2r] {
    max-width: 420px; /* justera efter dialogbredd */
    word-break: break-word;
}

.backup-table-scroll thead th[b-ui2z189w2r] {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: var(--bs-body-bg);
    border-bottom: 2px solid var(--bs-border-color);
    font-weight: 600;
    font-size: .875rem;
}
/* /Pages/App/ManageBackups/ManageBackupsDialog.razor.rz.scp.css */
.list-group[b-77mz8171um] {
    max-height: 300px;
    min-height: 300px;
    margin-bottom: 10px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-custom[b-77mz8171um] {
    
    max-width: 800px;
}

/* Scrollable area */
.settings-table-wrapper[b-77mz8171um] {
    max-height: 220px; /* adjust as needed */
    min-height: 220px; /* adjust as needed */
    overflow-y: auto;
}

/* Make table cleaner */
.settings-table[b-77mz8171um] {
    border-collapse: separate;
    border-spacing: 0;
}

    .settings-table thead th[b-77mz8171um] {
        border-bottom: 1px solid #dee2e6;
        background-color: #f8f9fa;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

/* Clickable row behaviour */
.clickable-row > td[b-77mz8171um] {
    cursor: pointer;
}

/* Hover background on cells */
.clickable-row:hover > td[b-77mz8171um] {
    background-color: #f5f5f7 !important;
}

/* Optional: subtle row separation */
.settings-table tbody tr + tr td[b-77mz8171um] {
    border-top: 1px solid #f0f0f0;
}

/* Avatar circle with initials */
.user-avatar-circle[b-77mz8171um] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0d6efd;
    color: white;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


.tab-content-fixed[b-77mz8171um] {
    min-height: 430px;
}
/* /Pages/App/ManageUsers/ManageUsersDialog.razor.rz.scp.css */
.list-group[b-9egqxyubec] {
    max-height: 300px;
    min-height: 300px;
    margin-bottom: 10px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-custom[b-9egqxyubec] {
    
    max-width: 800px;
}

/* Scrollable area */
.settings-table-wrapper[b-9egqxyubec] {
    max-height: 320px; /* adjust as needed */
    min-height: 320px; /* adjust as needed */
    overflow-y: auto;
}

/* Make table cleaner */
.settings-table[b-9egqxyubec] {
    border-collapse: separate;
    border-spacing: 0;
}

    .settings-table thead th[b-9egqxyubec] {
        border-bottom: 1px solid #dee2e6;
        background-color: #f8f9fa;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

/* Clickable row behaviour */
.clickable-row > td[b-9egqxyubec] {
    cursor: pointer;
}

/* Hover background on cells */
.clickable-row:hover > td[b-9egqxyubec] {
    background-color: #f5f5f7 !important;
}

/* Optional: subtle row separation */
.settings-table tbody tr + tr td[b-9egqxyubec] {
    border-top: 1px solid #f0f0f0;
}

/* Avatar circle with initials */
.user-avatar-circle[b-9egqxyubec] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0d6efd;
    color: white;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* /Pages/App/NewOrganization/NewOrganizationComponent.razor.rz.scp.css */
.min-w-0[b-g8k8yzh29q] {
    min-width: 0;
}

/* ===== Organization section ===== */

.org-section[b-g8k8yzh29q] {
    background: linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
    border: 1px solid #dbe5f0;
    border-radius: 0.9rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,.04);
    overflow: hidden;
}

.org-section + .org-section[b-g8k8yzh29q] {
    margin-top: 1rem;
}

.org-section__header[b-g8k8yzh29q] {
    background: transparent;
}

.org-section__header-inner[b-g8k8yzh29q] {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.org-section__toggle[b-g8k8yzh29q] {
    color: inherit;
    background: transparent;
    border: 0;
    min-width: 0;
}

    .org-section__toggle:hover[b-g8k8yzh29q],
    .org-section__toggle:focus[b-g8k8yzh29q] {
        color: inherit;
        text-decoration: none;
    }

.org-section__title-wrap[b-g8k8yzh29q] {
    min-width: 0;
}

.org-section__title-row[b-g8k8yzh29q] {
    min-width: 0;
}

.org-section__title[b-g8k8yzh29q] {
    font-size: 1rem;
    font-weight: 650;
    color: var(--bs-heading-color);
    line-height: 1.2;
}

.org-count-badge[b-g8k8yzh29q] {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--bs-secondary-color);
}

.org-section__chevron[b-g8k8yzh29q] {
    color: var(--bs-secondary-color);
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.org-section__toggle[aria-expanded="true"] .org-section__chevron[b-g8k8yzh29q] {
    transform: rotate(180deg);
}

.org-section__body[b-g8k8yzh29q] {
    padding: 0.65rem;
    background: rgba(255,255,255,0.18);
}

/* ===== Device list ===== */

.device-list[b-g8k8yzh29q] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.device-row[b-g8k8yzh29q] {
    position: relative;
    background: #fff;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

    .device-row:hover[b-g8k8yzh29q] {
        border-color: rgba(var(--bs-primary-rgb), 0.22);
        background: #fcfcfd;
        box-shadow: 0 0.2rem 0.6rem rgba(0,0,0,.05);
    }

    .device-row.active[b-g8k8yzh29q] {
        border-color: rgba(var(--bs-primary-rgb), 0.38);
        box-shadow: 0 0 0 0.15rem rgba(var(--bs-primary-rgb), 0.08);
    }

.device-row__inner[b-g8k8yzh29q] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 0.9rem;
}

.device-row__main[b-g8k8yzh29q] {
    min-width: 0;
    flex: 1 1 auto;
}

.device-row__subtext[b-g8k8yzh29q] {
    margin-top: 0.15rem;
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
}


/* ===== Truncation ===== */

.device-name-wrap[b-g8k8yzh29q] {
    min-width: 0;
    overflow: hidden;
}

    .device-name-wrap .text-truncate[b-g8k8yzh29q],
    .device-name-wrap span[b-g8k8yzh29q],
    .device-name-wrap div[b-g8k8yzh29q] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/* ===== Badges ===== */

/*.device-badges .badge {
    font-weight: 600;
    box-shadow: none;
}*/
.device-badges[b-g8k8yzh29q] {
    margin-top: 0.45rem;
}

.device-badges .badge.bg-primary-subtle[b-g8k8yzh29q] {
    background-color: #d9e9ff !important;
    color: #0b4ea2 !important;
    border-color: #c3dcff !important;
}

.badge-version[b-g8k8yzh29q],
.badge-blocked[b-g8k8yzh29q] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1; /* viktigt */
    height: 1.5rem;
}

.badge-version[b-g8k8yzh29q] {
    background-color: #e7f1ff;
    color: #0b5ed7;
    border: 1px solid #cfe2ff;
    font-weight: 600;
}
/*
.badge-blocked {
    background-color: #fde2e2;
    color: #b02a37;
    border: 1px solid #f5c2c7;
    font-weight: 600;
}*/

.badge-blocked[b-g8k8yzh29q] {
    background-color: #dc3545;
    color: #fff;
}


/* ===== Actions ===== */

.device-actions[b-g8k8yzh29q] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

/* ===== Buttons ===== */

.btn-circle-elevated[b-g8k8yzh29q] {
    --circle-elev-shadow: 0 0.12rem 0.35rem rgba(0,0,0,.10);
    box-shadow: var(--circle-elev-shadow);
    --bs-btn-focus-box-shadow: none;
    border-radius: 999px;
    padding: 0.38rem 0.5rem;
    line-height: 1;
}

    .btn-circle-elevated i[b-g8k8yzh29q] {
        font-size: 1rem;
    }

    .btn-circle-elevated:focus[b-g8k8yzh29q],
    .btn-circle-elevated:focus-visible[b-g8k8yzh29q] {
        outline: none !important;
        box-shadow: var(--circle-elev-shadow) !important;
    }

    .btn-circle-elevated:active[b-g8k8yzh29q],
    .btn-circle-elevated.active[b-g8k8yzh29q] {
        box-shadow: var(--circle-elev-shadow) !important;
        transform: none !important;
    }

    .btn-circle-elevated:hover[b-g8k8yzh29q] {
        filter: brightness(0.985);
    }

/* ===== Favorite ===== */

.bi-star[b-g8k8yzh29q] {
    color: inherit;
}

.device-actions .bi-star-fill[b-g8k8yzh29q] {
    color: var(--bs-primary);
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.15));
}

/* ===== Loading ===== */

.tile-loading[b-g8k8yzh29q] {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.58);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: inherit;
}



/* ===== Mobile ===== */

@media (max-width: 767.98px) {
    .org-section__header-inner[b-g8k8yzh29q] {
        padding: 0.8rem 0.9rem;
    }

    .org-section__body[b-g8k8yzh29q] {
        padding: 0.55rem;
    }

    .device-row__inner[b-g8k8yzh29q] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .device-actions[b-g8k8yzh29q] {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}
/* /Pages/App/Organization/DeviceLabel_bigComponent.razor.rz.scp.css */
.min-w-0[b-jyudo6rq2o] {
    min-width: 0;
}

.device-name[b-jyudo6rq2o] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* så namnet inte blir 3 rader */
}
/* /Pages/App/VAKASystem.razor.rz.scp.css */
.page-section[b-ufm3ed4dhp] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-section__header h3[b-ufm3ed4dhp] {
    font-weight: 700;
}
/* /Pages/General/Home.razor.rz.scp.css */
.text-brand[b-0jnvdv1iy4] {
    color: #3368E5;
    text-align: center;
    font-weight:700;
}
/* /Pages/VAKA/VAKA.razor.rz.scp.css */
.viewer-root[b-h3r429wa7q] {
    overflow: hidden;
}

.viewer-header[b-h3r429wa7q] {
    height: 56px; /* matches Bootstrap navbar height */
/*    background-color: #0d6efd;*/ /* Bootstrap primary blue */
    flex-shrink: 0;
    background-image: linear-gradient(90deg, rgb(5, 39, 103) 0%, #001144 70%);
    z-index:0;
}


.viewer-content[b-h3r429wa7q] {
    position: relative;
}

.viewer-iframe[b-h3r429wa7q] {
    border: 0;
    width: 100%;
    height: 100%;
}

.device-img[b-h3r429wa7q] {
    z-index: 2;
}
/* /Pages/VAKA/VAKAAdmin.razor.rz.scp.css */
.viewer-root[b-6w7uyj653a] {
    overflow: hidden;
}

.viewer-header[b-6w7uyj653a] {
    height: 56px; /* matches Bootstrap navbar height */
/*    background-color: #0d6efd;*/ /* Bootstrap primary blue */
    flex-shrink: 0;
    background-image: linear-gradient(90deg, rgb(5, 39, 103) 0%, #001144 70%);
    z-index:0;
}


.viewer-content[b-6w7uyj653a] {
    position: relative;
}

.viewer-iframe[b-6w7uyj653a] {
    border: 0;
    width: 100%;
    height: 100%;
}

.device-img[b-6w7uyj653a] {
    z-index: 2;
}
