@import '_content/Blazored.Modal/Blazored.Modal.focqzu07g3.bundle.scp.css';
@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';
@import '_content/Blazorise.RichTextEdit/Blazorise.RichTextEdit.bundle.scp.css';
@import '_content/HorizontBlazorComponents/HorizontBlazorComponents.8uma4kg42o.bundle.scp.css';

/* /Components/hComponents/HBreadcrumbs.razor.rz.scp.css */
/* Figma AIFM toolbar/breadcrumb strip — 40px tall white strip below the topbar.
   The HBreadcrumbs component renders both the action toolbar (MainPhHeader
   placeholder) + the trail; per Figma the action icons (+ / pencil / copy /
   swap / trash) are painted by app.css overrides on the inner placeholder
   children, plus a hamburger cell painted as ::before on the left edge. */
.h-breadcrumbs[b-9ota02wou1] {
    display: flex;
    width: 100%;
    height: var(--toolbar-height, 40px);
    align-items: flex-start;
    padding: 0;
    gap: 0;
    background: var(--toolbar-bg, #FAFAFA);
    border-bottom: 1px solid var(--border-muted, #E0E0E0);
    box-shadow: 0 6px 8px -9px #000 inset;
    box-sizing: border-box;
    font-family: var(--font-family);
}

/* Trail strip (Part="trail") — 28px breadcrumb row at the top of section.content,
   per Figma: replaces the former static .content::before placeholder from app.css. */
.h-breadcrumbs-trail[b-9ota02wou1] {
    display: flex;
    width: 100%;
    height: 28px;
    padding: 0 var(--spacing-lg, 16px);
    box-sizing: border-box;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    background: var(--neutral-tint, #FAFAFA);
    color: var(--neutral-base, #6E6E6E);
    font-family: var(--font-family, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
}

.h-breadcrumbs-trail .h-breadcrumbs__item[b-9ota02wou1] {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.h-breadcrumbs-trail a.h-breadcrumbs__item--link:hover[b-9ota02wou1] {
    color: var(--primary-base, #54389B);
    text-decoration: underline;
}

.h-breadcrumbs-trail .h-breadcrumbs__item--current[b-9ota02wou1] {
    font-weight: 500;
}

.h-breadcrumbs-trail .h-breadcrumbs__separator[b-9ota02wou1] {
    color: inherit;
}

/* Toolbar hamburger cell (left edge of toolbar).
   No background-color — lets the parent .h-breadcrumbs's #FAFAFA bg AND its
   inset shadow show through, so the topbar's "shadow cast" reads uniformly
   across the whole toolbar instead of stopping at the hamburger. */
.h-breadcrumbs[b-9ota02wou1]::before {
    content: '';
    display: flex;
    width: 72px;
    height: var(--toolbar-height, 40px);
    padding: 2px 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-right: 1px solid var(--border-muted, #E0E0E0);
    background-image: url("/img/icon-toolbar-hamburger.svg?v=20260528a");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 14px;
    box-sizing: border-box;
}

/* Toolbar action icons (+, pencil, copy, swap, trash) are painted by app.css
   on the inner MainPhHeader placeholder (`.h-breadcrumbs__actions` + ControlBar
   children), not by this scoped rule. Disable the legacy ::after icon strip. */
.h-breadcrumbs[b-9ota02wou1]::after {
    display: none;
}
/* /Components/hComponents/HFooter.razor.rz.scp.css */
/* Figma AIFM footer — 22px tall white bar with --border-muted top border.
   Compact left+right zones with --spacing-sm horizontal padding and
   --spacing-xl gap between them. */
.h-footer[b-xr1wgoetu4] {
    display: flex;
    width: 100%;
    height: 22px;
    padding: 0 var(--spacing-sm, 8px);
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl, 24px);
    background: var(--footer-bg, #FFFFFF);
    border-top: 1px solid var(--border-muted, #E0E0E0);
    color: var(--shell-footer-text);
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    box-sizing: border-box;
}

.h-footer__left[b-xr1wgoetu4], .h-footer__right[b-xr1wgoetu4] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.h-footer__product strong[b-xr1wgoetu4] {
    color: var(--text-primary);
}

.h-footer__version[b-xr1wgoetu4] {
    margin-left: var(--space-1);
    padding: 2px var(--space-2);
    background: var(--content-bg-alt);
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
}

.h-footer__separator[b-xr1wgoetu4] {
    color: var(--neutral-400);
    user-select: none;
}

.h-footer__item strong[b-xr1wgoetu4] {
    color: var(--text-secondary);
    font-weight: var(--font-weight-semibold);
}

.h-footer__copyright[b-xr1wgoetu4] {
    color: var(--text-muted);
}
/* /Components/hComponents/HModuleRail.razor.rz.scp.css */
/* Figma AIFM redesign: 72px-wide light-gray vertical rail with stacked card
   items. Replaces the legacy dark purple rail (--shell-module-rail-bg used to
   resolve to var(--brand-500) #54389b). */
.h-module-rail[b-wy54e92ga4] {
    display: flex;
    width: 72px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    background: var(--main-bg, #FAFAFA);
    color: var(--module-rail-text, #4B4B4B);
    flex-shrink: 0;
    box-sizing: border-box;
}

.h-module-rail__item[b-wy54e92ga4] {
    display: flex;
    width: 72px;
    height: 48px;
    padding: 0 var(--spacing-xs, 4px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs, 4px);
    background: var(--module-rail-item-bg, #FAFAFA);
    border: none;
    border-bottom: 1px solid var(--border-muted, #E0E0E0);
    color: var(--module-rail-text, #4B4B4B);
    font-family: var(--font-family);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
    text-align: center;
    box-sizing: border-box;
}

/* Hover state per Figma: --neutral-subtle (#EEE) background */
.h-module-rail__item:hover[b-wy54e92ga4] {
    background: var(--neutral-subtle, #EEEEEE);
}

/* Active state per Figma: --content-card-bg #FFFFFF background, border-bottom
   1px solid --border-muted. Plus a 3px blue --module-rail-active-text bar on
   the left as the visual "selected" indicator. The bar uses box-shadow rather
   than border-left so width/padding aren't perturbed and the 72px footprint
   stays consistent with the rest of the rail. */
.h-module-rail__item--active[b-wy54e92ga4] {
    display: flex;
    width: 72px;
    height: 48px;
    padding: 0 var(--spacing-xs, 4px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs, 4px);
    border-bottom: 1px solid var(--border-muted, #E0E0E0);
    background: var(--content-card-bg, #FFFFFF);
    color: var(--module-rail-active-text, #1E70B8);
    box-shadow: inset 3px 0 0 var(--module-rail-active-text, #1E70B8);
    box-sizing: border-box;
}

/* Hide the legacy image-based icon — the new design uses a text "code" instead.
   Until HModuleRail.razor adds a second text line for the sub-label, we keep the
   single label and style it as the primary "code" text. */
.h-module-rail__icon[b-wy54e92ga4] {
    display: none;
}

.h-module-rail__icon img[b-wy54e92ga4] {
    display: none;
}

.h-module-rail__label[b-wy54e92ga4] {
    display: block;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1.15;
    color: inherit;
    letter-spacing: 0;
    text-transform: none;
}

/* Sublabel ispod kratice (Figma: AM/Asset, IM/Insurance, FM/Facility) —
   tekst dolazi iz i18n ključa Module.{UrlPart}.Sub, vidi HModuleRail.razor. */
.h-module-rail__sublabel[b-wy54e92ga4] {
    display: block;
    font-family: var(--font-family);
    font-size: 9px;
    font-weight: 400;
    line-height: 1.2;
    color: inherit;
    opacity: 0.75;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 68px;
}

/* Settings cell at the bottom of the rail — now an interactive <button>
   (.h-module-rail__settings) instead of a decorative ::after, so Postavke is
   clickable and routes through Click_Module like AM/IM/FM. Uses the full 72×48
   Figma SVG (icon + top divider + decorative panels baked in). */
.h-module-rail__settings[b-wy54e92ga4] {
    display: block;
    width: 72px;
    height: 48px;
    margin-top: auto;
    padding: 0;
    border: none;
    background-color: var(--main-bg, #FAFAFA);
    background-image: url("/img/icon-rail-settings.svg?v=20260528a");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 72px 48px;
    box-sizing: border-box;
    flex-shrink: 0;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.h-module-rail__settings:hover[b-wy54e92ga4] {
    background-color: var(--neutral-subtle, #EEEEEE);
}

.h-module-rail__settings:disabled[b-wy54e92ga4] {
    cursor: default;
    opacity: 0.5;
}

.h-module-rail__settings--active[b-wy54e92ga4] {
    background-color: var(--content-card-bg, #FFFFFF);
    box-shadow: inset 3px 0 0 var(--module-rail-active-text, #1E70B8);
}
/* /Themes/Default/Layouts/BlankLayout.razor.rz.scp.css */
/*.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

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

    .top-row ::deep a, .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

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

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
    */
/* /Themes/Default/Layouts/LoginLayout.razor.rz.scp.css */
/*.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

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

    .top-row ::deep a, .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

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

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
    */
/* /Themes/Default/Layouts/MainLayout.razor.rz.scp.css */
/* ============================================================
   MainLayout — AIFM shell layout (US-01-T-01)
   Uses semantic tokens from __vars.css

   NAPOMENA: Blazor CSS isolation — selektori OVDJE targetiraju MainLayout-ovu
   vlastitu markup (header, main, aside.sidebar, footer). NE koristimo ::deep
   jer ::deep silazi U child componente, a ovi elementi su DIO MainLayout-a.
   Child componente (HBreadcrumbs, HFooter, HModuleRail) imaju vlastite .razor.css.
   ============================================================ */

/* Header / TopBar */
.header[b-lqe584ynhw] {
    background: transparent;
    border-bottom: none;
    color: var(--shell-topbar-text);
    font-family: var(--font-family);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .header__horizont[b-lqe584ynhw] {
    min-height: var(--topbar-height, 32px);
    align-items: center;
}

.header__logo img[b-lqe584ynhw] {
    height: 18px;
    width: auto;
}

.header__group-module[b-lqe584ynhw] {
    color: rgba(255,255,255,0.7);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

.header__module[b-lqe584ynhw] {
    color: var(--neutral-default, #FFFFFF);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    cursor: pointer;
}

.header__module:hover[b-lqe584ynhw] {
    background: var(--neutral-base, #6E6E6E);
    color: var(--neutral-default, #FFFFFF);
}

.header__granule h1[b-lqe584ynhw] {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin: 0;
    color: #fff;
}

.header__user-nav[b-lqe584ynhw] {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: flex-end;
}

.header__user-nav .button-icon[b-lqe584ynhw] {
    color: rgba(255,255,255,0.85);
    transition: color var(--transition-fast);
}

.header__user-nav .button-icon:hover[b-lqe584ynhw] {
    color: var(--primary);
}

.header__toggle-sidebar[b-lqe584ynhw] {
    transition: opacity var(--transition-fast);
    cursor: pointer;
}

.header__toggle-sidebar:hover[b-lqe584ynhw] {
    opacity: 0.75;
}

.header__brand:empty[b-lqe584ynhw] {
    display: none;
}

/* Main + Sidebar collapse */
.main[b-lqe584ynhw] {
    display: flex;
    min-height: calc(100vh - var(--shell-topbar-height) - var(--shell-footer-height));
    background: var(--shell-content-bg);
}

.main .sidebar[b-lqe584ynhw] {
    display: flex;
    width: 224px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--sidebar-bg, #FAFAFA);
    color: var(--shell-sidebar-text);
    border-left: 1px solid var(--border-muted, #E0E0E0);
    border-right: 1px solid var(--border-muted, #E0E0E0);
    box-shadow: 3px 0 6px 0 rgba(0, 0, 0, 0.09);
    box-sizing: border-box;
    transition: width var(--transition-base);
    overflow-x: hidden;
    flex-shrink: 0;
}

/* US-03-T-03: Collapsed state */
.main.sidebar-collapsed .sidebar[b-lqe584ynhw] {
    width: var(--shell-sidebar-collapsed);
}

.main.sidebar-collapsed .sidebar .accordion-button[b-lqe584ynhw],
.main.sidebar-collapsed .sidebar .nav-link[b-lqe584ynhw],
.main.sidebar-collapsed .sidebar .module-info h2[b-lqe584ynhw] {
    opacity: 0;
    pointer-events: none;
}

/* Figma AIFM sidebar header — module title on the left, back-icon box on the right.
   The .razor markup has <.icon> before <h2>, so flex-direction: row-reverse to flip
   them visually without touching the markup. */
.main .sidebar .module-info[b-lqe584ynhw] {
    display: flex;
    flex-direction: row-reverse;
    align-self: stretch;
    padding: 0 0 0 var(--spacing-sm, 8px);
    justify-content: space-between;
    align-items: center;
    background: var(--sidebar-header-bg, #FAFAFA);
    border-bottom: 1px solid var(--border-muted, #E0E0E0);
    box-sizing: border-box;
    min-height: 28px;
}

/* Hide the legacy module image — header now uses the back-chevron in the icon cell */
.main .sidebar .module-info .icon img[b-lqe584ynhw] {
    display: none;
}

/* Icon cell on the right of the header — 28×28, back-chevron centered */
.main .sidebar .module-info .icon[b-lqe584ynhw] {
    display: flex;
    width: 28px;
    align-self: stretch;
    padding: var(--spacing-sm, 8px) 0;
    justify-content: center;
    align-items: center;
    border-left: 1px solid var(--border-muted, #E0E0E0);
    background-image: url("/img/icon-sidebar-back.svg?v=20260528a");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 7px 12px;
    box-sizing: border-box;
    cursor: pointer;
}

/* Title typography — uppercase 10/12 800 Inter in --neutral-base gray */
.main .sidebar .module-info h2[b-lqe584ynhw] {
    color: var(--neutral-base, #6E6E6E);
    text-align: center;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    line-height: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

.main .sidebar .accordion-button[b-lqe584ynhw] {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    background: transparent;
    box-shadow: none;
    border: none;
}

.main .sidebar .accordion-button:hover[b-lqe584ynhw] {
    background: var(--shell-sidebar-hover);
}

.main .sidebar .nav-link[b-lqe584ynhw] {
    padding: var(--space-2) var(--space-4);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 0;
    border-left: 3px solid transparent;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.main .sidebar .nav-link:hover[b-lqe584ynhw] {
    background: var(--shell-sidebar-hover);
    color: var(--text-primary);
}

.main .sidebar .nav-link.selected[b-lqe584ynhw] {
    background: var(--shell-sidebar-active);
    color: var(--shell-sidebar-active-text);
    border-left-color: var(--primary);
    font-weight: var(--font-weight-semibold);
}

.main .content[b-lqe584ynhw] {
    flex: 1;
    background: var(--shell-content-bg);
    padding: 0;
    min-width: 0;
    overflow-x: auto;
}

.main .content > .container-fluid[b-lqe584ynhw] {
    padding: var(--shell-content-padding);
}
/* /Themes/Default/Layouts/MainLayout2.razor.rz.scp.css */
.app > main > .content[b-5wz4px86a7] { height: calc(100vh - (0px + 0px + 0px)) !important; overflow: inherit; }



/*.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

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

    .top-row ::deep a, .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

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

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
    */
