/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-o4399g9m67] {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--light);
}

main[b-o4399g9m67] {
    flex: 1;
    min-width: 0;          /* prevent flex child from overflowing past sidebar */
    overflow-x: hidden;    /* contain horizontal scroll inside main, not the page */
    background-color: var(--light);
}

.sidebar[b-o4399g9m67] {
    background-color: var(--primary);
    width: 100%;
    flex-shrink: 0;
}

.main-header[b-o4399g9m67] {
    background-color: var(--light);
    padding: 0.75rem 1.5rem 0 1.5rem;
    flex-shrink: 0;
}

.main-header-inner[b-o4399g9m67] {
    padding-bottom: 0.5rem;
}

.main-header-title[b-o4399g9m67] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: Satoshi-Bold, 'Satoshi', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
}

.main-header-title i[b-o4399g9m67] {
    color: var(--primary);
    font-size: 1.25rem;
}

.main-header-home[b-o4399g9m67] {
    text-decoration: none;
    color: var(--blue);
    font-weight: 500;
}

.main-header-home:hover[b-o4399g9m67] {
    text-decoration: underline;
}

/* Preloader – dold som standard; visas via body.nav-loading-active (JS) eller Blazor-state */
.nav-loading-overlay[b-o4399g9m67] {
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: rgba(232, 238, 252, 0.85);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.nav-loading-overlay.show[b-o4399g9m67],
body.nav-loading-active .nav-loading-overlay[b-o4399g9m67] {
    display: flex !important;
}

.nav-loading-spinner[b-o4399g9m67] {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid var(--mid);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: nav-loading-spin-b-o4399g9m67 0.7s linear infinite;
}

.nav-loading-text[b-o4399g9m67] {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 500;
}

@keyframes nav-loading-spin-b-o4399g9m67 {
    to { transform: rotate(360deg); }
}

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

    .sidebar[b-o4399g9m67] {
        width: auto;
        min-width: 0;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main-header[b-o4399g9m67], article[b-o4399g9m67] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    /* Constrain main to the viewport so individual pages control their own
       vertical scroll – the body never needs to scroll on desktop. */
    main[b-o4399g9m67] {
        height: 100vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    article.content[b-o4399g9m67] {
        flex: 1;
        min-height: 0;   /* allows shrinking below content height */
        overflow-y: auto; /* most pages scroll within the article */
    }
}

#blazor-error-ui[b-o4399g9m67] {
    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-o4399g9m67] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Sidomeny – hela raden klickbar, hover och aktiv tydlig */

.sidenav a[b-w44pfgqyw3],
.sidenav a:hover[b-w44pfgqyw3],
.sidenav a:focus[b-w44pfgqyw3],
.sidenav a:visited[b-w44pfgqyw3],
.sidenav a.active[b-w44pfgqyw3] {
    color: #FFF !important;
    text-decoration: none !important;
}

.sidenav-wrapper[b-w44pfgqyw3] {
    position: relative;
    height: 100%;
    width: 206px;
    display: flex;
    flex-direction: row;
    float: left;
    z-index: 10;
    overflow: visible;
    transition: width 0.4s ease;
    background-color: var(--light);
}


.sidenav-wrapper.sidenav-collapsed[b-w44pfgqyw3] {
    width: 50px;
}

.sidenav-wrapper.sidenav-collapsed .sidenav[b-w44pfgqyw3] {
    width: 40px;
}

/* Ihopfällt: ingen text synlig, kolumnen tar ingen plats */
.sidenav-wrapper.sidenav-collapsed .col-link[b-w44pfgqyw3] {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ihopfällt: mindre logotyp */
.sidenav-wrapper.sidenav-collapsed .sidenav-logo-row .navbar-brand img[b-w44pfgqyw3] {
    height: 20px;
}

/* Ihopfällt: ikoner centrerade */
.sidenav-wrapper.sidenav-collapsed .col-icon[b-w44pfgqyw3] {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    width: 40px;
    min-width: 40px;
    box-sizing: border-box;
}

/* Ihopfällt: logotypen justerad */
.sidenav-wrapper.sidenav-collapsed .sidenav-logo-row .navbar-brand img[b-w44pfgqyw3] {
    height: 20px;
    margin-left: -5px;
}

.sidenav[b-w44pfgqyw3] {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    height: 100%;
    width: 200px;
    background-color: var(--primary);
    overflow: hidden;
    overflow-y: auto;
    white-space: nowrap;
    transition: width 0.4s ease;
}

.sidenav-handle[b-w44pfgqyw3] {
    width: 6px;
    flex-shrink: 0;
    height: 100%;
    background-color: var(--primary);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.18s ease, box-shadow 0.18s ease;
}

.sidenav-wrapper.sidenav-collapsed .sidenav-handle[b-w44pfgqyw3] {
    width: 8px;
}

.sidenav-handle:hover[b-w44pfgqyw3] {
    width: 12px;
    box-shadow: inset -11px 0 14px -10px var(--secondary);
}

.sidenav-wrapper.sidenav-collapsed .sidenav-handle:hover[b-w44pfgqyw3] {
    width: 10px;
}

.sidenav-handle-icon[b-w44pfgqyw3] {
    color: var(--primary);
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(1px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    pointer-events: none;
}

.sidenav-handle:hover .sidenav-handle-icon[b-w44pfgqyw3] {
    opacity: 1;
    transform: translateX(0);
}

.sidenav[b-w44pfgqyw3]::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* Vertikal stapling: alla menyrader under varandra; flex: 1 trycker footern nedåt */
.sidenav-main[b-w44pfgqyw3] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 0 0.5rem 0;
    flex: 1;
}

/* Profilsektion längst ned, separerad med en diskret linje */
.sidenav-footer[b-w44pfgqyw3] {
    flex-shrink: 0;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Fast höjd så att menyvalens position inte hoppar vid in/utfällning (logotypen ändrar storlek) */
.sidenav-logo-row[b-w44pfgqyw3] {
    padding: 0 0.75rem 1.25rem 0.75rem;
    min-height: 4rem;
    display: flex;
    align-items: center;
}

.sidenav-logo-row .navbar-brand[b-w44pfgqyw3] {
    display: block;
    padding: 0;
}

.sidenav-logo-row .navbar-brand img[b-w44pfgqyw3] {
    height: 32px;
    width: auto;
}

/* Hela raden = länk, full bredd, ikon + text på samma rad */
.sidenav a.nav-row[b-w44pfgqyw3] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100%;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    min-height: 2.5rem;
    margin-bottom: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.15s;
    white-space: nowrap;
}

.sidenav button.nav-row[b-w44pfgqyw3] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100%;
    margin: 0 0 0.25rem;
    min-height: 2.5rem;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.15s;
}

.sidenav button.nav-row:hover[b-w44pfgqyw3] {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.sidenav .nav-search-trigger[b-w44pfgqyw3] {
    width: 100% !important;
    margin: 0.4rem 0 0.95rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    justify-content: flex-start;
    padding: 0 !important;
}

.sidenav .nav-search-trigger .col-icon[b-w44pfgqyw3] {
    width: 2.5rem !important;
    min-width: 2.5rem !important;
    padding-left: 0.75rem !important;
    margin-right: 0 !important;
}

.sidenav .nav-search-trigger .col-link[b-w44pfgqyw3] {
    color: #fff !important;
    font-family: Satoshi-Bold, 'Satoshi', sans-serif !important;
    justify-content: flex-start;
}

.sidenav .nav-search-trigger .nav-icon[b-w44pfgqyw3] {
    color: #fff !important;
}

/* Hover och aktiv – finns även i app.css (globalt) så att :hover triggas korrekt; scoped CSS kan bryta :hover-match */
.sidenav a.nav-row:hover[b-w44pfgqyw3] {
    background-color: rgba(255, 255, 255, 0.2) !important;
}
.sidenav a.nav-row.active[b-w44pfgqyw3] {
    background-color: rgba(255, 255, 255, 0.28) !important;
}

.sidenav .nav-row .col-icon[b-w44pfgqyw3] {
    flex: 0 0 auto !important;
    width: 2.5rem;
    min-width: 2.5rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0.75rem;
}

.nav-profile-avatar[b-w44pfgqyw3] {
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.sidenav .nav-row .col-link[b-w44pfgqyw3] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.25rem 0.5rem 0.25rem 0.25rem;
    overflow: hidden;
    font-family: Satoshi-Bold, 'Satoshi', sans-serif !important;
    font-weight: 700;
    font-size: 13px;
    line-height: 1rem;
    display: flex !important;
    align-items: center;
}

/* Tvinga Font Awesome-webfont (metod: css) så ikonerna inte försvinner vid Blazor-navigering */
.sidenav .nav-icon[b-w44pfgqyw3],
.sidenav [class*="fa-"][b-w44pfgqyw3] {
    font-family: "Font Awesome 6 Pro" !important;
    font-weight: 300;
}

.nav-icon[b-w44pfgqyw3] {
    font-size: 1rem;
    line-height: 1;
    color: #FFF;
}

.notification-badge[b-w44pfgqyw3] {
    margin-left: 0.35rem;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25rem;
    text-align: center;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary);
}

@media (min-width: 641px) {
    .sidenav-wrapper[b-w44pfgqyw3] {
        width: 206px;
    }

    .sidenav[b-w44pfgqyw3] {
        height: calc(100vh - 3.5rem);
        min-height: 100%;
    }
}

@media (max-width: 640.98px) {
    .sidenav-wrapper[b-w44pfgqyw3] {
        width: 100%;
    }

    .sidenav[b-w44pfgqyw3] {
        width: 100%;
    }

    .sidenav-handle[b-w44pfgqyw3] {
        display: none;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ntzd7ufstw],
.components-reconnect-repeated-attempt-visible[b-ntzd7ufstw],
.components-reconnect-failed-visible[b-ntzd7ufstw],
.components-pause-visible[b-ntzd7ufstw],
.components-resume-failed-visible[b-ntzd7ufstw],
.components-rejoining-animation[b-ntzd7ufstw] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-ntzd7ufstw {
    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;
    }
}
/* /Components/Layout/SectionHeader.razor.rz.scp.css */
/* Undermeny som knappar (samma stil som t.ex. Uppgifter Kanban/Lista/Kalender) */
.section-tabs-nav[b-qlny6wk1la] {
    margin-top: 0.5rem;
}

.section-tabs-nav .mud-stack[b-qlny6wk1la] {
    align-items: center;
}
/* /Components/Pages/Customer/Index.razor.rz.scp.css */
/* Vänsterkolumn: mer fast bredd så att layouten inte blir hoppig */
.customer-card-left-col[b-fc5xo5j59e] {
    width: 100%;
    min-width: 0;
}

@media (min-width: 960px) {
    .customer-card-left-col[b-fc5xo5j59e] {
        width: 58.333333% !important;
        max-width: 58.333333% !important;
        min-width: 58.333333% !important;
        flex: 0 0 58.333333% !important;
    }
}

@media (min-width: 1280px) {
    .customer-card-left-col[b-fc5xo5j59e] {
        width: 55.5rem !important;
        max-width: 55.5rem !important;
        min-width: 55.5rem !important;
        flex: 0 0 55.5rem !important;
    }
}

/* Projekt-tidslinje: rad och kort styrs i app.css (global) så att MudPaper får stylingen */
/* /Components/Pages/Home.razor.rz.scp.css */
/* ── Page wrapper ─────────────────────────────────────────── */
.page-content[b-qlhhxvhu67] {
    padding: 1.5rem 2rem;
}

/* ── Hero ─────────────────────────────────────────────────── */
.home-hero[b-qlhhxvhu67] {
    height: 270px;
    background-image: url('/img/pattern_bg2.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--primary); /* fallback om bilden saknas */
    border-radius: 3px;
    box-shadow: 1px 1px 10px rgba(220, 222, 254, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


.home-hero-content[b-qlhhxvhu67] {
    text-align: center;
    position: relative;
    z-index: 1;
}

.home-hero-content h1[b-qlhhxvhu67] {
    color: var(--primary);
    font-family: 'Satoshi-Bold', 'Satoshi', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.home-hero-content p[b-qlhhxvhu67] {
    color: var(--dark);
    font-size: 1rem;
    margin: 0;
}

.home-hero-spinner[b-qlhhxvhu67] {
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(168, 195, 245, 0.3);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: hero-spin-b-qlhhxvhu67 0.7s linear infinite;
}

@keyframes hero-spin-b-qlhhxvhu67 {
    to { transform: rotate(360deg); }
}

/* ── Section headers ──────────────────────────────────────── */
.section-header[b-qlhhxvhu67] {
    font-family: 'Satoshi-Black', 'Satoshi', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    margin: 60px 0 20px 0;
    color: var(--dark);
}

/* ── Card rows (horizontal flex container) ────────────────── */
.card-row[b-qlhhxvhu67] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.mb-section[b-qlhhxvhu67] {
    margin-bottom: 0;
}

/* ── Content cards (chart placeholders, stat panels) ─────── */
.card-block-padding[b-qlhhxvhu67] {
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 1px 1px 10px rgba(220, 222, 254, 0.3);
    padding: 20px;
    flex: 1 1 0;
    min-width: 260px;
}

.card-half[b-qlhhxvhu67] {
    flex: 1 1 calc(50% - 0.625rem);
}

.card-label[b-qlhhxvhu67] {
    font-family: 'Satoshi-Black', 'Satoshi', sans-serif;
    font-weight: 900;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 6px;
    color: var(--dark);
}

.card-placeholder[b-qlhhxvhu67] {
    font-size: 0.8rem;
    color: #888;
    margin: 2px 0;
}

.dashboard-chart-wrap[b-qlhhxvhu67] {
    position: relative;
    width: 100%;
    height: 220px;
}

.dashboard-chart-wrap canvas[b-qlhhxvhu67] {
    width: 100% !important;
    height: 100% !important;
}

.dashboard-chart-header[b-qlhhxvhu67] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 20px;
}

.block-header[b-qlhhxvhu67] {
    padding-top: 0;
    padding-left: 0;
    margin: 0;
    font-family: 'Satoshi-Black', 'Satoshi', sans-serif;
    font-size: 1rem;
}

.chart-legends[b-qlhhxvhu67] {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.chart-legend-btn[b-qlhhxvhu67] {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.legend-pill[b-qlhhxvhu67] {
    width: 30px;
    height: 6px;
    border-radius: 3px;
    display: inline-block;
}

.legend-budget[b-qlhhxvhu67] {
    width: 10px;
}

.legend-secondary[b-qlhhxvhu67] {
    background-color: var(--secondary);
}

.legend-success[b-qlhhxvhu67] {
    background-color: var(--success);
}

.legend-blue[b-qlhhxvhu67] {
    background-color: var(--blue);
}

/* ── Stat cards (KPI / invoice cards) ───────────────────────*/
.card-block-sm[b-qlhhxvhu67] {
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 1px 1px 10px rgba(220, 222, 254, 0.3);
    padding: 15px;
    flex: 1 1 calc(22% - 0.625rem);
    min-width: 160px;
    cursor: pointer;
    transition: box-shadow 0.15s ease;
}

.card-block-sm:hover[b-qlhhxvhu67] {
    box-shadow: 2px 2px 14px rgba(78, 105, 234, 0.2);
}

.card-sm-header[b-qlhhxvhu67] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.card-sm-label[b-qlhhxvhu67] {
    font-family: 'Satoshi-Black', 'Satoshi', sans-serif;
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--dark);
    line-height: 1.3;
    max-width: 70%;
}

.card-sm-icon[b-qlhhxvhu67] {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.card-sm-sub[b-qlhhxvhu67] {
    font-size: 0.72rem;
    color: #666;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.card-sm-value[b-qlhhxvhu67] {
    font-family: 'Satoshi-Bold', 'Satoshi', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    text-align: right;
    color: var(--dark);
    margin-top: 8px;
}

/* ── Invoice card color variants ─────────────────────────── */
.card-invoice-open[b-qlhhxvhu67] {
    background-color: var(--mid);
}

.card-invoice-paid[b-qlhhxvhu67] {
    background-color: var(--success);
}

.card-invoice-delayed[b-qlhhxvhu67] {
    background-color: var(--warning);
}

.card-invoice-frozen[b-qlhhxvhu67] {
    background-color: #e2e3e5;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .card-block-sm[b-qlhhxvhu67] {
        flex: 1 1 calc(50% - 0.625rem);
    }
}

@media (max-width: 600px) {
    .page-content[b-qlhhxvhu67] {
        padding: 1rem;
    }

    .home-hero[b-qlhhxvhu67] {
        height: 160px;
    }

    .home-hero-content h1[b-qlhhxvhu67] {
        font-size: 1.4rem;
    }

    .card-block-sm[b-qlhhxvhu67],
    .card-half[b-qlhhxvhu67] {
        flex: 1 1 100%;
    }

    .section-header[b-qlhhxvhu67] {
        margin-top: 35px;
    }

    .dashboard-chart-wrap[b-qlhhxvhu67] {
        height: 240px;
    }

    .dashboard-chart-header[b-qlhhxvhu67] {
        flex-direction: column;
        gap: 8px;
    }

    .chart-legends[b-qlhhxvhu67] {
        margin-left: 0;
        justify-content: flex-start;
    }
}
/* /Components/Pages/Tasks/Calendar.razor.rz.scp.css */
.calendar-height[b-jiqa5gw33q] {
    min-height: 500px;
}

/* Mindre typsnitt i kalenderappointments (Radzen) */
.alido-calendar-wrapper .rz-scheduler-appointment[b-jiqa5gw33q],
.alido-calendar-wrapper .rz-appointment[b-jiqa5gw33q] {
    font-size: 0.75rem;
    line-height: 1.2;
}

.alido-calendar-item[b-jiqa5gw33q] {
    font-size: 0.6rem;
    line-height: 1.15;
    overflow: hidden;
    min-height: 1.4em;
}

.alido-cal-title[b-jiqa5gw33q] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.alido-cal-company[b-jiqa5gw33q] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    opacity: 0.9;
    font-size: 0.55rem;
}

/* Arbetsordrar: grön prick + endast företagsnamn */
.alido-cal-wo-dot[b-jiqa5gw33q] {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #2e7d32;
    margin-right: 4px;
    vertical-align: middle;
    flex-shrink: 0;
}

.alido-cal-wo-name[b-jiqa5gw33q] {
    vertical-align: middle;
}

.alido-calendar-item:has(.alido-cal-wo-dot)[b-jiqa5gw33q] {
    display: flex;
    align-items: center;
}
/* /Components/Shared/GanttChart.razor.rz.scp.css */
.gantt-container[b-1azjhba41n] {
    overflow-x: auto;
    border: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    border-radius: 4px;
    background: var(--mud-palette-surface, #fff);
}

.gantt-empty[b-1azjhba41n] {
    padding: 1.5rem;
    color: var(--mud-palette-text-secondary, #666);
}

.gantt-header[b-1azjhba41n] {
    display: flex;
    min-width: 600px;
    border-bottom: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    background: var(--mud-palette-background-grey, #f5f5f5);
    position: sticky;
    top: 0;
    z-index: 2;
}

.gantt-label-header[b-1azjhba41n] {
    flex: 0 0 220px;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.gantt-timeline-header[b-1azjhba41n] {
    flex: 1;
    display: flex;
    min-width: 0;
}

.gantt-header-canvas-wrapper[b-1azjhba41n] {
    height: 48px;
    min-width: 400px;
}

.gantt-header-canvas-wrapper canvas[b-1azjhba41n] {
    width: 100%;
    height: 100%;
}

.gantt-month[b-1azjhba41n] {
    flex-shrink: 0;
    padding: 0.5rem 4px;
    font-size: 0.75rem;
    text-align: center;
    border-left: 1px solid var(--mud-palette-lines-default, #e0e0e0);
}

.gantt-zoom-bar[b-1azjhba41n] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-bottom: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    background: var(--mud-palette-background-grey, #f5f5f5);
}

.gantt-zoom-label[b-1azjhba41n] {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary, #666);
}

.gantt-zoom-btn[b-1azjhba41n] {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    border: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    border-radius: 4px;
    background: var(--mud-palette-surface, #fff);
    cursor: pointer;
}

.gantt-zoom-btn:hover[b-1azjhba41n] {
    background: var(--mud-palette-action-default-hover, rgba(0, 0, 0, 0.04));
}

.gantt-pan-btn[b-1azjhba41n] {
    min-width: 1.75rem;
}

.gantt-zoom-sep[b-1azjhba41n] {
    color: var(--mud-palette-text-disabled, #9e9e9e);
    font-size: 0.75rem;
    margin: 0 0.15rem;
}

.gantt-body-wrapper[b-1azjhba41n] {
    display: flex;
    position: relative;
    min-width: 600px;
}

.gantt-labels-column[b-1azjhba41n] {
    flex: 0 0 220px;
    border-right: 1px solid var(--mud-palette-lines-default, #e0e0e0);
}

.gantt-row-label[b-1azjhba41n] {
    display: flex;
    border-bottom: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    align-items: stretch;
}

.gantt-row-label:hover[b-1azjhba41n] {
    background: var(--mud-palette-action-default-hover, rgba(0, 0, 0, 0.04));
}

.gantt-canvas-wrapper[b-1azjhba41n] {
    flex: 1;
    min-width: 0;
}

.gantt-body[b-1azjhba41n] {
    min-width: 600px;
}

.gantt-today-line[b-1azjhba41n] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    pointer-events: none;
    z-index: 1;
    background: #1565c0;
}

.gantt-row[b-1azjhba41n] {
    display: flex;
    border-bottom: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    min-height: 32px;
    align-items: stretch;
}

.gantt-row.gantt-row-label[b-1azjhba41n] {
    min-height: 28px;
    height: 28px;
}

.gantt-row:hover[b-1azjhba41n] {
    background: var(--mud-palette-action-default-hover, rgba(0, 0, 0, 0.04));
}

.gantt-row[data-row-type="project"] .gantt-label[b-1azjhba41n] {
    font-weight: 600;
}

.gantt-label[b-1azjhba41n] {
    flex: 0 0 220px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.gantt-toggle[b-1azjhba41n] {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.6rem;
    line-height: 1;
    color: var(--mud-palette-text-secondary, #666);
}

.gantt-toggle:hover[b-1azjhba41n] {
    color: var(--mud-palette-primary, #594ae2);
}

.gantt-timeline[b-1azjhba41n] {
    flex: 1;
    position: relative;
    min-height: 28px;
    min-width: 0;
}

.gantt-bar[b-1azjhba41n] {
    position: absolute;
    top: 4px;
    height: 20px;
    border-radius: 3px;
    background: var(--mud-palette-primary, #594ae2);
    opacity: 0.9;
}

.gantt-bar.gantt-milestone[b-1azjhba41n] {
    border-radius: 50%;
    min-width: 6px;
}

.gantt-bar.gantt-start[b-1azjhba41n] {
    background: #2e7d32;
}

.gantt-bar.gantt-end[b-1azjhba41n] {
    background: #c62828;
}

.gantt-task.gantt-bar[b-1azjhba41n] {
    background: var(--mud-palette-primary, #594ae2);
}

.gantt-bar.gantt-incomplete[b-1azjhba41n] {
    background: transparent;
    border: 1px solid var(--mud-palette-lines-default, #e0e0e0);
}

.gantt-bar.gantt-overdue[b-1azjhba41n] {
    background: #ffcdd2;
    border: 2px solid #c62828;
}
/* /Components/Shared/GlobalCustomerSearch.razor.rz.scp.css */
.global-customer-search[b-o40ko5q9ng] {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

.search-input-wrap[b-o40ko5q9ng] {
    position: relative;
    flex: 0 0 auto;
}

.search-input[b-o40ko5q9ng] {
    width: 100%;
    border: 1px solid #d9ddef;
    border-radius: 8px;
    padding: 0.62rem 2.1rem 0.62rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    background-color: #fff;
}

.search-input:focus[b-o40ko5q9ng] {
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(78, 105, 234, 0.12);
}

.search-spinner[b-o40ko5q9ng] {
    position: absolute;
    right: 0.7rem;
    top: 50%;
    width: 0.95rem;
    height: 0.95rem;
    margin-top: -0.47rem;
    border-radius: 999px;
    border: 2px solid rgba(78, 105, 234, 0.2);
    border-top-color: var(--secondary);
    animation: global-search-spin-b-o40ko5q9ng 0.7s linear infinite;
}

.search-results[b-o40ko5q9ng] {
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 0.35rem;
    border: 1px solid #e4e8f8;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 10px 24px rgba(21, 31, 65, 0.14);
    max-height: 340px;
    overflow: auto;
}

.search-results.is-hidden[b-o40ko5q9ng] {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.search-result[b-o40ko5q9ng] {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 0.6rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.search-result:hover[b-o40ko5q9ng],
.search-result.is-selected[b-o40ko5q9ng] {
    background-color: #f1f5ff;
}

.result-title[b-o40ko5q9ng] {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--dark);
}

.result-subtitle[b-o40ko5q9ng] {
    font-size: 0.8rem;
    color: #66708d;
}

.search-empty[b-o40ko5q9ng] {
    padding: 0.75rem;
    color: #66708d;
    font-size: 0.84rem;
}

.search-error[b-o40ko5q9ng] {
    margin: 0.45rem 0.55rem 0.2rem;
    padding: 0.45rem 0.55rem;
    border-radius: 6px;
    background: #fff3f3;
    border: 1px solid #f2c9c9;
    color: #7b2f2f;
    font-size: 0.79rem;
}

@keyframes global-search-spin-b-o40ko5q9ng {
    to {
        transform: rotate(360deg);
    }
}
/* /Components/Shared/SearchOverlayHost.razor.rz.scp.css */
.search-modal-overlay[b-6okywidsji] {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: rgba(11, 21, 52, 0.36);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.search-modal-dialog[b-6okywidsji] {
    width: min(760px, 100%);
    height: min(560px, calc(100vh - 2rem));
    background: transparent;
    border-radius: 10px;
    padding: 0.85rem;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.search-modal-header[b-6okywidsji] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Satoshi-Bold, 'Satoshi', sans-serif;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.search-modal-actions[b-6okywidsji] {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.search-modal-shortcut[b-6okywidsji] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #5d698c;
    background: #f1f4ff;
    border: 1px solid #d8deef;
    border-radius: 6px;
    padding: 0.15rem 0.45rem;
}

.search-modal-close[b-6okywidsji] {
    border: 0;
    background: transparent;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    color: #556181;
}

.search-modal-body[b-6okywidsji] {
    flex: 1;
    min-height: 0;
    display: flex;
}
/* /Components/Shared/UserAvatar.razor.rz.scp.css */
.user-avatar[b-lwj1i3z3vw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    overflow: hidden;
    user-select: none;
    flex-shrink: 0;
}

.user-avatar img[b-lwj1i3z3vw] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
