/* _content/PersonelGorevTakip/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-d51o7u6i32] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-d51o7u6i32] {
    flex: 1;
}

.sidebar[b-d51o7u6i32] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.sidebar-overlay[b-d51o7u6i32] {
    display: none;
}

.top-row[b-d51o7u6i32] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-d51o7u6i32]  a,
.top-row[b-d51o7u6i32]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-d51o7u6i32]  a:hover,
.top-row[b-d51o7u6i32]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-d51o7u6i32]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .page[b-d51o7u6i32] {
        display: block;
    }

    .sidebar[b-d51o7u6i32] {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 238px;
        z-index: 10000;
        transition: transform 0.3s ease;
        transform: translateX(0);
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .page.sidebar-collapsed .sidebar[b-d51o7u6i32] {
        transform: translateX(-100%);
    }

    .sidebar-overlay[b-d51o7u6i32] {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        display: block;
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .page.sidebar-collapsed .sidebar-overlay[b-d51o7u6i32] {
        opacity: 0;
        pointer-events: none;
    }

    main[b-d51o7u6i32] {
        width: 100%;
    }

    article.content[b-d51o7u6i32] {
        padding: 1rem 15px;
        flex: 1;
    }
}

@media (min-width: 641px) {
    .page[b-d51o7u6i32] {
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
        /* Prevent body scroll, use internal scrolls */
    }

    .sidebar[b-d51o7u6i32] {
        width: 221px;
        height: 100vh;
        background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 80%);
        flex-shrink: 0;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        z-index: 100;
        box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
    }

    main[b-d51o7u6i32] {
        flex: 1;
        height: 100vh;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        background: #f8fafc;
    }

    /* Auto-collapse on medium screens (like laptops < 15") */
    @media (max-width: 1400px) {
        .sidebar[b-d51o7u6i32] {
            width: 80px;
        }

        .sidebar[b-d51o7u6i32]  .nav-text,
        .sidebar[b-d51o7u6i32]  .arrow,
        .sidebar[b-d51o7u6i32]  .nav-badge,
        .sidebar[b-d51o7u6i32]  .company-name {
            display: none !important;
        }

        .sidebar[b-d51o7u6i32]  .company-name-container {
            justify-content: center;
            padding: 0.75rem 0;
        }

        .sidebar[b-d51o7u6i32]  .navbar-brand span {
            display: none;
        }

        .sidebar[b-d51o7u6i32]  .navbar-brand {
            justify-content: center;
            padding: 0;
        }

        .sidebar[b-d51o7u6i32]  .nav-link {
            justify-content: center;
            padding: 0.75rem 0 !important;
        }

        .sidebar[b-d51o7u6i32]  .nav-icon {
            margin-right: 0 !important;
            font-size: 1.4rem;
        }
    }

    /* Explicit collapsed state (from UI toggle) */
    .page.sidebar-collapsed .sidebar[b-d51o7u6i32] {
        width: 80px;
    }

    .page.sidebar-collapsed .sidebar[b-d51o7u6i32]  .nav-text,
    .page.sidebar-collapsed .sidebar[b-d51o7u6i32]  .arrow,
    .page.sidebar-collapsed .sidebar[b-d51o7u6i32]  .nav-badge,
    .page.sidebar-collapsed .sidebar[b-d51o7u6i32]  .company-name {
        display: none !important;
    }

    .page.sidebar-collapsed .sidebar[b-d51o7u6i32]  .company-name-container {
        justify-content: center;
        padding: 0.75rem 0;
    }

    .page.sidebar-collapsed .sidebar[b-d51o7u6i32]  .navbar-brand span {
        display: none;
    }

    .page.sidebar-collapsed .sidebar[b-d51o7u6i32]  .navbar-brand {
        justify-content: center;
        padding: 0;
    }

    .page.sidebar-collapsed .sidebar[b-d51o7u6i32]  .nav-link {
        justify-content: center;
        padding: 0.75rem 0 !important;
    }

    .page.sidebar-collapsed .sidebar[b-d51o7u6i32]  .nav-icon {
        margin-right: 0 !important;
        font-size: 1.4rem;
    }

    .top-row[b-d51o7u6i32] {
        position: sticky;
        top: 0;
        z-index: 50;
        background: white;
        border-bottom: 1px solid #e2e8f0;
        padding: 0 1.5rem;
    }

    article.content[b-d51o7u6i32] {
        padding: 1.5rem 1.5rem;
        flex: 1;
    }
}

#blazor-error-ui[b-d51o7u6i32] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-d51o7u6i32] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* _content/PersonelGorevTakip/Components/Layout/NavMenu.razor.rz.scp.css */
.top-row[b-p4r7ua2xvf] {
    height: 4rem;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand[b-p4r7ua2xvf] {
    font-size: 1.25rem;
    font-weight: 700;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.company-name-container[b-p4r7ua2xvf] {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 16px;
}

.company-name[b-p4r7ua2xvf] {
    font-size: 1.125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-scrollable[b-p4r7ua2xvf] {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Custom Scrollbar for Sidebar */
.nav-scrollable[b-p4r7ua2xvf]::-webkit-scrollbar {
    width: 6px;
}

.nav-scrollable[b-p4r7ua2xvf]::-webkit-scrollbar-track {
    background: transparent;
}

.nav-scrollable[b-p4r7ua2xvf]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.nav-scrollable[b-p4r7ua2xvf]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-group[b-p4r7ua2xvf] {
    margin-bottom: 0.25rem;
}

.nav-group-header[b-p4r7ua2xvf] {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
}

.nav-group-header:hover[b-p4r7ua2xvf] {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.nav-group-header.active-group[b-p4r7ua2xvf] {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.nav-group-items[b-p4r7ua2xvf] {
    background: rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: slideDown-b-p4r7ua2xvf 0.3s ease-out;
}

@keyframes slideDown-b-p4r7ua2xvf {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 1000px;
    }
}

.nav-item[b-p4r7ua2xvf] {
    padding: 0;
}

.nav-item[b-p4r7ua2xvf]  .nav-link {
    display: flex;
    align-items: center;
    padding: 0.65rem 1.25rem 0.65rem 2.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-item[b-p4r7ua2xvf]  .nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.nav-item[b-p4r7ua2xvf]  .nav-link.active {
    color: white;
    background: rgba(59, 130, 246, 0.15);
    border-left: 3px solid #3b82f6;
    padding-left: calc(2.5rem - 3px);
}

.nav-icon[b-p4r7ua2xvf] {
    font-size: 1.1rem;
    margin-right: 0.75rem;
    width: 20px;
    display: inline-flex;
    justify-content: center;
    flex-shrink: 0;
}

.nav-text[b-p4r7ua2xvf] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arrow[b-p4r7ua2xvf] {
    font-size: 0.7rem;
    opacity: 0.5;
    transition: transform 0.2s;
}

.nav-badge[b-p4r7ua2xvf] {
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.5rem;
    border-radius: 1rem;
    margin-left: 0.5rem;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.navbar-toggler[b-p4r7ua2xvf] {
    display: none;
}

@media (max-width: 640.98px) {
    .nav-scrollable[b-p4r7ua2xvf] {
        display: flex;
        flex-direction: column;
        flex: 1;
        height: auto;
    }
}

@media (min-width: 641px) {
    .nav-scrollable[b-p4r7ua2xvf] {
        display: flex;
        flex-direction: column;
    }
}
/* _content/PersonelGorevTakip/Components/Pages/Organization/OrgChartPage.razor.rz.scp.css */
.org-univero-view[b-kqg4wo226u] {
    --u-bg: #0f172a;
    --u-surface: rgba(30, 41, 59, 0.7);
    --u-accent: #3b82f6;
    --u-accent-glow: rgba(59, 130, 246, 0.5);
    --u-border: rgba(255, 255, 255, 0.08);
    --u-text: #f8fafc;
    --u-text-muted: #94a3b8;
}

.org-univero-view[b-kqg4wo226u] {
    height: calc(100vh - 75px);
    background: var(--u-bg);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px;
    color: var(--u-text);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    position: relative;
}

/* BLOBS */
.blob-container[b-kqg4wo226u] {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

.blob[b-kqg4wo226u] {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--u-accent) 0%, transparent 70%);
    mix-blend-mode: screen;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.4;
}

.b1[b-kqg4wo226u] {
    top: -100px;
    left: -100px;
    animation: u-float-b-kqg4wo226u 20s infinite alternate;
}

.b2[b-kqg4wo226u] {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    animation: u-float-b-kqg4wo226u 25s infinite alternate-reverse;
}

.b3[b-kqg4wo226u] {
    top: 40%;
    left: 30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    animation: u-float-b-kqg4wo226u 15s infinite;
}

@keyframes u-float-b-kqg4wo226u {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 100px) scale(1.1);
    }
}

/* GLASS HEADER */
.univero-header[b-kqg4wo226u] {
    position: relative;
    padding: 1.5rem 2.5rem;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid var(--u-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.header-left[b-kqg4wo226u] {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.2rem;
}

.menu-icon-wrapper[b-kqg4wo226u] {
    color: var(--u-text-white);
    background: rgba(255, 255, 255, 0.05);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--u-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    z-index: 1001;
}

.menu-icon-wrapper:hover[b-kqg4wo226u] {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--u-accent);
    color: var(--u-accent);
}

.export-dropdown[b-kqg4wo226u] {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 220px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: u-fadeInUp-b-kqg4wo226u 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1002;
}

.export-item[b-kqg4wo226u] {
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: white;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.export-item:hover[b-kqg4wo226u] {
    background: #f8fafc;
}

.export-item.png[b-kqg4wo226u] {
    background: #3b82f6;
    color: white;
}

.export-item.png:hover[b-kqg4wo226u] {
    background: #2563eb;
}

.export-icon[b-kqg4wo226u] {
    font-size: 1.2rem;
}

.menu-backdrop[b-kqg4wo226u] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: transparent;
}

.header-center[b-kqg4wo226u] {
    flex: 2;
    text-align: center;
}

.header-center h1[b-kqg4wo226u] {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}

.header-center p[b-kqg4wo226u] {
    font-size: 0.85rem;
    color: var(--u-text-muted);
    margin: 0.2rem 0 0 0;
}

.header-right[b-kqg4wo226u] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
}

#org-search-container[b-kqg4wo226u] {
    display: flex;
    align-items: center;
    min-width: 240px;
}

.stat-mini-card[b-kqg4wo226u] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 3px solid var(--u-accent);
    padding-left: 12px;
}

.stat-value[b-kqg4wo226u] {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--u-accent);
}

.stat-desc[b-kqg4wo226u] {
    font-size: 0.7rem;
    color: var(--u-text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

/* BUTTONS */
.univero-btn[b-kqg4wo226u] {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--u-border);
    color: white;
    padding: 0.7rem 1.4rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.univero-btn:hover[b-kqg4wo226u] {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--u-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

/* VIEWPORT */
.univero-viewport[b-kqg4wo226u] {
    flex: 1;
    position: relative;
}

#tree[b-kqg4wo226u] {
    width: 100%;
    height: 100%;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.chart-hidden[b-kqg4wo226u] {
    opacity: 0;
    transform: scale(0.98);
}

.chart-visible[b-kqg4wo226u] {
    opacity: 1;
    transform: scale(1);
}

/* STATES */
.univero-state[b-kqg4wo226u] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    background: var(--u-bg);
}

.state-icon[b-kqg4wo226u] {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

/* PREMIUM LOADER */
.univero-loader[b-kqg4wo226u] {
    width: 60px;
    height: 60px;
    position: relative;
    margin-bottom: 2rem;
}

.circle-outer[b-kqg4wo226u] {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(59, 130, 246, 0.1);
    border-top-color: var(--u-accent);
    border-radius: 50%;
    animation: u-spin-b-kqg4wo226u 1.2s infinite cubic-bezier(0.53, 0.21, 0.29, 0.67);
}

.circle-inner[b-kqg4wo226u] {
    position: absolute;
    inset: 10px;
    border: 3px solid rgba(139, 92, 246, 0.1);
    border-bottom-color: #8b5cf6;
    border-radius: 50%;
    animation: u-spin-b-kqg4wo226u 1.5s infinite reverse linear;
}

/* ANIMATIONS */
@keyframes u-spin-b-kqg4wo226u {
    to {
        transform: rotate(360deg);
    }
}

.error-fade[b-kqg4wo226u] {
    animation: u-fadeInUp-b-kqg4wo226u 0.6s ease-out;
}

.loading-fade[b-kqg4wo226u] {
    animation: u-fadeIn-b-kqg4wo226u 0.4s ease-out;
}

@keyframes u-fadeInUp-b-kqg4wo226u {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes u-fadeIn-b-kqg4wo226u {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* BALKAN ELEMENT OVERRIDES - SCOPED */
.org-univero-view[b-kqg4wo226u]  #tree {
    background: transparent !important;
}

.org-univero-view[b-kqg4wo226u]  #tree svg {
    background: transparent !important;
}

.org-univero-view[b-kqg4wo226u]  #tree svg g[data-root-g] {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
}

.custom-search-wrapper[b-kqg4wo226u] {
    position: relative;
    width: 240px;
}

.custom-search-input[b-kqg4wo226u] {
    width: 100%;
    height: 40px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0 12px 0 40px;
    font-size: 14px;
    color: #334155;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
}

.custom-search-input:focus[b-kqg4wo226u] {
    outline: none;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
    border-color: var(--u-accent);
}

.search-icon-svg[b-kqg4wo226u] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Hide Balkan built-in elements */
.org-univero-view[b-kqg4wo226u]  .bjsl-search,
.org-univero-view[b-kqg4wo226u]  .bjsl-menu,
.org-univero-view[b-kqg4wo226u]  g[data-btn-menu] {
    display: none !important;
}

@media (max-width: 768px) {
    .univero-header[b-kqg4wo226u] {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-actions[b-kqg4wo226u] {
        width: 100%;
        justify-content: space-between;
    }
}
