/* /Components/Layout/MainLayout.razor.rz.scp.css */
.builder-layout[b-2zs3oh76mq] {
    display: flex;
    height: 100vh;
    overflow: hidden;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

.builder-sidebar[b-2zs3oh76mq] {
    width: 264px;
    min-width: 264px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(2, 132, 199, 0.12);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 4px 0 32px rgba(2, 132, 199, 0.06);
    z-index: 100;
    scrollbar-width: thin;
    scrollbar-color: rgba(2, 132, 199, 0.2) transparent;
}

.builder-sidebar[b-2zs3oh76mq]::-webkit-scrollbar {
    width: 4px;
}

.builder-sidebar[b-2zs3oh76mq]::-webkit-scrollbar-track {
    background: transparent;
}

.builder-sidebar[b-2zs3oh76mq]::-webkit-scrollbar-thumb {
    background: rgba(2, 132, 199, 0.2);
    border-radius: 4px;
}

.sidebar-logo[b-2zs3oh76mq] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 16px 16px;
    border-bottom: 1px solid rgba(2, 132, 199, 0.1);
    flex-shrink: 0;
}

.sidebar-logo-icon[b-2zs3oh76mq] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #334155, #475569);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 12px rgba(51, 65, 85, 0.3);
    flex-shrink: 0;
}

.sidebar-logo-text[b-2zs3oh76mq] {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.sidebar-logo-sub[b-2zs3oh76mq] {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 400;
    margin-top: 1px;
}

.nav-zone[b-2zs3oh76mq] {
    margin: 3px 6px;
    border-radius: 10px;
    border-left: 3px solid transparent;
    padding: 2px 0;
}

.nav-section-label[b-2zs3oh76mq] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 14px 4px;
    color: #94a3b8;
    user-select: none;
}

.nav-zone-dela[b-2zs3oh76mq] {
    background: rgba(51, 65, 85, 0.04);
    border-left-color: rgba(51, 65, 85, 0.25);
}

.nav-zone-dela .nav-section-label[b-2zs3oh76mq] {
    color: #334155;
}

.nav-zone-resursi[b-2zs3oh76mq] {
    background: rgba(5, 150, 105, 0.05);
    border-left-color: rgba(5, 150, 105, 0.3);
}

.nav-zone-resursi .nav-section-label[b-2zs3oh76mq] {
    color: #047857;
}

.nav-zone-ceremonii[b-2zs3oh76mq] {
    background: rgba(15, 118, 110, 0.05);
    border-left-color: rgba(15, 118, 110, 0.25);
}

.nav-zone-ceremonii .nav-section-label[b-2zs3oh76mq] {
    color: #0f766e;
}

.nav-zone-admin[b-2zs3oh76mq] {
    background: rgba(109, 40, 217, 0.05);
    border-left-color: rgba(109, 40, 217, 0.25);
}

.nav-zone-admin .nav-section-label[b-2zs3oh76mq] {
    color: #6d28d9;
}

.nav-zone-system[b-2zs3oh76mq] {
    background: rgba(15, 23, 42, 0.04);
    border-left-color: rgba(15, 23, 42, 0.15);
}

.nav-zone-system .nav-section-label[b-2zs3oh76mq] {
    color: #334155;
}

.builder-main[b-2zs3oh76mq] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.builder-topbar[b-2zs3oh76mq] {
    height: 56px;
    min-height: 56px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(2, 132, 199, 0.12);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 24px;
    box-shadow: 0 2px 16px rgba(2, 132, 199, 0.05);
    z-index: 50;
    flex-shrink: 0;
    position: relative;
}

.topbar-left[b-2zs3oh76mq] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.topbar-center[b-2zs3oh76mq] {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    white-space: nowrap;
}

.topbar-title[b-2zs3oh76mq] {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.topbar-right[b-2zs3oh76mq] {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.global-case-selector[b-2zs3oh76mq] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border: 1.5px dashed #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    background: #f8fafc;
    min-width: 190px;
    max-width: 300px;
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}

.global-case-selector.has-case[b-2zs3oh76mq] {
    border-style: solid;
    border-color: #c7d2fe;
    background: #eef2ff;
}

.gcs-info[b-2zs3oh76mq] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.gcs-label[b-2zs3oh76mq] {
    font-size: 10px;
    color: #94a3b8;
    line-height: 1;
}

.gcs-name[b-2zs3oh76mq] {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-content[b-2zs3oh76mq] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    background: transparent;
}

/* ── Акаунт падащо меню ── */
.account-dropdown[b-2zs3oh76mq] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 234px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.15);
    border: 1px solid #E2E8F0;
    z-index: 1300;
    overflow: hidden;
    padding: 4px 0;
}

.account-menu-header[b-2zs3oh76mq] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 10px;
}

.account-menu-name[b-2zs3oh76mq] {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-menu-role[b-2zs3oh76mq] {
    font-size: 11px;
    color: #64748B;
    margin-top: 1px;
}

.account-menu-divider[b-2zs3oh76mq] {
    height: 1px;
    background: #E2E8F0;
    margin: 4px 0;
}

.account-menu-item[b-2zs3oh76mq] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: #334155;
    font-family: inherit;
    text-align: left;
}

.account-menu-item:hover[b-2zs3oh76mq]         { background: #F1F5F9; }
.account-menu-item-danger[b-2zs3oh76mq]        { color: #DC2626; }
.account-menu-item-danger:hover[b-2zs3oh76mq]  { background: #FEF2F2; }

/* ── Nav group стилове ── */
.nav-group[b-2zs3oh76mq] { }

.nav-group-header[b-2zs3oh76mq] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    cursor: pointer;
    border-radius: 8px;
    margin: 1px 6px;
    transition: background 0.12s;
    user-select: none;
}

.nav-group-header:hover[b-2zs3oh76mq]        { background: rgba(2, 132, 199, 0.06); }
.nav-group-header.child-active[b-2zs3oh76mq] { background: rgba(2, 132, 199, 0.08); }

.nav-group-label[b-2zs3oh76mq] {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-group-items[b-2zs3oh76mq] {
    padding-left: 4px;
}

/* ── Nav item стилове ── */
.nav-item[b-2zs3oh76mq] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 8px;
    margin: 1px 6px;
    text-decoration: none;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.12s, color 0.12s;
}

.nav-item:hover[b-2zs3oh76mq]  { background: rgba(2, 132, 199, 0.06); color: #0F172A; }
.nav-item.active[b-2zs3oh76mq] { background: rgba(2, 132, 199, 0.12); color: #0284C7; font-weight: 600; }

.nav-item.sub[b-2zs3oh76mq] { padding-left: 20px; font-size: 12.5px; }

.nav-icon[b-2zs3oh76mq] { font-size: 18px !important; width: 18px !important; height: 18px !important; flex-shrink: 0; }

#blazor-error-ui[b-2zs3oh76mq] {
    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-2zs3oh76mq] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 768px) {
    .builder-sidebar[b-2zs3oh76mq] {
        position: fixed;
        left: -264px;
        top: 0;
        z-index: 200;
    }

    .builder-sidebar.open[b-2zs3oh76mq] {
        left: 0;
    }

    .page-content[b-2zs3oh76mq] {
        padding: 16px;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-jspmo30qf4] {
    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);
}

.navbar-toggler:checked[b-jspmo30qf4] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-jspmo30qf4] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-jspmo30qf4] {
    font-size: 1.1rem;
}

.bi[b-jspmo30qf4] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-jspmo30qf4] {
    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-jspmo30qf4] {
    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-jspmo30qf4] {
    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");
}

.nav-item[b-jspmo30qf4] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-jspmo30qf4] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-jspmo30qf4] {
        padding-bottom: 1rem;
    }

    .nav-item[b-jspmo30qf4]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-jspmo30qf4]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-jspmo30qf4]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-jspmo30qf4] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-jspmo30qf4] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-jspmo30qf4] {
        display: none;
    }

    .nav-scrollable[b-jspmo30qf4] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Shared/CadSimpleViewer.razor.rz.scp.css */
.cad-shell[b-i8w197x0fj] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    background: #fff;
    border: 1px solid #dbe7f3;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.cad-toolbar[b-i8w197x0fj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cad-title[b-i8w197x0fj] {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.cad-subtitle[b-i8w197x0fj] {
    margin-top: 4px;
    font-size: 13px;
    color: #64748b;
}

.cad-stage[b-i8w197x0fj] {
    position: relative;
    flex: 1;
    min-height: 600px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(226, 232, 240, 0.65), rgba(248, 250, 252, 0.95));
    border: 1px solid #d7e6f5;
}

.cad-container[b-i8w197x0fj] {
    display: block;
    width: 100%;
    height: 100%;
}

.cad-status[b-i8w197x0fj] {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    max-width: calc(100% - 32px);
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.76);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .cad-stage[b-i8w197x0fj],
    .cad-container[b-i8w197x0fj] {
        min-height: 420px;
        height: 420px;
    }
}
/* /Components/Shared/FbxViewer.razor.rz.scp.css */
.fbx-shell[b-gwn9xkuzyn] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    background: #fff;
    border: 1px solid #dbe7f3;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.fbx-viewer-root[b-gwn9xkuzyn] {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.fbx-toolbar[b-gwn9xkuzyn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fbx-title[b-gwn9xkuzyn] {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.fbx-subtitle[b-gwn9xkuzyn] {
    margin-top: 4px;
    font-size: 13px;
    color: #64748b;
}

.fbx-stage[b-gwn9xkuzyn] {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 14px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 34%),
        linear-gradient(180deg, #ecfeff 0%, #f8fafc 100%);
    border: 1px solid #d7e6f5;
}

.fbx-host[b-gwn9xkuzyn] {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.fbx-status[b-gwn9xkuzyn] {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    max-width: calc(100% - 32px);
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.76);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .fbx-viewer-root[b-gwn9xkuzyn],
    .fbx-stage[b-gwn9xkuzyn],
    .fbx-host[b-gwn9xkuzyn] {
        min-height: 0;
        height: 100%;
    }
}
/* /Components/Shared/NavGroup.razor.rz.scp.css */
.nav-group[b-ik1yxk5pn6] {
    margin-bottom: 1px;
}

.nav-group-header[b-ik1yxk5pn6] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin: 2px 8px;
    border-radius: 10px;
    cursor: pointer;
    color: #475569;
    font-size: 13.5px;
    font-weight: 500;
    user-select: none;
    position: relative;
}

.nav-group-header:hover[b-ik1yxk5pn6] {
    background: #dbeafe;
    color: #2563eb;
}

.nav-group-header.child-active[b-ik1yxk5pn6] {
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 600;
}

.nav-group-header.child-active[b-ik1yxk5pn6]::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: #0284c7;
    border-radius: 0 3px 3px 0;
}

.nav-group-label[b-ik1yxk5pn6] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-group-items[b-ik1yxk5pn6] {
    padding-left: 4px;
    padding-bottom: 2px;
}
/* /Components/Shared/NavItem.razor.rz.scp.css */
.nav-item[b-qbnowif3j1] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin: 2px 8px;
    border-radius: 10px;
    text-decoration: none;
    color: #475569;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.nav-item:hover[b-qbnowif3j1] {
    background: #dbeafe;
    color: #2563eb;
    text-decoration: none;
}

.nav-item.active[b-qbnowif3j1] {
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 600;
}

.nav-item.active[b-qbnowif3j1]::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: #0284c7;
    border-radius: 0 3px 3px 0;
}

.nav-item.sub[b-qbnowif3j1] {
    padding: 6px 16px 6px 44px;
    font-size: 12.5px;
    font-weight: 400;
}

[b-qbnowif3j1] .nav-icon {
    font-size: 18px !important;
    flex-shrink: 0;
}
/* /Components/Shared/XeokitViewer.razor.rz.scp.css */
.xeokit-shell[b-5ga6hkr1hg] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #fff;
    border: 1px solid #dbe7f3;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.xeokit-header[b-5ga6hkr1hg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.xeokit-title[b-5ga6hkr1hg] {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.xeokit-subtitle[b-5ga6hkr1hg] {
    margin-top: 4px;
    font-size: 13px;
    color: #64748b;
}

.xeokit-stage[b-5ga6hkr1hg] {
    position: relative;
    flex: 1;
    min-height: 0;
    border-radius: 14px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 32%),
        linear-gradient(180deg, #e0f2fe 0%, #f8fafc 100%);
    border: 1px solid #d7e6f5;
}

.xeokit-canvas[b-5ga6hkr1hg] {
    display: block;
    width: 100%;
    height: 100%;
    outline: none;
}

.xeokit-status[b-5ga6hkr1hg] {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.76);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .xeokit-stage[b-5ga6hkr1hg],
    .xeokit-canvas[b-5ga6hkr1hg] {
        min-height: 320px;
    }
}
