/* /Components/Account/Pages/LoginPage.razor.rz.scp.css */
/* ===== Login Page ===== */

.login-wrapper[b-oftuhfug2x] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(160deg, #d8e0f5 0%, #e4e9f8 45%, #d4dcf2 100%);
    padding: 2rem 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ---- Header (logo + başlık) ---- */
.login-header[b-oftuhfug2x] {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.brand-logo-img[b-oftuhfug2x] {
    height: 56px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.85rem;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
}

.app-title[b-oftuhfug2x] {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #2563eb;
    margin: 0 0 0.35rem;
    text-align: center;
}

.app-subtitle[b-oftuhfug2x] {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0 0 1rem;
    text-align: center;
}

.title-divider[b-oftuhfug2x] {
    width: 260px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    border-radius: 2px;
}

/* ---- Card ---- */
.login-card[b-oftuhfug2x] {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(79, 110, 247, 0.13), 0 2px 12px rgba(0,0,0,0.06);
    padding: 2.5rem 2.25rem 2rem;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ---- Shield icon ---- */
.shield-wrap svg[b-oftuhfug2x] {
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
}

/* ---- Card typography ---- */
.card-title[b-oftuhfug2x] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.65rem;
    line-height: 1.25;
}

.card-description[b-oftuhfug2x] {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 1.75rem;
}

/* ---- Error alert ---- */
.error-alert[b-oftuhfug2x] {
    width: 100%;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    border-radius: 10px;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

/* ---- AD Option Box ---- */
.ad-option-box[b-oftuhfug2x] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.4rem;
    text-align: left;
    background: #fafafa;
}

.ms-logo[b-oftuhfug2x] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-info[b-oftuhfug2x] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ad-name[b-oftuhfug2x] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.ad-desc[b-oftuhfug2x] {
    font-size: 0.77rem;
    color: #6b7280;
    line-height: 1.4;
}

/* ---- Login Button ---- */
.btn-login[b-oftuhfug2x] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem;
    background: #3b5bdb;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    margin-bottom: 1.1rem;
}

.btn-login:hover[b-oftuhfug2x] {
    background: #2f4fc7;
    color: #ffffff;
    text-decoration: none;
}

.btn-login:active[b-oftuhfug2x] {
    transform: scale(0.99);
}

/* ---- Card footer ---- */
.card-footer[b-oftuhfug2x] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.4;
}

.card-footer svg[b-oftuhfug2x] {
    flex-shrink: 0;
    color: #9ca3af;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .login-card[b-oftuhfug2x] {
        padding: 2rem 1.5rem 1.75rem;
        border-radius: 16px;
    }

    .app-title[b-oftuhfug2x] {
        letter-spacing: 2px;
    }

    .title-divider[b-oftuhfug2x] {
        width: 200px;
    }
}
/* /Components/Layout/LoginLayout.razor.rz.scp.css */
/* Tüm layout CSS app.css'e taşındı — bu dosya boş */
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Blazor hata UI — hiçbir zaman dokunma */
#blazor-error-ui[b-zbk16fjvzh] {
    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-zbk16fjvzh] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-cjhblnx2te],
.components-reconnect-repeated-attempt-visible[b-cjhblnx2te],
.components-reconnect-failed-visible[b-cjhblnx2te],
.components-pause-visible[b-cjhblnx2te],
.components-resume-failed-visible[b-cjhblnx2te],
.components-rejoining-animation[b-cjhblnx2te] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-cjhblnx2te {
    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/Sidebar.razor.rz.scp.css */
/* ── Drawer genel ────────────────────────────────────────────────────── */
[b-glrgn2u4mu] .mud-app-drawer {
    background: linear-gradient(180deg, #052767 0%, #3a0647 100%);
    border-right: none;
}

[b-glrgn2u4mu] .mud-app-drawer .mud-nav-link,
[b-glrgn2u4mu] .mud-app-drawer .mud-nav-link span {
    color: rgba(255, 255, 255, 0.80);
}

[b-glrgn2u4mu] .mud-app-drawer .mud-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.10);
    color: #fff;
}

[b-glrgn2u4mu] .mud-app-drawer .mud-nav-link.mud-nav-active {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-weight: 600;
    border-left: 3px solid #fff;
}

[b-glrgn2u4mu] .mud-app-drawer .mud-nav-group-title {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── Logo alanı ──────────────────────────────────────────────────────── */
[b-glrgn2u4mu] .mud-drawer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    min-height: 64px;
}

.mud-drawer-logo[b-glrgn2u4mu] {
    height: 38px;
    object-fit: contain;
}

/* ── Navigasyon ──────────────────────────────────────────────────────── */
[b-glrgn2u4mu] .mud-drawer-nav {
    flex: 1;
    padding: 8px 0;
    overflow-y: auto;
}

/* ── Yönetim grubu manuel toggle ─────────────────────────────────────── */
.nav-group-toggle[b-glrgn2u4mu] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.875rem;
    font-family: inherit;
    text-align: left;
    border-radius: 4px;
    transition: background-color 0.15s;
}

.nav-group-toggle:hover[b-glrgn2u4mu] {
    background-color: rgba(255, 255, 255, 0.10);
    color: #fff;
}

.nav-group-children[b-glrgn2u4mu]  .mud-nav-link {
    padding-left: 28px !important;
}

/* ── Bölüm etiketleri ────────────────────────────────────────────────── */
.nav-section-label[b-glrgn2u4mu] {
    padding: 10px 16px 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    user-select: none;
}

/* ── Onay rozeti ─────────────────────────────────────────────────────── */
.mud-nav-link-content[b-glrgn2u4mu] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.nav-count-badge[b-glrgn2u4mu] {
    margin-left: auto;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    line-height: 1;
}

.mud-nav-badge[b-glrgn2u4mu] {
    margin-left: auto;
}

/* ── Kullanıcı alanı (drawer altı) ───────────────────────────────────── */
.mud-drawer-user[b-glrgn2u4mu] {
    flex-shrink: 0;
}

.mud-drawer-user-inner[b-glrgn2u4mu] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
}

.mud-drawer-user-name[b-glrgn2u4mu] {
    color: rgba(255, 255, 255, 0.90) !important;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mud-drawer-user-role[b-glrgn2u4mu] {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.72rem;
}

/* ── Mobile topbar ───────────────────────────────────────────────────── */
.mud-sidebar-mobile-topbar[b-glrgn2u4mu] {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    height: 56px;
    background: linear-gradient(90deg, #052767 0%, #3a0647 100%);
    position: sticky;
    top: 0;
    z-index: 100;
}

.mud-sidebar-mobile-logo[b-glrgn2u4mu] {
    height: 30px;
    object-fit: contain;
}

.mud-sidebar-hamburger[b-glrgn2u4mu] {
    color: #fff !important;
}

.mud-sidebar-mobile-avatar[b-glrgn2u4mu] {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.8rem !important;
}

/* ── Overlay ─────────────────────────────────────────────────────────── */
.mud-sidebar-overlay[b-glrgn2u4mu] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1199;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 959px) {
    .mud-sidebar-mobile-topbar[b-glrgn2u4mu] {
        display: flex;
    }
}
/* /Components/Pages/Admin/BirimYonetimi.razor.rz.scp.css */
/* =========================================================
   Birim Yönetimi — MudBlazor Uyumlu Tam CSS
   ========================================================= */

.by-page[b-lbdyc1r9qj] {
    --by-bg: #eef3fb;
    --by-white: #ffffff;
    --by-border: #dbe4f3;
    --by-border-soft: #edf2fa;
    --by-text: #0f172a;
    --by-text-2: #334155;
    --by-text-3: #8090aa;
    --by-blue: #2f3cf6;
    --by-blue-hover: #2430d8;
    --by-blue-light: #eef1ff;
    --by-green: #5fa179;
    --by-green-hover: #528c69;
    --by-green-light: #e7f3ec;
    --by-red: #ef4444;
    --by-red-hover: #dc2626;
    --by-red-light: #fef2f2;
    --by-orange: #fea82f;
    --by-purple: #7c3aed;
    --by-radius: 12px;
    --by-radius-lg: 16px;
    --by-shadow: 0 10px 28px rgba(15, 23, 42, .06);
    flex: 1;
    min-width: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--by-bg);
    overflow: hidden;
    font-family: 'Titillium Web', sans-serif;
}

/* =========================================================
   Topbar
   ========================================================= */

.by-topbar-paper[b-lbdyc1r9qj] {
    height: 80px;
    flex-shrink: 0;
    background: var(--by-white) !important;
    border-bottom: 1px solid var(--by-border) !important;
    padding: 0 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.by-role-badge[b-lbdyc1r9qj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--by-green-light);
    color: var(--by-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2px;
    white-space: nowrap;
}

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

.by-body[b-lbdyc1r9qj] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 26px 28px;
    background: var(--by-bg);
}

.by-page-layout[b-lbdyc1r9qj] {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

/* =========================================================
   Sol Organizasyon Ağacı
   ========================================================= */

.by-tree-panel[b-lbdyc1r9qj] {
    width: 390px;
    background: var(--by-white) !important;
    border: 1px solid var(--by-border) !important;
    border-radius: var(--by-radius-lg) !important;
    box-shadow: var(--by-shadow) !important;
    overflow: hidden;
}

.by-panel-header[b-lbdyc1r9qj] {
    height: 58px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--by-border);
    background: var(--by-white);
}

.by-panel-title[b-lbdyc1r9qj] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--by-text);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .1px;
}

    .by-panel-title .mud-icon-root[b-lbdyc1r9qj] {
        color: var(--by-blue) !important;
    }

/* Yeni Birim Button */

.by-btn-new[b-lbdyc1r9qj] {
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 13px !important;
    border-radius: 8px !important;
    background: var(--by-blue) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    font-family: 'Titillium Web', sans-serif !important;
}

    .by-btn-new:hover[b-lbdyc1r9qj] {
        background: var(--by-blue-hover) !important;
        box-shadow: none !important;
    }

    .by-btn-new .mud-button-start-icon[b-lbdyc1r9qj] {
        margin-right: 5px !important;
        margin-left: 0 !important;
    }

    .by-btn-new .mud-icon-root[b-lbdyc1r9qj] {
        font-size: 18px !important;
    }

/* Sol Arama */

.by-tree-search-mud[b-lbdyc1r9qj] {
    width: calc(100% - 28px);
    margin: 12px 14px 10px 14px !important;
}

    .by-tree-search-mud .mud-input-control[b-lbdyc1r9qj] {
        margin: 0 !important;
    }

    .by-tree-search-mud .mud-input[b-lbdyc1r9qj] {
        min-height: 38px !important;
        height: 38px !important;
        background: #fff !important;
        border-radius: 9px !important;
        font-family: 'Titillium Web', sans-serif !important;
    }

    .by-tree-search-mud .mud-input-outlined-border[b-lbdyc1r9qj] {
        border-color: var(--by-border) !important;
        border-width: 1.5px !important;
        border-radius: 9px !important;
    }

    .by-tree-search-mud .mud-input-root[b-lbdyc1r9qj] {
        font-size: 13px !important;
        color: var(--by-text) !important;
    }

    .by-tree-search-mud input[b-lbdyc1r9qj]::placeholder {
        color: var(--by-text-3) !important;
        opacity: 1 !important;
    }

    .by-tree-search-mud .mud-input-adornment-start[b-lbdyc1r9qj] {
        margin-inline-start: 10px !important;
        margin-inline-end: 4px !important;
    }

    .by-tree-search-mud .mud-icon-root[b-lbdyc1r9qj] {
        color: var(--by-text-3) !important;
        font-size: 18px !important;
    }

/* CSS isolation için */
[b-lbdyc1r9qj] .by-tree-search-mud .mud-input {
    min-height: 38px !important;
    height: 38px !important;
    background: #fff !important;
    border-radius: 9px !important;
}

[b-lbdyc1r9qj] .by-tree-search-mud .mud-input-outlined-border {
    border-color: var(--by-border) !important;
    border-width: 1.5px !important;
    border-radius: 9px !important;
}

[b-lbdyc1r9qj] .by-tree-search-mud .mud-input-root {
    font-size: 13px !important;
    font-family: 'Titillium Web', sans-serif !important;
}

/* Tree Body */

.by-tree-body[b-lbdyc1r9qj] {
    padding: 0 0 8px 0;
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    background: var(--by-white);
}

.by-tree-empty[b-lbdyc1r9qj] {
    padding: 36px 18px;
    text-align: center;
    color: var(--by-text-3);
    font-size: 13px;
    line-height: 1.5;
}

/* Tree Node */

.by-node[b-lbdyc1r9qj] {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    padding-right: 12px;
    padding-bottom: 8px;
    cursor: pointer;
    user-select: none;
    border-left: 3px solid transparent;
    transition: background .14s ease, border-color .14s ease;
}

    .by-node:hover[b-lbdyc1r9qj] {
        background: #f6f8fd;
    }

.by-node-root[b-lbdyc1r9qj] {
    border-top: 1px solid transparent;
}

.by-node-child[b-lbdyc1r9qj] {
    min-height: 40px;
}

.by-node-selected[b-lbdyc1r9qj] {
    background: var(--by-blue-light) !important;
    border-left-color: var(--by-blue);
}

    .by-node-selected .by-root-name[b-lbdyc1r9qj],
    .by-node-selected .by-child-name[b-lbdyc1r9qj] {
        color: var(--by-blue);
    }

.by-toggle[b-lbdyc1r9qj] {
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--by-text-3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .14s ease, color .14s ease;
}

    .by-toggle:hover[b-lbdyc1r9qj] {
        background: #e8eef8;
        color: var(--by-text-2);
    }

    .by-toggle .mud-icon-root[b-lbdyc1r9qj] {
        font-size: 20px !important;
        transition: transform .16s ease;
    }

.by-toggle-open .mud-icon-root[b-lbdyc1r9qj] {
    transform: rotate(90deg);
}

.by-toggle-spacer[b-lbdyc1r9qj] {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.by-unit-icon[b-lbdyc1r9qj] {
    width: 27px;
    height: 27px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .by-unit-icon.root[b-lbdyc1r9qj] {
        background: var(--by-blue-light);
        color: var(--by-blue);
    }

    .by-unit-icon.child[b-lbdyc1r9qj] {
        background: #f0f4fb;
        color: #8fa0bf;
    }

    .by-unit-icon .mud-icon-root[b-lbdyc1r9qj] {
        font-size: 18px !important;
    }

.by-root-name[b-lbdyc1r9qj],
.by-child-name[b-lbdyc1r9qj] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--by-text);
}

.by-root-name[b-lbdyc1r9qj] {
    font-size: 13.5px;
    font-weight: 800;
}

.by-child-name[b-lbdyc1r9qj] {
    font-size: 13px;
    font-weight: 700;
    color: var(--by-text-2);
}

.by-node-meta[b-lbdyc1r9qj] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.by-child-count[b-lbdyc1r9qj] {
    min-width: 20px;
    height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    background: #f2f5fa;
    border: 1px solid var(--by-border);
    color: var(--by-text-3);
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   Badge
   ========================================================= */

.by-badge[b-lbdyc1r9qj] {
    height: 21px;
    padding: 0 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1px;
    white-space: nowrap;
}

.by-badge-active[b-lbdyc1r9qj] {
    background: var(--by-green-light);
    color: var(--by-green);
}

.by-badge-passive[b-lbdyc1r9qj] {
    background: #f1f5f9;
    color: #94a3b8;
    border: 1px solid var(--by-border);
}

/* =========================================================
   Sağ Detay Paneli
   ========================================================= */

.by-detail-panel[b-lbdyc1r9qj] {
    min-height: 650px;
    background: var(--by-white) !important;
    border: 1px solid var(--by-border) !important;
    border-radius: var(--by-radius-lg) !important;
    box-shadow: var(--by-shadow) !important;
    overflow: hidden;
}

.by-empty-detail[b-lbdyc1r9qj] {
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 44px;
    color: var(--by-text-3);
}

.by-empty-icon[b-lbdyc1r9qj] {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--by-blue-light);
    color: var(--by-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

    .by-empty-icon .mud-icon-root[b-lbdyc1r9qj] {
        color: var(--by-blue) !important;
    }

.by-empty-detail h3[b-lbdyc1r9qj] {
    margin: 0 0 8px 0;
    color: var(--by-text);
    font-size: 17px;
    font-weight: 800;
}

.by-empty-detail p[b-lbdyc1r9qj] {
    margin: 0;
    max-width: 430px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--by-text-3);
}

.by-unit-detail[b-lbdyc1r9qj] {
    width: 100%;
    min-height: 650px;
    background: var(--by-white);
}

.by-unit-detail-head[b-lbdyc1r9qj] {
    min-height: 72px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--by-border);
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.by-unit-title-area[b-lbdyc1r9qj] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.by-unit-title-icon[b-lbdyc1r9qj] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--by-blue-light);
    color: var(--by-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .by-unit-title-icon .mud-icon-root[b-lbdyc1r9qj] {
        color: var(--by-blue) !important;
        font-size: 18px !important;
    }

.by-unit-title-area h2[b-lbdyc1r9qj] {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--by-text);
    line-height: 1.2;
}

.by-unit-title-area p[b-lbdyc1r9qj] {
    margin: 3px 0 0 0;
    font-size: 11px;
    color: var(--by-text-3);
    font-weight: 700;
}

.by-unit-head-badges[b-lbdyc1r9qj] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.by-code-badge[b-lbdyc1r9qj] {
    height: 23px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef2f8;
    color: var(--by-text-3);
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Stats */

.by-unit-stats[b-lbdyc1r9qj] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--by-border);
    background: #f8fbff;
}

.by-unit-stat-card[b-lbdyc1r9qj] {
    height: 62px;
    border: 1px solid var(--by-border);
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

    .by-unit-stat-card strong[b-lbdyc1r9qj] {
        font-size: 22px;
        font-weight: 900;
        color: var(--by-blue);
        line-height: 1;
    }

.by-unit-stat-green strong[b-lbdyc1r9qj] {
    color: var(--by-green) !important;
}

.by-unit-stat-green span[b-lbdyc1r9qj] {
    color: var(--by-text-3) !important;
}

.by-unit-stat-card span[b-lbdyc1r9qj] {
    margin-top: 6px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .7px;
    color: var(--by-text-3);
}

/* Tabs */

.by-unit-tabs[b-lbdyc1r9qj] {
    height: 48px;
    display: flex;
    align-items: stretch;
    gap: 4px;
    padding: 0 20px;
    border-bottom: 1px solid var(--by-border);
    background: var(--by-white);
}

    .by-unit-tabs button[b-lbdyc1r9qj] {
        border: none;
        outline: none;
        background: transparent;
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: var(--by-text-3);
        font-size: 12px;
        font-weight: 800;
        border-bottom: 2px solid transparent;
        cursor: pointer;
        font-family: 'Titillium Web', sans-serif;
    }

        .by-unit-tabs button.active[b-lbdyc1r9qj] {
            color: var(--by-blue);
            border-bottom-color: var(--by-blue);
        }

        .by-unit-tabs button .mud-icon-root[b-lbdyc1r9qj] {
            font-size: 17px !important;
        }

        .by-unit-tabs button em[b-lbdyc1r9qj] {
            min-width: 18px;
            height: 18px;
            border-radius: 999px;
            background: var(--by-blue-light);
            color: var(--by-blue);
            font-size: 10px;
            font-style: normal;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

/* Sections */

.by-unit-section[b-lbdyc1r9qj] {
    padding: 18px 20px;
    border-bottom: 1px solid var(--by-border);
    background: #fff;
}

    .by-unit-section:nth-of-type(even)[b-lbdyc1r9qj] {
        background: #fbfdff;
    }

.by-section-strip-title[b-lbdyc1r9qj] {
    margin: -18px -20px 16px -20px;
    padding: 12px 20px;
    background: #f2f6fc;
    border-bottom: 1px solid var(--by-border-soft);
    color: var(--by-text-3);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.25px;
}

/* =========================================================
   Form
   ========================================================= */

.by-form-group[b-lbdyc1r9qj] {
    margin-bottom: 18px;
    position: relative;
}

    .by-form-group:last-child[b-lbdyc1r9qj] {
        margin-bottom: 0;
    }

    .by-form-group label[b-lbdyc1r9qj] {
        display: block;
        margin-bottom: 7px;
        color: var(--by-text-2);
        font-size: 12px;
        font-weight: 800;
    }

        .by-form-group label span[b-lbdyc1r9qj] {
            color: var(--by-red);
        }

    .by-form-group input[b-lbdyc1r9qj],
    .by-form-group textarea[b-lbdyc1r9qj],
    .by-form-group select[b-lbdyc1r9qj] {
        width: 100%;
        border: 1.5px solid var(--by-border);
        border-radius: 9px;
        background: #fff;
        color: var(--by-text);
        font-size: 13px;
        font-weight: 600;
        font-family: 'Titillium Web', sans-serif;
        outline: none;
        transition: border-color .14s ease, box-shadow .14s ease;
    }

    .by-form-group input[b-lbdyc1r9qj],
    .by-form-group select[b-lbdyc1r9qj] {
        height: 40px;
        padding: 0 12px;
    }

    .by-form-group textarea[b-lbdyc1r9qj] {
        min-height: 76px;
        padding: 10px 12px;
        resize: vertical;
    }

        .by-form-group input:focus[b-lbdyc1r9qj],
        .by-form-group textarea:focus[b-lbdyc1r9qj],
        .by-form-group select:focus[b-lbdyc1r9qj] {
            border-color: var(--by-blue);
            box-shadow: 0 0 0 3px rgba(47, 60, 246, .08);
        }

    .by-form-group input:disabled[b-lbdyc1r9qj],
    .by-form-group select:disabled[b-lbdyc1r9qj] {
        background: #f8fafc;
        color: var(--by-text-3);
        cursor: not-allowed;
    }

    .by-form-group small[b-lbdyc1r9qj] {
        position: absolute;
        right: 4px;
        bottom: -18px;
        color: var(--by-text-3);
        font-size: 10px;
        font-weight: 700;
    }

    .by-form-group p[b-lbdyc1r9qj] {
        margin: 6px 0 0 0;
        color: var(--by-text-3);
        font-size: 11px;
        font-weight: 600;
    }

        .by-form-group p strong[b-lbdyc1r9qj] {
            color: var(--by-blue);
        }

.by-input-err[b-lbdyc1r9qj] {
    border-color: var(--by-red) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .08) !important;
}

.by-form-error[b-lbdyc1r9qj] {
    color: var(--by-red) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

/* Status */

.by-status-row[b-lbdyc1r9qj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

    .by-status-row strong[b-lbdyc1r9qj] {
        display: block;
        color: var(--by-text);
        font-size: 14px;
        font-weight: 800;
        margin-bottom: 4px;
    }

    .by-status-row p[b-lbdyc1r9qj] {
        margin: 0;
        color: var(--by-text-3);
        font-size: 12px;
        font-weight: 600;
    }

/* Switch */

.by-switch[b-lbdyc1r9qj] {
    width: 45px;
    height: 25px;
    border: none;
    border-radius: 999px;
    background: #cbd5e1;
    padding: 3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: background .15s ease;
    flex-shrink: 0;
}

    .by-switch span[b-lbdyc1r9qj] {
        width: 19px;
        height: 19px;
        border-radius: 999px;
        background: #fff;
        box-shadow: 0 2px 5px rgba(15, 23, 42, .2);
        transform: translateX(0);
        transition: transform .15s ease;
    }

    .by-switch.active[b-lbdyc1r9qj] {
        background: var(--by-green);
    }

        .by-switch.active span[b-lbdyc1r9qj] {
            transform: translateX(20px);
        }

/* System Info */

.by-system-grid[b-lbdyc1r9qj] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.by-system-box[b-lbdyc1r9qj] {
    min-height: 56px;
    padding: 11px 13px;
    border: 1px solid var(--by-border);
    border-radius: 9px;
    background: #f8fafc;
}

    .by-system-box span[b-lbdyc1r9qj] {
        display: block;
        margin-bottom: 6px;
        color: var(--by-text-3);
        font-size: 10px;
        font-weight: 900;
        letter-spacing: .8px;
    }

    .by-system-box strong[b-lbdyc1r9qj] {
        display: block;
        color: var(--by-text);
        font-size: 12px;
        font-weight: 800;
    }

/* =========================================================
   Birim Üyeleri
   ========================================================= */

.by-members-section[b-lbdyc1r9qj] {
    padding: 14px 20px 18px 20px;
    background: #fff;
    min-height: 430px;
}

.by-member-search-mud[b-lbdyc1r9qj] {
    width: 100%;
    margin: 0 0 14px 0 !important;
}

    .by-member-search-mud .mud-input-control[b-lbdyc1r9qj] {
        margin: 0 !important;
    }

    .by-member-search-mud .mud-input[b-lbdyc1r9qj] {
        min-height: 40px !important;
        height: 40px !important;
        background: #fff !important;
        border-radius: 9px !important;
        font-family: 'Titillium Web', sans-serif !important;
    }

    .by-member-search-mud .mud-input-outlined-border[b-lbdyc1r9qj] {
        border-color: var(--by-border) !important;
        border-width: 1.5px !important;
        border-radius: 9px !important;
    }

    .by-member-search-mud .mud-input-root[b-lbdyc1r9qj] {
        font-size: 13px !important;
        color: var(--by-text) !important;
    }

    .by-member-search-mud input[b-lbdyc1r9qj]::placeholder {
        color: var(--by-text-3) !important;
        opacity: 1 !important;
    }

    .by-member-search-mud .mud-icon-root[b-lbdyc1r9qj] {
        color: var(--by-text-3) !important;
        font-size: 18px !important;
    }

[b-lbdyc1r9qj] .by-member-search-mud .mud-input {
    min-height: 40px !important;
    height: 40px !important;
    background: #fff !important;
    border-radius: 9px !important;
}

[b-lbdyc1r9qj] .by-member-search-mud .mud-input-outlined-border {
    border-color: var(--by-border) !important;
    border-width: 1.5px !important;
    border-radius: 9px !important;
}

/* Kullanıcı öneri kutusu */

.by-user-suggest[b-lbdyc1r9qj] {
    margin: -6px 0 14px 0;
    border: 1px solid var(--by-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .09);
}

.by-us-item[b-lbdyc1r9qj] {
    width: 100%;
    min-height: 56px;
    padding: 10px 12px;
    border: none;
    border-bottom: 1px solid var(--by-border-soft);
    background: #fff;
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    font-family: 'Titillium Web', sans-serif;
}

    .by-us-item:last-child[b-lbdyc1r9qj] {
        border-bottom: none;
    }

    .by-us-item:hover[b-lbdyc1r9qj] {
        background: #f8fbff;
    }

.by-us-avatar[b-lbdyc1r9qj] {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.by-us-info[b-lbdyc1r9qj] {
    min-width: 0;
}

    .by-us-info strong[b-lbdyc1r9qj] {
        display: block;
        color: var(--by-text);
        font-size: 13px;
        font-weight: 800;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .by-us-info small[b-lbdyc1r9qj] {
        display: block;
        margin-top: 2px;
        color: var(--by-text-3);
        font-size: 11px;
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.by-role-chip[b-lbdyc1r9qj] {
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--by-blue);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

/* Üye Tablosu */

.by-member-table[b-lbdyc1r9qj] {
    border: 1px solid var(--by-border);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.by-member-table-head[b-lbdyc1r9qj] {
    height: 38px;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 140px 120px 48px;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    background: #f2f6fc;
    border-bottom: 1px solid var(--by-border);
}

    .by-member-table-head span[b-lbdyc1r9qj] {
        color: var(--by-text-3);
        font-size: 10px;
        font-weight: 900;
        letter-spacing: 1px;
    }

.by-member-row[b-lbdyc1r9qj] {
    min-height: 62px;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 140px 120px 48px;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--by-border-soft);
    background: #fff;
}

    .by-member-row:last-child[b-lbdyc1r9qj] {
        border-bottom: none;
    }

    .by-member-row:hover[b-lbdyc1r9qj] {
        background: #fbfdff;
    }

.by-member-user[b-lbdyc1r9qj] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.by-member-avatar[b-lbdyc1r9qj] {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.by-member-user strong[b-lbdyc1r9qj] {
    display: block;
    color: var(--by-text);
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.by-member-user p[b-lbdyc1r9qj] {
    margin: 3px 0 0 0;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.by-member-role[b-lbdyc1r9qj] {
    color: var(--by-text-2);
    font-size: 12px;
    font-weight: 700;
}

.by-member-action[b-lbdyc1r9qj] {
    display: flex;
    justify-content: flex-end;
}

    .by-member-action button[b-lbdyc1r9qj] {
        width: 30px;
        height: 30px;
        border: 1px solid var(--by-border);
        border-radius: 8px;
        background: #fff;
        color: #94a3b8;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        transition: background .14s ease, color .14s ease, border-color .14s ease;
    }

        .by-member-action button:hover[b-lbdyc1r9qj] {
            background: var(--by-red-light);
            border-color: #fecaca;
            color: var(--by-red);
        }

.by-member-empty[b-lbdyc1r9qj] {
    padding: 38px 18px;
    text-align: center;
    color: var(--by-text-3);
    font-size: 13px;
    font-weight: 600;
}

/* Avatar renkleri eski/mock kalırsa desteklesin */

.by-member-avatar.orange[b-lbdyc1r9qj] {
    background: var(--by-orange);
}

.by-member-avatar.slate[b-lbdyc1r9qj] {
    background: #8a9ab8;
}

.by-member-avatar.red[b-lbdyc1r9qj] {
    background: #f46036;
}

.by-member-avatar.purple[b-lbdyc1r9qj] {
    background: var(--by-purple);
}

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

.by-unit-footer[b-lbdyc1r9qj] {
    min-height: 62px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #f8fbff;
    border-top: 1px solid var(--by-border);
}

.by-footer-left[b-lbdyc1r9qj],
.by-footer-right[b-lbdyc1r9qj] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.by-danger-btn[b-lbdyc1r9qj],
.by-add-child-btn[b-lbdyc1r9qj],
.by-cancel-btn[b-lbdyc1r9qj],
.by-save-btn[b-lbdyc1r9qj] {
    height: 36px;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 800;
    font-family: 'Titillium Web', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background .14s ease, border-color .14s ease, color .14s ease;
}

.by-danger-btn[b-lbdyc1r9qj] {
    border: 1.5px solid #fecaca;
    background: #fff;
    color: var(--by-red);
}

    .by-danger-btn:hover[b-lbdyc1r9qj] {
        background: var(--by-red-light);
    }

.by-add-child-btn[b-lbdyc1r9qj] {
    border: 1.5px solid var(--by-green);
    background: var(--by-green);
    color: #fff;
}

    .by-add-child-btn:hover[b-lbdyc1r9qj] {
        background: var(--by-green-hover);
        border-color: var(--by-green-hover);
    }

.by-cancel-btn[b-lbdyc1r9qj] {
    border: 1.5px solid var(--by-border);
    background: #fff;
    color: var(--by-text-2);
}

    .by-cancel-btn:hover[b-lbdyc1r9qj] {
        background: #f8fafc;
    }

.by-save-btn[b-lbdyc1r9qj] {
    border: 1.5px solid var(--by-blue);
    background: var(--by-blue);
    color: #fff;
}

    .by-save-btn:hover[b-lbdyc1r9qj] {
        background: var(--by-blue-hover);
        border-color: var(--by-blue-hover);
    }

/* =========================================================
   Modal
   ========================================================= */

.by-modal-overlay[b-lbdyc1r9qj] {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(15, 23, 42, .52);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.by-modal[b-lbdyc1r9qj] {
    width: min(520px, 100%);
    max-height: calc(100vh - 48px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 26px 70px rgba(15, 23, 42, .28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Titillium Web', sans-serif;
}

.by-modal-hdr[b-lbdyc1r9qj] {
    height: 62px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--by-border);
    background: #fff;
}

.by-modal-hdr-icon[b-lbdyc1r9qj] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--by-blue-light);
    color: var(--by-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .by-modal-hdr-icon.danger[b-lbdyc1r9qj] {
        background: var(--by-red-light);
        color: var(--by-red);
    }

    .by-modal-hdr-icon .mud-icon-root[b-lbdyc1r9qj] {
        font-size: 18px !important;
    }

.by-modal-title[b-lbdyc1r9qj] {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--by-text);
    font-size: 16px;
    font-weight: 900;
}

.by-modal-close[b-lbdyc1r9qj] {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

    .by-modal-close:hover[b-lbdyc1r9qj] {
        background: #f1f5f9;
        color: var(--by-text-2);
    }

.by-modal-body[b-lbdyc1r9qj] {
    padding: 18px;
    overflow: auto;
}

.by-modal-footer[b-lbdyc1r9qj] {
    min-height: 62px;
    padding: 12px 18px;
    border-top: 1px solid var(--by-border);
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.by-delete-msg[b-lbdyc1r9qj] {
    margin: 0;
    color: var(--by-text-2);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

/* =========================================================
   Toast
   ========================================================= */

.by-toast[b-lbdyc1r9qj] {
    position: fixed;
    right: 24px;
    bottom: 24px;
    min-height: 46px;
    max-width: 420px;
    padding: 0 14px;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .25);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    font-size: 13px;
    font-weight: 800;
}

    .by-toast .mud-icon-root[b-lbdyc1r9qj] {
        color: #fff !important;
    }

    .by-toast button[b-lbdyc1r9qj] {
        margin-left: 8px;
        border: none;
        outline: none;
        background: transparent;
        color: rgba(255, 255, 255, .78);
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
        padding: 0;
    }

        .by-toast button:hover[b-lbdyc1r9qj] {
            color: #fff;
        }

/* =========================================================
   Scrollbar
   ========================================================= */

.by-body[b-lbdyc1r9qj]::-webkit-scrollbar,
.by-tree-body[b-lbdyc1r9qj]::-webkit-scrollbar,
.by-modal-body[b-lbdyc1r9qj]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.by-body[b-lbdyc1r9qj]::-webkit-scrollbar-track,
.by-tree-body[b-lbdyc1r9qj]::-webkit-scrollbar-track,
.by-modal-body[b-lbdyc1r9qj]::-webkit-scrollbar-track {
    background: transparent;
}

.by-body[b-lbdyc1r9qj]::-webkit-scrollbar-thumb,
.by-tree-body[b-lbdyc1r9qj]::-webkit-scrollbar-thumb,
.by-modal-body[b-lbdyc1r9qj]::-webkit-scrollbar-thumb {
    background: #c8d5f5;
    border-radius: 999px;
}

    .by-body[b-lbdyc1r9qj]::-webkit-scrollbar-thumb:hover,
    .by-tree-body[b-lbdyc1r9qj]::-webkit-scrollbar-thumb:hover,
    .by-modal-body[b-lbdyc1r9qj]::-webkit-scrollbar-thumb:hover {
        background: #9fb2e8;
    }

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

@media (max-width: 1200px) {
    .by-page-layout[b-lbdyc1r9qj] {
        grid-template-columns: 340px minmax(0, 1fr);
    }

    .by-tree-panel[b-lbdyc1r9qj] {
        width: 340px;
    }

    .by-member-table-head[b-lbdyc1r9qj],
    .by-member-row[b-lbdyc1r9qj] {
        grid-template-columns: minmax(240px, 1fr) 110px 90px 44px;
    }
}

@media (max-width: 900px) {
    .by-page-layout[b-lbdyc1r9qj] {
        grid-template-columns: 1fr;
    }

    .by-tree-panel[b-lbdyc1r9qj] {
        width: 100%;
    }

    .by-tree-body[b-lbdyc1r9qj] {
        max-height: 420px;
    }

    .by-system-grid[b-lbdyc1r9qj],
    .by-unit-stats[b-lbdyc1r9qj] {
        grid-template-columns: 1fr;
    }

    .by-member-table-head[b-lbdyc1r9qj] {
        display: none;
    }

    .by-member-row[b-lbdyc1r9qj] {
        grid-template-columns: 1fr auto;
        gap: 8px;
    }

    .by-member-role[b-lbdyc1r9qj] {
        display: none;
    }

    .by-member-row > div:nth-child(3)[b-lbdyc1r9qj] {
        justify-self: start;
    }

    .by-member-action[b-lbdyc1r9qj] {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
    }
}

@media (max-width: 768px) {
    .by-topbar-paper[b-lbdyc1r9qj] {
        height: auto !important;
        padding: 14px 16px !important;
        align-items: flex-start !important;
        gap: 12px !important;
        flex-direction: column !important;
    }

        .by-topbar-paper > div:last-child[b-lbdyc1r9qj] {
            width: 100%;
            justify-content: space-between;
        }

    .by-body[b-lbdyc1r9qj] {
        padding: 12px;
    }

    .by-detail-panel[b-lbdyc1r9qj],
    .by-empty-detail[b-lbdyc1r9qj],
    .by-unit-detail[b-lbdyc1r9qj] {
        min-height: 420px;
    }

    .by-unit-detail-head[b-lbdyc1r9qj],
    .by-status-row[b-lbdyc1r9qj],
    .by-unit-footer[b-lbdyc1r9qj] {
        align-items: flex-start;
        flex-direction: column;
    }

    .by-footer-left[b-lbdyc1r9qj],
    .by-footer-right[b-lbdyc1r9qj] {
        width: 100%;
    }

    .by-danger-btn[b-lbdyc1r9qj],
    .by-add-child-btn[b-lbdyc1r9qj],
    .by-cancel-btn[b-lbdyc1r9qj],
    .by-save-btn[b-lbdyc1r9qj] {
        flex: 1;
    }

    .by-modal-overlay[b-lbdyc1r9qj] {
        padding: 14px;
    }
}

@media (max-width: 420px) {
    .by-panel-header[b-lbdyc1r9qj] {
        height: auto;
        padding: 12px;
        align-items: flex-start;
        flex-direction: column;
    }

    .by-btn-new[b-lbdyc1r9qj] {
        width: 100%;
    }

    .by-tree-search-mud[b-lbdyc1r9qj] {
        width: calc(100% - 20px);
        margin: 10px !important;
    }

    .by-node[b-lbdyc1r9qj] {
        padding-right: 10px;
    }

    .by-node-meta[b-lbdyc1r9qj] {
        gap: 5px;
    }

    .by-badge[b-lbdyc1r9qj] {
        padding: 0 7px;
    }

    .by-unit-tabs[b-lbdyc1r9qj] {
        padding: 0 12px;
        overflow-x: auto;
    }

    .by-unit-section[b-lbdyc1r9qj],
    .by-members-section[b-lbdyc1r9qj] {
        padding: 16px 14px;
    }

    .by-section-strip-title[b-lbdyc1r9qj] {
        margin: -16px -14px 14px -14px;
        padding: 11px 14px;
    }

    .by-modal-hdr[b-lbdyc1r9qj] {
        padding: 0 14px;
    }

    .by-modal-body[b-lbdyc1r9qj] {
        padding: 14px;
    }

    .by-modal-footer[b-lbdyc1r9qj] {
        padding: 12px 14px;
        flex-direction: column;
    }

        .by-modal-footer .by-cancel-btn[b-lbdyc1r9qj],
        .by-modal-footer .by-save-btn[b-lbdyc1r9qj],
        .by-modal-footer .by-danger-btn[b-lbdyc1r9qj] {
            width: 100%;
        }

    .by-toast[b-lbdyc1r9qj] {
        left: 12px;
        right: 12px;
        bottom: 14px;
        max-width: none;
    }
}
/* /Components/Pages/Admin/EtiketAyarlari.razor.rz.scp.css */
/* ===== Etiket Ayarları — ea- prefix ===== */

.ea-page[b-jtkowtqo5z] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bg);
    overflow: hidden;
}

/* ── Topbar ── */
.ea-topbar[b-jtkowtqo5z] {
    height: 68px;
    flex-shrink: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.ea-topbar-left[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.ea-topbar-title[b-jtkowtqo5z] {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}

.ea-topbar-sub[b-jtkowtqo5z] {
    font-size: 12px;
    color: #2563eb;
    margin: 0;
}

.ea-topbar-right[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ea-date[b-jtkowtqo5z] {
    font-size: 12px;
    color: var(--text3);
}

.ea-role-badge[b-jtkowtqo5z] {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    background: var(--cambridge-light);
    color: var(--cambridge);
    letter-spacing: .3px;
}

.ea-signout[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    text-decoration: none;
    transition: .15s;
    font-family: 'Titillium Web', sans-serif;
}

    .ea-signout:hover[b-jtkowtqo5z] {
        background: var(--red-bg);
        color: var(--red);
        border-color: #f5b8b8;
    }

/* ── Body layout ── */
.ea-body[b-jtkowtqo5z] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ea-main-col[b-jtkowtqo5z] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.ea-side-col[b-jtkowtqo5z] {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Card ── */
.ea-card[b-jtkowtqo5z] {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.ea-card-head[b-jtkowtqo5z] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
}

.ea-card-title[b-jtkowtqo5z] {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.ea-card-sub[b-jtkowtqo5z] {
    font-size: 12px;
    color: var(--text3);
    margin-top: 2px;
}

.ea-link[b-jtkowtqo5z] {
    color: inherit;
}

.ea-card-body[b-jtkowtqo5z] {
    padding: 20px 22px;
}

/* ── Counter ── */
.ea-field-label[b-jtkowtqo5z] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.ea-required[b-jtkowtqo5z] {
    color: var(--red);
}

.ea-counter-row[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ea-counter[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
}

.ea-counter-val[b-jtkowtqo5z] {
    width: 52px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    padding: 8px 0;
}

.ea-counter-btn[b-jtkowtqo5z] {
    width: 36px;
    height: 38px;
    border: none;
    border-left: 1.5px solid var(--border);
    background: #f9fafb;
    font-size: 16px;
    font-weight: 700;
    color: var(--text2);
    cursor: pointer;
    transition: .15s;
    font-family: 'Titillium Web', sans-serif;
}

    .ea-counter-btn:hover:not(:disabled)[b-jtkowtqo5z] {
        background: #eff6ff;
        color: #2563eb;
    }

    .ea-counter-btn:disabled[b-jtkowtqo5z] {
        opacity: .35;
        cursor: not-allowed;
    }

.ea-counter-badge[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
}

.ea-hint[b-jtkowtqo5z] {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text3);
}

/* ── Add row ── */
.ea-add-row[b-jtkowtqo5z] {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.ea-tag-input[b-jtkowtqo5z] {
    flex: 1;
    height: 40px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 0 14px;
    font-size: 13px;
    color: var(--text);
    background: var(--white);
    outline: none;
    font-family: 'Titillium Web', sans-serif;
    transition: border-color .15s;
}

    .ea-tag-input:focus[b-jtkowtqo5z] {
        border-color: #2563eb;
    }

.ea-add-btn[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .15s;
    font-family: 'Titillium Web', sans-serif;
    white-space: nowrap;
}

    .ea-add-btn:hover:not(:disabled)[b-jtkowtqo5z] {
        background: #1d4ed8;
    }

    .ea-add-btn:disabled[b-jtkowtqo5z] {
        opacity: .4;
        cursor: not-allowed;
    }

.ea-error[b-jtkowtqo5z] {
    font-size: 12px;
    color: var(--red);
    margin-bottom: 8px;
}

/* ── Search row ── */
.ea-search-row[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 0 12px;
    height: 38px;
    background: var(--white);
    margin-bottom: 14px;
}

.ea-search-in[b-jtkowtqo5z] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--text);
    background: transparent;
    font-family: 'Titillium Web', sans-serif;
}

.ea-tag-count[b-jtkowtqo5z] {
    font-size: 12px;
    color: var(--text3);
    white-space: nowrap;
    padding: 3px 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

/* ── Tag list ── */
.ea-tag-list[b-jtkowtqo5z] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 320px;
    overflow-y: auto;
}

.ea-tag-row[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fafafa;
    transition: .15s;
}

    .ea-tag-row:hover[b-jtkowtqo5z] {
        background: #f0f7ff;
        border-color: #bfdbfe;
    }

.ea-tag-pasif[b-jtkowtqo5z] {
    opacity: .6;
}

.ea-tag-left[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ea-tag-icon[b-jtkowtqo5z] {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #ede9fe;
    color: #6d28d9;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ea-tag-pasif .ea-tag-icon[b-jtkowtqo5z] {
    background: #f3f4f6;
    color: #9ca3af;
}

.ea-tag-pasif .ea-tag-name[b-jtkowtqo5z] {
    color: #9ca3af;
}

.ea-tag-name[b-jtkowtqo5z] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.ea-tag-usage[b-jtkowtqo5z] {
    font-size: 11px;
    color: #9ca3af;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 1px 7px;
    font-weight: 500;
}

.ea-tag-actions[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ea-status-label[b-jtkowtqo5z] {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: .2px;
}

.ea-status-aktif[b-jtkowtqo5z] {
    background: #d1fae5;
    color: #059669;
}

.ea-status-pasif[b-jtkowtqo5z] {
    background: #f3f4f6;
    color: #6b7280;
}

/* ── Toggle Switch ── */
.ea-switch[b-jtkowtqo5z] {
    position: relative;
    width: 42px;
    height: 24px;
    border-radius: 12px;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    padding: 0;
    transition: background .2s;
    flex-shrink: 0;
}

    .ea-switch.ea-switch-on[b-jtkowtqo5z] {
        background: #059669;
    }

.ea-switch-thumb[b-jtkowtqo5z] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    transition: left .2s;
}

.ea-switch.ea-switch-on .ea-switch-thumb[b-jtkowtqo5z] {
    left: 21px;
}

.ea-toggle-btn[b-jtkowtqo5z] {
    display: none;
}

.ea-del-btn[b-jtkowtqo5z] {
    width: 30px;
    height: 30px;
    border: 1px solid #fecaca;
    border-radius: 6px;
    background: #fff5f5;
    color: var(--red);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .15s;
}

    .ea-del-btn:hover[b-jtkowtqo5z] {
        background: var(--red-bg);
        border-color: #f5b8b8;
    }

.ea-empty[b-jtkowtqo5z] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 0;
    color: #d1d5db;
    font-size: 13px;
}

/* ── Footer ── */
/* ── Footer ── */
.ea-page-footer[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--white);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.ea-unsaved-banner[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    color: #92400e;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.ea-footer-actions[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: flex-end;
}

.ea-iptal-btn[b-jtkowtqo5z] {
    padding: 0 22px;
    height: 38px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    transition: .15s;
    white-space: nowrap;
}

    .ea-iptal-btn:hover[b-jtkowtqo5z] {
        background: #f3f4f6;
        border-color: #d1d5db;
    }

.ea-kaydet-btn[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 24px;
    height: 38px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    transition: .15s;
    white-space: nowrap;
}

    .ea-kaydet-btn:hover[b-jtkowtqo5z] {
        background: #1d4ed8;
    }

.ea-toast[b-jtkowtqo5z] {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 10000;
    min-width: 300px;
    max-width: calc(100vw - 32px);
    padding: 12px 16px;
    border-radius: 12px;
    background: #111827;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Titillium Web', sans-serif;
    box-shadow: 0 18px 60px rgba(15, 23, 42, .30);
}

.ea-toast-close[b-jtkowtqo5z] {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
}

.ea-toast-close:hover[b-jtkowtqo5z] { color: #ffffff; }

.ea-unsaved-banner[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #fffbeb;
    border-top: 1.5px solid #fcd34d;
    border-bottom: 1.5px solid #fcd34d;
    color: #92400e;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.ea-page-footer[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 24px;
    background: var(--white);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.ea-success-msg[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #059669;
    font-size: 13px;
    font-weight: 600;
}

/* ── Side cards ── */
.ea-side-card[b-jtkowtqo5z] {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
}

.ea-side-card-title[b-jtkowtqo5z] {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.ea-summary-rows[b-jtkowtqo5z] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ea-sum-row[b-jtkowtqo5z] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 12px;
}

    .ea-sum-row:last-child[b-jtkowtqo5z] {
        border-bottom: none;
    }

.ea-sum-label[b-jtkowtqo5z] {
    color: var(--text3);
}

.ea-sum-val[b-jtkowtqo5z] {
    color: var(--text2);
    font-weight: 500;
}

.ea-sum-highlight[b-jtkowtqo5z] {
    color: #2563eb;
    font-weight: 700;
}

.ea-sum-bold[b-jtkowtqo5z] {
    color: var(--text);
    font-weight: 700;
    font-size: 12px;
}

.ea-status-rows[b-jtkowtqo5z] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ea-status-row[b-jtkowtqo5z] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ea-status-pill[b-jtkowtqo5z] {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.ea-status-aktif[b-jtkowtqo5z] {
    background: #d1fae5;
    color: #059669;
}

.ea-status-pasif[b-jtkowtqo5z] {
    background: #f3f4f6;
    color: #6b7280;
}

.ea-status-desc[b-jtkowtqo5z] {
    font-size: 12px;
    color: var(--text3);
    line-height: 1.5;
}

.ea-side-info[b-jtkowtqo5z] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

    .ea-side-info p[b-jtkowtqo5z] {
        font-size: 12px;
        color: #1e40af;
        line-height: 1.55;
        margin: 0;
    }

    .ea-side-info svg[b-jtkowtqo5z] {
        flex-shrink: 0;
        margin-top: 1px;
    }
/* /Components/Pages/Admin/KategoriYonetimi.razor.rz.scp.css */
/* =========================================================
   KATEGORİ YÖNETİMİ — TAM CSS
   ========================================================= */

/* =========================================================
   PAGE
   ========================================================= */

.ky-page[b-nqd8d08ymh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f0f4f9;
    min-width: 0;
}

/* =========================================================
   TOPBAR
   ========================================================= */

.ky-topbar-right[b-nqd8d08ymh] {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

.ky-role-badge[b-nqd8d08ymh] {
    background: #e6f3eb;
    color: #67A37F;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    white-space: nowrap;
}

/* =========================================================
   BODY / PAGE LAYOUT
   ========================================================= */

.ky-body[b-nqd8d08ymh] {
    flex: 1;
    padding: 16px 22px 22px;
    background: #f0f4f9;
    min-width: 0;
}

.ky-page-layout[b-nqd8d08ymh] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
}

/* =========================================================
   SOL KATEGORİ AĞACI PANELİ
   ========================================================= */

.ky-tree-panel[b-nqd8d08ymh] {
    width: 252px;
    min-width: 252px;
    max-width: 252px;
    background: #ffffff;
    border: 1px solid #d9e2f0;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(43, 59, 245, .05);
    overflow: hidden;
}

.ky-tree-header[b-nqd8d08ymh] {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 14px;
    background: #ffffff;
    border-bottom: 1px solid #edf2f8;
}

.ky-tree-header-left[b-nqd8d08ymh] {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.ky-header-icon[b-nqd8d08ymh] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 7px;
    background: #eef0ff;
    color: #2B3BF5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .ky-header-icon .mud-icon-root[b-nqd8d08ymh] {
        font-size: 17px !important;
    }

.ky-tree-title[b-nqd8d08ymh] {
    font-size: 13px;
    font-weight: 800;
    color: #111827;
    line-height: 1.15;
    letter-spacing: .1px;
    white-space: normal;
}

.ky-new-category-btn[b-nqd8d08ymh] {
    height: 38px;
    min-width: 112px;
    padding: 0 12px;
    border: none;
    border-radius: 10px;
    background: #2B3BF5;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none;
}

    .ky-new-category-btn:hover[b-nqd8d08ymh] {
        background: #2130df;
    }

    .ky-new-category-btn .mud-icon-root[b-nqd8d08ymh] {
        font-size: 15px !important;
    }

/* =========================================================
   SEARCH
   ========================================================= */

.ky-tree-search-wrap[b-nqd8d08ymh] {
    padding: 10px 14px;
    background: #ffffff;
    border-bottom: 1px solid #edf2f8;
}

.ky-search-box[b-nqd8d08ymh] {
    height: 36px;
    width: 100%;
    border: 1.3px solid #d7deec;
    border-radius: 8px;
    background: #f8faff;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
}

    .ky-search-box .mud-icon-root[b-nqd8d08ymh] {
        font-size: 16px !important;
        color: #8fa0bc;
        flex-shrink: 0;
    }

    .ky-search-box input[b-nqd8d08ymh] {
        width: 100%;
        min-width: 0;
        border: none;
        outline: none;
        background: transparent;
        color: #1a2233;
        font-family: 'Titillium Web', sans-serif;
        font-size: 11.5px;
        font-weight: 500;
    }

        .ky-search-box input[b-nqd8d08ymh]::placeholder {
            color: #96a4bf;
            opacity: 1;
        }

/* =========================================================
   TREE HEADER COLUMNS
   ========================================================= */

.ky-tree-columns[b-nqd8d08ymh] {
    height: 29px;
    padding: 0 12px;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f8;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
}

.ky-col[b-nqd8d08ymh] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 7.5px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .25px;
    line-height: 1;
    white-space: nowrap;
}

    .ky-col i[b-nqd8d08ymh] {
        width: 6px;
        height: 6px;
        border-radius: 2px;
        border: 1.2px solid currentColor;
        display: inline-block;
        flex-shrink: 0;
    }

.ky-col-category[b-nqd8d08ymh] {
    color: #2B3BF5;
}

.ky-col-group[b-nqd8d08ymh] {
    color: #b97a16;
}

.ky-col-type[b-nqd8d08ymh] {
    color: #67A37F;
}

.ky-col-arrow[b-nqd8d08ymh] {
    color: #b8c3d6;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
}

/* =========================================================
   TREE BODY
   ========================================================= */

.ky-tree-body[b-nqd8d08ymh] {
    max-height: calc(100vh - 272px);
    overflow-y: auto;
    padding: 6px 0 10px;
    background: #ffffff;
}

    .ky-tree-body[b-nqd8d08ymh]::-webkit-scrollbar {
        width: 7px;
    }

    .ky-tree-body[b-nqd8d08ymh]::-webkit-scrollbar-thumb {
        background: #d8dfeb;
        border-radius: 999px;
    }

    .ky-tree-body[b-nqd8d08ymh]::-webkit-scrollbar-track {
        background: transparent;
    }

.ky-tree-node-block[b-nqd8d08ymh] {
    width: 100%;
}

.ky-tree-row[b-nqd8d08ymh] {
    min-height: 38px;
    display: flex;
    align-items: center;
    border-left: 3px solid transparent;
    cursor: pointer;
    user-select: none;
    transition: background .12s ease, border-color .12s ease;
}

    .ky-tree-row:hover[b-nqd8d08ymh] {
        background: #f4f6fb;
    }

    .ky-tree-row:active[b-nqd8d08ymh] {
        transform: translateY(.5px);
    }

.ky-category-row[b-nqd8d08ymh] {
    background: #ffffff;
}

.ky-group-row[b-nqd8d08ymh] {
    background: #fffaf2;
}

.ky-type-row[b-nqd8d08ymh] {
    background: #ffffff;
}

.ky-tree-row.selected-category[b-nqd8d08ymh] {
    background: #eef0ff;
    border-left-color: #2B3BF5;
}

.ky-tree-row.selected-group[b-nqd8d08ymh] {
    background: #fff7e8;
    border-left-color: #FEA82F;
}

.ky-tree-row.selected-type[b-nqd8d08ymh] {
    background: #eefaf2;
    border-left-color: #67A37F;
}

    .ky-tree-row.selected-category .ky-category-label[b-nqd8d08ymh],
    .ky-tree-row.selected-group .ky-group-label[b-nqd8d08ymh],
    .ky-tree-row.selected-type .ky-type-label[b-nqd8d08ymh] {
        font-weight: 800;
    }

.ky-toggle-btn[b-nqd8d08ymh] {
    width: 28px;
    height: 38px;
    min-width: 28px;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8a9ab8;
    cursor: pointer;
    flex-shrink: 0;
}

    .ky-toggle-btn:hover[b-nqd8d08ymh] {
        color: #4a5a78;
    }

    .ky-toggle-btn .mud-icon-root[b-nqd8d08ymh] {
        font-size: 16px !important;
    }

.ky-toggle-placeholder[b-nqd8d08ymh] {
    width: 28px;
    height: 38px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.ky-type-line[b-nqd8d08ymh] {
    width: 8px;
    height: 1px;
    background: #d9e2f0;
    display: inline-block;
}

.ky-node-main[b-nqd8d08ymh] {
    flex: 1;
    min-width: 0;
    height: 38px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding-right: 10px;
}

.ky-node-icon[b-nqd8d08ymh] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .ky-node-icon .mud-icon-root[b-nqd8d08ymh] {
        font-size: 14px !important;
    }

.ky-category-icon[b-nqd8d08ymh] {
    background: #eef0ff;
    color: #2B3BF5;
}

.ky-group-icon[b-nqd8d08ymh] {
    background: #fff3d9;
    color: #FEA82F;
}

.ky-type-icon[b-nqd8d08ymh] {
    background: #e6f3eb;
    color: #67A37F;
}

.ky-node-label[b-nqd8d08ymh] {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    font-family: 'Titillium Web', sans-serif;
}

.ky-category-label[b-nqd8d08ymh] {
    font-size: 12px;
    font-weight: 800;
    color: #111827;
}

.ky-group-label[b-nqd8d08ymh] {
    font-size: 11.5px;
    font-weight: 700;
    color: #4a5a78;
}

.ky-type-label[b-nqd8d08ymh] {
    font-size: 11.3px;
    font-weight: 600;
    color: #4a5a78;
}

.ky-group-list .ky-tree-row[b-nqd8d08ymh] {
    padding-left: 14px;
}

.ky-type-list .ky-tree-row[b-nqd8d08ymh] {
    padding-left: 30px;
}

/* =========================================================
   STATUS PILL
   ========================================================= */

.ky-status-pill[b-nqd8d08ymh] {
    height: 16px;
    min-height: 16px;
    padding: 0 7px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 7.8px;
    line-height: 16px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    font-family: 'Titillium Web', sans-serif;
}

    .ky-status-pill.active[b-nqd8d08ymh] {
        background: #e8f3eb;
        color: #76a68a;
    }

    .ky-status-pill.passive[b-nqd8d08ymh] {
        background: #e5e7eb;
        color: #616b75;
    }

/* =========================================================
   DETAIL PANEL
   ========================================================= */

.ky-detail-panel[b-nqd8d08ymh] {
    flex: 1;
    min-width: 0;
    min-height: calc(100vh - 118px);
    height: auto !important;
    background: #ffffff;
    border: 1px solid #dde3ef;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(43, 59, 245, .06);
    overflow: visible !important;
}

.ky-detail-empty[b-nqd8d08ymh] {
    min-height: 650px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.ky-detail-empty-icon[b-nqd8d08ymh] {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #eef0ff;
    color: #2B3BF5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ky-detail-empty-title[b-nqd8d08ymh] {
    font-size: 14px;
    font-weight: 800;
    color: #4a5a78;
}

.ky-detail-empty-text[b-nqd8d08ymh] {
    max-width: 390px;
    font-size: 12px;
    line-height: 1.55;
    color: #8a9ab8;
}

/* =========================================================
   SELECTED DETAIL HEADER
   ========================================================= */

.ky-selected-detail[b-nqd8d08ymh] {
    height: auto !important;
    min-height: calc(100vh - 118px);
    display: flex;
    flex-direction: column;
}

.ky-selected-detail-header[b-nqd8d08ymh] {
    height: 58px;
    padding: 0 18px;
    border-bottom: 1px solid #dde3ef;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ky-selected-detail-left[b-nqd8d08ymh] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ky-selected-type-chip[b-nqd8d08ymh] {
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
    font-family: 'Titillium Web', sans-serif;
}

    .ky-selected-type-chip.category[b-nqd8d08ymh] {
        background: #eef0ff;
        color: #2B3BF5;
    }

    .ky-selected-type-chip.group[b-nqd8d08ymh] {
        background: #fff3d9;
        color: #b97a16;
    }

    .ky-selected-type-chip.type[b-nqd8d08ymh] {
        background: #e6f3eb;
        color: #67A37F;
    }

.ky-selected-name[b-nqd8d08ymh] {
    font-size: 13px;
    font-weight: 800;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Titillium Web', sans-serif;
}

/* =========================================================
   CATEGORY / GROUP / DOCUMENT DETAIL PAGE
   ========================================================= */

.ky-category-detail-page[b-nqd8d08ymh],
.ky-group-detail-page[b-nqd8d08ymh],
.ky-document-detail-page[b-nqd8d08ymh] {
    height: auto !important;
    min-height: calc(100vh - 118px);
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.ky-category-detail-top[b-nqd8d08ymh],
.ky-group-detail-top[b-nqd8d08ymh] {
    height: 52px;
    padding: 0 16px;
    border-bottom: 1px solid #d9e2f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ky-category-detail-left[b-nqd8d08ymh],
.ky-group-detail-left[b-nqd8d08ymh] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ky-category-detail-content[b-nqd8d08ymh],
.ky-group-detail-content[b-nqd8d08ymh] {
    overflow: visible !important;
    flex: 0 0 auto !important;
    padding: 18px 16px 18px;
    background: #ffffff;
}

.ky-category-section[b-nqd8d08ymh],
.ky-group-section[b-nqd8d08ymh] {
    padding-bottom: 18px;
    margin-bottom: 16px;
    border-bottom: 1px solid #edf2f8;
}

.ky-category-section-last[b-nqd8d08ymh] {
    border-bottom: none;
    margin-bottom: 0;
}

.ky-category-section-title[b-nqd8d08ymh],
.ky-group-section-title[b-nqd8d08ymh] {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    font-family: 'Titillium Web', sans-serif;
}

.ky-category-form-group[b-nqd8d08ymh],
.ky-group-form-group[b-nqd8d08ymh] {
    margin-bottom: 16px;
}

.ky-category-label[b-nqd8d08ymh],
.ky-group-label[b-nqd8d08ymh] {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 800;
    color: #4a5a78;
    font-family: 'Titillium Web', sans-serif;
}

    .ky-category-label span[b-nqd8d08ymh],
    .ky-group-label span[b-nqd8d08ymh] {
        color: #ef4444;
    }

.ky-category-input[b-nqd8d08ymh],
.ky-category-textarea[b-nqd8d08ymh],
.ky-group-input[b-nqd8d08ymh],
.ky-group-textarea[b-nqd8d08ymh] {
    width: 100%;
    border: 1.5px solid #d9e2f0;
    border-radius: 8px;
    background: #ffffff;
    color: #1a2233;
    font-family: 'Titillium Web', sans-serif;
    font-size: 13px;
    outline: none;
}

.ky-category-input[b-nqd8d08ymh],
.ky-group-input[b-nqd8d08ymh] {
    height: 38px;
    padding: 0 12px;
}

.ky-category-textarea[b-nqd8d08ymh],
.ky-group-textarea[b-nqd8d08ymh] {
    min-height: 82px;
    padding: 10px 12px;
    resize: vertical;
}

.ky-group-input-disabled[b-nqd8d08ymh] {
    background: #f3f6fb;
    color: #8a9ab8;
}

.ky-category-input:focus[b-nqd8d08ymh],
.ky-category-textarea:focus[b-nqd8d08ymh],
.ky-group-input:focus[b-nqd8d08ymh],
.ky-group-textarea:focus[b-nqd8d08ymh] {
    border-color: #2B3BF5;
    box-shadow: 0 0 0 3px rgba(43, 59, 245, .09);
}

.ky-category-input[b-nqd8d08ymh]::placeholder,
.ky-category-textarea[b-nqd8d08ymh]::placeholder,
.ky-group-input[b-nqd8d08ymh]::placeholder,
.ky-group-textarea[b-nqd8d08ymh]::placeholder {
    color: #9aa8bf;
}

.ky-category-status-row[b-nqd8d08ymh] {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-right: 8px;
}

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

.ky-category-help-text[b-nqd8d08ymh] {
    margin: 4px 0 0;
    font-size: 11px;
    color: #8a9ab8;
    font-family: 'Titillium Web', sans-serif;
}

/* =========================================================
   SWITCH
   ========================================================= */

.ky-switch[b-nqd8d08ymh] {
    width: 44px;
    height: 26px;
    border: none;
    border-radius: 999px;
    background: #cbd5e1;
    padding: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: 0;
    transition: background .15s ease;
}

    .ky-switch span[b-nqd8d08ymh] {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #ffffff;
        display: block;
        transform: translateX(0);
        transition: transform .15s ease;
        box-shadow: 0 1px 3px rgba(15, 23, 42, .18);
    }

    .ky-switch.active[b-nqd8d08ymh] {
        background: #67A37F;
    }

        .ky-switch.active span[b-nqd8d08ymh] {
            transform: translateX(18px);
        }

/* =========================================================
   INFO / DIVIDER
   ========================================================= */

.ky-action-message[b-nqd8d08ymh] {
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid #cbd6ff;
    border-radius: 8px;
    background: #f5f7ff;
    color: #2B3BF5;
    font-size: 12px;
    font-weight: 800;
    font-family: 'Titillium Web', sans-serif;
}

.ky-divider-title[b-nqd8d08ymh] {
    height: 22px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: #8a9ab8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .4px;
    font-family: 'Titillium Web', sans-serif;
}

    .ky-divider-title[b-nqd8d08ymh]::before,
    .ky-divider-title[b-nqd8d08ymh]::after {
        content: "";
        height: 1px;
        background: #d9e2f0;
        flex: 1;
    }

    .ky-divider-title span[b-nqd8d08ymh] {
        padding: 0 12px;
        white-space: nowrap;
    }

.ky-info-box[b-nqd8d08ymh] {
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: #f3f6fb;
    color: #8a9ab8;
    font-size: 11.5px;
    line-height: 1.45;
    font-family: 'Titillium Web', sans-serif;
}

.ky-group-info-box[b-nqd8d08ymh],
.ky-group-inherit-info[b-nqd8d08ymh] {
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid #cbd6ff;
    border-radius: 9px;
    background: #eef2ff;
    color: #4a5a78;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    line-height: 1.45;
    font-family: 'Titillium Web', sans-serif;
}

.ky-group-info-icon[b-nqd8d08ymh] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #2B3BF5;
    border-radius: 999px;
    color: #2B3BF5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
}

/* =========================================================
   PERMISSION TABLE
   ========================================================= */

.ky-permission-table[b-nqd8d08ymh] {
    border: 1px solid #d9e2f0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 14px;
}

.ky-permission-header[b-nqd8d08ymh],
.ky-permission-row[b-nqd8d08ymh] {
    display: grid;
    grid-template-columns: 1fr 110px 110px 110px;
    align-items: center;
}

.ky-permission-header[b-nqd8d08ymh] {
    height: 36px;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f8;
}

    .ky-permission-header span[b-nqd8d08ymh] {
        text-align: center;
        font-size: 10px;
        font-weight: 900;
        color: #8a9ab8;
        letter-spacing: .3px;
        font-family: 'Titillium Web', sans-serif;
    }

.ky-permission-row[b-nqd8d08ymh] {
    min-height: 38px;
    border-bottom: 1px solid #edf2f8;
}

    .ky-permission-row:last-child[b-nqd8d08ymh] {
        border-bottom: none;
    }

.ky-role-name[b-nqd8d08ymh] {
    margin-left: 12px;
    display: inline-flex;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 6px;
    background: #eef3fb;
    color: #4a5a78;
    font-size: 11px;
    font-weight: 800;
    font-family: 'Titillium Web', sans-serif;
}

.ky-permission-dot[b-nqd8d08ymh] {
    width: 18px;
    height: 18px;
    margin: 0 auto;
    border-radius: 50%;
    border: 1.5px solid #cbd6e6;
    background: #ffffff;
    cursor: pointer;
    position: relative;
}

    .ky-permission-dot.checked[b-nqd8d08ymh] {
        border-color: #2B3BF5;
        background: #2B3BF5;
    }

        .ky-permission-dot.checked[b-nqd8d08ymh]::after {
            content: "✓";
            color: #ffffff;
            font-size: 11px;
            font-weight: 900;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -53%);
        }

/* =========================================================
   UNIT TREE
   ========================================================= */

.ky-unit-title[b-nqd8d08ymh] {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #4a5a78;
    font-family: 'Titillium Web', sans-serif;
}

    .ky-unit-title span[b-nqd8d08ymh] {
        color: #ef4444;
    }

.ky-unit-box[b-nqd8d08ymh] {
    padding: 8px;
    border: 1.5px solid #d9e2f0;
    border-radius: 10px;
    background: #f8fafc;
}

.ky-unit-tree-box[b-nqd8d08ymh] {
    max-height: none !important;
    overflow: visible !important;
}

.ky-group-unit-tree-box[b-nqd8d08ymh] {
    max-height: 190px !important;
    overflow-y: auto !important;
    background: #f8fafc;
}

    .ky-group-unit-tree-box[b-nqd8d08ymh]::-webkit-scrollbar {
        width: 7px;
    }

    .ky-group-unit-tree-box[b-nqd8d08ymh]::-webkit-scrollbar-thumb {
        background: #c7d2e5;
        border-radius: 999px;
    }

.ky-unit-tree-block[b-nqd8d08ymh] {
    width: 100%;
}

.ky-unit-row[b-nqd8d08ymh] {
    height: 28px;
    margin-bottom: 6px;
    border-radius: 7px;
    background: #ffffff;
    color: #4a5a78;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    font-size: 11.5px;
    font-weight: 700;
    font-family: 'Titillium Web', sans-serif;
    cursor: default;
}

    .ky-unit-row:last-child[b-nqd8d08ymh] {
        margin-bottom: 0;
    }

.ky-unit-level-0[b-nqd8d08ymh] {
    font-weight: 800;
}

.ky-unit-level-1[b-nqd8d08ymh] {
    margin-left: 28px;
    width: calc(100% - 28px);
    font-weight: 700;
}

.ky-unit-arrow[b-nqd8d08ymh] {
    width: 18px;
    height: 18px;
    border: none;
    background: transparent;
    color: #8a9ab8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.ky-unit-arrow-placeholder[b-nqd8d08ymh] {
    cursor: default;
}

.ky-unit-arrow .mud-icon-root[b-nqd8d08ymh] {
    font-size: 16px !important;
}

.ky-unit-check[b-nqd8d08ymh] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid #cbd6e6;
    background: #ffffff;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
}

    .ky-unit-check.checked[b-nqd8d08ymh] {
        border-color: #67A37F;
        background: #67A37F;
        color: #ffffff;
    }

    .ky-unit-check .mud-icon-root[b-nqd8d08ymh] {
        font-size: 12px !important;
    }

    .ky-unit-check:hover[b-nqd8d08ymh] {
        border-color: #67A37F;
    }

.ky-unit-name[b-nqd8d08ymh] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =========================================================
   INHERITED ACCESS CARD
   ========================================================= */

.ky-document-access-card[b-nqd8d08ymh] {
    padding: 14px;
    border: 1.5px solid #cbd6ff;
    border-radius: 12px;
    background: #f5f7ff;
}

    .ky-document-access-card .ky-group-inherit-info[b-nqd8d08ymh] {
        margin-bottom: 12px;
    }

.ky-inherit-white-card[b-nqd8d08ymh] {
    padding: 14px 16px;
    border: 1px solid #d9e2f0;
    border-radius: 10px;
    background: #ffffff;
}

.ky-inherit-access-row[b-nqd8d08ymh] {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    gap: 14px;
    min-height: 36px;
    border-bottom: 1px dashed #d9e2f0;
}

    .ky-inherit-access-row:last-child[b-nqd8d08ymh] {
        border-bottom: none;
    }

    .ky-inherit-access-row span[b-nqd8d08ymh] {
        color: #8a9ab8;
        font-size: 11px;
        font-weight: 900;
        letter-spacing: .35px;
        font-family: 'Titillium Web', sans-serif;
    }

    .ky-inherit-access-row div[b-nqd8d08ymh] {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 7px;
    }

    .ky-inherit-access-row strong[b-nqd8d08ymh] {
        height: 24px;
        padding: 0 11px;
        border-radius: 7px;
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        font-size: 11px;
        font-weight: 900;
        font-family: 'Titillium Web', sans-serif;
        white-space: nowrap;
    }

        .ky-inherit-access-row strong.blue[b-nqd8d08ymh] {
            background: #2B3BF5;
        }

        .ky-inherit-access-row strong.cyan[b-nqd8d08ymh] {
            background: #17aebf;
        }

        .ky-inherit-access-row strong.green[b-nqd8d08ymh] {
            background: #67A37F;
        }

    .ky-inherit-access-row em[b-nqd8d08ymh] {
        color: #8a9ab8;
        font-style: normal;
        font-size: 13px;
        font-weight: 800;
    }

/* =========================================================
   SUBSTRUCTURE
   ========================================================= */

.ky-substructure-title[b-nqd8d08ymh] {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .5px;
    color: #8a9ab8;
    font-family: 'Titillium Web', sans-serif;
}

.ky-substructure-text[b-nqd8d08ymh] {
    margin: 0 0 14px;
    font-size: 11.5px;
    line-height: 1.55;
    color: #8a9ab8;
    font-family: 'Titillium Web', sans-serif;
}

.ky-add-group-btn[b-nqd8d08ymh],
.ky-add-document-type-btn[b-nqd8d08ymh] {
    height: 34px;
    padding: 0 12px;
    border: 1.5px solid #cbd6ff;
    border-radius: 8px;
    background: #ffffff;
    color: #2B3BF5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

    .ky-add-group-btn:hover[b-nqd8d08ymh],
    .ky-add-document-type-btn:hover[b-nqd8d08ymh] {
        background: #f5f7ff;
    }

    .ky-add-group-btn .mud-icon-root[b-nqd8d08ymh],
    .ky-add-document-type-btn .mud-icon-root[b-nqd8d08ymh] {
        font-size: 16px !important;
    }

/* =========================================================
   FOOTERS / BUTTONS
   ========================================================= */

.ky-category-detail-footer[b-nqd8d08ymh],
.ky-group-detail-footer[b-nqd8d08ymh] {
    height: 58px;
    padding: 0 16px;
    border-top: 1px solid #d9e2f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: static;
}

.ky-footer-left[b-nqd8d08ymh],
.ky-group-footer-actions[b-nqd8d08ymh] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ky-danger-btn[b-nqd8d08ymh],
.ky-cancel-btn[b-nqd8d08ymh],
.ky-save-btn[b-nqd8d08ymh] {
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.ky-danger-btn[b-nqd8d08ymh] {
    border: 1.5px solid #fecaca;
    background: #ffffff;
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .ky-danger-btn:hover[b-nqd8d08ymh] {
        background: #fff5f5;
    }

    .ky-danger-btn .mud-icon-root[b-nqd8d08ymh] {
        font-size: 15px !important;
    }

.ky-cancel-btn[b-nqd8d08ymh] {
    border: 1.5px solid #d9e2f0;
    background: #ffffff;
    color: #4a5a78;
}

    .ky-cancel-btn:hover[b-nqd8d08ymh] {
        background: #f8fafc;
    }

.ky-save-btn[b-nqd8d08ymh] {
    border: none;
    background: #2B3BF5;
    color: #ffffff;
    min-width: 76px;
}

    .ky-save-btn:hover[b-nqd8d08ymh] {
        background: #2130df;
    }

/* =========================================================
   ACCESS MODE
   ========================================================= */

.ky-group-access-actions[b-nqd8d08ymh] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.ky-access-mode-btn[b-nqd8d08ymh] {
    height: 34px;
    padding: 0 12px;
    border: 1.5px solid #d9e2f0;
    border-radius: 8px;
    background: #ffffff;
    color: #4a5a78;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

    .ky-access-mode-btn.active[b-nqd8d08ymh] {
        border-color: #2B3BF5;
        color: #2B3BF5;
        background: #f5f7ff;
    }

    .ky-access-mode-btn .mud-icon-root[b-nqd8d08ymh] {
        font-size: 16px !important;
    }

/* =========================================================
   MODAL COMMON
   ========================================================= */

.ky-modal-backdrop[b-nqd8d08ymh] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(17, 24, 39, .55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ky-group-modal[b-nqd8d08ymh] {
    width: 440px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .28);
    overflow: hidden;
}

.ky-group-modal-header[b-nqd8d08ymh] {
    height: 58px;
    padding: 0 18px;
    border-bottom: 1px solid #d9e2f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ky-group-modal-title-wrap[b-nqd8d08ymh] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    font-family: 'Titillium Web', sans-serif;
}

.ky-group-modal-icon[b-nqd8d08ymh] {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #fff3d9;
    color: #FEA82F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ky-category-modal-icon[b-nqd8d08ymh] {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #eef0ff;
    color: #2B3BF5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .ky-group-modal-icon .mud-icon-root[b-nqd8d08ymh],
    .ky-category-modal-icon .mud-icon-root[b-nqd8d08ymh] {
        font-size: 17px !important;
    }

.ky-modal-close[b-nqd8d08ymh] {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #8a9ab8;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

    .ky-modal-close:hover[b-nqd8d08ymh] {
        color: #4a5a78;
    }

.ky-group-modal-body[b-nqd8d08ymh] {
    padding: 18px;
}

.ky-modal-form-group[b-nqd8d08ymh] {
    margin-bottom: 16px;
    position: relative;
}

    .ky-modal-form-group:last-child[b-nqd8d08ymh] {
        margin-bottom: 0;
    }

    .ky-modal-form-group label[b-nqd8d08ymh] {
        display: block;
        margin-bottom: 7px;
        color: #4a5a78;
        font-size: 12px;
        font-weight: 900;
        font-family: 'Titillium Web', sans-serif;
    }

        .ky-modal-form-group label span[b-nqd8d08ymh] {
            color: #ef4444;
        }

    .ky-modal-form-group input[b-nqd8d08ymh],
    .ky-modal-form-group textarea[b-nqd8d08ymh] {
        width: 100%;
        border: 1.5px solid #d9e2f0;
        border-radius: 9px;
        background: #ffffff;
        color: #111827;
        font-family: 'Titillium Web', sans-serif;
        font-size: 13px;
        outline: none;
    }

    .ky-modal-form-group input[b-nqd8d08ymh] {
        height: 38px;
        padding: 0 12px;
    }

        .ky-modal-form-group input:disabled[b-nqd8d08ymh] {
            background: #f3f6fb;
            color: #8a9ab8;
            cursor: not-allowed;
            opacity: 1;
        }

    .ky-modal-form-group textarea[b-nqd8d08ymh] {
        min-height: 76px;
        padding: 10px 12px;
        resize: vertical;
    }

        .ky-modal-form-group input:focus[b-nqd8d08ymh],
        .ky-modal-form-group textarea:focus[b-nqd8d08ymh] {
            border-color: #2B3BF5;
            box-shadow: 0 0 0 3px rgba(43, 59, 245, .10);
        }

    .ky-modal-form-group input.ky-input-error[b-nqd8d08ymh] {
        border-color: #e53e3e;
        box-shadow: 0 0 0 3px rgba(229, 62, 62, .10);
    }

.ky-field-error-msg[b-nqd8d08ymh] {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #e53e3e;
    font-weight: 500;
}

.ky-group-modal-footer[b-nqd8d08ymh] {
    height: 58px;
    padding: 0 18px;
    border-top: 1px solid #d9e2f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.ky-modal-cancel-btn[b-nqd8d08ymh],
.ky-modal-add-btn[b-nqd8d08ymh],
.ky-modal-create-btn[b-nqd8d08ymh],
.ky-modal-add-document-type-btn[b-nqd8d08ymh] {
    height: 36px;
    padding: 0 14px;
    border-radius: 9px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.ky-modal-cancel-btn[b-nqd8d08ymh] {
    border: 1.5px solid #d9e2f0;
    background: #ffffff;
    color: #4a5a78;
}

    .ky-modal-cancel-btn:hover[b-nqd8d08ymh] {
        background: #f8fafc;
    }

.ky-modal-add-btn[b-nqd8d08ymh] {
    border: none;
    background: #FEA82F;
    color: #ffffff;
}

    .ky-modal-add-btn:hover[b-nqd8d08ymh] {
        background: #f59a18;
    }

.ky-modal-create-btn[b-nqd8d08ymh] {
    border: none;
    background: #2B3BF5;
    color: #ffffff;
}

    .ky-modal-create-btn:hover[b-nqd8d08ymh] {
        background: #2130df;
    }

.ky-modal-add-document-type-btn[b-nqd8d08ymh] {
    border: none;
    background: #67A37F;
    color: #ffffff;
}

    .ky-modal-add-document-type-btn:hover[b-nqd8d08ymh] {
        background: #578f6d;
    }

.ky-category-modal-status-row[b-nqd8d08ymh] {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

    .ky-category-modal-status-row label[b-nqd8d08ymh] {
        display: block;
        margin-bottom: 4px;
        color: #111827;
        font-size: 12px;
        font-weight: 900;
        font-family: 'Titillium Web', sans-serif;
    }

    .ky-category-modal-status-row p[b-nqd8d08ymh] {
        margin: 0;
        color: #8a9ab8;
        font-size: 11px;
        font-family: 'Titillium Web', sans-serif;
    }

/* =========================================================
   DOCUMENT TYPE MODAL / DETAIL SHARED
   ========================================================= */

.ky-document-type-modal[b-nqd8d08ymh] {
    width: 640px;
    max-width: calc(100vw - 36px);
    max-height: calc(100vh - 48px);
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .30);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ky-document-type-modal-header[b-nqd8d08ymh] {
    height: 68px;
    padding: 0 20px;
    border-bottom: 1px solid #d9e2f0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.ky-document-type-modal-title-wrap[b-nqd8d08ymh] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #111827;
    font-size: 16px;
    font-weight: 900;
    font-family: 'Titillium Web', sans-serif;
}

.ky-document-type-modal-icon[b-nqd8d08ymh] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #e6f3eb;
    color: #67A37F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .ky-document-type-modal-icon .mud-icon-root[b-nqd8d08ymh] {
        font-size: 18px !important;
    }

.ky-document-type-modal-body[b-nqd8d08ymh] {
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px 20px;
    background: #ffffff;
}

    .ky-document-type-modal-body[b-nqd8d08ymh]::-webkit-scrollbar {
        width: 8px;
    }

    .ky-document-type-modal-body[b-nqd8d08ymh]::-webkit-scrollbar-thumb {
        background: #9ca3af;
        border-radius: 999px;
    }

    .ky-document-type-modal-body[b-nqd8d08ymh]::-webkit-scrollbar-track {
        background: #f1f5f9;
    }

.ky-document-type-modal-footer[b-nqd8d08ymh] {
    height: 68px;
    padding: 0 20px;
    border-top: 1px solid #d9e2f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.ky-document-breadcrumb[b-nqd8d08ymh] {
    height: 36px;
    padding: 0 12px;
    margin-bottom: 16px;
    border: 1.5px solid #d9e2f0;
    border-radius: 9px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #71809d;
    font-size: 12px;
    font-weight: 800;
    font-family: 'Titillium Web', sans-serif;
}

    .ky-document-breadcrumb strong[b-nqd8d08ymh] {
        color: #67A37F;
        font-weight: 900;
    }

.ky-document-type-section[b-nqd8d08ymh] {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #d9e2f0;
}

.ky-document-type-section-last[b-nqd8d08ymh] {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ky-document-type-label[b-nqd8d08ymh] {
    display: block;
    margin-bottom: 10px;
    color: #4a5a78;
    font-size: 12px;
    font-weight: 900;
    font-family: 'Titillium Web', sans-serif;
}

    .ky-document-type-label span[b-nqd8d08ymh] {
        color: #ef4444;
    }

.ky-document-purpose-options[b-nqd8d08ymh],
.ky-workflow-options[b-nqd8d08ymh],
.ky-archive-options[b-nqd8d08ymh] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.ky-purpose-btn[b-nqd8d08ymh] {
    height: 38px;
    padding: 0 14px;
    border: 1.5px solid #cbd6e6;
    border-radius: 9px;
    background: #ffffff;
    color: #5f6f8f;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
}

    .ky-purpose-btn.active[b-nqd8d08ymh] {
        border-color: #2B3BF5;
        background: #f5f7ff;
        color: #2B3BF5;
    }

.ky-purpose-radio[b-nqd8d08ymh] {
    width: 15px;
    height: 15px;
    border: 1.5px solid #cbd6e6;
    border-radius: 999px;
    background: #ffffff;
    position: relative;
    flex-shrink: 0;
}

.ky-purpose-btn.active .ky-purpose-radio[b-nqd8d08ymh] {
    border-color: #2B3BF5;
}

    .ky-purpose-btn.active .ky-purpose-radio[b-nqd8d08ymh]::after {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: #2B3BF5;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

.ky-document-type-help[b-nqd8d08ymh] {
    margin: 8px 0 12px;
    color: #8a9ab8;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    font-family: 'Titillium Web', sans-serif;
}

.ky-document-type-info[b-nqd8d08ymh] {
    padding: 11px 13px;
    border: 1px solid #cbd6ff;
    border-radius: 9px;
    background: #eef2ff;
    color: #2B3BF5;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
    font-family: 'Titillium Web', sans-serif;
}

.ky-archive-box[b-nqd8d08ymh] {
    padding: 16px;
    margin-top: 14px;
    border: 1.5px solid #d9e2f0;
    border-radius: 10px;
    background: #f8fafc;
}

    .ky-archive-box h4[b-nqd8d08ymh] {
        margin: 0 0 12px;
        color: #8a9ab8;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: .6px;
        font-family: 'Titillium Web', sans-serif;
    }

.ky-archive-btn[b-nqd8d08ymh],
.ky-workflow-btn[b-nqd8d08ymh] {
    height: 34px;
    padding: 0 15px;
    border: 1.5px solid #cbd6e6;
    border-radius: 9px;
    background: #ffffff;
    color: #5f6f8f;
    font-family: 'Titillium Web', sans-serif;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

    .ky-archive-btn.active[b-nqd8d08ymh],
    .ky-workflow-btn.active[b-nqd8d08ymh] {
        border-color: #2B3BF5;
        background: #f5f7ff;
        color: #2B3BF5;
    }

.ky-archive-box p[b-nqd8d08ymh] {
    margin: 6px 0 0;
    color: #8a9ab8;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Titillium Web', sans-serif;
}

.ky-archive-duration-row[b-nqd8d08ymh] {
    margin: 12px 0 10px;
}

    .ky-archive-duration-row label[b-nqd8d08ymh] {
        display: block;
        margin-bottom: 6px;
        color: #4a5a78;
        font-size: 12px;
        font-weight: 900;
        font-family: 'Titillium Web', sans-serif;
    }

    .ky-archive-duration-row div[b-nqd8d08ymh] {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .ky-archive-duration-row input[b-nqd8d08ymh] {
        width: 92px;
        height: 38px;
        padding: 0 11px;
        border: 1.5px solid #d9e2f0;
        border-radius: 9px;
        background: #ffffff;
        outline: none;
        color: #111827;
        font-size: 13px;
        font-family: 'Titillium Web', sans-serif;
    }

        .ky-archive-duration-row input:focus[b-nqd8d08ymh] {
            border-color: #2B3BF5;
            box-shadow: 0 0 0 3px rgba(43, 59, 245, .10);
        }

    .ky-archive-duration-row span[b-nqd8d08ymh] {
        color: #4a5a78;
        font-size: 12px;
        font-weight: 900;
        font-family: 'Titillium Web', sans-serif;
    }

/* =========================================================
   APPROVER DROPDOWN
   ========================================================= */

.ky-approver-field[b-nqd8d08ymh] {
    position: relative;
    z-index: 20;
}

.ky-approver-dropdown[b-nqd8d08ymh] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 50;
    max-height: 190px;
    overflow-y: auto;
    border: 1.5px solid #d9e2f0;
    border-radius: 9px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .15);
}

    .ky-approver-dropdown[b-nqd8d08ymh]::-webkit-scrollbar {
        width: 7px;
    }

    .ky-approver-dropdown[b-nqd8d08ymh]::-webkit-scrollbar-thumb {
        background: #a8b3c7;
        border-radius: 999px;
    }

    .ky-approver-dropdown button[b-nqd8d08ymh] {
        width: 100%;
        padding: 10px 14px;
        border: none;
        border-bottom: 1px solid #edf2f8;
        background: #ffffff;
        text-align: left;
        cursor: pointer;
        font-family: 'Titillium Web', sans-serif;
    }

        .ky-approver-dropdown button:last-child[b-nqd8d08ymh] {
            border-bottom: none;
        }

        .ky-approver-dropdown button:hover[b-nqd8d08ymh] {
            background: #f8fafc;
        }

    .ky-approver-dropdown strong[b-nqd8d08ymh] {
        display: block;
        color: #111827;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.25;
    }

    .ky-approver-dropdown span[b-nqd8d08ymh] {
        display: block;
        margin-top: 3px;
        color: #8a9ab8;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.25;
    }

/* =========================================================
   DOCUMENT TYPE SWITCH / FIELDS
   ========================================================= */

.ky-document-type-switch-row[b-nqd8d08ymh] {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

    .ky-document-type-switch-row strong[b-nqd8d08ymh] {
        display: block;
        color: #111827;
        font-size: 14px;
        font-weight: 900;
        font-family: 'Titillium Web', sans-serif;
    }

    .ky-document-type-switch-row p[b-nqd8d08ymh] {
        margin: 4px 0 0;
        color: #8a9ab8;
        font-size: 12px;
        font-weight: 700;
        font-family: 'Titillium Web', sans-serif;
    }

.ky-document-fields-header[b-nqd8d08ymh] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

    .ky-document-fields-header h4[b-nqd8d08ymh] {
        margin: 0 0 12px;
        color: #8a9ab8;
        font-size: 13px;
        font-weight: 900;
        letter-spacing: .55px;
        font-family: 'Titillium Web', sans-serif;
    }

        .ky-document-fields-header h4 small[b-nqd8d08ymh] {
            font-size: 10px;
            font-weight: 900;
        }

    .ky-document-fields-header p[b-nqd8d08ymh] {
        margin: 0;
        color: #8a9ab8;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.45;
        font-family: 'Titillium Web', sans-serif;
    }

.ky-add-field-btn[b-nqd8d08ymh] {
    height: 36px;
    min-width: 142px;
    padding: 0 14px;
    border: 1.5px solid #cbd6ff;
    border-radius: 9px;
    background: #f5f7ff;
    color: #2B3BF5;
    font-family: 'Titillium Web', sans-serif;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

    .ky-add-field-btn:hover[b-nqd8d08ymh] {
        background: #eef0ff;
    }

.ky-empty-field-text[b-nqd8d08ymh] {
    margin-top: 26px;
    padding: 10px;
    text-align: center;
    color: #8a9ab8;
    font-size: 13px;
    font-weight: 700;
    font-style: italic;
    font-family: 'Titillium Web', sans-serif;
}

.ky-field-draft-list[b-nqd8d08ymh] {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ky-field-draft-item[b-nqd8d08ymh] {
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #d9e2f0;
    border-radius: 9px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: 'Titillium Web', sans-serif;
}

    .ky-field-draft-item strong[b-nqd8d08ymh] {
        color: #111827;
        font-size: 12px;
        font-weight: 900;
    }

    .ky-field-draft-item span[b-nqd8d08ymh] {
        color: #8a9ab8;
        font-size: 11px;
        font-weight: 800;
    }

.ky-document-access-title[b-nqd8d08ymh] {
    margin: 0 0 12px;
    color: #4a5a78;
    font-size: 13px;
    font-weight: 900;
    font-family: 'Titillium Web', sans-serif;
}

.ky-access-inner-title[b-nqd8d08ymh] {
    margin-top: 8px;
}

.ky-document-status-title[b-nqd8d08ymh] {
    margin: 0 0 14px;
    color: #8a9ab8;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .55px;
    font-family: 'Titillium Web', sans-serif;
}

/* =========================================================
   FIELD MODAL
   ========================================================= */

.ky-field-modal-backdrop[b-nqd8d08ymh] {
    z-index: 10001;
}

.ky-field-modal[b-nqd8d08ymh] {
    width: 430px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 56px);
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .30);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ky-field-modal-header[b-nqd8d08ymh] {
    height: 64px;
    padding: 0 18px;
    border-bottom: 1px solid #d9e2f0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.ky-field-modal-title-wrap[b-nqd8d08ymh] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    font-family: 'Titillium Web', sans-serif;
}

.ky-field-modal-icon[b-nqd8d08ymh] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #e6f3eb;
    color: #67A37F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .ky-field-modal-icon .mud-icon-root[b-nqd8d08ymh] {
        font-size: 18px !important;
    }

.ky-field-modal-body[b-nqd8d08ymh] {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    background: #ffffff;
}

    .ky-field-modal-body[b-nqd8d08ymh]::-webkit-scrollbar {
        width: 7px;
    }

    .ky-field-modal-body[b-nqd8d08ymh]::-webkit-scrollbar-thumb {
        background: #a8b3c7;
        border-radius: 999px;
    }

.ky-field-modal-footer[b-nqd8d08ymh] {
    height: 64px;
    padding: 0 18px;
    border-top: 1px solid #d9e2f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.ky-field-form-group[b-nqd8d08ymh] {
    margin-bottom: 16px;
}

    .ky-field-form-group label[b-nqd8d08ymh] {
        display: block;
        margin-bottom: 7px;
        color: #4a5a78;
        font-size: 12px;
        font-weight: 900;
        font-family: 'Titillium Web', sans-serif;
    }

        .ky-field-form-group label span[b-nqd8d08ymh] {
            color: #ef4444;
        }

.ky-field-option-row[b-nqd8d08ymh] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ky-field-option-btn[b-nqd8d08ymh] {
    height: 34px;
    padding: 0 15px;
    border: 1.5px solid #cbd6e6;
    border-radius: 9px;
    background: #ffffff;
    color: #5f6f8f;
    font-family: 'Titillium Web', sans-serif;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

    .ky-field-option-btn.active[b-nqd8d08ymh] {
        border-color: #2B3BF5;
        background: #f5f7ff;
        color: #2B3BF5;
    }

.ky-option-chip-box[b-nqd8d08ymh] {
    min-height: 44px;
    padding: 8px 10px;
    border: 1.5px solid #d9e2f0;
    border-radius: 9px;
    background: #f3f6fb;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.ky-option-chip[b-nqd8d08ymh] {
    height: 26px;
    padding: 0 8px 0 10px;
    border-radius: 8px;
    background: #eef0ff;
    color: #2B3BF5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    font-family: 'Titillium Web', sans-serif;
}

    .ky-option-chip button[b-nqd8d08ymh] {
        width: 16px;
        height: 16px;
        border: none;
        border-radius: 50%;
        background: transparent;
        color: #2B3BF5;
        padding: 0;
        line-height: 1;
        cursor: pointer;
        font-size: 14px;
    }

        .ky-option-chip button:hover[b-nqd8d08ymh] {
            background: rgba(43, 59, 245, .10);
        }

.ky-field-option-input[b-nqd8d08ymh] {
    margin-top: 9px;
}

.ky-field-help-line[b-nqd8d08ymh] {
    margin: 7px 0 0;
    color: #8a9ab8;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Titillium Web', sans-serif;
}

.ky-field-switch-row[b-nqd8d08ymh] {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 14px;
}

    .ky-field-switch-row strong[b-nqd8d08ymh] {
        display: block;
        color: #111827;
        font-size: 14px;
        font-weight: 900;
        font-family: 'Titillium Web', sans-serif;
    }

    .ky-field-switch-row p[b-nqd8d08ymh] {
        margin: 4px 0 0;
        color: #8a9ab8;
        font-size: 12px;
        font-weight: 700;
        font-family: 'Titillium Web', sans-serif;
    }

.ky-field-save-btn[b-nqd8d08ymh] {
    height: 36px;
    padding: 0 15px;
    border: none;
    border-radius: 9px;
    background: #67A37F;
    color: #ffffff;
    font-family: 'Titillium Web', sans-serif;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

    .ky-field-save-btn:hover[b-nqd8d08ymh] {
        background: #578f6d;
    }

/* =========================================================
   TOAST
   ========================================================= */

.ky-toast[b-nqd8d08ymh] {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 10000;
    min-width: 300px;
    max-width: calc(100vw - 32px);
    min-height: 54px;
    padding: 0 14px;
    border-radius: 12px;
    background: #111827;
    color: #ffffff;
    box-shadow: 0 18px 60px rgba(15, 23, 42, .35);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Titillium Web', sans-serif;
}

.ky-toast-icon[b-nqd8d08ymh] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 999px;
    color: #22c55e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .ky-toast-icon .mud-icon-root[b-nqd8d08ymh] {
        font-size: 20px !important;
    }

.ky-toast-text[b-nqd8d08ymh] {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ky-toast-close[b-nqd8d08ymh] {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

    .ky-toast-close:hover[b-nqd8d08ymh] {
        color: #ffffff;
    }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 960px) {
    .ky-body[b-nqd8d08ymh] {
        padding: 14px 16px 18px;
    }

    .ky-page-layout[b-nqd8d08ymh] {
        flex-direction: column;
    }

    .ky-tree-panel[b-nqd8d08ymh],
    .ky-detail-panel[b-nqd8d08ymh] {
        width: 100%;
        min-width: 0;
        max-width: none;
        height: auto;
        min-height: 420px;
    }

    .ky-tree-body[b-nqd8d08ymh] {
        max-height: 420px;
    }

    .ky-detail-empty[b-nqd8d08ymh] {
        min-height: 420px;
    }

    .ky-permission-header[b-nqd8d08ymh],
    .ky-permission-row[b-nqd8d08ymh] {
        grid-template-columns: 1fr 80px 80px 80px;
    }

    .ky-category-detail-footer[b-nqd8d08ymh],
    .ky-group-detail-footer[b-nqd8d08ymh] {
        gap: 10px;
    }

    .ky-inherit-access-row[b-nqd8d08ymh] {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 8px 0;
    }

    .ky-document-type-modal[b-nqd8d08ymh] {
        width: calc(100vw - 28px);
        max-height: calc(100vh - 28px);
    }

    .ky-document-fields-header[b-nqd8d08ymh] {
        flex-direction: column;
    }

    .ky-add-field-btn[b-nqd8d08ymh] {
        width: 100%;
    }

    .ky-field-modal[b-nqd8d08ymh] {
        width: calc(100vw - 28px);
        max-height: calc(100vh - 28px);
    }

    .ky-topbar-date[b-nqd8d08ymh] {
        display: none !important;
    }

    .ky-role-badge[b-nqd8d08ymh] {
        display: none;
    }
}
/* /Components/Pages/Admin/KullaniciYonetimi.razor.rz.scp.css */
/* ===== Kullanıcı Yönetimi — ky- prefix ===== */

/* ── Page layout (yh- classes scoped to this component) ── */
.yh-page[b-6inmhi0ks1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bg);
    overflow: hidden;
}

.yh-topbar[b-6inmhi0ks1] {
    height: 64px;
    flex-shrink: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.yh-topbar-title[b-6inmhi0ks1] {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .2px;
    color: var(--text);
}

.yh-topbar-right[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.yh-date[b-6inmhi0ks1] {
    font-size: 12px;
    color: var(--text3);
}

.yh-role-badge[b-6inmhi0ks1] {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    background: var(--cambridge-light);
    color: var(--cambridge);
    letter-spacing: .3px;
}

.yh-signout[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    text-decoration: none;
    transition: .15s;
    font-family: 'Titillium Web', sans-serif;
}

    .yh-signout:hover[b-6inmhi0ks1] {
        background: var(--red-bg);
        color: var(--red);
        border-color: #f5b8b8;
    }

.yh-scroll[b-6inmhi0ks1] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
}

/* ── New user button ── */
.btn-new-user[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

    .btn-new-user:hover[b-6inmhi0ks1] {
        background: #1d4ed8;
    }

/* ── Two-column layout ── */
.ky-layout[b-6inmhi0ks1] {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 1.25rem;
}

/* ══════════════════════════
   LIST PANEL
══════════════════════════ */

.ky-list-panel[b-6inmhi0ks1] {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.ky-list-header[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.ky-list-title[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.ky-search-wrap[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    color: #9ca3af;
}

.ky-search-input[b-6inmhi0ks1] {
    border: none;
    outline: none;
    flex: 1;
    font-size: 0.85rem;
    color: var(--text);
    background: transparent;
    font-family: inherit;
}

.ky-filter-row[b-6inmhi0ks1] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
}

.ky-filter-select[b-6inmhi0ks1] {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    font-size: 0.8rem;
    color: var(--text2);
    background: #fff;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

.ky-user-list[b-6inmhi0ks1] {
    overflow-y: auto;
    max-height: 530px;
}

.ky-user-card[b-6inmhi0ks1] {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background 0.12s;
    border-left: 3px solid transparent;
}

    .ky-user-card:hover[b-6inmhi0ks1] { background: #f9fafb; }
    .ky-user-card.selected[b-6inmhi0ks1] { background: #eff6ff; border-left-color: #2563eb; }

/* ── Avatars ── */
.ky-avatar[b-6inmhi0ks1] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #6366f1;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .ky-avatar.lg[b-6inmhi0ks1] { width: 44px; height: 44px; font-size: 0.82rem; }

.av-ay[b-6inmhi0ks1] { background: #4f46e5; }
.av-ak[b-6inmhi0ks1] { background: #16a34a; }
.av-md[b-6inmhi0ks1] { background: #ea580c; }
.av-fc[b-6inmhi0ks1] { background: #d97706; }
.av-ms[b-6inmhi0ks1] { background: #7c3aed; }
.av-za[b-6inmhi0ks1] { background: #0891b2; }
.av-ko[b-6inmhi0ks1] { background: #2563eb; }
.av-ey[b-6inmhi0ks1] { background: #db2777; }
.av-ba[b-6inmhi0ks1] { background: #059669; }
.av-so[b-6inmhi0ks1] { background: #6b7280; }

/* ── Card info ── */
.ky-card-info[b-6inmhi0ks1] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.ky-card-name[b-6inmhi0ks1] {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ky-card-email[b-6inmhi0ks1] { font-size: 0.74rem; color: var(--text3); }

.ky-dept-tags[b-6inmhi0ks1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.3rem;
}

.dept-tag[b-6inmhi0ks1] {
    font-size: 0.69rem;
    padding: 0.15rem 0.5rem;
    background: #f3f4f6;
    color: var(--text2);
    border-radius: 5px;
    font-weight: 500;
}

/* ── Card meta ── */
.ky-card-meta[b-6inmhi0ks1] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    flex-shrink: 0;
}

.ky-role-pill[b-6inmhi0ks1] {
    font-size: 0.69rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    white-space: nowrap;
}

    .ky-role-pill.personel[b-6inmhi0ks1] { background: #dbeafe; color: #2563eb; }
    .ky-role-pill.yonetici[b-6inmhi0ks1] { background: #ede9fe; color: #7c3aed; }
    .ky-role-pill.denetci[b-6inmhi0ks1]  { background: #fef3c7; color: #b45309; }
    .ky-role-pill.sysadmin[b-6inmhi0ks1] { background: #d1fae5; color: #059669; }

.ky-status-pill[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
}

    .ky-status-pill.active[b-6inmhi0ks1]  { color: #16a34a; }
    .ky-status-pill.passive[b-6inmhi0ks1] { color: #9ca3af; }

.status-dot[b-6inmhi0ks1] {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

    .status-dot.active[b-6inmhi0ks1]   { background: #22c55e; }
    .status-dot.inactive[b-6inmhi0ks1] { background: #d1d5db; }

.ms-auto[b-6inmhi0ks1] { margin-left: auto; }

/* ══════════════════════════
   DETAIL PANEL
══════════════════════════ */

.ky-detail-panel[b-6inmhi0ks1] {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.ky-empty-state[b-6inmhi0ks1] {
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.ky-empty-content[b-6inmhi0ks1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
    padding: 2rem;
}

.ky-empty-icon[b-6inmhi0ks1] {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.ky-empty-title[b-6inmhi0ks1] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.ky-empty-sub[b-6inmhi0ks1] {
    font-size: 0.82rem;
    color: var(--text3);
    line-height: 1.5;
}

.ky-detail-header[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.ky-detail-name[b-6inmhi0ks1] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.ky-section[b-6inmhi0ks1] {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.ky-section-label[b-6inmhi0ks1] {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.9px;
    color: var(--text3);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.ky-field[b-6inmhi0ks1] { margin-bottom: 0.85rem; }
    .ky-field:last-child[b-6inmhi0ks1] { margin-bottom: 0; }

.ky-field-label[b-6inmhi0ks1] {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text2);
    margin-bottom: 0.4rem;
}

.req[b-6inmhi0ks1] { color: #ef4444; }

.ky-input[b-6inmhi0ks1] {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--text2);
    background: #f9fafb;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    cursor: default;
}

.ky-select[b-6inmhi0ks1] {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--text);
    background: #fff;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    cursor: pointer;
    appearance: auto;
}

    .ky-select:focus[b-6inmhi0ks1] { border-color: #2563eb; }

/* ── Birim grid ── */
.ky-birim-grid[b-6inmhi0ks1] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.ky-birim-item[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--text2);
    cursor: pointer;
    transition: all 0.12s;
    user-select: none;
}

    .ky-birim-item input[type="checkbox"][b-6inmhi0ks1] { cursor: pointer; accent-color: #2563eb; }

    .ky-birim-item.checked[b-6inmhi0ks1] {
        border-color: #2563eb;
        background: #eff6ff;
        color: #2563eb;
        font-weight: 600;
    }

/* ── Dummy status toggle ── */
.ky-status-row[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ky-status-title[b-6inmhi0ks1] {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.ky-status-sub[b-6inmhi0ks1] { font-size: 0.75rem; color: var(--text3); }

.ky-toggle[b-6inmhi0ks1] {
    width: 46px;
    height: 26px;
    border-radius: 14px;
    background: #d1d5db;
    position: relative;
    flex-shrink: 0;
    cursor: default;
    pointer-events: none;
}

    .ky-toggle[b-6inmhi0ks1]::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #fff;
        top: 3px;
        left: 3px;
        box-shadow: 0 1px 3px rgba(0,0,0,.2);
        transition: transform .2s;
    }

    .ky-toggle.on[b-6inmhi0ks1] { background: #2563eb; }
    .ky-toggle.on[b-6inmhi0ks1]::after { transform: translateX(20px); }

/* ── Footer actions ── */
.ky-detail-footer[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
}

.ky-footer-right[b-6inmhi0ks1] { display: flex; gap: 0.65rem; }

.btn-sil[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    background: #fff;
    border: 1.5px solid #fca5a5;
    border-radius: 8px;
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

    .btn-sil:hover[b-6inmhi0ks1] { background: #fef2f2; }

.btn-iptal[b-6inmhi0ks1] {
    padding: 0.6rem 1.1rem;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    color: var(--text2);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

    .btn-iptal:hover[b-6inmhi0ks1] { background: #f9fafb; }

.btn-kaydet[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    background: #2563eb;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

    .btn-kaydet:hover[b-6inmhi0ks1] { background: #1d4ed8; }

/* ══════════════════════════
   STATS ROW
══════════════════════════ */

.ky-stats-row[b-6inmhi0ks1] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.stat-card[b-6inmhi0ks1] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

    .stat-card[b-6inmhi0ks1]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
    }

    .stat-card:nth-child(1)[b-6inmhi0ks1]::before { background: #2563eb; }
    .stat-card:nth-child(2)[b-6inmhi0ks1]::before { background: #16a34a; }
    .stat-card:nth-child(3)[b-6inmhi0ks1]::before { background: #ef4444; }
    .stat-card:nth-child(4)[b-6inmhi0ks1]::before { background: #d97706; }

.stat-icon-wrap[b-6inmhi0ks1] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.2rem;
    flex-shrink: 0;
}

    .stat-icon-wrap.sv-blue[b-6inmhi0ks1]   { background: #dbeafe; color: #2563eb; }
    .stat-icon-wrap.sv-green[b-6inmhi0ks1]  { background: #dcfce7; color: #16a34a; }
    .stat-icon-wrap.sv-red[b-6inmhi0ks1]    { background: #fee2e2; color: #ef4444; }
    .stat-icon-wrap.sv-yellow[b-6inmhi0ks1] { background: #fef9c3; color: #d97706; }

.stat-label[b-6inmhi0ks1] {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    color: var(--text3);
    text-transform: uppercase;
}

.stat-value[b-6inmhi0ks1] {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
}

    .stat-value.sv-blue[b-6inmhi0ks1]   { color: #2563eb; }
    .stat-value.sv-green[b-6inmhi0ks1]  { color: #16a34a; }
    .stat-value.sv-red[b-6inmhi0ks1]    { color: #ef4444; }
    .stat-value.sv-yellow[b-6inmhi0ks1] { color: #d97706; }

.stat-sub[b-6inmhi0ks1] { font-size: 0.72rem; color: var(--text3); }

/* ══════════════════════════
   NEW USER MODAL
══════════════════════════ */

.modal-overlay[b-6inmhi0ks1] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-card[b-6inmhi0ks1] {
    background: #fff;
    border-radius: 16px;
    width: 520px;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: modalSlideIn-b-6inmhi0ks1 0.2s ease-out;
}

@keyframes modalSlideIn-b-6inmhi0ks1 {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header-left[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text3);
}

.modal-title[b-6inmhi0ks1] {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.modal-close[b-6inmhi0ks1] {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: var(--text3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.12s;
}

    .modal-close:hover[b-6inmhi0ks1] {
        background: #f3f4f6;
        color: var(--text);
    }

.modal-body[b-6inmhi0ks1] {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.modal-input[b-6inmhi0ks1] {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--text);
    background: #fff;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

    .modal-input[b-6inmhi0ks1]::placeholder {
        color: #9ca3af;
    }

    .modal-input:focus[b-6inmhi0ks1] {
        border-color: #2563eb;
    }

.modal-footer[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    background: #f9fafb;
}

/* ── Rol uyarısı ── */
.ky-rol-warning[b-6inmhi0ks1] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 13px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    color: #92400e;
    font-size: 12.5px;
    line-height: 1.5;
    margin-top: 6px;
}

.ky-rol-warning svg[b-6inmhi0ks1] {
    flex-shrink: 0;
    margin-top: 1px;
    color: #d97706;
}

/* ── Birim listesi ── */
.ky-birim-list[b-6inmhi0ks1] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ky-birim-row[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.ky-birim-name[b-6inmhi0ks1] {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

.ky-birim-code[b-6inmhi0ks1] {
    font-size: 11px;
    font-weight: 600;
    color: #4f46e5;
    background: #ede9fe;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.ky-birim-empty-state[b-6inmhi0ks1] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    color: #9ca3af;
    font-size: 13px;
}

.ky-birim-empty-state svg[b-6inmhi0ks1] {
    flex-shrink: 0;
    color: #c4c9d4;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .ky-layout[b-6inmhi0ks1] { grid-template-columns: 320px 1fr; }
}

@media (max-width: 1024px) {
    .ky-layout[b-6inmhi0ks1] { grid-template-columns: 1fr; }
    .ky-stats-row[b-6inmhi0ks1] { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .ky-stats-row[b-6inmhi0ks1] { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }

    .stat-card[b-6inmhi0ks1] {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .stat-card .stat-icon-wrap[b-6inmhi0ks1] { margin-bottom: 0; }

    .stat-card-body[b-6inmhi0ks1] { display: flex; flex-direction: column; gap: 2px; }

    .stat-value[b-6inmhi0ks1] { font-size: 1.35rem; }

    .stat-label[b-6inmhi0ks1] { font-size: 0.58rem; letter-spacing: 0.5px; }

    .stat-sub[b-6inmhi0ks1] { font-size: 0.65rem; }
}

@media (max-width: 480px) {
    .yh-scroll[b-6inmhi0ks1] { padding: 12px; }
    .ky-stats-row[b-6inmhi0ks1] { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }

    .stat-card[b-6inmhi0ks1] { padding: 0.65rem 0.75rem; gap: 0.5rem; }

    .stat-icon-wrap[b-6inmhi0ks1] { width: 28px; height: 28px; border-radius: 7px; }

    .stat-value[b-6inmhi0ks1] { font-size: 1.2rem; }
}
/* /Components/Pages/Approval/OnayGecmisi.razor.rz.scp.css */
/* ── Layout ──────────────────────────────────────────────── */
.og-page[b-okmqm3hwgk] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    overflow: hidden;
}

.og-topbar[b-okmqm3hwgk] {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0 28px;
    height: 80px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.og-topbar-title[b-okmqm3hwgk] { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: .2px; }

.og-topbar-right[b-okmqm3hwgk] { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.og-date[b-okmqm3hwgk] { font-size: 12px; color: var(--text3); }

.og-role-badge[b-okmqm3hwgk] {
    padding: 4px 14px; border-radius: 20px; font-size: 11px; font-weight: 700;
    background: var(--cambridge-light); color: var(--cambridge);
}

.og-signout[b-okmqm3hwgk] {
    display: flex; align-items: center; gap: 6px; padding: 7px 14px;
    border-radius: var(--radius); border: 1.5px solid var(--border);
    background: transparent; font-family: inherit; font-size: 12px; font-weight: 600;
    color: var(--text2); cursor: pointer; text-decoration: none; transition: .15s;
}
.og-signout:hover[b-okmqm3hwgk] { background: var(--red-bg); color: var(--red); border-color: #f5b8b8; }

.og-main[b-okmqm3hwgk] { flex: 1; overflow-y: auto; padding: 24px 28px; background: var(--bg); }

/* ── Panel ───────────────────────────────────────────────── */
.og-panel[b-okmqm3hwgk] {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.og-panel-header[b-okmqm3hwgk] {
    display: flex; align-items: center; gap: 10px;
    padding: 16px 20px; border-bottom: 1px solid var(--border);
}

.og-panel-title[b-okmqm3hwgk] { font-size: 14px; font-weight: 700; flex: 1; }

.og-panel-count[b-okmqm3hwgk] { font-size: 12px; color: var(--text3); font-weight: 600; }

/* ── Controls ────────────────────────────────────────────── */
.og-controls[b-okmqm3hwgk] {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px; border-bottom: 1px solid var(--border);
    background: #fff; flex-wrap: wrap;
}

.og-search-wrap[b-okmqm3hwgk] {
    position: relative; flex: 1; min-width: 180px;
}
.og-search-wrap svg[b-okmqm3hwgk] {
    position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
    color: var(--text3); pointer-events: none;
}
.og-search-in[b-okmqm3hwgk] {
    width: 100%; height: 38px; border: 1.5px solid var(--border);
    border-radius: var(--radius); padding: 0 12px 0 34px;
    font-family: inherit; font-size: 13px; color: var(--text);
    outline: none; background: #f7f9ff; transition: .15s;
}
.og-search-in:focus[b-okmqm3hwgk] { border-color: var(--palatinate); background: #fff; box-shadow: 0 0 0 3px rgba(43,59,245,.1); }
.og-search-in[b-okmqm3hwgk]::placeholder { color: var(--text3); }

.og-ctrl-select[b-okmqm3hwgk] {
    height: 38px; border: 1.5px solid var(--border); border-radius: var(--radius);
    padding: 0 28px 0 10px; font-family: inherit; font-size: 13px;
    color: var(--text2); outline: none; cursor: pointer; background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%238a9ab8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 9px center;
    transition: .15s; font-weight: 600;
}
.og-ctrl-select:focus[b-okmqm3hwgk] { border-color: var(--palatinate); }

.og-date-range[b-okmqm3hwgk] { display: flex; align-items: center; gap: 6px; }
.og-date-range span[b-okmqm3hwgk] { font-size: 11px; color: var(--text3); font-weight: 600; }

.og-ctrl-date[b-okmqm3hwgk] {
    height: 38px; border: 1.5px solid var(--border); border-radius: var(--radius);
    padding: 0 10px; font-family: inherit; font-size: 12px; color: var(--text2);
    outline: none; background: #fff; transition: .15s;
}
.og-ctrl-date:focus[b-okmqm3hwgk] { border-color: var(--palatinate); }

.og-btn-clear[b-okmqm3hwgk] {
    height: 38px; padding: 0 14px; border-radius: var(--radius);
    border: 1.5px solid var(--border); background: #fff;
    font-family: inherit; font-size: 12px; font-weight: 600;
    color: var(--text3); cursor: pointer; white-space: nowrap; transition: .15s;
}
.og-btn-clear:hover[b-okmqm3hwgk] { background: var(--red-bg); color: var(--red); border-color: #f5b8b8; }

/* ── Table ───────────────────────────────────────────────── */
.og-table-wrap[b-okmqm3hwgk] { overflow-x: auto; }

.og-doc-table[b-okmqm3hwgk] { width: 100%; border-collapse: collapse; }

.og-doc-table th[b-okmqm3hwgk] {
    padding: 10px 16px; text-align: left; font-size: 11px; font-weight: 700;
    color: var(--text3); background: var(--gray-bg); border-bottom: 1px solid var(--border);
    white-space: nowrap; letter-spacing: .6px; text-transform: uppercase;
}

.og-th-sortable[b-okmqm3hwgk] { cursor: pointer; user-select: none; }
.og-th-sortable:hover[b-okmqm3hwgk] { color: var(--palatinate); }

.og-sort-arrow[b-okmqm3hwgk] { opacity: .6; margin-left: 4px; }

.og-doc-table td[b-okmqm3hwgk] {
    padding: 11px 16px; font-size: 13px; border-bottom: 1px solid var(--border);
    vertical-align: middle; font-weight: 400;
}

.og-doc-table tr:last-child td[b-okmqm3hwgk] { border-bottom: none; }
.og-doc-table tbody tr:hover td[b-okmqm3hwgk] { background: var(--gray-bg); cursor: pointer; }
.og-doc-table tr.og-tr-sel td[b-okmqm3hwgk] { background: var(--palatinate-light); }
.og-doc-table tr.og-tr-sel:hover td[b-okmqm3hwgk] { background: #dfe5fe; }

.og-dc[b-okmqm3hwgk] { display: flex; align-items: flex-start; gap: 10px; }

.og-di[b-okmqm3hwgk] {
    width: 30px; height: 30px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700; flex-shrink: 0;
}

.fmt-pdf[b-okmqm3hwgk]   { background: #fdecea; color: var(--red); }
.fmt-docx[b-okmqm3hwgk]  { background: var(--cambridge-light); color: var(--cambridge); }
.fmt-xlsx[b-okmqm3hwgk]  { background: var(--palatinate-light); color: var(--palatinate); }
.fmt-other[b-okmqm3hwgk] { background: var(--gray-bg); color: var(--text3); }

.og-dn[b-okmqm3hwgk] { font-weight: 600; }

.og-tags-inline[b-okmqm3hwgk] { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }

.og-tag-sm[b-okmqm3hwgk] {
    padding: 1px 7px; border-radius: 20px;
    background: var(--palatinate-light); color: var(--palatinate);
    font-size: 10px; font-weight: 700;
}

.og-td2[b-okmqm3hwgk] { color: var(--text2); }
.og-td3[b-okmqm3hwgk] { color: var(--text3); font-weight: 600; white-space: nowrap; }

.og-ver[b-okmqm3hwgk] {
    font-size: 11px; font-weight: 700; color: var(--palatinate);
    background: var(--palatinate-light); padding: 2px 9px; border-radius: 20px;
}

/* Status badges */
.og-status[b-okmqm3hwgk] {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 10px; border-radius: 20px; font-size: 11px;
    font-weight: 700; white-space: nowrap;
}
.og-status[b-okmqm3hwgk]::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.og-s-approved[b-okmqm3hwgk] { background: var(--cambridge-light); color: var(--cambridge); }
.og-s-rejected[b-okmqm3hwgk] { background: var(--red-bg); color: var(--red); }

/* Decision count badge */
.og-dec-count[b-okmqm3hwgk] {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 20px;
    background: var(--gray-bg); border: 1px solid var(--border);
    font-size: 10px; font-weight: 700; color: var(--text2);
}
.og-dec-multi[b-okmqm3hwgk] { background: var(--orange-web-light); border-color: var(--orange-web); color: #c47600; }

.og-btn-view[b-okmqm3hwgk] {
    height: 30px; padding: 0 12px; border-radius: var(--radius);
    border: 1.5px solid var(--border); background: #fff;
    font-family: inherit; font-size: 12px; font-weight: 600;
    color: var(--text2); cursor: pointer; display: inline-flex;
    align-items: center; gap: 5px; transition: .15s; white-space: nowrap;
}
.og-btn-view:hover[b-okmqm3hwgk] { border-color: var(--palatinate); color: var(--palatinate); background: var(--palatinate-light); }

/* Empty state */
.og-empty-state[b-okmqm3hwgk] {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 56px 20px; text-align: center; color: var(--text3);
}
.og-empty-state svg[b-okmqm3hwgk] { opacity: .28; margin-bottom: 14px; }
.og-empty-state p[b-okmqm3hwgk] { font-size: 14px; margin-bottom: 5px; color: var(--text2); font-weight: 700; }
.og-empty-state span[b-okmqm3hwgk] { font-size: 12px; }

/* ── Pagination ──────────────────────────────────────────── */
.og-list-footer[b-okmqm3hwgk] {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px; border-top: 1px solid var(--border);
    background: #f7f9ff; flex-wrap: wrap; gap: 8px;
}

.og-list-status[b-okmqm3hwgk] { font-size: 12px; color: var(--text3); }
.og-list-status strong[b-okmqm3hwgk] { color: var(--text2); font-weight: 700; }

.og-pagination[b-okmqm3hwgk] { display: flex; align-items: center; gap: 4px; }

.og-pg-btn[b-okmqm3hwgk] {
    display: flex; align-items: center; gap: 5px; height: 32px; padding: 0 14px;
    border-radius: var(--radius); border: 1.5px solid var(--border);
    background: #fff; font-family: inherit; font-size: 12px; font-weight: 600;
    color: var(--text2); cursor: pointer; transition: .15s;
}
.og-pg-btn:hover:not(:disabled)[b-okmqm3hwgk] { background: var(--gray-bg); border-color: var(--palatinate); color: var(--palatinate); }
.og-pg-btn:disabled[b-okmqm3hwgk] { opacity: .38; cursor: not-allowed; }

.og-pg-pages[b-okmqm3hwgk] { display: flex; align-items: center; gap: 3px; }

.og-pg-num[b-okmqm3hwgk] {
    width: 32px; height: 32px; border-radius: var(--radius);
    border: 1.5px solid transparent; background: transparent;
    font-family: inherit; font-size: 12px; font-weight: 600;
    color: var(--text2); cursor: pointer; display: flex;
    align-items: center; justify-content: center; transition: .15s;
}
.og-pg-num:hover[b-okmqm3hwgk] { background: var(--gray-bg); }
.og-pg-num.active[b-okmqm3hwgk] { background: var(--palatinate); color: #fff; border-color: var(--palatinate); font-weight: 700; }

.og-pg-ellipsis[b-okmqm3hwgk] { padding: 0 4px; color: var(--text3); font-size: 12px; }

/* ── Detail Overlay & Slide-in Panel ─────────────────────── */
.og-overlay[b-okmqm3hwgk] {
    position: fixed; inset: 0;
    background: rgba(15,20,40,.38);
    z-index: 299;
}

.og-detail-panel[b-okmqm3hwgk] {
    position: fixed; right: 0; top: 0;
    width: 460px; max-width: 100vw; height: 100vh;
    background: #fff;
    box-shadow: -6px 0 32px rgba(43,59,245,.12);
    display: flex; flex-direction: column;
    z-index: 300;
    animation: og-slide-in-b-okmqm3hwgk .2s ease;
}

@keyframes og-slide-in-b-okmqm3hwgk {
    from { transform: translateX(24px); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

.og-dp-head[b-okmqm3hwgk] {
    padding: 18px 20px 14px; border-bottom: 1px solid var(--border);
    display: flex; align-items: flex-start; gap: 12px;
    flex-shrink: 0;
}

.og-dp-icon[b-okmqm3hwgk] {
    width: 42px; height: 42px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; flex-shrink: 0;
}

.og-dp-titles[b-okmqm3hwgk] { flex: 1; min-width: 0; }

.og-dp-name[b-okmqm3hwgk] { font-size: 14px; font-weight: 700; word-break: break-word; line-height: 1.4; }
.og-dp-sub[b-okmqm3hwgk] { font-size: 11px; color: var(--text3); margin-top: 3px; }

.og-dp-x[b-okmqm3hwgk] {
    width: 28px; height: 28px; border-radius: var(--radius);
    border: none; background: var(--gray-bg); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--text2); font-size: 18px; flex-shrink: 0; transition: .15s;
}
.og-dp-x:hover[b-okmqm3hwgk] { background: var(--red-bg); color: var(--red); }

.og-dp-body[b-okmqm3hwgk] { flex: 1; overflow-y: auto; padding: 18px 20px; }

.og-dp-section[b-okmqm3hwgk] { margin-bottom: 18px; }

.og-dp-sec-title[b-okmqm3hwgk] {
    font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
    text-transform: uppercase; color: var(--text3); margin-bottom: 10px;
    display: flex; align-items: center; gap: 8px;
}

.og-dp-grid[b-okmqm3hwgk] { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.og-dp-field[b-okmqm3hwgk] {
    background: #f8fafc; border-radius: var(--radius);
    padding: 9px 12px; border: 1px solid var(--border);
}
.og-dp-fl[b-okmqm3hwgk] { font-size: 10px; color: var(--text3); margin-bottom: 3px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.og-dp-fv[b-okmqm3hwgk] { font-size: 13px; font-weight: 600; color: var(--text); }
.og-dp-id[b-okmqm3hwgk] { color: var(--palatinate); font-size: 11px; word-break: break-all; }

.og-dp-tags[b-okmqm3hwgk] { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.og-tag[b-okmqm3hwgk] { padding: 3px 10px; border-radius: 20px; background: var(--palatinate-light); color: var(--palatinate); font-size: 11px; font-weight: 700; }

/* Karar box */
.og-karar-box[b-okmqm3hwgk] { border-radius: var(--radius); padding: 12px 14px; border: 1.5px solid; }
.og-kb-approved[b-okmqm3hwgk] { background: var(--cambridge-light); border-color: var(--cambridge); }
.og-kb-rejected[b-okmqm3hwgk] { background: var(--red-bg); border-color: var(--red); }

.og-kb-label[b-okmqm3hwgk] { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 3px; }
.og-kb-approved .og-kb-label[b-okmqm3hwgk] { color: var(--cambridge); }
.og-kb-rejected .og-kb-label[b-okmqm3hwgk] { color: var(--red); }

.og-kb-date[b-okmqm3hwgk] { font-size: 12px; font-weight: 600; color: var(--text2); }

.og-kb-reason[b-okmqm3hwgk] {
    font-size: 11px; color: var(--text2); line-height: 1.6;
    margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(0,0,0,.08);
}

/* Karar Geçmişi timeline */
.og-dec-count-badge[b-okmqm3hwgk] {
    font-size: 10px; background: var(--gray-bg); border: 1px solid var(--border);
    padding: 1px 7px; border-radius: 10px; color: var(--text3); font-weight: 700;
    text-transform: none; letter-spacing: 0;
}

.og-kh-list[b-okmqm3hwgk] { display: flex; flex-direction: column; }

.og-kh-item[b-okmqm3hwgk] { display: flex; gap: 12px; position: relative; padding-bottom: 16px; }
.og-kh-item:last-child[b-okmqm3hwgk] { padding-bottom: 0; }
.og-kh-has-line[b-okmqm3hwgk]::after {
    content: ''; position: absolute; left: 11px; top: 26px;
    width: 2px; bottom: 0; background: var(--border);
}

.og-kh-dot[b-okmqm3hwgk] {
    width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700; flex-shrink: 0; z-index: 1;
}
.og-kh-approved[b-okmqm3hwgk] { background: var(--cambridge-light); color: var(--cambridge); border: 2px solid var(--cambridge); }
.og-kh-rejected[b-okmqm3hwgk] { background: var(--red-bg); color: var(--red); border: 2px solid var(--red); }

.og-kh-content[b-okmqm3hwgk] { flex: 1; min-width: 0; }

.og-kh-header[b-okmqm3hwgk] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }

.og-kh-badge[b-okmqm3hwgk] { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.og-kh-badge-approved[b-okmqm3hwgk] { color: var(--cambridge); }
.og-kh-badge-rejected[b-okmqm3hwgk] { color: var(--red); }

.og-kh-latest-tag[b-okmqm3hwgk] {
    font-size: 9px; background: var(--palatinate); color: #fff;
    padding: 1px 6px; border-radius: 8px; font-weight: 700; letter-spacing: .3px;
}

.og-kh-meta[b-okmqm3hwgk] { font-size: 11px; color: var(--text3); }

.og-kh-reason[b-okmqm3hwgk] {
    font-size: 11px; color: var(--text2); line-height: 1.6; margin-top: 5px;
    padding: 7px 10px; background: var(--red-bg); border-radius: 6px; border-left: 3px solid var(--red);
}

/* Detail panel footer */
.og-dp-foot[b-okmqm3hwgk] {
    padding: 14px 20px; border-top: 1px solid var(--border);
    display: flex; gap: 8px; flex-shrink: 0;
}

.og-dp-btn-cl[b-okmqm3hwgk] {
    height: 38px; padding: 0 18px; border-radius: var(--radius);
    border: 1.5px solid var(--border); background: #fff;
    color: var(--text2); font-size: 13px; font-weight: 600;
    cursor: pointer; font-family: inherit; transition: .15s;
}
.og-dp-btn-cl:hover[b-okmqm3hwgk] { background: var(--gray-bg); }

.og-dp-btn-view[b-okmqm3hwgk] {
    flex: 1; height: 38px; border-radius: var(--radius);
    border: 1.5px solid var(--palatinate); background: #fff;
    color: var(--palatinate); font-size: 13px; font-weight: 600;
    cursor: pointer; font-family: inherit; display: flex;
    align-items: center; justify-content: center; gap: 6px; transition: .15s;
}
.og-dp-btn-view:hover[b-okmqm3hwgk] { background: var(--palatinate-light); }

.og-dp-btn-dl[b-okmqm3hwgk] {
    flex: 1; height: 38px; border-radius: var(--radius);
    border: none; background: var(--palatinate); color: #fff;
    font-size: 13px; font-weight: 700; cursor: pointer;
    font-family: inherit; display: flex; align-items: center;
    justify-content: center; gap: 6px; transition: .15s;
}
.og-dp-btn-dl:hover[b-okmqm3hwgk] { background: var(--palatinate-h); box-shadow: 0 4px 14px rgba(43,59,245,.3); }
.og-dp-btn-dl:disabled[b-okmqm3hwgk] { opacity: .6; cursor: not-allowed; }
/* /Components/Pages/Approval/OnayYonetimi.razor.rz.scp.css */
/* ===== Onay Yönetimi — oy- prefix ===== */

.oy-page[b-99cpozw5b7] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

/* ── Topbar ── */
.oy-topbar[b-99cpozw5b7] {
    height: 80px;
    flex-shrink: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.oy-topbar-title[b-99cpozw5b7] { font-size: 17px; font-weight: 700; letter-spacing: .2px; color: var(--text); }
.oy-topbar-right[b-99cpozw5b7] { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.oy-date[b-99cpozw5b7] { font-size: 12px; color: var(--text3); }
.oy-role-badge[b-99cpozw5b7] {
    padding: 4px 14px; border-radius: 20px; font-size: 11px; font-weight: 700;
    background: var(--cambridge-light); color: var(--cambridge); letter-spacing: .3px;
}
.oy-signout[b-99cpozw5b7] {
    display: flex; align-items: center; gap: 6px; padding: 7px 14px;
    border-radius: var(--radius); border: 1.5px solid var(--border);
    background: transparent; font-size: 12px; font-weight: 600;
    color: var(--text2); text-decoration: none; transition: .15s;
    font-family: 'Titillium Web', sans-serif;
}
.oy-signout:hover[b-99cpozw5b7] { background: var(--red-bg); color: var(--red); border-color: #f5b8b8; }

/* ── Count bar ── */
.oy-count-bar[b-99cpozw5b7] {
    flex-shrink: 0;
    padding: 11px 28px;
    font-size: 13px;
    color: #5a6a85;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.oy-count-bar strong[b-99cpozw5b7] { color: var(--text); font-weight: 700; }

/* ── Main content ── */
.oy-main[b-99cpozw5b7] {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

/* ── Two-column yönetici layout ── */
.oy-yonetici-layout[b-99cpozw5b7] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 16px;
}

/* ── LEFT: List panel ── */
.oy-list-panel[b-99cpozw5b7] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* Controls */
.oy-controls[b-99cpozw5b7] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.oy-search-wrap[b-99cpozw5b7] {
    position: relative;
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
}
.oy-search-wrap > svg[b-99cpozw5b7] {
    position: absolute;
    left: 11px;
    color: var(--text3);
    pointer-events: none;
}
.oy-search-in[b-99cpozw5b7] {
    width: 100%;
    height: 38px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0 12px 0 34px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 13px;
    color: var(--text);
    outline: none;
    background: var(--gray-bg);
    transition: .15s;
}
.oy-search-in:focus[b-99cpozw5b7] { border-color: var(--palatinate); background: var(--white); box-shadow: 0 0 0 3px rgba(43,59,245,.1); }
.oy-search-in[b-99cpozw5b7]::placeholder { color: var(--text3); }

.oy-ctrl-select[b-99cpozw5b7] {
    height: 38px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0 28px 0 10px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 13px;
    color: var(--text2);
    font-weight: 600;
    outline: none;
    cursor: pointer;
    background: var(--white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%238a9ab8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center;
    transition: .15s;
}
.oy-ctrl-select:focus[b-99cpozw5b7] { border-color: var(--palatinate); }

/* Table wrap */
.oy-table-wrap[b-99cpozw5b7] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

/* Table */
.oy-doc-table[b-99cpozw5b7] { width: 100%; border-collapse: collapse; }
.oy-doc-table thead tr[b-99cpozw5b7] { background: var(--gray-bg); border-bottom: 1px solid var(--border); }
.oy-doc-table th[b-99cpozw5b7] {
    padding: 10px 16px; text-align: left; font-size: 11px; font-weight: 700;
    color: var(--text3); white-space: nowrap; letter-spacing: .6px; text-transform: uppercase;
}
.oy-doc-table td[b-99cpozw5b7] { padding: 11px 16px; font-size: 13px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.oy-doc-table tbody tr:last-child td[b-99cpozw5b7] { border-bottom: none; }
.oy-doc-table tbody tr:hover td[b-99cpozw5b7] { background: var(--gray-bg); cursor: pointer; }
.oy-tr-sel td[b-99cpozw5b7] { background: var(--palatinate-light) !important; }
.oy-tr-sel:hover td[b-99cpozw5b7] { background: #dfe5fe !important; }

.oy-dc[b-99cpozw5b7] { display: flex; align-items: center; gap: 10px; }
.oy-di[b-99cpozw5b7] { width: 30px; height: 30px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.oy-dn[b-99cpozw5b7] { font-weight: 500; font-size: 13px; }
.oy-td2[b-99cpozw5b7] { font-size: 12px; color: var(--text2); }
.oy-td3[b-99cpozw5b7] { font-size: 12px; color: var(--text3); }

.oy-ver[b-99cpozw5b7] {
    font-size: 11px; font-weight: 700; color: var(--palatinate);
    background: var(--palatinate-light); padding: 2px 9px; border-radius: 20px; letter-spacing: .2px;
}

/* List footer + pagination */
.oy-list-footer[b-99cpozw5b7] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    background: var(--gray-bg);
    flex-wrap: wrap;
    gap: 8px;
}
.oy-list-status[b-99cpozw5b7] { font-size: 12px; color: var(--text3); }
.oy-list-status strong[b-99cpozw5b7] { color: var(--text2); font-weight: 700; }

.oy-pagination[b-99cpozw5b7] { display: flex; align-items: center; gap: 4px; }

.oy-pg-btn[b-99cpozw5b7] {
    display: flex; align-items: center; gap: 5px; height: 32px; padding: 0 14px;
    border-radius: var(--radius); border: 1.5px solid var(--border); background: var(--white);
    font-family: 'Titillium Web', sans-serif; font-size: 12px; font-weight: 600;
    color: var(--text2); cursor: pointer; transition: .15s;
}
.oy-pg-btn:hover:not(:disabled)[b-99cpozw5b7] { background: var(--gray-bg); border-color: var(--palatinate); color: var(--palatinate); }
.oy-pg-btn:disabled[b-99cpozw5b7] { opacity: .38; cursor: not-allowed; }

.oy-pg-pages[b-99cpozw5b7] { display: flex; align-items: center; gap: 3px; }

.oy-pg-num[b-99cpozw5b7] {
    width: 32px; height: 32px; border-radius: var(--radius); border: 1.5px solid transparent;
    background: transparent; font-family: 'Titillium Web', sans-serif; font-size: 12px; font-weight: 600;
    color: var(--text2); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .15s;
}
.oy-pg-num:hover[b-99cpozw5b7] { background: var(--gray-bg); }
.oy-pg-num.active[b-99cpozw5b7] { background: var(--palatinate); color: #fff; border-color: var(--palatinate); font-weight: 700; }
.oy-pg-ellipsis[b-99cpozw5b7] { padding: 0 4px; color: var(--text3); font-size: 12px; }

/* Empty state */
.oy-empty-state[b-99cpozw5b7] {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 48px 20px; text-align: center; color: var(--text3);
}
.oy-empty-state svg[b-99cpozw5b7] { opacity: .3; margin-bottom: 12px; }
.oy-empty-state p[b-99cpozw5b7] { font-size: 13px; margin-bottom: 4px; color: var(--text2); font-weight: 600; }
.oy-empty-state span[b-99cpozw5b7] { font-size: 12px; }

/* ── RIGHT: Detail panel ── */
.oy-detail-panel[b-99cpozw5b7] {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
}

.oy-detail-empty[b-99cpozw5b7] {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 100%; min-height: 320px; text-align: center; gap: 12px; padding: 32px;
    color: var(--text3);
}
.oy-detail-empty svg[b-99cpozw5b7] { opacity: .25; }
.oy-detail-empty p[b-99cpozw5b7] { font-size: 13px; font-weight: 600; color: var(--text2); margin: 0; }
.oy-detail-empty span[b-99cpozw5b7] { font-size: 12px; }

.oy-detail-card[b-99cpozw5b7] {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border); box-shadow: var(--shadow-md); overflow: hidden;
}

.oy-detail-preview[b-99cpozw5b7] {
    background: var(--gray-bg); border-radius: 10px; margin: 16px 16px 0;
    padding: 28px 20px; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.oy-preview-icon[b-99cpozw5b7] {
    width: 52px; height: 52px; border-radius: var(--radius-lg); display: flex;
    align-items: center; justify-content: center; font-size: 16px; font-weight: 800; margin-bottom: 10px;
}
.oy-preview-name[b-99cpozw5b7] { font-size: 13px; font-weight: 600; color: var(--text); word-break: break-word; margin-bottom: 4px; }
.oy-preview-size[b-99cpozw5b7] { font-size: 11px; color: var(--text3); margin-bottom: 12px; }

.oy-btn-preview[b-99cpozw5b7] {
    width: 100%; height: 34px; border: 1.5px solid var(--border); border-radius: var(--radius);
    background: var(--white); color: var(--text2); font-family: 'Titillium Web', sans-serif;
    font-size: 12px; font-weight: 600; cursor: pointer; display: flex; align-items: center;
    justify-content: center; gap: 6px; transition: .15s;
}
.oy-btn-preview:hover[b-99cpozw5b7] { border-color: var(--palatinate); color: var(--palatinate); background: var(--palatinate-light); }

.oy-detail-meta[b-99cpozw5b7] { padding: 14px 16px; }
.oy-meta-row[b-99cpozw5b7] {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 7px 0; border-bottom: 1px solid var(--border);
}
.oy-meta-row:last-child[b-99cpozw5b7] { border-bottom: none; }
.oy-meta-tags[b-99cpozw5b7] { flex-direction: column; gap: 8px; }
.oy-mk[b-99cpozw5b7] { font-size: 12px; color: var(--text3); flex-shrink: 0; }
.oy-mv[b-99cpozw5b7] { font-size: 12px; font-weight: 600; text-align: right; color: var(--text); }

.oy-tags-row[b-99cpozw5b7] { display: flex; flex-wrap: wrap; gap: 5px; }
.oy-tag[b-99cpozw5b7] { padding: 3px 10px; border-radius: 20px; background: var(--palatinate-light); color: var(--palatinate); font-size: 11px; font-weight: 700; }

.oy-action-card[b-99cpozw5b7] {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1.5px solid var(--border); box-shadow: var(--shadow); padding: 18px;
}
.oy-action-title[b-99cpozw5b7] { font-size: 13px; font-weight: 700; margin-bottom: 14px; letter-spacing: .2px; color: var(--text); }

.oy-btn-approve-full[b-99cpozw5b7] {
    width: 100%; height: 44px; border: none; border-radius: var(--radius);
    background: var(--palatinate); color: #fff; font-size: 13px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-bottom: 10px; transition: .15s; font-family: 'Titillium Web', sans-serif; letter-spacing: .3px;
}
.oy-btn-approve-full:hover:not(:disabled)[b-99cpozw5b7] { background: var(--palatinate-h); box-shadow: 0 4px 14px rgba(43,59,245,.3); }
.oy-btn-approve-full:disabled[b-99cpozw5b7] { opacity: .35; cursor: not-allowed; }

.oy-btn-reject-full[b-99cpozw5b7] {
    width: 100%; height: 44px; border: 1.5px solid var(--giants); border-radius: var(--radius);
    background: transparent; color: var(--giants); font-size: 13px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: .15s; font-family: 'Titillium Web', sans-serif; letter-spacing: .3px;
}
.oy-btn-reject-full:hover:not(:disabled)[b-99cpozw5b7] { background: var(--giants-light); }
.oy-btn-reject-full:disabled[b-99cpozw5b7] { opacity: .35; cursor: not-allowed; }

/* File format colours (scoped) */
.fmt-pdf[b-99cpozw5b7]   { background: #fdecea; color: var(--red); }
.fmt-docx[b-99cpozw5b7]  { background: var(--cambridge-light); color: var(--cambridge); }
.fmt-xlsx[b-99cpozw5b7]  { background: var(--palatinate-light); color: var(--palatinate); }
.fmt-other[b-99cpozw5b7] { background: var(--gray-bg); color: var(--text3); }

/* ── Toast ── */
.oy-toast[b-99cpozw5b7] {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    background: #1a2233; color: #fff; padding: 12px 20px; border-radius: var(--radius);
    font-size: 13px; display: flex; align-items: center; gap: 10px; z-index: 400;
    white-space: nowrap; box-shadow: 0 4px 24px rgba(0,0,0,.22);
    font-family: 'Titillium Web', sans-serif; animation: oy-toast-in-b-99cpozw5b7 .25s ease;
}
@keyframes oy-toast-in-b-99cpozw5b7 {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.oy-toast-dot[b-99cpozw5b7] { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── Reject modal ── */
.oy-modal-backdrop[b-99cpozw5b7] {
    position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 300;
    display: flex; align-items: center; justify-content: center; backdrop-filter: blur(3px);
}
.oy-modal[b-99cpozw5b7] {
    background: var(--white); border-radius: var(--radius-lg); padding: 28px;
    width: 440px; max-width: 95vw; box-shadow: 0 20px 60px rgba(43,59,245,.15);
    animation: oy-modal-in-b-99cpozw5b7 .22s ease;
}
@keyframes oy-modal-in-b-99cpozw5b7 {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.oy-modal-title[b-99cpozw5b7] { font-size: 17px; font-weight: 700; margin: 0 0 6px; color: var(--text); }
.oy-modal-desc[b-99cpozw5b7] { font-size: 13px; color: var(--text2); margin: 0 0 18px; line-height: 1.55; }
.oy-modal-textarea[b-99cpozw5b7] {
    width: 100%; height: 90px; border: 1.5px solid var(--border); border-radius: var(--radius);
    padding: 12px; font-family: 'Titillium Web', sans-serif; font-size: 13px; resize: none;
    outline: none; margin-bottom: 6px; transition: .15s; color: var(--text); box-sizing: border-box;
}
.oy-modal-textarea:focus[b-99cpozw5b7] { border-color: var(--palatinate); box-shadow: 0 0 0 3px rgba(43,59,245,.12); }
.oy-modal-textarea.oy-input-error[b-99cpozw5b7] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(211,47,47,.1); }
.oy-reject-error[b-99cpozw5b7] { display: block; font-size: 12px; color: var(--red); margin-bottom: 10px; font-weight: 600; }
.oy-modal-actions[b-99cpozw5b7] { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }

.oy-btn-cancel[b-99cpozw5b7] {
    padding: 9px 18px; border-radius: var(--radius); border: 1.5px solid var(--border);
    background: transparent; font-size: 13px; font-weight: 600; color: var(--text2);
    cursor: pointer; font-family: 'Titillium Web', sans-serif; transition: .15s;
}
.oy-btn-cancel:hover:not(:disabled)[b-99cpozw5b7] { background: var(--gray-bg); }
.oy-btn-confirm-reject[b-99cpozw5b7] {
    padding: 9px 20px; border-radius: var(--radius); border: none; background: var(--giants);
    color: #fff; font-size: 13px; font-weight: 700; cursor: pointer;
    font-family: 'Titillium Web', sans-serif; transition: .15s; letter-spacing: .2px;
}
.oy-btn-confirm-reject:hover:not(:disabled)[b-99cpozw5b7] { background: #d94a22; box-shadow: 0 4px 14px rgba(244,96,54,.3); }
.oy-btn-cancel:disabled[b-99cpozw5b7], .oy-btn-confirm-reject:disabled[b-99cpozw5b7] { opacity: .55; cursor: not-allowed; }

/* ── Preview modal ── */
.oy-preview-overlay[b-99cpozw5b7] {
    position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 350;
    display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.oy-preview-modal[b-99cpozw5b7] {
    background: var(--white); border-radius: var(--radius-lg); width: 720px;
    max-width: 95vw; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 24px 64px rgba(43,59,245,.2); animation: oy-slide-up-b-99cpozw5b7 .22s ease;
}
@keyframes oy-slide-up-b-99cpozw5b7 {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.oy-pm-header[b-99cpozw5b7] { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.oy-pm-icon[b-99cpozw5b7] { width: 42px; height: 42px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.oy-pm-info[b-99cpozw5b7] { flex: 1; min-width: 0; }
.oy-pm-title[b-99cpozw5b7] { font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oy-pm-sub[b-99cpozw5b7] { font-size: 12px; color: var(--text3); margin-top: 3px; }
.oy-pm-close[b-99cpozw5b7] {
    width: 30px; height: 30px; border-radius: var(--radius); border: none; background: var(--gray-bg);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: var(--text2); font-size: 16px; transition: .15s; flex-shrink: 0; margin-top: 2px;
}
.oy-pm-close:hover[b-99cpozw5b7] { background: var(--red-bg); color: var(--red); }

.oy-pm-body[b-99cpozw5b7] { flex: 1; overflow-y: auto; padding: 20px 24px; background: var(--gray-bg); }
.oy-pm-doc-page[b-99cpozw5b7] { background: var(--white); border-radius: var(--radius); box-shadow: 0 2px 12px rgba(43,59,245,.08); padding: 28px 32px; }
.oy-pm-doc-header[b-99cpozw5b7] { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--palatinate); }
.oy-pm-badge[b-99cpozw5b7] { background: var(--palatinate); color: #fff; font-family: 'Titillium Web', sans-serif; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 4px; letter-spacing: .4px; }
.oy-pm-ref[b-99cpozw5b7] { text-align: right; font-size: 11px; color: var(--text3); line-height: 1.6; }
.oy-pm-ref strong[b-99cpozw5b7] { color: var(--text2); }
.oy-pm-doc-title[b-99cpozw5b7] { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.oy-pm-content-label[b-99cpozw5b7] {
    font-size: 11px; font-weight: 700; letter-spacing: .3px;
    color: var(--text3); margin-bottom: 8px;
}

.oy-pm-content-text[b-99cpozw5b7] {
    font-size: 13px; color: var(--text2); line-height: 1.7;
    margin: 0; white-space: pre-wrap; padding: 14px 16px;
}

.oy-pm-content-scroll[b-99cpozw5b7] {
    height: 220px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--gray-bg);
    padding: 0;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.oy-pm-iframe[b-99cpozw5b7] {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius);
    display: block;
}

.oy-pm-preview-loading[b-99cpozw5b7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    color: var(--text3);
    font-size: 13px;
}
.oy-pm-preview-loading svg[b-99cpozw5b7] {
    animation: oy-spin-b-99cpozw5b7 .8s linear infinite;
    flex-shrink: 0;
}
@keyframes oy-spin-b-99cpozw5b7 {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.oy-pm-preview-empty[b-99cpozw5b7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    color: var(--text3);
    font-size: 12px;
    text-align: center;
    padding: 16px;
}
.oy-pm-content-scroll[b-99cpozw5b7]::-webkit-scrollbar { width: 5px; }
.oy-pm-content-scroll[b-99cpozw5b7]::-webkit-scrollbar-track { background: transparent; }
.oy-pm-content-scroll[b-99cpozw5b7]::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.oy-pm-content-scroll[b-99cpozw5b7]::-webkit-scrollbar-thumb:hover { background: var(--text3); }

.oy-pm-lines[b-99cpozw5b7] { margin-bottom: 0; }
.oy-pl[b-99cpozw5b7] { height: 9px; border-radius: 3px; background: var(--gray-bg); margin-bottom: 7px; }
.oy-pl.full[b-99cpozw5b7] { width: 100%; }
.oy-pl.med[b-99cpozw5b7]  { width: 78%; }
.oy-pl.short[b-99cpozw5b7]{ width: 55%; }

.oy-pm-table[b-99cpozw5b7] { width: 100%; border-collapse: collapse; margin-top: 6px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.oy-pm-table th[b-99cpozw5b7] { padding: 9px 14px; font-size: 11px; font-weight: 700; color: var(--text2); background: var(--gray-bg); text-align: left; letter-spacing: .3px; border-bottom: 1px solid var(--border); }
.oy-pm-table td[b-99cpozw5b7] { padding: 9px 14px; font-size: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.oy-pm-table tr:last-child td[b-99cpozw5b7] { border-bottom: none; }
.oy-pm-table td:first-child[b-99cpozw5b7] { color: var(--text2); font-weight: 600; }
.oy-pm-accent[b-99cpozw5b7] { color: var(--palatinate); font-weight: 600; }

.oy-pm-footer[b-99cpozw5b7] { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; background: var(--white); }
.oy-pm-btn-dl[b-99cpozw5b7] {
    height: 40px; padding: 0 22px; border-radius: var(--radius); border: none;
    background: var(--palatinate); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer;
    font-family: 'Titillium Web', sans-serif; transition: .15s; display: flex; align-items: center; gap: 8px; letter-spacing: .2px;
}
.oy-pm-btn-dl:hover[b-99cpozw5b7] { background: var(--palatinate-h); box-shadow: 0 4px 14px rgba(43,59,245,.3); }
.oy-pm-btn-cl[b-99cpozw5b7] {
    height: 40px; padding: 0 20px; border-radius: var(--radius); border: 1.5px solid var(--border);
    background: var(--white); color: var(--text2); font-size: 13px; font-weight: 600; cursor: pointer;
    font-family: 'Titillium Web', sans-serif; transition: .15s;
}
.oy-pm-btn-cl:hover[b-99cpozw5b7] { background: var(--gray-bg); }

/* ── Sortable column header ── */
.oy-th-sort[b-99cpozw5b7] { cursor: pointer; user-select: none; }
.oy-th-sort:hover[b-99cpozw5b7] { color: var(--palatinate); }

/* ── Usage type badges ── */
.oy-usage-badge[b-99cpozw5b7] {
    font-size: 11px; font-weight: 700; padding: 3px 9px;
    border-radius: 20px; white-space: nowrap;
}
.oy-usage-record[b-99cpozw5b7] { background: #f0f2f8; color: #4a5a78; }
.oy-usage-share[b-99cpozw5b7]  { background: var(--orange-web-light, #fff8e8); color: #b86e00; }

/* ── Description meta row ── */
.oy-meta-desc[b-99cpozw5b7] { flex-direction: column; gap: 6px; }
.oy-desc-text[b-99cpozw5b7] {
    font-size: 12px; font-weight: 400; color: var(--text2);
    background: var(--gray-bg, #f4f6fb); padding: 8px 10px;
    border-radius: 6px; line-height: 1.55; text-align: left;
    white-space: pre-wrap;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .oy-yonetici-layout[b-99cpozw5b7] { grid-template-columns: 1fr; }
    .oy-detail-panel[b-99cpozw5b7] { min-height: 380px; }
    .oy-page[b-99cpozw5b7] { overflow: visible; }
    .oy-main[b-99cpozw5b7] { overflow: visible; }
    .oy-yonetici-layout[b-99cpozw5b7] { overflow: visible; }
}
@media (max-width: 768px) {
    .oy-main[b-99cpozw5b7] { padding: 12px; }
    .oy-topbar[b-99cpozw5b7] { padding: 0 16px; }
    .oy-count-bar[b-99cpozw5b7] { padding: 10px 16px; }
}
/* /Components/Pages/Dashboard/Denetci.razor.rz.scp.css */
/* ===== Denetçi — Belge İşlem Geçmişi ===== */

.da-page[b-otaexvbudw] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bg);
    overflow: hidden;
}

/* TOPBAR */

.da-topbar[b-otaexvbudw] {
    height: 80px;
    flex-shrink: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.da-page-title[b-otaexvbudw] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.1rem;
}

.da-page-sub[b-otaexvbudw] {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0;
}

.da-topbar-right[b-otaexvbudw] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.da-date[b-otaexvbudw] {
    font-size: 0.82rem;
    color: #6b7280;
}

.da-role-badge[b-otaexvbudw] {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    border-radius: 20px;
    padding: 0.25rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.da-signout[b-otaexvbudw] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: #374151;
    text-decoration: none;
    border: 1.5px solid #d1d5db;
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
    transition: background 0.15s;
}

    .da-signout:hover[b-otaexvbudw] {
        background: #f3f4f6;
    }

/* BODY */

.da-body[b-otaexvbudw] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg);
}

/* FILTER CARD */

.da-filter-card[b-otaexvbudw] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.da-filter-row[b-otaexvbudw] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.da-filter-row2[b-otaexvbudw] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.da-search-wrap[b-otaexvbudw] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
    flex: 1;
    min-width: 180px;
    color: #9ca3af;
}

.da-tag-wrap[b-otaexvbudw] {
    flex: 0 0 300px;
    min-width: 0;
}

.da-search-in[b-otaexvbudw] {
    border: none;
    background: transparent;
    font-size: 0.84rem;
    color: #374151;
    outline: none;
    width: 100%;
}

    .da-search-in[b-otaexvbudw]::placeholder {
        color: #9ca3af;
    }

.da-filter-sel[b-otaexvbudw] {
    padding: 0.5rem 0.75rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.84rem;
    color: #374151;
    background: #f9fafb;
    cursor: pointer;
    min-width: 155px;
}

.da-date-in[b-otaexvbudw] {
    padding: 0.5rem 0.65rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.84rem;
    color: #374151;
    background: #f9fafb;
    width: 130px;
}

.da-dash[b-otaexvbudw] {
    color: #9ca3af;
}

.da-clear-btn[b-otaexvbudw] {
    padding: 0.45rem 0.9rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-size: 0.8rem;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
}

    .da-clear-btn:hover[b-otaexvbudw] {
        background: #f3f4f6;
    }

/* TABLE CARD */

.da-table-card[b-otaexvbudw] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
}

.da-table-topbar[b-otaexvbudw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
}

.da-table-title[b-otaexvbudw] {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.da-table-actions[b-otaexvbudw] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.da-rec-count[b-otaexvbudw] {
    font-size: 0.82rem;
    color: #6b7280;
}

.da-readonly-badge[b-otaexvbudw] {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.da-table-wrap[b-otaexvbudw] {
    overflow-x: auto;
}

.da-table[b-otaexvbudw] {
    width: 100%;
    border-collapse: collapse;
}

    .da-table th[b-otaexvbudw] {
        padding: 0.7rem 1.1rem;
        font-size: 0.72rem;
        font-weight: 700;
        color: #6b7280;
        text-align: left;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        background: #f9fafb;
        border-bottom: 1px solid #e5e7eb;
    }

    .da-table th.da-sortable-th[b-otaexvbudw] {
        cursor: pointer;
        user-select: none;
        white-space: nowrap;
    }

    .da-table th.da-sortable-th:hover[b-otaexvbudw] {
        color: #334155;
    }

    .da-sort-arrow[b-otaexvbudw] {
        margin-left: 0.3rem;
        font-size: 0.75rem;
        color: #475569;
    }

    .da-table td[b-otaexvbudw] {
        padding: 0.8rem 1.1rem;
        font-size: 0.85rem;
        color: #374151;
        border-bottom: 1px solid #f3f4f6;
        vertical-align: middle;
    }

    .da-table tr:hover[b-otaexvbudw] {
        background: #f8fafc;
        cursor: pointer;
    }

    .da-table tr.da-row-selected[b-otaexvbudw] {
        background: #eff6ff;
    }

.da-file-cell[b-otaexvbudw] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.da-fmt-badge[b-otaexvbudw] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 5px;
    flex-shrink: 0;
    text-transform: uppercase;
}

    .da-fmt-badge.xlsx[b-otaexvbudw] {
        background: #d1fae5;
        color: #065f46;
    }

    .da-fmt-badge.docx[b-otaexvbudw] {
        background: #dbeafe;
        color: #1e40af;
    }

    .da-fmt-badge.pdf[b-otaexvbudw] {
        background: #fee2e2;
        color: #991b1b;
    }

    .da-fmt-badge.png[b-otaexvbudw],
    .da-fmt-badge.jpg[b-otaexvbudw] {
        background: #fef3c7;
        color: #92400e;
    }

.da-file-name[b-otaexvbudw] {
    font-size: 0.85rem;
    color: #111827;
    font-weight: 500;
}

.da-islem-pill[b-otaexvbudw] {
    font-size: 0.73rem;
    font-weight: 600;
    padding: 0.22rem 0.65rem;
    border-radius: 20px;
    white-space: nowrap;
}

.da-approved[b-otaexvbudw] {
    background: #d1fae5;
    color: #059669;
}

.da-published[b-otaexvbudw] {
    background: #d1fae5;
    color: #059669;
}

.da-version[b-otaexvbudw] {
    background: #ede9fe;
    color: #7c3aed;
}

.da-archived[b-otaexvbudw] {
    background: #e0e7ff;
    color: #4338ca;
}

.da-rejected[b-otaexvbudw] {
    background: #fee2e2;
    color: #dc2626;
}

.da-upload[b-otaexvbudw] {
    background: #dbeafe;
    color: #2563eb;
}

.da-status[b-otaexvbudw] {
    background: #fef3c7;
    color: #b45309;
}

.da-viewed[b-otaexvbudw] {
    background: #e0f2fe;
    color: #0369a1;
}

.da-downloaded[b-otaexvbudw] {
    background: #ecfccb;
    color: #3f6212;
}

.da-user-cell[b-otaexvbudw] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.da-avatar[b-otaexvbudw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.67rem;
    font-weight: 700;
    flex-shrink: 0;
}

.da-date-cell[b-otaexvbudw] {
    font-size: 0.82rem;
    color: #6b7280;
    white-space: nowrap;
}

.da-empty[b-otaexvbudw] {
    text-align: center;
    padding: 2rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.da-body[b-otaexvbudw]::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.da-body[b-otaexvbudw]::-webkit-scrollbar-track {
    background: transparent;
}

.da-body[b-otaexvbudw]::-webkit-scrollbar-thumb {
    background: #c8d5f5;
    border-radius: 3px;
}

    .da-body[b-otaexvbudw]::-webkit-scrollbar-thumb:hover {
        background: #a0b3e8;
    }

/* PAGINATION */

.da-pagination[b-otaexvbudw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    border-top: 1px solid #f3f4f6;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.da-pag-info[b-otaexvbudw] {
    font-size: 0.82rem;
    color: #6b7280;
}

.da-pag-btns[b-otaexvbudw] {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.da-pag-btn[b-otaexvbudw] {
    padding: 0.35rem 0.7rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    font-size: 0.82rem;
    color: #374151;
    cursor: pointer;
    transition: background 0.12s;
}

    .da-pag-btn:hover:not(:disabled)[b-otaexvbudw] {
        background: #f3f4f6;
    }

    .da-pag-btn.active[b-otaexvbudw] {
        background: #2563eb;
        color: #fff;
        border-color: #2563eb;
    }

    .da-pag-btn:disabled[b-otaexvbudw] {
        opacity: 0.4;
        cursor: not-allowed;
    }



/* DETAIL PANEL OVERLAY */

.da-overlay[b-otaexvbudw] {
    position: fixed;
    inset: 0;
    background: rgba(17,24,39,0.35);
    z-index: 200;
    display: flex;
    justify-content: flex-end;
}

.da-panel[b-otaexvbudw] {
    width: 420px;
    max-width: 95vw;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 30px rgba(0,0,0,0.12);
    overflow-y: auto;
}

.da-panel-head[b-otaexvbudw] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    gap: 0.75rem;
}

.da-panel-head-left[b-otaexvbudw] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.da-panel-status-icon[b-otaexvbudw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1rem;
    flex-shrink: 0;
}

.da-panel-filename[b-otaexvbudw] {
    font-size: 0.92rem;
    font-weight: 700;
    color: #111827;
    word-break: break-word;
}

.da-panel-subtitle[b-otaexvbudw] {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 0.2rem;
}

.da-panel-x[b-otaexvbudw] {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}

    .da-panel-x:hover[b-otaexvbudw] {
        color: #374151;
    }

.da-panel-body[b-otaexvbudw] {
    flex: 1;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.da-panel-section-label[b-otaexvbudw] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

    .da-panel-section-label.mt[b-otaexvbudw] {
        margin-top: 1.25rem;
    }

.da-panel-grid2[b-otaexvbudw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.da-panel-field[b-otaexvbudw] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

    .da-panel-field.mt[b-otaexvbudw] {
        margin-top: 0.75rem;
    }

.da-pf-label[b-otaexvbudw] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.da-pf-val[b-otaexvbudw] {
    font-size: 0.9rem;
    color: #111827;
}

.da-pf-id[b-otaexvbudw] {
    color: #2563eb;
    font-weight: 600;
}

.da-panel-field[b-otaexvbudw] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
}

/* LOG SNAPSHOT BOX */

.da-snapshot-box[b-otaexvbudw] {
    background: #f0f4ff;
    border: 1px solid #c7d7fd;
    border-radius: 10px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.da-snap-grid2[b-otaexvbudw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.da-snap-field[b-otaexvbudw] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

    .da-snap-field.mt-snap[b-otaexvbudw] {
        margin-top: 0.65rem;
    }

.da-snap-tags[b-otaexvbudw] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.3rem;
}

.da-snap-tag[b-otaexvbudw] {
    font-size: 0.75rem;
    color: #374151;
    background: #e0e7ff;
    border-radius: 20px;
    padding: 0.15rem 0.5rem;
}

/* PANEL FOOTER */

.da-panel-footer[b-otaexvbudw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-top: 1px solid #e5e7eb;
    gap: 0.75rem;
}

.da-raw-btn[b-otaexvbudw] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    opacity: 1;
    transition: all 0.2s ease;
}

    .da-raw-btn:hover[b-otaexvbudw] {
        background: #f8fafc;
        border-color: #cbd5e1;
        color: #111827;
    }

    .da-raw-btn:active[b-otaexvbudw] {
        transform: translateY(1px);
    }

    .da-raw-btn svg[b-otaexvbudw] {
        opacity: 0.9;
    }

.da-panel-footer .da-raw-btn[b-otaexvbudw] {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.da-close-btn[b-otaexvbudw] {
    padding: 0.5rem 1.35rem;
    background: #fff;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #374151;
    cursor: pointer;
}

    .da-close-btn:hover[b-otaexvbudw] {
        background: #f3f4f6;
    }

@media (max-width: 768px) {

    .da-body[b-otaexvbudw] {
        padding: 12px 12px;
    }

    .da-panel[b-otaexvbudw] {
        width: 100%;
    }

    .da-topbar[b-otaexvbudw] {
        padding: 0.85rem 1rem;
    }
}

.da-json-modal-overlay[b-otaexvbudw] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.da-json-modal[b-otaexvbudw] {
    width: min(760px, 92vw);
    max-height: 78vh;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.da-json-modal-head[b-otaexvbudw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #eef2f7;
}

.da-json-modal-title-wrap[b-otaexvbudw] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.da-json-icon[b-otaexvbudw] {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
}

.da-json-modal-title[b-otaexvbudw] {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.da-json-badge[b-otaexvbudw] {
    font-size: 11px;
    font-weight: 700;
    color: #4f46e5;
    background: #eef2ff;
    border-radius: 999px;
    padding: 4px 8px;
}

.da-json-close[b-otaexvbudw] {
    border: none;
    background: transparent;
    font-size: 22px;
    color: #64748b;
    cursor: pointer;
}

.da-json-modal-body[b-otaexvbudw] {
    padding: 18px 20px;
    overflow: auto;
    background: #fafbfd;
}

.da-json-pre[b-otaexvbudw] {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.65;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}

.da-json-modal-footer[b-otaexvbudw] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #eef2f7;
    background: #fff;
}

.da-json-copy-btn[b-otaexvbudw],
.da-json-close-btn[b-otaexvbudw] {
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.da-json-copy-btn[b-otaexvbudw] {
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #334155;
}

    .da-json-copy-btn:hover[b-otaexvbudw] {
        background: #f8fafc;
        border-color: #cbd5e1;
        color: #111827;
    }

.da-json-close-btn[b-otaexvbudw] {
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #334155;
}

    .da-json-close-btn:hover[b-otaexvbudw] {
        background: #f8fafc;
        border-color: #cbd5e1;
        color: #111827;
    }
.da-copy-toast[b-otaexvbudw] {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 4000;
    background: #111827;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    min-width: 240px;
    text-align: center;
}

.da-snap-grid2[b-otaexvbudw] {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0.65rem;

    align-items: stretch;

}

.da-snap-field[b-otaexvbudw] {

    background: #fff;

    border: 1px solid #e5e7eb;

    border-radius: 10px;

    padding: 0.72rem 0.85rem;

    display: flex;

    flex-direction: column;

    gap: 0.32rem;

    min-width: 0;

}

.da-snap-field.full[b-otaexvbudw] {

    grid-column: 1 / -1;

}

.da-snap-tags[b-otaexvbudw] {

    display: flex;

    flex-wrap: wrap;

    gap: 0.45rem;

    margin-top: 0.2rem;

}

.da-snap-tag[b-otaexvbudw] {

    font-size: 0.74rem;

    color: #374151;

    background: #e8f5e9;

    border-radius: 999px;

    padding: 0.16rem 0.52rem;

    line-height: 1.2;

}

.da-reason-card[b-otaexvbudw] {

    margin-top: 1rem;

    background: #fef2f2;

    border: 1px solid #fecaca;

    border-left: 4px solid #dc2626;

    border-radius: 12px;

    padding: 0.9rem 1rem;

}

.da-reason-title[b-otaexvbudw] {

    font-size: 0.72rem;

    font-weight: 700;

    color: #b91c1c;

    letter-spacing: 0.4px;

    text-transform: uppercase;

    margin-bottom: 0.35rem;

}

.da-reason-text[b-otaexvbudw] {

    font-size: 0.86rem;

    line-height: 1.55;

    color: #7f1d1d;

    word-break: break-word;

}

@media (max-width: 640px) {

    .da-snap-grid2[b-otaexvbudw] {

        grid-template-columns: 1fr;

    }

    .da-snap-field.full[b-otaexvbudw] {

        grid-column: auto;

    }
    .da-reason-card[b-otaexvbudw] {
        margin-top: 14px;
        margin-bottom: 14px;
        padding: 16px 18px;
        border-radius: 12px;
        background: #fff1f1;
        border-left: 4px solid #ef4444;
        border: 1px solid #fecaca;
    }

    .da-reason-title[b-otaexvbudw] {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .08em;
        color: #dc2626;
        margin-bottom: 8px;
        text-transform: uppercase;
    }

    .da-reason-text[b-otaexvbudw] {
        font-size: 14px;
        line-height: 1.6;
        color: #b91c1c;
        font-weight: 500;
    }
}
/* /Components/Pages/Dashboard/Personel.razor.rz.scp.css */
/* ===== Personel Ana Sayfa (ps- prefix) ===== */

.ps-page[b-ki61z71fcd] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--dms-bg);
    overflow: hidden;
}

/* ── Topbar ── */
.ps-topbar[b-ki61z71fcd] {
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--dms-border);
    padding: 0 28px;
    height: 80px;
    flex-shrink: 0;
    gap: 14px;
}

.ps-topbar-title[b-ki61z71fcd] {
    font-size: 17px;
    font-weight: 700;
    color: var(--dms-text);
    letter-spacing: .2px;
    margin: 0;
}

.ps-topbar-right[b-ki61z71fcd] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.ps-date[b-ki61z71fcd] { font-size: 12px; color: var(--dms-text3); font-weight: 400; }

.ps-role-badge[b-ki61z71fcd] {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
}
.rb-personel[b-ki61z71fcd] { background: var(--palatinate-light); color: var(--palatinate); }

.ps-signout[b-ki61z71fcd] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--dms-radius);
    border: 1.5px solid var(--dms-border);
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: var(--dms-text2);
    text-decoration: none;
    transition: .15s;
    font-family: 'Titillium Web', sans-serif;
}
.ps-signout:hover[b-ki61z71fcd] { background: #fdecea; color: #d32f2f; border-color: #f5b8b8; }

/* ── Body ── */
.ps-body[b-ki61z71fcd] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
}

.ps-mb[b-ki61z71fcd] { margin-bottom: 20px; }

/* ── Welcome Compact ── */
.ps-welcome-compact[b-ki61z71fcd] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #fff;
    border-radius: var(--dms-radius-lg);
    border: 1px solid var(--dms-border);
    box-shadow: var(--dms-shadow);
    margin-bottom: 20px;
}

.ps-wc-avatar[b-ki61z71fcd] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--palatinate), var(--palatinate-h));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.ps-wc-text[b-ki61z71fcd] { flex: 1; min-width: 0; }
.ps-wc-name[b-ki61z71fcd] { font-size: 14px; font-weight: 700; color: var(--dms-text); letter-spacing: .1px; }
.ps-wc-sub[b-ki61z71fcd]  { font-size: 12px; color: var(--dms-text3); margin-top: 2px; }

.ps-wc-btn[b-ki61z71fcd] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--dms-radius);
    background: var(--palatinate);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: .15s;
    font-family: 'Titillium Web', sans-serif;
    flex-shrink: 0;
    text-decoration: none;
    letter-spacing: .2px;
}
.ps-wc-btn:hover[b-ki61z71fcd] { background: var(--palatinate-h); color: #fff; }

/* ── Section Divider ── */
.ps-section-divider[b-ki61z71fcd] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0 16px;
}

.ps-divider-line[b-ki61z71fcd] { flex: 1; height: 1px; background: var(--dms-border); }

.ps-divider-label[b-ki61z71fcd] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--dms-border);
    background: #fff;
    font-size: 11px;
    font-weight: 700;
    color: var(--dms-text2);
    text-transform: uppercase;
    letter-spacing: .8px;
    white-space: nowrap;
}

/* ── Panel ── */
.ps-panel[b-ki61z71fcd] {
    background: #fff;
    border-radius: var(--dms-radius-lg);
    border: 1px solid var(--dms-border);
    box-shadow: var(--dms-shadow);
    overflow: hidden;
}

.ps-panel-hdr[b-ki61z71fcd] {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--dms-border);
}

.ps-panel-title[b-ki61z71fcd] { font-size: 14px; font-weight: 700; flex: 1; letter-spacing: .1px; color: var(--dms-text); }

.ps-link-all[b-ki61z71fcd] {
    font-size: 12px;
    color: var(--palatinate);
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
}
.ps-link-all:hover[b-ki61z71fcd] { text-decoration: underline; }

/* ── Published Docs Table ── */
.ps-table-wrap[b-ki61z71fcd] { overflow-x: auto; }

.ps-pub-table[b-ki61z71fcd] {
    width: 100%;
    border-collapse: collapse;
}

.ps-pub-table thead tr[b-ki61z71fcd] {
    background: #f4f6fb;
    border-bottom: 1.5px solid var(--dms-border);
}

.ps-pub-table th[b-ki61z71fcd] {
    padding: 9px 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--dms-text3);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: .6px;
    white-space: nowrap;
}

.ps-pub-table tbody tr[b-ki61z71fcd] {
    border-bottom: 1px solid var(--dms-border);
    transition: .12s;
    cursor: pointer;
}
.ps-pub-table tbody tr:last-child[b-ki61z71fcd] { border-bottom: none; }
.ps-pub-table tbody tr:hover[b-ki61z71fcd] { background: var(--palatinate-light); }

.ps-pub-table td[b-ki61z71fcd] {
    padding: 11px 14px;
    font-size: 13px;
    vertical-align: middle;
}

.ps-doc-cell[b-ki61z71fcd] { display: flex; align-items: center; gap: 10px; }
.ps-doc-fname[b-ki61z71fcd] { font-weight: 500; font-size: 13px; color: var(--dms-text); }
.ps-doc-fmeta[b-ki61z71fcd] { font-size: 11px; color: var(--dms-text3); margin-top: 2px; }
.ps-td-sm[b-ki61z71fcd] { font-size: 12px; color: var(--dms-text2); }
.ps-td-date[b-ki61z71fcd] { font-size: 12px; color: var(--dms-text3); }

.ps-tag[b-ki61z71fcd] {
    display: inline-flex;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 10px;
    background: #f4f6fb;
    color: var(--dms-text2);
    margin-right: 3px;
    border: 1px solid var(--dms-border);
}

.ps-btn-view[b-ki61z71fcd] {
    height: 28px;
    padding: 0 11px;
    border-radius: 7px;
    border: 1.5px solid var(--dms-border);
    background: #fff;
    color: var(--dms-text2);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    transition: .15s;
    white-space: nowrap;
}
.ps-btn-view:hover[b-ki61z71fcd] { border-color: var(--palatinate); color: var(--palatinate); background: var(--palatinate-light); }

.ps-table-footer[b-ki61z71fcd] {
    padding: 10px 14px;
    font-size: 12px;
    color: var(--dms-text3);
    border-top: 1px solid var(--dms-border);
}

.ps-empty-row[b-ki61z71fcd] {
    text-align: center;
    padding: 24px;
    color: var(--dms-text3);
    font-size: 13px;
}

/* ── Welcome Bar Gradient ── */
.ps-welcome-bar[b-ki61z71fcd] {
    background: linear-gradient(135deg, var(--palatinate) 0%, #3d4ff7 60%, var(--palatinate-h) 100%);
    border-radius: var(--dms-radius-lg);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
    flex-wrap: wrap;
}

.ps-wb-text[b-ki61z71fcd] { flex: 1; }
.ps-wb-text h2[b-ki61z71fcd] { font-size: 20px; font-weight: 700; margin: 0 0 4px; letter-spacing: .1px; }
.ps-wb-text p[b-ki61z71fcd]  { font-size: 13px; opacity: .85; margin: 0; }

.ps-wb-counter[b-ki61z71fcd] {
    text-align: center;
    background: rgba(255,255,255,.18);
    border-radius: var(--dms-radius);
    padding: 12px 20px;
    min-width: 110px;
}
.ps-wb-num[b-ki61z71fcd] { font-size: 28px; font-weight: 700; }
.ps-wb-lbl[b-ki61z71fcd] { font-size: 11px; opacity: .8; margin-top: 2px; }

.ps-wb-btn[b-ki61z71fcd] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--dms-radius);
    background: #fff;
    color: var(--palatinate);
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: .15s;
    font-family: 'Titillium Web', sans-serif;
    letter-spacing: .2px;
    text-decoration: none;
}
.ps-wb-btn:hover[b-ki61z71fcd] { background: var(--palatinate-light); color: var(--palatinate); }

/* ── Two Column ── */
.ps-two-col[b-ki61z71fcd] {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 16px;
}

/* ── Doc Rows (own docs) ── */
.ps-file-badge[b-ki61z71fcd] {
    width: 34px;
    height: 34px;
    border-radius: var(--dms-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.ps-file-badge.ps-sm[b-ki61z71fcd] { width: 30px; height: 30px; font-size: 10px; }
.ps-file-badge.pdf[b-ki61z71fcd]  { background: #fdecea; color: #d32f2f; }
.ps-file-badge.docx[b-ki61z71fcd] { background: var(--cambridge-light); color: var(--cambridge); }
.ps-file-badge.xlsx[b-ki61z71fcd] { background: var(--palatinate-light); color: var(--palatinate); }

.ps-doc-row[b-ki61z71fcd] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--dms-border);
    cursor: pointer;
    transition: .1s;
}
.ps-doc-row:last-child[b-ki61z71fcd] { border-bottom: none; }
.ps-doc-row:hover[b-ki61z71fcd] { background: #f4f6fb; }

.ps-doc-info[b-ki61z71fcd]   { flex: 1; min-width: 0; }
.ps-doc-name[b-ki61z71fcd]   { display: block; font-size: 13px; font-weight: 600; color: var(--dms-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-doc-meta[b-ki61z71fcd]   { display: block; font-size: 11px; color: var(--dms-text3); margin-top: 2px; }
.ps-doc-date[b-ki61z71fcd]   { font-size: 11px; color: var(--dms-text3); white-space: nowrap; }

/* ── Status Badges ── */
.ps-status[b-ki61z71fcd] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: .2px;
}
.ps-status[b-ki61z71fcd]::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.s-draft[b-ki61z71fcd]    { background: #f0f2f8; color: #6b7a9a; }
.s-pending[b-ki61z71fcd]  { background: var(--giants-light); color: var(--giants); }
.s-approved[b-ki61z71fcd] { background: var(--cambridge-light); color: var(--cambridge); }
.s-rejected[b-ki61z71fcd] { background: #fdecea; color: #d32f2f; }
.s-archived[b-ki61z71fcd] { background: #f0f2f8; color: var(--dms-text3); }

/* ── Pending Rows (right panel) ── */
.ps-pending-row[b-ki61z71fcd] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--dms-border);
}
.ps-pending-row:last-child[b-ki61z71fcd] { border-bottom: none; }

.ps-pending-info[b-ki61z71fcd] { flex: 1; min-width: 0; }
.ps-pending-name[b-ki61z71fcd] { display: block; font-size: 12px; font-weight: 600; color: var(--dms-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-pending-sub[b-ki61z71fcd]  { display: block; font-size: 11px; color: var(--dms-text3); margin-top: 1px; }

/* ── Stats Grid ── */
.ps-stats[b-ki61z71fcd] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ps-stat[b-ki61z71fcd] {
    background: #fff;
    border-radius: var(--dms-radius-lg);
    padding: 18px 20px;
    border: 1px solid var(--dms-border);
    box-shadow: var(--dms-shadow);
}

.ps-stat-icon[b-ki61z71fcd] {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.ps-stat-lbl[b-ki61z71fcd] {
    font-size: 11px;
    font-weight: 700;
    color: var(--dms-text3);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 8px;
}

.ps-stat-val[b-ki61z71fcd] {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.ps-stat-sub[b-ki61z71fcd]      { font-size: 11px; color: var(--dms-text3); }
.ps-stat-sub.up[b-ki61z71fcd]   { color: var(--cambridge); }

/* ── Published Docs Table – Row Styles ── */
.ps-ftype[b-ki61z71fcd] {
    width: 34px; height: 34px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 9px; font-weight: 700; color: #fff;
    flex-shrink: 0;
}
.ps-ftype.pdf[b-ki61z71fcd]  { background: #ef4444; }
.ps-ftype.docx[b-ki61z71fcd] { background: #2563eb; }
.ps-ftype.xlsx[b-ki61z71fcd] { background: #16a34a; }
.ps-ftype.pdf[b-ki61z71fcd], .ps-ftype.docx[b-ki61z71fcd], .ps-ftype.xlsx[b-ki61z71fcd] { }

.ps-doc-sub[b-ki61z71fcd]  { font-size: 11px; color: var(--dms-text3); margin-top: 1px; }
.ps-txt-sm[b-ki61z71fcd]   { font-size: 12px; color: var(--dms-text2); }
.ps-txt-muted[b-ki61z71fcd] { color: var(--dms-text3); }

.ps-pub-tag[b-ki61z71fcd] {
    display: inline-flex;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 10px;
    background: #f4f6fb;
    color: var(--dms-text2);
    margin-right: 3px;
    border: 1px solid var(--dms-border);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .ps-two-col[b-ki61z71fcd] { grid-template-columns: 1fr; }
    .ps-stats[b-ki61z71fcd]   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .ps-body[b-ki61z71fcd]    { padding: 16px; }
    .ps-topbar[b-ki61z71fcd]  { padding: 0 16px; height: auto; min-height: 64px; flex-wrap: wrap; }
    .ps-welcome-bar[b-ki61z71fcd] { flex-direction: column; }
    .ps-stats[b-ki61z71fcd]   { grid-template-columns: repeat(2, 1fr); }
}
/* /Components/Pages/Dashboard/SistemYoneticisi.razor.rz.scp.css */
/* ===== Sistem Yöneticisi specific styles ===== */

.btn-add-user[b-yjvhz3taex] {
    padding: 0.55rem 1.25rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}
.btn-add-user:disabled[b-yjvhz3taex] { opacity: 0.5; cursor: not-allowed; }

/* --- Admin Layout --- */
.admin-layout[b-yjvhz3taex] {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    align-items: start;
}

/* --- User Table --- */
.user-table-section[b-yjvhz3taex] {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.table-top[b-yjvhz3taex] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
}

.table-top h2[b-yjvhz3taex] { font-size: 1rem; font-weight: 700; color: #111827; margin: 0; }

.user-table[b-yjvhz3taex] { width: 100%; border-collapse: collapse; }
.user-table th[b-yjvhz3taex] {
    padding: 0.75rem 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #6b7280;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.user-table td[b-yjvhz3taex] {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.user-table tr.selected[b-yjvhz3taex] { background: #eff6ff; }
.user-table tr:hover[b-yjvhz3taex] { background: #f9fafb; }

.user-cell[b-yjvhz3taex] { display: flex; align-items: center; gap: 0.75rem; }
.email[b-yjvhz3taex] { font-size: 0.78rem; color: #9ca3af; }

.role-tag[b-yjvhz3taex] {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    margin-right: 0.25rem;
}
.role-tag.personel[b-yjvhz3taex] { background: #dbeafe; color: #2563eb; }
.role-tag.yonetici[b-yjvhz3taex] { background: #ede9fe; color: #7c3aed; }
.role-tag.denetci[b-yjvhz3taex] { background: #fef3c7; color: #b45309; }
.role-tag.sysadmin[b-yjvhz3taex] { background: #d1fae5; color: #059669; }

.status-dot[b-yjvhz3taex] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.35rem;
}
.status-dot.active[b-yjvhz3taex] { background: #22c55e; }
.status-dot.inactive[b-yjvhz3taex] { background: #d1d5db; }

.btn-edit[b-yjvhz3taex] {
    background: none;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.35rem 0.6rem;
    cursor: pointer;
    font-size: 0.8rem;
}

.table-footer[b-yjvhz3taex] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.8rem;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
}

.pagination[b-yjvhz3taex] { display: flex; gap: 0.35rem; }
.page-btn[b-yjvhz3taex] {
    width: 32px;
    height: 32px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 0.82rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-btn.active[b-yjvhz3taex] { background: #2563eb; color: #fff; border-color: #2563eb; }
.page-btn:disabled[b-yjvhz3taex] { opacity: 0.4; cursor: not-allowed; }

/* --- User Detail Panel --- */
.user-detail-panel[b-yjvhz3taex] {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    text-align: center;
}

.detail-avatar[b-yjvhz3taex] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.user-detail-panel h3[b-yjvhz3taex] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem;
}

.detail-email[b-yjvhz3taex] { font-size: 0.82rem; color: #6b7280; display: block; margin-bottom: 0.5rem; }
.detail-status[b-yjvhz3taex] { font-size: 0.82rem; color: #22c55e; font-weight: 500; display: block; margin-bottom: 1.5rem; }

.role-assignment[b-yjvhz3taex], .special-permissions[b-yjvhz3taex] { text-align: left; margin-bottom: 1.5rem; }
.role-assignment h4[b-yjvhz3taex], .special-permissions h4[b-yjvhz3taex] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
}

.role-toggle[b-yjvhz3taex] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.88rem;
    color: #374151;
    cursor: pointer;
}

.toggle[b-yjvhz3taex] {
    width: 40px;
    height: 22px;
    border-radius: 12px;
    background: #d1d5db;
    position: relative;
    transition: background 0.2s;
}
.toggle[b-yjvhz3taex]::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    top: 2px;
    left: 2px;
    transition: transform 0.2s;
}
.toggle.on[b-yjvhz3taex] { background: #2563eb; }
.toggle.on[b-yjvhz3taex]::after { transform: translateX(18px); }

.perm-item[b-yjvhz3taex] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.85rem;
}
.perm-sub[b-yjvhz3taex] { font-size: 0.72rem; color: #9ca3af; }
.perm-level[b-yjvhz3taex] { font-size: 0.72rem; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 6px; }
.perm-level.view[b-yjvhz3taex] { background: #dbeafe; color: #2563eb; }
.perm-level.edit[b-yjvhz3taex] { background: #fef3c7; color: #b45309; }

.btn-add-perm[b-yjvhz3taex] {
    display: block;
    width: 100%;
    padding: 0.55rem;
    margin-top: 0.75rem;
    background: none;
    border: 1.5px dashed #d1d5db;
    border-radius: 10px;
    color: #6b7280;
    font-size: 0.82rem;
    cursor: pointer;
}
.btn-add-perm:disabled[b-yjvhz3taex] { opacity: 0.5; cursor: not-allowed; }

.detail-actions[b-yjvhz3taex] {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}
.btn-cancel[b-yjvhz3taex], .btn-save[b-yjvhz3taex] {
    flex: 1;
    padding: 0.75rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}
.btn-cancel[b-yjvhz3taex] { background: #fff; border: 1.5px solid #d1d5db; color: #374151; }
.btn-save[b-yjvhz3taex] { background: #2563eb; border: none; color: #fff; }
.btn-cancel:disabled[b-yjvhz3taex], .btn-save:disabled[b-yjvhz3taex] { opacity: 0.5; cursor: not-allowed; }

.user-chip.ok[b-yjvhz3taex] { background: #059669; }
.user-chip.yd[b-yjvhz3taex] { background: #2563eb; }
.user-chip.sa[b-yjvhz3taex] { background: #7c3aed; }

@media (max-width: 1024px) {
    .admin-layout[b-yjvhz3taex] { grid-template-columns: 1fr; }
}
/* /Components/Pages/Dashboard/Yonetici.razor.rz.scp.css */
/* ===== Yönetici Ana Sayfa — yh- prefix ===== */

/* MudAvatar yh-wc-avatar boyutuna uysun */
.yh-wc-avatar-mud[b-ubsezu7im3] {
    width: 42px !important;
    height: 42px !important;
    font-size: 1rem !important;
    flex-shrink: 0;
}

/* MudTable'ı mevcut yh-pub-table gibi göster */
.yh-mud-table[b-ubsezu7im3] {
    width: 100%;
}

/* MudTh yh-pub-table th stilini taklit et */
.yh-th[b-ubsezu7im3] {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    color: var(--text3) !important;
    text-transform: uppercase;
    padding: 10px 14px !important;
    background: var(--gray-bg) !important;
    border-bottom: 1px solid var(--border) !important;
}

/* MudPanel link butonu yh-panel-link gibi */
.yh-panel-link-btn[b-ubsezu7im3] {
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding: 0 4px !important;
    min-width: unset !important;
}

/* ── Layout ── */
.yh-page[b-ubsezu7im3] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bg);
    overflow: hidden;
}

/* ── Topbar ── */
.yh-topbar[b-ubsezu7im3] {
    height: 80px;
    flex-shrink: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.yh-topbar-title[b-ubsezu7im3] {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .2px;
    color: var(--text);
}

.yh-topbar-right[b-ubsezu7im3] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.yh-date[b-ubsezu7im3] {
    font-size: 12px;
    color: var(--text3);
    font-weight: 400;
}

.yh-role-badge[b-ubsezu7im3] {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    background: var(--cambridge-light);
    color: var(--cambridge);
    letter-spacing: .3px;
}

.yh-signout[b-ubsezu7im3] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    text-decoration: none;
    transition: .15s;
    font-family: 'Titillium Web', sans-serif;
}

    .yh-signout:hover[b-ubsezu7im3] {
        background: var(--red-bg);
        color: var(--red);
        border-color: #f5b8b8;
    }

/* ── Scroll area ── */
.yh-scroll[b-ubsezu7im3] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
}

/* ── Welcome compact ── */
.yh-welcome-compact[b-ubsezu7im3] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.yh-wc-avatar[b-ubsezu7im3] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--palatinate), var(--palatinate-h));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.yh-wc-text[b-ubsezu7im3] {
    flex: 1;
    min-width: 0;
}

.yh-wc-name[b-ubsezu7im3] {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .1px;
}

.yh-wc-sub[b-ubsezu7im3] {
    font-size: 12px;
    color: var(--text3);
    margin-top: 2px;
    line-height: 1.4;
}

/* ── Section divider ── */
.yh-section-divider[b-ubsezu7im3] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0 20px;
}

.yh-divider-line[b-ubsezu7im3] {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.yh-divider-label[b-ubsezu7im3] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: 11px;
    font-weight: 700;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: .8px;
    white-space: nowrap;
}

/* ── Panels ── */
.yh-panel[b-ubsezu7im3] {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.yh-panel-header[b-ubsezu7im3] {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}

.yh-panel-title[b-ubsezu7im3] {
    font-size: 14px;
    font-weight: 700;
    flex: 1;
    letter-spacing: .1px;
    color: var(--text);
}

/* ── Published docs table ── */
.yh-pub-table[b-ubsezu7im3] {
    width: 100%;
    border-collapse: collapse;
}

    .yh-pub-table thead tr[b-ubsezu7im3] {
        background: var(--gray-bg);
        border-bottom: 1.5px solid var(--border);
    }

    .yh-pub-table th[b-ubsezu7im3] {
        padding: 9px 14px;
        font-size: 11px;
        font-weight: 700;
        color: var(--text3);
        text-align: left;
        text-transform: uppercase;
        letter-spacing: .6px;
        white-space: nowrap;
    }

    .yh-pub-table tbody tr[b-ubsezu7im3] {
        border-bottom: 1px solid var(--border);
        transition: .12s;
    }

        .yh-pub-table tbody tr:last-child[b-ubsezu7im3] {
            border-bottom: none;
        }

        .yh-pub-table tbody tr:hover[b-ubsezu7im3] {
            background: var(--palatinate-light);
        }

    .yh-pub-table td[b-ubsezu7im3] {
        padding: 11px 14px;
        font-size: 13px;
        vertical-align: middle;
    }

.yh-pub-footer[b-ubsezu7im3] {
    padding: 10px 14px;
    font-size: 12px;
    color: var(--text3);
    border-top: 1px solid var(--border);
}

.yh-empty-row[b-ubsezu7im3] {
    text-align: center;
    color: var(--text3);
    padding: 28px 14px !important;
    font-size: 13px;
}

/* ── Manager approval banner ── */
.yh-mgr-banner[b-ubsezu7im3] {
    background: linear-gradient(135deg, var(--palatinate-h) 0%, var(--palatinate) 55%, #3d4ff7 100%);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

    .yh-mgr-banner[b-ubsezu7im3]::before {
        content: '';
        position: absolute;
        top: -40px;
        right: 120px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(255,255,255,.06);
    }

.yh-mb-text[b-ubsezu7im3] {
    flex: 1;
    position: relative;
    z-index: 1;
}

    .yh-mb-text h3[b-ubsezu7im3] {
        font-size: 20px;
        font-weight: 700;
        color: #fff;
        margin: 0 0 6px;
        letter-spacing: .1px;
    }

    .yh-mb-text p[b-ubsezu7im3] {
        font-size: 13px;
        color: rgba(255,255,255,.82);
        line-height: 1.5;
        margin: 0;
    }

.yh-mb-counter[b-ubsezu7im3] {
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: var(--radius);
    padding: 14px 24px;
    text-align: center;
    min-width: 110px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.yh-mb-num[b-ubsezu7im3] {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.yh-mb-lbl[b-ubsezu7im3] {
    font-size: 12px;
    color: rgba(255,255,255,.75);
    margin-top: 3px;
}

/* ── Two-column grid ── */
.yh-two-col[b-ubsezu7im3] {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 16px;
    margin-bottom: 20px;
}

/* ── Approval rows ── */
.yh-approval-row[b-ubsezu7im3] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    transition: .12s;
}

    .yh-approval-row:last-child[b-ubsezu7im3] {
        border-bottom: none;
    }

    .yh-approval-row:hover[b-ubsezu7im3] {
        background: var(--giants-light);
    }

.yh-ar-info[b-ubsezu7im3] {
    flex: 1;
    min-width: 0;
}

.yh-ar-name[b-ubsezu7im3] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yh-ar-meta[b-ubsezu7im3] {
    font-size: 11px;
    color: var(--text3);
    margin-top: 1px;
}

.yh-ar-date[b-ubsezu7im3] {
    font-size: 12px;
    color: var(--text3);
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 4px;
}

.yh-ar-actions[b-ubsezu7im3] {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.yh-btn-approve[b-ubsezu7im3] {
    height: 30px;
    padding: 0 12px;
    border-radius: 7px;
    border: 1.5px solid var(--cambridge);
    background: var(--white);
    color: var(--cambridge);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    transition: .15s;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .yh-btn-approve:hover[b-ubsezu7im3] {
        background: var(--cambridge-light);
    }

.yh-btn-reject-sm[b-ubsezu7im3] {
    height: 30px;
    padding: 0 12px;
    border-radius: 7px;
    border: 1.5px solid var(--giants);
    background: var(--white);
    color: var(--giants);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    transition: .15s;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .yh-btn-reject-sm:hover[b-ubsezu7im3] {
        background: var(--giants-light);
    }

.yh-btn-view-sm[b-ubsezu7im3] {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text3);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    transition: .15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .yh-btn-view-sm:hover[b-ubsezu7im3] {
        background: var(--palatinate-light);
        color: var(--palatinate);
        border-color: #cfd6ff;
    }

/* ── Approved rows ── */
.yh-appr-row[b-ubsezu7im3] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
}

    .yh-appr-row:last-child[b-ubsezu7im3] {
        border-bottom: none;
    }

.yh-appr-info[b-ubsezu7im3] {
    flex: 1;
    min-width: 0;
}

.yh-appr-badge[b-ubsezu7im3] {
    background: var(--cambridge-light);
    color: var(--cambridge);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.yh-appr-badge-rejected[b-ubsezu7im3] {
    background: var(--giants-light);
    color: var(--giants);
    border: 1px solid rgba(244, 96, 54, 0.16);
}

/* ── Empty state ── */
.yh-empty-state[b-ubsezu7im3] {
    padding: 28px;
    text-align: center;
    color: var(--text3);
    font-size: 13px;
}

/* ── Welcome bar (gradient) ── */
.yh-welcome-bar[b-ubsezu7im3] {
    background: linear-gradient(135deg, var(--palatinate) 0%, #3d4ff7 60%, var(--palatinate-h) 100%);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    color: #fff;
    flex-wrap: wrap;
}

.yh-wb-text h2[b-ubsezu7im3] {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
    letter-spacing: .1px;
}

.yh-wb-text p[b-ubsezu7im3] {
    font-size: 13px;
    opacity: .85;
    margin: 0;
}

.yh-btn-hero[b-ubsezu7im3] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--palatinate);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: .15s;
    font-family: 'Titillium Web', sans-serif;
    letter-spacing: .2px;
    margin-left: auto;
}

    .yh-btn-hero:hover[b-ubsezu7im3] {
        background: var(--palatinate-light);
    }

/* ── Personal doc rows ── */
.yh-doc-row[b-ubsezu7im3] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    border-bottom: 1px solid var(--border);
    transition: .12s;
}

    .yh-doc-row:last-child[b-ubsezu7im3] {
        border-bottom: none;
    }

    .yh-doc-row:hover[b-ubsezu7im3] {
        background: var(--palatinate-light);
    }

.yh-doc-row-info[b-ubsezu7im3] {
    flex: 1;
    min-width: 0;
}

.yh-doc-row-name[b-ubsezu7im3] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yh-doc-row-meta[b-ubsezu7im3] {
    font-size: 11px;
    color: var(--text3);
    margin-top: 1px;
}

.yh-doc-row-date[b-ubsezu7im3] {
    font-size: 11px;
    color: var(--text3);
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Pending item ── */
.yh-pending-item[b-ubsezu7im3] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border-bottom: 1px solid var(--border);
}

    .yh-pending-item:last-child[b-ubsezu7im3] {
        border-bottom: none;
    }

.yh-pending-info[b-ubsezu7im3] {
    flex: 1;
    min-width: 0;
}

.yh-pending-name[b-ubsezu7im3] {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yh-pending-sub[b-ubsezu7im3] {
    font-size: 11px;
    color: var(--text3);
    margin-top: 1px;
}

/* ── Status badges ── */
.yh-status[b-ubsezu7im3] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: .2px;
}

    .yh-status[b-ubsezu7im3]::before {
        content: '';
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: currentColor;
    }

.yh-s-pending[b-ubsezu7im3] {
    background: var(--giants-light);
    color: var(--giants);
}

.yh-s-approved[b-ubsezu7im3] {
    background: var(--cambridge-light);
    color: var(--cambridge);
}

.yh-s-rejected[b-ubsezu7im3] {
    background: var(--red-bg);
    color: var(--red);
}

.yh-s-draft[b-ubsezu7im3] {
    background: #f0f2f8;
    color: #6b7a9a;
}

.yh-s-archived[b-ubsezu7im3] {
    background: #f0f2f8;
    color: var(--text3);
}

/* ── Stats grid ── */
.yh-stats-grid[b-ubsezu7im3] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.yh-stat-card[b-ubsezu7im3] {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

    .yh-stat-card[b-ubsezu7im3]::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

.yh-stat-blue[b-ubsezu7im3]::after {
    background: var(--palatinate);
}

.yh-stat-orange[b-ubsezu7im3]::after {
    background: var(--giants);
}

.yh-stat-green[b-ubsezu7im3]::after {
    background: var(--cambridge);
}

.yh-stat-red[b-ubsezu7im3]::after {
    background: var(--red);
}

.yh-stat-icon[b-ubsezu7im3] {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.yh-stat-label[b-ubsezu7im3] {
    font-size: 11px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 5px;
}

.yh-stat-value[b-ubsezu7im3] {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.yh-stat-change[b-ubsezu7im3] {
    font-size: 11px;
    color: var(--text3);
}

/* ── Toast ── */
.yh-toast[b-ubsezu7im3] {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a2233;
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 400;
    white-space: nowrap;
    box-shadow: 0 4px 24px rgba(0,0,0,.22);
    font-family: 'Titillium Web', sans-serif;
    animation: yh-toast-in-b-ubsezu7im3 .25s ease;
}

@keyframes yh-toast-in-b-ubsezu7im3 {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.yh-toast-dot[b-ubsezu7im3] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Reject Modal ── */
.yh-modal-backdrop[b-ubsezu7im3] {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 40, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
}

.yh-modal[b-ubsezu7im3] {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(43,59,245,.18);
    width: 100%;
    max-width: 460px;
    padding: 28px 32px;
    animation: yh-modal-in-b-ubsezu7im3 .22s ease;
}

@keyframes yh-modal-in-b-ubsezu7im3 {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.yh-modal-title[b-ubsezu7im3] {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}

.yh-modal-desc[b-ubsezu7im3] {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.5;
    margin: 0 0 16px;
}

.yh-modal-textarea[b-ubsezu7im3] {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-family: 'Titillium Web', sans-serif;
    resize: vertical;
    transition: border-color .15s;
    box-sizing: border-box;
    color: var(--text);
}

    .yh-modal-textarea:focus[b-ubsezu7im3] {
        outline: none;
        border-color: var(--palatinate);
        box-shadow: 0 0 0 3px rgba(43,59,245,.1);
    }

    .yh-modal-textarea.yh-input-error[b-ubsezu7im3] {
        border-color: var(--red);
        box-shadow: 0 0 0 3px rgba(211,47,47,.1);
    }

.yh-validation-msg[b-ubsezu7im3] {
    display: block;
    font-size: 12px;
    color: var(--red);
    margin-top: 6px;
    font-weight: 500;
}

.yh-modal-actions[b-ubsezu7im3] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.yh-modal-btn-cancel[b-ubsezu7im3] {
    height: 38px;
    padding: 0 20px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text2);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    transition: .15s;
}

    .yh-modal-btn-cancel:hover[b-ubsezu7im3] {
        background: var(--gray-bg);
    }

.yh-modal-btn-reject[b-ubsezu7im3] {
    height: 38px;
    padding: 0 20px;
    border-radius: var(--radius);
    border: none;
    background: var(--giants);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    transition: .15s;
}

    .yh-modal-btn-reject:hover[b-ubsezu7im3] {
        background: #d44e28;
    }

    .yh-modal-btn-cancel:disabled[b-ubsezu7im3],
    .yh-modal-btn-reject:disabled[b-ubsezu7im3] {
        opacity: .55;
        cursor: not-allowed;
    }

/* ── Preview Modal ── */
.yh-preview-overlay[b-ubsezu7im3] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 350;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.yh-preview-modal[b-ubsezu7im3] {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 720px;
    max-width: 95vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(43,59,245,.2);
    animation: yh-slide-up-b-ubsezu7im3 .22s ease;
}

@keyframes yh-slide-up-b-ubsezu7im3 {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.yh-pm-header[b-ubsezu7im3] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.yh-pm-icon[b-ubsezu7im3] {
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.yh-pm-info[b-ubsezu7im3] {
    flex: 1;
    min-width: 0;
}

.yh-pm-title[b-ubsezu7im3] {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yh-pm-sub[b-ubsezu7im3] {
    font-size: 12px;
    color: var(--text3);
    margin-top: 3px;
}

.yh-pm-close[b-ubsezu7im3] {
    width: 30px;
    height: 30px;
    border-radius: var(--radius);
    border: none;
    background: var(--gray-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text2);
    font-size: 16px;
    transition: .15s;
    flex-shrink: 0;
    margin-top: 2px;
}

    .yh-pm-close:hover[b-ubsezu7im3] {
        background: var(--red-bg);
        color: var(--red);
    }

.yh-pm-body[b-ubsezu7im3] {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    background: var(--gray-bg);
}

.yh-pm-doc-page[b-ubsezu7im3] {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(43,59,245,.08);
    padding: 28px 32px;
}

.yh-pm-doc-header[b-ubsezu7im3] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--palatinate);
}

.yh-pm-badge[b-ubsezu7im3] {
    background: var(--palatinate);
    color: #fff;
    font-family: 'Titillium Web', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    letter-spacing: .4px;
}

.yh-pm-ref[b-ubsezu7im3] {
    text-align: right;
    font-size: 11px;
    color: var(--text3);
    line-height: 1.6;
}

    .yh-pm-ref strong[b-ubsezu7im3] {
        color: var(--text2);
    }

.yh-pm-doc-title[b-ubsezu7im3] {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.yh-pm-content-label[b-ubsezu7im3] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    color: var(--text3);
    margin-bottom: 8px;
}

.yh-pm-content-text[b-ubsezu7im3] {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.7;
    margin: 0;
    white-space: pre-wrap;
    padding: 14px 16px;
}

.yh-pm-content-scroll[b-ubsezu7im3] {
    height: 220px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--gray-bg);
    padding: 0;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.yh-pm-iframe[b-ubsezu7im3] {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius);
    display: block;
}

.yh-pm-preview-loading[b-ubsezu7im3] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    color: var(--text3);
    font-size: 13px;
}

    .yh-pm-preview-loading svg[b-ubsezu7im3] {
        animation: yh-spin-b-ubsezu7im3 .8s linear infinite;
        flex-shrink: 0;
    }

@keyframes yh-spin-b-ubsezu7im3 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.yh-pm-preview-empty[b-ubsezu7im3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    color: var(--text3);
    font-size: 12px;
    text-align: center;
    padding: 16px;
}

.yh-pm-content-scroll[b-ubsezu7im3]::-webkit-scrollbar {
    width: 5px;
}

.yh-pm-content-scroll[b-ubsezu7im3]::-webkit-scrollbar-track {
    background: transparent;
}

.yh-pm-content-scroll[b-ubsezu7im3]::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

    .yh-pm-content-scroll[b-ubsezu7im3]::-webkit-scrollbar-thumb:hover {
        background: var(--text3);
    }

.yh-pm-table[b-ubsezu7im3] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

    .yh-pm-table th[b-ubsezu7im3] {
        padding: 9px 14px;
        font-size: 11px;
        font-weight: 700;
        color: var(--text2);
        background: var(--gray-bg);
        text-align: left;
        letter-spacing: .3px;
        border-bottom: 1px solid var(--border);
    }

    .yh-pm-table td[b-ubsezu7im3] {
        padding: 9px 14px;
        font-size: 12px;
        border-bottom: 1px solid var(--border);
        vertical-align: middle;
    }

    .yh-pm-table tr:last-child td[b-ubsezu7im3] {
        border-bottom: none;
    }

    .yh-pm-table td:first-child[b-ubsezu7im3] {
        color: var(--text2);
        font-weight: 600;
    }

.yh-pm-accent[b-ubsezu7im3] {
    color: var(--palatinate);
    font-weight: 600;
}

.yh-pm-footer[b-ubsezu7im3] {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    background: var(--white);
}

.yh-pm-btn-dl[b-ubsezu7im3] {
    height: 40px;
    padding: 0 22px;
    border-radius: var(--radius);
    border: none;
    background: var(--palatinate);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    transition: .15s;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: .2px;
}

    .yh-pm-btn-dl:hover[b-ubsezu7im3] {
        background: var(--palatinate-h);
        box-shadow: 0 4px 14px rgba(43,59,245,.3);
    }

.yh-pm-btn-cl[b-ubsezu7im3] {
    height: 40px;
    padding: 0 20px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text2);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    transition: .15s;
}

    .yh-pm-btn-cl:hover[b-ubsezu7im3] {
        background: var(--gray-bg);
    }

/* ── Responsive ── */
@media (max-width: 1200px) {
    .yh-two-col[b-ubsezu7im3] {
        grid-template-columns: 1fr;
    }

    .yh-stats-grid[b-ubsezu7im3] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .yh-scroll[b-ubsezu7im3] {
        padding: 16px;
    }

    .yh-topbar[b-ubsezu7im3] {
        padding: 0 16px;
    }

    .yh-stats-grid[b-ubsezu7im3] {
        grid-template-columns: 1fr 1fr;
    }

    .yh-preview-overlay[b-ubsezu7im3] {
        padding: 12px;
    }

    .yh-preview-modal[b-ubsezu7im3] {
        max-width: 100%;
        max-height: 94vh;
        border-radius: 14px;
    }

    .yh-pm-header[b-ubsezu7im3],
    .yh-pm-body[b-ubsezu7im3],
    .yh-pm-footer[b-ubsezu7im3] {
        padding-left: 14px;
        padding-right: 14px;
    }

    .yh-pm-doc-page[b-ubsezu7im3] {
        padding: 14px;
    }

    .yh-pm-doc-header[b-ubsezu7im3] {
        flex-direction: column;
        align-items: flex-start;
    }

    .yh-pm-ref[b-ubsezu7im3] {
        text-align: left;
    }

    .yh-pm-iframe[b-ubsezu7im3] {
        height: 300px;
    }
    @media (max-width: 768px) {
        .yh-preview-modal[b-ubsezu7im3] {
            width: 95vw;
            max-height: 92vh;
        }

        .yh-pm-body[b-ubsezu7im3] {
            padding: 14px 16px;
        }

        .yh-pm-doc-page[b-ubsezu7im3] {
            padding: 18px 16px;
        }

        .yh-pm-doc-header[b-ubsezu7im3] {
            flex-direction: column;
            gap: 10px;
        }

        .yh-pm-ref[b-ubsezu7im3] {
            text-align: left;
        }

        .yh-pm-footer[b-ubsezu7im3] {
            flex-direction: column-reverse;
        }

        .yh-pm-btn-cl[b-ubsezu7im3],
        .yh-pm-btn-dl[b-ubsezu7im3] {
            width: 100%;
            justify-content: center;
        }
    }
}
/* /Components/Pages/Documents/Belgelerim.razor.rz.scp.css */
/* ===== Belgelerim — Wireframe Uyumlu ===== */

/* Page */
.bm-page[b-gc3s8gyebi] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--dms-bg);
    min-width: 0;
}

/* TOPBAR */
.bm-topbar[b-gc3s8gyebi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.bm-topbar-title[b-gc3s8gyebi] {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.bm-topbar-right[b-gc3s8gyebi] {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

.bm-date[b-gc3s8gyebi] {
    font-size: 0.82rem;
    color: #6b7280;
}

.bm-role-badge[b-gc3s8gyebi] {
    background: #eff6ff;
    color: #2563eb;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #bfdbfe;
}

.bm-signout[b-gc3s8gyebi] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    font-size: 0.82rem;
    color: #374151;
    background: #f3f4f6;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

    .bm-signout:hover[b-gc3s8gyebi] {
        background: #e5e7eb;
        color: #111827;
    }

/* BODY */
.bm-body[b-gc3s8gyebi] {
    padding: 1.5rem 2rem;
}

/* PAGE HEADER */
.bm-page-header[b-gc3s8gyebi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.bm-section-title[b-gc3s8gyebi] {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.bm-new-doc-btn[b-gc3s8gyebi] {
    background: #2563eb;
    color: white;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease;
}

    .bm-new-doc-btn:hover[b-gc3s8gyebi] {
        background: #1d4ed8;
    }

/* FILTER CARD */
.bm-filters-card[b-gc3s8gyebi] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.2rem;
}

.bm-filters-grid[b-gc3s8gyebi] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.bm-span-2[b-gc3s8gyebi] {
    grid-column: span 2;
}

.bm-filter-field[b-gc3s8gyebi] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.bm-filter-label[b-gc3s8gyebi] {
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 600;
}

.bm-hidden-label[b-gc3s8gyebi] {
    visibility: hidden;
}

.bm-filter-input[b-gc3s8gyebi],
.bm-filter-select[b-gc3s8gyebi] {
    padding: 0.58rem 0.7rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.8rem;
    background: #fff;
    color: #111827;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .bm-filter-input:focus[b-gc3s8gyebi],
    .bm-filter-select:focus[b-gc3s8gyebi] {
        border-color: #93c5fd;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
    }

    .bm-filter-input:disabled[b-gc3s8gyebi],
    .bm-filter-select:disabled[b-gc3s8gyebi] {
        background: #f9fafb;
        color: #9ca3af;
    }

.bm-filter-action[b-gc3s8gyebi] {
    justify-content: flex-end;
}

.bm-clear-btn[b-gc3s8gyebi] {
    margin-top: auto;
    padding: 0.58rem 0.8rem;
    background: #f3f4f6;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    transition: background 0.15s ease;
}

    .bm-clear-btn:hover[b-gc3s8gyebi] {
        background: #e5e7eb;
    }

/* TABLE CARD */
.bm-table-card[b-gc3s8gyebi] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

/* TABLE */
.bm-wire-table[b-gc3s8gyebi] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .bm-wire-table th[b-gc3s8gyebi] {
        text-align: left;
        font-size: 0.7rem;
        color: #6b7280;
        padding: 0.75rem 0.8rem;
        background: #f9fafb;
        font-weight: 700;
        letter-spacing: 0.02em;
    }

    .bm-wire-table td[b-gc3s8gyebi] {
        padding: 0.8rem;
        border-top: 1px solid #f3f4f6;
        font-size: 0.85rem;
        vertical-align: middle;
        color: #374151;
    }

    .bm-wire-table tr:hover[b-gc3s8gyebi] {
        background: #f9fafb;
    }

    .bm-wire-table tr.selected[b-gc3s8gyebi] {
        background: #eff6ff;
    }

.bm-empty[b-gc3s8gyebi] {
    text-align: center;
    color: #94a3b8;
    padding: 1.5rem 1rem !important;
}

/* FILE */
.bm-wire-file[b-gc3s8gyebi] {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    min-width: 0;
}

.bm-wire-file-info[b-gc3s8gyebi] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.bm-wire-file-name[b-gc3s8gyebi] {
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bm-wire-file-meta[b-gc3s8gyebi] {
    font-size: 0.75rem;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bm-wire-date[b-gc3s8gyebi] {
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.8rem;
}

/* BADGE */
.bm-file-badge[b-gc3s8gyebi] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    flex-shrink: 0;
}

.fmt-pdf[b-gc3s8gyebi] {
    background: #fee2e2;
    color: #dc2626;
}

.fmt-docx[b-gc3s8gyebi] {
    background: #dbeafe;
    color: #1d4ed8;
}

.fmt-xlsx[b-gc3s8gyebi] {
    background: #dcfce7;
    color: #16a34a;
}

.fmt-other[b-gc3s8gyebi] {
    background: #f3f4f6;
    color: #6b7280;
}

/* STATUS */
.bm-status-pill[b-gc3s8gyebi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.22rem 0.62rem;
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
}

.st-bekliyor[b-gc3s8gyebi] {
    background: #ece8ff;
    color: #6d4aff;
}

.st-onaylandi[b-gc3s8gyebi] {
    background: #e8eeff;
    color: #2b38f5;
}

.st-taslak[b-gc3s8gyebi] {
    background: #fff1e8;
    color: #f46036;
}

.st-reddedildi[b-gc3s8gyebi] {
    background: #fde8e8;
    color: #d32f2f;
}

.st-yayinlandi[b-gc3s8gyebi] {
    background: #eef6ff;
    color: #2563eb;
}

.st-arsivlendi[b-gc3s8gyebi] {
    background: #f1f5f9;
    color: #475569;
}

/* TAGS */
.bm-wire-tags[b-gc3s8gyebi] {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.bm-tag[b-gc3s8gyebi] {
    background: #eff0ff;
    color: #5b55e3;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    white-space: nowrap;
}

.bm-tag-inline[b-gc3s8gyebi] {
    margin-left: 0.35rem;
    vertical-align: middle;
}

/* ACTIONS */
.bm-wire-actions[b-gc3s8gyebi] {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.bm-icon-btn[b-gc3s8gyebi] {
    background: #f3f4f6;
    border: none;
    padding: 0.32rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    color: #374151;
    transition: background 0.15s ease, color 0.15s ease;
}

    .bm-icon-btn:hover[b-gc3s8gyebi] {
        background: #e5e7eb;
    }

.bm-icon-btn-danger[b-gc3s8gyebi] {
    background: #fff5f5;
    color: #d32f2f;
}

    .bm-icon-btn-danger:hover[b-gc3s8gyebi] {
        background: #fee2e2;
        color: #b91c1c;
    }

/* FOOTER */
.bm-table-footer[b-gc3s8gyebi] {
    padding: 0.75rem 0.9rem;
    font-size: 0.75rem;
    color: #9ca3af;
    border-top: 1px solid #f3f4f6;
    text-align: left;
}

/* PAGINATION */
.bm-pagination-wrap[b-gc3s8gyebi],
.bm-drafts-pagination-wrap[b-gc3s8gyebi] {
    display: flex;
    justify-content: center;
    padding: 0.8rem 1rem 1rem;
}

.bm-pagination[b-gc3s8gyebi],
.bm-drafts-pagination[b-gc3s8gyebi] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.bm-page-btn[b-gc3s8gyebi] {
    min-width: 34px;
    height: 34px;
    padding: 0 0.8rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .bm-page-btn:hover:not(:disabled)[b-gc3s8gyebi] {
        background: #f9fafb;
        border-color: #cbd5e1;
        color: #374151;
    }

    .bm-page-btn.active[b-gc3s8gyebi] {
        background: #2b38f5;
        border-color: #2b38f5;
        color: #fff;
        box-shadow: 0 4px 10px rgba(43, 56, 245, 0.18);
    }

    .bm-page-btn:disabled[b-gc3s8gyebi] {
        opacity: 0.45;
        cursor: not-allowed;
    }

/* DRAFTS */
.bm-drafts-section[b-gc3s8gyebi] {
    margin-top: 1rem;
    border: 1px solid #f3d2c7;
    border-radius: 12px;
    padding: 1rem;
    background: #fff;
}

.bm-drafts-header[b-gc3s8gyebi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.bm-drafts-title[b-gc3s8gyebi] {
    font-weight: 700;
    color: #92400e;
    font-size: 0.95rem;
}

.bm-drafts-count[b-gc3s8gyebi] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #b45309;
}

.bm-drafts-empty[b-gc3s8gyebi] {
    padding: 1.2rem 1rem;
    text-align: center;
    background: #fffaf7;
    border: 1px dashed #f3d2c7;
    border-radius: 10px;
}

.bm-drafts-empty-title[b-gc3s8gyebi] {
    margin: 0 0 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #9a3412;
}

.bm-drafts-empty-text[b-gc3s8gyebi] {
    margin: 0;
    font-size: 0.8rem;
    color: #b45309;
}

.bm-drafts-list[b-gc3s8gyebi] {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.bm-draft-card[b-gc3s8gyebi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 1px solid #eceff3;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    background: #fff;
    transition: background 0.15s ease, border-color 0.15s ease;
}

    .bm-draft-card:hover[b-gc3s8gyebi] {
        background: #f9fafb;
        border-color: #dbe1e8;
    }

.bm-draft-left[b-gc3s8gyebi] {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}

.bm-draft-info[b-gc3s8gyebi] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.bm-draft-name[b-gc3s8gyebi] {
    font-size: 0.86rem;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 520px;
}

.bm-draft-meta[b-gc3s8gyebi] {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.6;
    white-space: normal;
}

.bm-draft-right[b-gc3s8gyebi] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* DRAFT ACTION BUTTONS */
.bm-draft-actions[b-gc3s8gyebi] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.bm-draft-btn[b-gc3s8gyebi] {
    height: 34px;
    padding: 0 0.95rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

    .bm-draft-btn:hover[b-gc3s8gyebi] {
        background: #f9fafb;
        border-color: #d1d5db;
        color: #111827;
    }

.bm-draft-btn-primary[b-gc3s8gyebi] {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.12);
}

    .bm-draft-btn-primary:hover[b-gc3s8gyebi] {
        background: #1d4ed8;
        border-color: #1d4ed8;
        color: #ffffff;
    }

.bm-draft-btn-danger[b-gc3s8gyebi] {
    background: #ffffff;
    color: #b91c1c;
    border-color: #f1c8c8;
}

    .bm-draft-btn-danger:hover[b-gc3s8gyebi] {
        background: #fef2f2;
        border-color: #efb6b6;
        color: #991b1b;
    }

/* TOAST */
.bm-toast[b-gc3s8gyebi] {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    background: #111827;
    color: #fff;
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    z-index: 600;
    font-size: 0.82rem;
    font-weight: 600;
    animation: bmToastIn-b-gc3s8gyebi 0.18s ease;
}

.bm-toast-dot[b-gc3s8gyebi] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

@keyframes bmToastIn-b-gc3s8gyebi {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .bm-wire-table[b-gc3s8gyebi] {
        table-layout: auto;
    }

    .bm-draft-name[b-gc3s8gyebi] {
        max-width: 320px;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .bm-body[b-gc3s8gyebi] {
        padding: 1rem;
    }

    .bm-topbar[b-gc3s8gyebi] {
        padding: 0.9rem 1rem;
    }

    .bm-filters-grid[b-gc3s8gyebi] {
        grid-template-columns: 1fr 1fr;
    }

    .bm-span-2[b-gc3s8gyebi] {
        grid-column: span 2;
    }

    .bm-page-header[b-gc3s8gyebi] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .bm-new-doc-btn[b-gc3s8gyebi] {
        text-align: center;
    }

    .bm-draft-card[b-gc3s8gyebi] {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
    }

    .bm-draft-right[b-gc3s8gyebi] {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .bm-draft-actions[b-gc3s8gyebi] {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .bm-pagination[b-gc3s8gyebi],
    .bm-drafts-pagination[b-gc3s8gyebi] {
        width: 100%;
        justify-content: center;
    }
}

/* Küçük tablet / büyük telefon */
@media (max-width: 640px) {
    .bm-topbar-paper[b-gc3s8gyebi] {
        padding: 0 16px !important;
        height: 64px !important;
    }

    .bm-topbar-date[b-gc3s8gyebi] {
        display: none !important;
    }

    .bm-role-badge[b-gc3s8gyebi] {
        display: none;
    }

    .bm-body[b-gc3s8gyebi] {
        padding: 0.85rem;
    }

    .bm-filters-grid[b-gc3s8gyebi] {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .bm-span-2[b-gc3s8gyebi] {
        grid-column: span 1;
    }

    .bm-filter-action[b-gc3s8gyebi] {
        padding-top: 4px;
    }

    .bm-table-card[b-gc3s8gyebi] {
        overflow-x: auto;
    }

    .bm-draft-name[b-gc3s8gyebi] {
        max-width: 100%;
    }

    .dp-panel[b-gc3s8gyebi] {
        width: 100% !important;
    }
}

/* Telefon */
@media (max-width: 480px) {
    .bm-topbar-paper[b-gc3s8gyebi] {
        padding: 0 12px !important;
        height: 56px !important;
    }

    .bm-body[b-gc3s8gyebi] {
        padding: 0.7rem;
    }

    .bm-filters-card[b-gc3s8gyebi] {
        padding: 0.75rem;
    }

    .bm-page-header[b-gc3s8gyebi] {
        margin-bottom: 12px !important;
    }

    .bm-draft-actions[b-gc3s8gyebi] {
        gap: 0.4rem;
    }

    .dp-panel[b-gc3s8gyebi] {
        width: 100% !important;
    }

    .dp-grid[b-gc3s8gyebi] {
        grid-template-columns: 1fr;
    }

    .dp-field-full[b-gc3s8gyebi] {
        grid-column: span 1;
    }

    .dp-foot[b-gc3s8gyebi] {
        padding: 10px 14px;
        gap: 6px;
    }

    .bm-drafts-section[b-gc3s8gyebi] {
        padding: 0.75rem;
    }
}

/* ===== DETAIL PANEL ===== */

.dp-overlay[b-gc3s8gyebi] {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 40, .38);
    z-index: 300;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}

.dp-panel[b-gc3s8gyebi] {
    width: 420px;
    height: 100vh;
    background: #fff;
    box-shadow: -6px 0 28px rgba(0,0,0,.1);
    display: flex;
    flex-direction: column;
    border-radius: 0 !important;
    animation: dpIn-b-gc3s8gyebi .2s ease;
}

@keyframes dpIn-b-gc3s8gyebi {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.dp-head[b-gc3s8gyebi] {
    padding: 18px 20px 14px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    flex-shrink: 0;
}

.dp-ft-badge[b-gc3s8gyebi] {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.dp-titles[b-gc3s8gyebi] {
    flex: 1;
    min-width: 0;
}

.dp-name[b-gc3s8gyebi] {
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
    line-height: 1.4;
    color: #0d0e1a;
}

.dp-sub[b-gc3s8gyebi] {
    font-size: 11px;
    color: #9aaabe;
    margin-top: 2px;
}

.dp-x[b-gc3s8gyebi] {
    width: 27px;
    height: 27px;
    border-radius: 7px;
    border: none;
    background: #f5f7fa;
    cursor: pointer;
    font-size: 17px;
    color: #5a6a85;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    transition: background .15s, color .15s;
}

    .dp-x:hover[b-gc3s8gyebi] {
        background: #ffebee;
        color: #c62828;
    }

.dp-body[b-gc3s8gyebi] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px 20px;
}

.dp-sec[b-gc3s8gyebi] {
    margin-bottom: 16px;
}

.dp-sec-title[b-gc3s8gyebi] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #9aaabe;
    margin-bottom: 9px;
}

.dp-grid[b-gc3s8gyebi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.dp-field[b-gc3s8gyebi] {
    background: #f8fafc;
    border-radius: 8px;
    padding: 9px 11px;
    border: 1px solid #e2e8f0;
}

.dp-field-full[b-gc3s8gyebi] {
    grid-column: span 2;
}

.dp-fl[b-gc3s8gyebi] {
    font-size: 11px;
    color: #9aaabe;
    margin-bottom: 2px;
}

.dp-fv[b-gc3s8gyebi] {
    font-size: 13px;
    font-weight: 500;
    color: #0d0e1a;
}

.dp-desc[b-gc3s8gyebi] {
    font-size: 13px;
    color: #5a6a85;
    line-height: 1.6;
    background: #f8fafc;
    padding: 11px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* APPROVAL FLOW */
.dp-flow[b-gc3s8gyebi] {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.dp-fl-step[b-gc3s8gyebi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.dp-fd[b-gc3s8gyebi] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    border: 2px solid #e2e8f0;
    background: #f5f7fa;
    color: #9aaabe;
}

.dp-fd-done[b-gc3s8gyebi] {
    background: #edf7e0;
    border-color: #70B32F;
    color: #70B32F;
}

.dp-fd-active[b-gc3s8gyebi] {
    background: #2B3BF5;
    border-color: #2B3BF5;
    color: #fff;
}

.dp-fd-rej[b-gc3s8gyebi] {
    background: #ffebee;
    border-color: #c62828;
    color: #c62828;
}

.dp-fl-label[b-gc3s8gyebi] {
    font-size: 9px;
    color: #9aaabe;
    text-align: center;
    white-space: nowrap;
}

.dp-fl-line[b-gc3s8gyebi] {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin-bottom: 13px;
    min-width: 8px;
}

/* PANEL FOOTER */
.dp-foot[b-gc3s8gyebi] {
    padding: 12px 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.dp-btn[b-gc3s8gyebi] {
    height: 34px;
    padding: 0 14px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all .15s;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #5a6a85;
}

    .dp-btn:hover[b-gc3s8gyebi] {
        border-color: #2B3BF5;
        color: #2B3BF5;
    }

.dp-btn-primary[b-gc3s8gyebi] {
    background: #2B3BF5;
    color: #fff;
    border-color: #2B3BF5;
    font-weight: 700;
}

    .dp-btn-primary:hover[b-gc3s8gyebi] {
        background: #1e30d4;
        color: #fff;
        border-color: #1e30d4;
    }

.dp-btn-danger[b-gc3s8gyebi] {
    color: #c62828;
    border-color: #ffcdd2;
}

    .dp-btn-danger:hover[b-gc3s8gyebi] {
        background: #ffebee;
        color: #b71c1c;
    }

@media (max-width: 480px) {
    .dp-panel[b-gc3s8gyebi] {
        width: 100%;
    }
}

.dp-sec-title-red[b-gc3s8gyebi] {
    color: #c62828;
}

.dp-rejection-note[b-gc3s8gyebi] {
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13px;
    color: #5a6a85;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

.dp-rejection-loading[b-gc3s8gyebi] {
    color: #9ca3af;
    font-style: italic;
    background: #f9fafb;
    border-color: #e5e7eb;
}
.bm-sortable[b-gc3s8gyebi] {
    cursor: pointer;
    user-select: none;
    transition: color 0.15s ease;
}

    .bm-sortable:hover[b-gc3s8gyebi] {
        color: #2b38f5;
    }

[b-gc3s8gyebi] .bm-selected-row td {
    background: var(--palatinate-light) !important;
}
/* /Components/Pages/Documents/BelgeYukle.razor.rz.scp.css */
/* ===== Belge Yükle (by- prefix) ===== */

.by-page[b-mwwh8q521e] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--dms-bg);
}

/* ── Topbar ── */
.by-topbar[b-mwwh8q521e] {
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--dms-border);
    padding: 0 28px;
    height: 80px;
    flex-shrink: 0;
    gap: 14px;
}

.by-topbar-title[b-mwwh8q521e] {
    font-size: 17px;
    font-weight: 700;
    color: var(--dms-text);
    letter-spacing: .2px;
    margin: 0;
}

.by-topbar-right[b-mwwh8q521e] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.by-date[b-mwwh8q521e] {
    font-size: 12px;
    color: var(--dms-text3);
    font-weight: 400;
}

.by-role-badge[b-mwwh8q521e] {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    background: var(--palatinate-light);
    color: var(--palatinate);
}

.by-signout[b-mwwh8q521e] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--dms-radius);
    border: 1.5px solid var(--dms-border);
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: var(--dms-text2);
    text-decoration: none;
    transition: .15s;
    font-family: 'Titillium Web', sans-serif;
}

    .by-signout:hover[b-mwwh8q521e] {
        background: #fdecea;
        color: #d32f2f;
        border-color: #f5b8b8;
    }

/* ── Scroll Area ── */
.by-scroll[b-mwwh8q521e] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px 28px;
}

/* ── Breadcrumb ── */
.by-breadcrumb-row[b-mwwh8q521e] {
    padding: 14px 0 0;
    margin-bottom: 16px;
}

.by-breadcrumb[b-mwwh8q521e] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--dms-text3);
}

.by-crumb-link[b-mwwh8q521e] {
    color: var(--palatinate);
    text-decoration: none;
    font-weight: 600;
}

    .by-crumb-link:hover[b-mwwh8q521e] {
        text-decoration: underline;
    }

.by-crumb-sep[b-mwwh8q521e] {
    color: var(--dms-border);
}

.by-crumb-current[b-mwwh8q521e] {
    color: var(--dms-text);
    font-weight: 600;
}

/* ── Success Banner ── */
.by-toast[b-mwwh8q521e] {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 10000;
    min-width: 320px;
    max-width: calc(100vw - 32px);
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 18px 60px rgba(15, 23, 42, .30);
    font-family: 'Titillium Web', sans-serif;
}

.by-toast-ok[b-mwwh8q521e] {
    background: #111827;
    color: #ffffff;
}

.by-toast-err[b-mwwh8q521e] {
    background: #111827;
    color: #ffffff;
}

.by-toast-icon[b-mwwh8q521e] {
    flex-shrink: 0;
    margin-top: 1px;
}

.by-toast-ok .by-toast-icon[b-mwwh8q521e] { color: #4ade80; }
.by-toast-err .by-toast-icon[b-mwwh8q521e] { color: #f87171; }

.by-toast-body[b-mwwh8q521e] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.by-toast-main[b-mwwh8q521e] {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.by-toast-sub[b-mwwh8q521e] {
    font-size: 11px;
    font-weight: 400;
    color: #9ca3af;
    line-height: 1.4;
}

.by-toast-close[b-mwwh8q521e] {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-top: -1px;
    flex-shrink: 0;
}

.by-toast-close:hover[b-mwwh8q521e] { color: #ffffff; }

/* ── Grid ── */
.by-grid[b-mwwh8q521e] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: start;
}

.by-form-col[b-mwwh8q521e],
.by-info-col[b-mwwh8q521e] {
    min-width: 0;
}

/* ── Card ── */
.by-card[b-mwwh8q521e] {
    background: #fff;
    border-radius: var(--dms-radius-lg);
    border: 1px solid var(--dms-border);
    box-shadow: var(--dms-shadow);
    padding: 24px;
    margin-bottom: 16px;
    overflow: hidden;
}

.by-card-title[b-mwwh8q521e] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--dms-text);
    margin: 0 0 18px;
    letter-spacing: .1px;
}

/* ── Drop Zone ── */
.by-dropzone[b-mwwh8q521e] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 36px 20px;
    border: 2px dashed #c8d5f5;
    border-radius: var(--dms-radius-lg);
    cursor: pointer;
    transition: .2s;
    text-align: center;
    background: #f7f9ff;
}

    .by-dropzone:hover[b-mwwh8q521e],
    .by-dropzone.by-dropzone--drag[b-mwwh8q521e] {
        border-color: var(--palatinate);
        background: var(--palatinate-light);
    }

.by-dropzone--drag[b-mwwh8q521e] {
    border-style: solid !important;
    box-shadow: 0 0 0 3px rgba(var(--palatinate-rgb, 72 52 212) / .15);
}

.by-drop-icon[b-mwwh8q521e] {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--palatinate-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.by-drop-main[b-mwwh8q521e] {
    font-size: 14px;
    font-weight: 700;
    color: var(--dms-text);
}

.by-drop-sub[b-mwwh8q521e] {
    font-size: 12px;
    color: var(--dms-text3);
    line-height: 1.6;
    margin-bottom: 6px;
}

.by-format-chips[b-mwwh8q521e] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.by-fmt[b-mwwh8q521e] {
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: #f4f6fb;
    color: var(--dms-text2);
    border: 1px solid var(--dms-border);
}

/* ── File Row ── */
.by-file-row[b-mwwh8q521e] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid var(--dms-border);
    border-radius: var(--dms-radius);
    margin-top: 12px;
    background: #fff;
}

.by-file-ext[b-mwwh8q521e] {
    width: 36px;
    height: 36px;
    border-radius: var(--dms-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    background: #f4f6fb;
    color: var(--dms-text2);
}

.by-ext-pdf[b-mwwh8q521e] {
    background: #fdecea;
    color: #d32f2f;
}

.by-ext-docx[b-mwwh8q521e] {
    background: var(--cambridge-light);
    color: var(--cambridge);
}

.by-ext-xlsx[b-mwwh8q521e] {
    background: var(--palatinate-light);
    color: var(--palatinate);
}

.by-file-info[b-mwwh8q521e] {
    flex: 1;
    min-width: 0;
}

.by-file-name[b-mwwh8q521e] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dms-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.by-file-status[b-mwwh8q521e] {
    display: block;
    font-size: 11px;
    color: var(--cambridge);
    font-weight: 500;
    margin-top: 2px;
}

.by-file-note[b-mwwh8q521e] {
    color: var(--dms-text3) !important;
}

.by-file-progress[b-mwwh8q521e] {
    height: 4px;
    border-radius: 2px;
    background: #dde3ef;
    margin-top: 5px;
    overflow: hidden;
}

.by-file-progress-fill[b-mwwh8q521e] {
    height: 100%;
    width: 100%;
    background: var(--cambridge);
    border-radius: 2px;
}

.by-file-remove[b-mwwh8q521e] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: #f4f6fb;
    color: var(--dms-text3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: .15s;
}

    .by-file-remove:hover[b-mwwh8q521e] {
        background: #fdecea;
        color: #d32f2f;
    }

.by-file-err[b-mwwh8q521e] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: var(--dms-radius);
    background: #fdecea;
    border: 1.5px solid #f5b8b8;
    font-size: 13px;
    color: #d32f2f;
}

.by-file-err-icon[b-mwwh8q521e] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #d32f2f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Form Fields ── */
.by-field[b-mwwh8q521e] {
    margin-bottom: 18px;
    min-width: 0;
}

    .by-field:last-child[b-mwwh8q521e] {
        margin-bottom: 0;
    }

.by-label[b-mwwh8q521e] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dms-text);
    margin-bottom: 6px;
    letter-spacing: .1px;
}

.by-req[b-mwwh8q521e] {
    color: var(--giants);
}

.by-input[b-mwwh8q521e],
.by-select[b-mwwh8q521e],
.by-field input[type="text"][b-mwwh8q521e],
.by-field input[type="date"][b-mwwh8q521e],
.by-field input[type="datetime-local"][b-mwwh8q521e],
.by-field select[b-mwwh8q521e] {
    width: 100%;
    height: 42px;
    border: 1.5px solid var(--dms-border);
    border-radius: var(--dms-radius);
    padding: 0 14px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 13px;
    color: var(--dms-text);
    background: #fff;
    outline: none;
    transition: .15s;
    box-sizing: border-box;
    min-width: 0;
}

    .by-input:focus[b-mwwh8q521e],
    .by-select:focus[b-mwwh8q521e],
    .by-field input[type="text"]:focus[b-mwwh8q521e],
    .by-field input[type="date"]:focus[b-mwwh8q521e],
    .by-field input[type="datetime-local"]:focus[b-mwwh8q521e],
    .by-field select:focus[b-mwwh8q521e] {
        border-color: var(--palatinate);
        box-shadow: 0 0 0 3px rgba(43, 59, 245, .1);
    }

    .by-input[b-mwwh8q521e]::placeholder,
    .by-field input[b-mwwh8q521e]::placeholder {
        color: var(--dms-text3);
    }

    .by-input[type="date"][b-mwwh8q521e],
    .by-input[type="datetime-local"][b-mwwh8q521e],
    .by-field input[type="date"][b-mwwh8q521e],
    .by-field input[type="datetime-local"][b-mwwh8q521e] {
        padding-right: 10px;
    }

.by-select[b-mwwh8q521e],
.by-field select[b-mwwh8q521e] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a9ab8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    padding-right: 36px;
}

    .by-select:disabled[b-mwwh8q521e],
    .by-field select:disabled[b-mwwh8q521e] {
        background: #f4f6fb;
        color: var(--dms-text3);
        cursor: not-allowed;
        opacity: 1;
        border-color: var(--dms-border);
    }

.by-textarea[b-mwwh8q521e],
.by-field textarea[b-mwwh8q521e] {
    width: 100%;
    min-height: 78px;
    border: 1.5px solid var(--dms-border);
    border-radius: var(--dms-radius);
    padding: 10px 14px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 13px;
    color: var(--dms-text);
    background: #fff;
    outline: none;
    resize: vertical;
    transition: .15s;
    box-sizing: border-box;
    min-width: 0;
}

    .by-textarea:focus[b-mwwh8q521e],
    .by-field textarea:focus[b-mwwh8q521e] {
        border-color: var(--palatinate);
        box-shadow: 0 0 0 3px rgba(43, 59, 245, .1);
    }

    .by-textarea[b-mwwh8q521e]::placeholder,
    .by-field textarea[b-mwwh8q521e]::placeholder {
        color: var(--dms-text3);
    }

.by-hint[b-mwwh8q521e] {
    display: block;
    font-size: 11px;
    color: var(--dms-text3);
    margin-top: 5px;
}

/* ── Tags Wrap ── */
.by-tags-wrap[b-mwwh8q521e] {
    min-height: 42px;
    border: 1.5px solid var(--dms-border);
    border-radius: var(--dms-radius);
    padding: 6px 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    align-content: center;
    background: #fff;
    transition: .15s;
    cursor: text;
}

    .by-tags-wrap:focus-within[b-mwwh8q521e] {
        border-color: var(--palatinate);
        box-shadow: 0 0 0 3px rgba(43, 59, 245, .1);
    }

.by-tag[b-mwwh8q521e] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--palatinate-light);
    color: var(--palatinate);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.4;
}

.by-tag-remove[b-mwwh8q521e] {
    background: none;
    border: none;
    color: var(--palatinate);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: .6;
    transition: .15s;
}

    .by-tag-remove:hover[b-mwwh8q521e] {
        color: #d32f2f;
        opacity: 1;
    }

.by-field .by-tags-wrap .by-tag-input[b-mwwh8q521e] {
    border: none;
    outline: none;
    box-shadow: none;
    height: 28px;
    line-height: 28px;
    padding: 0 2px;
    width: auto;
    font-family: 'Titillium Web', sans-serif;
    font-size: 13px;
    color: var(--dms-text);
    min-width: 140px;
    flex: 1;
    background: transparent;
    align-self: center;
}

    .by-field .by-tags-wrap .by-tag-input[b-mwwh8q521e]::placeholder {
        color: var(--dms-text3);
    }

    .by-field .by-tags-wrap .by-tag-input:focus[b-mwwh8q521e] {
        border: none;
        outline: none;
        box-shadow: none;
    }

/* ── Tag Autocomplete ── */
.by-tag-field-wrap[b-mwwh8q521e] {
    position: relative;
}

.by-tag-suggestions[b-mwwh8q521e] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid var(--palatinate);
    border-radius: var(--dms-radius);
    box-shadow: 0 4px 24px rgba(43, 59, 245, .12);
    z-index: 200;
    overflow: hidden;
    display: none;
}

    .by-tag-suggestions.open[b-mwwh8q521e] {
        display: block;
    }

.by-tag-sug-item[b-mwwh8q521e] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dms-text);
    cursor: pointer;
    transition: .12s;
    border-bottom: 1px solid var(--dms-border);
}

    .by-tag-sug-item:last-child[b-mwwh8q521e] {
        border-bottom: none;
    }

    .by-tag-sug-item:hover[b-mwwh8q521e],
    .by-tag-sug-item.focused[b-mwwh8q521e] {
        background: var(--palatinate-light);
        color: var(--palatinate);
    }

.by-tag-sug-icon[b-mwwh8q521e] {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: var(--palatinate-light);
    color: var(--palatinate);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.by-tag-sug-item.focused .by-tag-sug-icon[b-mwwh8q521e] {
    background: var(--palatinate);
    color: #fff;
}

.by-tag-sug-mark[b-mwwh8q521e] {
    color: var(--palatinate);
    background: rgba(43, 59, 245, .1);
    border-radius: 2px;
    padding: 0 1px;
}

.by-tag-sug-label[b-mwwh8q521e] {
    flex: 1;
    min-width: 0;
    display: block;
    line-height: 1.4;
    word-break: break-word;
}

.by-tag-sug-new[b-mwwh8q521e] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #2d6b47;
    cursor: pointer;
    transition: .12s;
    background: #e6f3eb;
}

    .by-tag-sug-new:hover[b-mwwh8q521e],
    .by-tag-sug-new.focused[b-mwwh8q521e] {
        background: #d0ead9;
    }

.by-tag-sug-new-icon[b-mwwh8q521e] {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: #67A37F;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}

.by-tag-dup-toast[b-mwwh8q521e] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff3cd;
    border: 1.5px solid #ffc107;
    border-radius: var(--dms-radius);
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #856404;
    z-index: 201;
    display: none;
    align-items: center;
    gap: 6px;
}

    .by-tag-dup-toast.show[b-mwwh8q521e] {
        display: flex;
    }

/* ── Atanan Yönetici ── */
.by-manager-box[b-mwwh8q521e] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1.5px solid #c8d5f5;
    border-radius: var(--dms-radius);
    background: var(--palatinate-light);
}

.by-manager-avatar[b-mwwh8q521e] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--palatinate);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.by-manager-info[b-mwwh8q521e] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.by-manager-name[b-mwwh8q521e] {
    font-size: 13px;
    font-weight: 700;
    color: var(--dms-text);
}

.by-manager-sub[b-mwwh8q521e] {
    font-size: 11px;
    color: var(--dms-text3);
    margin-top: 2px;
    line-height: 1.4;
}

/* ── Belge Türü Kartları ── */
.by-dt-options[b-mwwh8q521e] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.by-dt-card[b-mwwh8q521e] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid var(--dms-border);
    border-radius: var(--dms-radius);
    cursor: pointer;
    background: #fff;
    transition: .2s;
    user-select: none;
    position: relative;
    min-width: 0;
}

    .by-dt-card:hover[b-mwwh8q521e] {
        border-color: #b0bdd8;
        background: #f4f6fb;
    }

.by-dt-sel-record[b-mwwh8q521e] {
    border-color: var(--palatinate) !important;
    background: var(--palatinate-light) !important;
}

.by-dt-sel-share[b-mwwh8q521e] {
    border-color: var(--orange-web) !important;
    background: var(--orange-web-light, #fff8e8) !important;
}

.by-dt-err[b-mwwh8q521e] {
    border-color: var(--giants) !important;
    background: var(--giants-light) !important;
}

.by-dt-icon[b-mwwh8q521e] {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: .2s;
    font-size: 16px;
}

.by-dt-icon-record[b-mwwh8q521e] {
    background: var(--palatinate-light);
}

.by-dt-icon-share[b-mwwh8q521e] {
    background: var(--orange-web-light, #fff8e8);
}

.by-dt-sel-record .by-dt-icon-record[b-mwwh8q521e] {
    background: var(--palatinate);
    color: #fff;
}

.by-dt-sel-share .by-dt-icon-share[b-mwwh8q521e] {
    background: var(--orange-web);
    color: #fff;
}

.by-dt-body[b-mwwh8q521e] {
    flex: 1;
    min-width: 0;
}

.by-dt-title[b-mwwh8q521e] {
    font-size: 13px;
    font-weight: 700;
    color: var(--dms-text);
}

.by-dt-desc[b-mwwh8q521e] {
    font-size: 11px;
    color: var(--dms-text3);
    margin-top: 3px;
    line-height: 1.5;
}

.by-dt-dot[b-mwwh8q521e] {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--dms-border);
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

.by-dt-dot-inner[b-mwwh8q521e] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    transition: .15s;
}

.by-dt-dot-record[b-mwwh8q521e] {
    border-color: var(--palatinate);
    background: var(--palatinate);
}

    .by-dt-dot-record .by-dt-dot-inner[b-mwwh8q521e] {
        opacity: 1;
    }

.by-dt-dot-share[b-mwwh8q521e] {
    border-color: var(--orange-web);
    background: var(--orange-web);
}

    .by-dt-dot-share .by-dt-dot-inner[b-mwwh8q521e] {
        opacity: 1;
    }

/* ── Share Section ── */
.by-share-section[b-mwwh8q521e] {
    border: 1.5px solid #ffd89e;
    border-radius: var(--dms-radius);
    background: var(--orange-web-light, #fff8e8);
    padding: 16px;
    margin-top: 10px;
}

.by-share-header[b-mwwh8q521e] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--orange-web);
    margin-bottom: 12px;
}

.by-share-list[b-mwwh8q521e] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.by-share-row[b-mwwh8q521e] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1.5px solid #ffd89e;
    border-radius: var(--dms-radius);
    cursor: pointer;
    background: #fff;
    transition: .15s;
    user-select: none;
}

    .by-share-row:hover[b-mwwh8q521e] {
        border-color: var(--orange-web);
        background: var(--orange-web-light, #fff8e8);
    }

.by-share-row-sel[b-mwwh8q521e] {
    border-color: var(--orange-web) !important;
    background: var(--orange-web-light, #fff8e8) !important;
}

.by-unit-dot[b-mwwh8q521e] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.by-share-info[b-mwwh8q521e] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.by-share-name[b-mwwh8q521e] {
    font-size: 13px;
    font-weight: 600;
    color: var(--dms-text);
}

.by-unit-code[b-mwwh8q521e] {
    font-size: 10px;
    font-weight: 600;
    color: var(--dms-text3);
    background: #f1f5f9;
    border-radius: 4px;
    padding: 2px 7px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.by-share-cb[b-mwwh8q521e] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #ffd89e;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    transition: .15s;
}

.by-share-cb-on[b-mwwh8q521e] {
    background: var(--orange-web);
    border-color: var(--orange-web);
}

.by-share-chips[b-mwwh8q521e] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.by-share-chip[b-mwwh8q521e] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--orange-web);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.by-share-chip-x[b-mwwh8q521e] {
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: .75;
    transition: .15s;
}

    .by-share-chip-x:hover[b-mwwh8q521e] {
        opacity: 1;
    }

.by-share-note[b-mwwh8q521e] {
    display: block;
    font-size: 11px;
    color: #9e5e00;
    margin-top: 10px;
    line-height: 1.5;
}

.by-share-empty[b-mwwh8q521e] {
    font-size: 12px;
    color: var(--dms-text3);
    padding: 8px 0;
}

/* ── Butonlar ── */
.by-actions[b-mwwh8q521e] {
    display: flex;
    gap: 10px;
}

.by-btn-draft[b-mwwh8q521e] {
    height: 44px;
    padding: 0 24px;
    border-radius: var(--dms-radius);
    border: 1.5px solid var(--dms-border);
    background: #fff;
    color: var(--dms-text2);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .15s;
    font-family: 'Titillium Web', sans-serif;
    letter-spacing: .2px;
}

    .by-btn-draft:hover[b-mwwh8q521e] {
        background: #f4f6fb;
        color: var(--dms-text);
        border-color: #b0bdd8;
    }

    .by-btn-draft:disabled[b-mwwh8q521e] {
        opacity: .5;
        cursor: not-allowed;
    }

.by-btn-submit[b-mwwh8q521e] {
    flex: 1;
    height: 44px;
    border: none;
    border-radius: var(--dms-radius);
    background: var(--palatinate);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .15s;
    font-family: 'Titillium Web', sans-serif;
    box-shadow: 0 4px 14px rgba(43, 59, 245, .28);
    letter-spacing: .3px;
}

    .by-btn-submit:hover[b-mwwh8q521e] {
        background: var(--palatinate-h);
        transform: translateY(-1px);
    }

    .by-btn-submit:disabled[b-mwwh8q521e] {
        opacity: .5;
        cursor: not-allowed;
        transform: none;
    }

.by-btn-submit-green[b-mwwh8q521e] {
    flex: 1;
    height: 44px;
    border: none;
    border-radius: var(--dms-radius);
    background: var(--cambridge);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .15s;
    font-family: 'Titillium Web', sans-serif;
    box-shadow: 0 4px 14px rgba(103, 163, 127, .28);
    letter-spacing: .3px;
}

    .by-btn-submit-green:hover[b-mwwh8q521e] {
        background: #568e6c;
        transform: translateY(-1px);
    }

    .by-btn-submit-green:disabled[b-mwwh8q521e] {
        opacity: .5;
        cursor: not-allowed;
        transform: none;
    }

.by-btn-submit-publish[b-mwwh8q521e] {
    flex: 1;
    height: 44px;
    border: none;
    border-radius: var(--dms-radius);
    background: var(--orange-web, #FEA82F);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .15s;
    font-family: 'Titillium Web', sans-serif;
    box-shadow: 0 4px 14px rgba(254, 168, 47, .30);
    letter-spacing: .3px;
}

    .by-btn-submit-publish:hover[b-mwwh8q521e] {
        background: #e8941a;
        transform: translateY(-1px);
    }

    .by-btn-submit-publish:disabled[b-mwwh8q521e] {
        opacity: .5;
        cursor: not-allowed;
        transform: none;
    }

/* ── Validation ── */
.by-input-error[b-mwwh8q521e] {
    border-color: var(--giants) !important;
    box-shadow: 0 0 0 3px rgba(244, 96, 54, .1) !important;
}

.fhint[b-mwwh8q521e] {
    font-size: 11px;
    color: var(--dms-text3);
    margin-top: 5px;
}

.by-field-error[b-mwwh8q521e] {
    display: block;
    font-size: 11px;
    color: var(--giants);
    font-weight: 600;
    margin-top: 4px;
}

.by-toast-error[b-mwwh8q521e] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fdecea;
    border: 1.5px solid #f5b8b8;
    color: #d32f2f;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: var(--dms-radius);
}

/* ── Sağ Sütun — Onay Süreci ── */
.by-flow[b-mwwh8q521e] {
    display: flex;
    flex-direction: column;
}

.by-flow-step[b-mwwh8q521e] {
    display: flex;
    gap: 12px;
    position: relative;
    margin-bottom: 0;
}

    .by-flow-step:not(.by-flow-last)[b-mwwh8q521e]::after {
        content: '';
        position: absolute;
        left: 14px;
        top: 30px;
        height: calc(100% + 2px);
        width: 2px;
        background: var(--dms-border);
    }

.by-flow-circle[b-mwwh8q521e] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
    margin-bottom: 18px;
}

.by-fc-active[b-mwwh8q521e] {
    background: var(--palatinate);
    color: #fff;
}

.by-fc-done[b-mwwh8q521e] {
    background: var(--cambridge-light);
    color: var(--cambridge);
    border: 2px solid var(--cambridge);
}

.by-fc-wait[b-mwwh8q521e] {
    background: #f4f6fb;
    color: var(--dms-text3);
    border: 2px solid var(--dms-border);
}

.by-fc-pub[b-mwwh8q521e] {
    background: var(--orange-web);
    color: #fff;
}

.by-flow-body[b-mwwh8q521e] {
    flex: 1;
    padding-top: 4px;
    min-width: 0;
}

.by-flow-name[b-mwwh8q521e] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dms-text);
}

.by-fn-active[b-mwwh8q521e] {
    color: var(--palatinate);
}

.by-fn-pub[b-mwwh8q521e] {
    color: var(--orange-web);
}

.by-flow-desc[b-mwwh8q521e] {
    display: block;
    font-size: 11px;
    color: var(--dms-text3);
    margin-top: 2px;
}

/* ── Meta Rows ── */
.by-meta-row[b-mwwh8q521e] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid var(--dms-border);
    font-size: 12px;
}

    .by-meta-row:last-child[b-mwwh8q521e] {
        border-bottom: none;
    }

.by-meta-label[b-mwwh8q521e] {
    color: var(--dms-text3);
    flex-shrink: 0;
}

.by-meta-value[b-mwwh8q521e] {
    font-weight: 600;
    color: var(--dms-text);
    text-align: right;
    word-break: break-word;
}

.by-muted[b-mwwh8q521e] {
    color: var(--dms-border);
    font-weight: 400;
}

/* ── Status Badges ── */
.by-status[b-mwwh8q521e] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

    .by-status[b-mwwh8q521e]::before {
        content: '';
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: currentColor;
    }

.s-draft[b-mwwh8q521e] {
    background: #f0f2f8;
    color: #6b7a9a;
}

.s-pending[b-mwwh8q521e] {
    background: var(--giants-light);
    color: var(--giants);
}

/* ── 3-Level Classification ── */
.by-classification-flow[b-mwwh8q521e] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    flex-wrap: wrap;
}

.by-clf-badge[b-mwwh8q521e] {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: .3px;
    white-space: nowrap;
}

.by-clf-badge-cat[b-mwwh8q521e] {
    background: var(--palatinate-light);
    color: var(--palatinate);
}

.by-clf-badge-grp[b-mwwh8q521e] {
    background: var(--orange-web-light, #fff8e8);
    color: #9a5c00;
}

.by-clf-badge-type[b-mwwh8q521e] {
    background: var(--cambridge-light);
    color: var(--cambridge);
}

.by-clf-arrow[b-mwwh8q521e] {
    font-size: 10px;
    color: var(--dms-text3);
    line-height: 1;
}

.by-selection-info[b-mwwh8q521e] {
    margin-top: 8px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: var(--dms-radius);
}

.by-selection-info-head[b-mwwh8q521e] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.by-selection-info-main[b-mwwh8q521e] {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.by-selection-info-sub[b-mwwh8q521e] {
    font-size: 11px;
    margin-top: 2px;
    line-height: 1.45;
}

.by-selection-info-cat[b-mwwh8q521e] {
    background: var(--palatinate-light);
    border-color: #b0bef7;
    color: var(--palatinate);
}

.by-selection-info-grp[b-mwwh8q521e] {
    background: var(--orange-web-light, #fff8e8);
    border-color: #f5d07a;
    color: #9a5c00;
}

.by-selection-info-type[b-mwwh8q521e] {
    background: var(--cambridge-light);
    border-color: #a7d4b7;
    color: var(--cambridge);
}

/* ── Special Fields ── */
.by-special-fields[b-mwwh8q521e] {
    margin-bottom: 18px;
}

.by-special-fields-head[b-mwwh8q521e] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--dms-border);
}

.by-special-fields-icon[b-mwwh8q521e] {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--palatinate-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.by-special-fields-title[b-mwwh8q521e] {
    font-size: 13px;
    font-weight: 700;
    color: var(--dms-text);
    line-height: 1.2;
}

.by-special-fields-sub[b-mwwh8q521e] {
    font-size: 11px;
    color: var(--dms-text3);
    margin-top: 2px;
    line-height: 1.4;
}

.by-special-fields-grid[b-mwwh8q521e] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
    align-items: start;
}

    .by-special-fields-grid .by-field[b-mwwh8q521e] {
        margin-bottom: 16px;
    }

    .by-special-fields-grid .by-field-full[b-mwwh8q521e] {
        grid-column: 1 / -1;
    }

/* ── Workflow Info ── */
.by-workflow-info[b-mwwh8q521e] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--dms-radius);
    border: 1px solid;
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.by-workflow-dot[b-mwwh8q521e] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.by-workflow-info-mandatory[b-mwwh8q521e] {
    background: var(--palatinate-light);
    border-color: #b0bef7;
    color: var(--palatinate);
}

.by-workflow-info-optional[b-mwwh8q521e] {
    background: var(--orange-web-light, #fff8e8);
    border-color: #f5d07a;
    color: #9a5c00;
}
.by-workflow-info-noapproval[b-mwwh8q521e] {
    background: var(--cambridge-light);
    border-color: #a7d4b7;
    color: var(--cambridge);
}

/* ── Optional Approval Radios ── */
.by-opt-approval-radios[b-mwwh8q521e] {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.by-opt-radio-card[b-mwwh8q521e] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1.5px solid var(--dms-border);
    border-radius: var(--dms-radius);
    cursor: pointer;
    background: #fff;
    transition: .15s;
    user-select: none;
    min-width: 0;
}

    .by-opt-radio-card:hover[b-mwwh8q521e] {
        border-color: var(--palatinate);
        background: var(--palatinate-light);
    }

    .by-opt-radio-card input[type="radio"][b-mwwh8q521e] {
        display: none;
    }

.by-opt-radio-card-on[b-mwwh8q521e] {
    border-color: var(--palatinate);
    background: var(--palatinate-light);
}

.by-opt-radio-card-off[b-mwwh8q521e] {
    border-color: var(--giants);
    background: var(--giants-light);
}

.by-opt-radio-dot[b-mwwh8q521e] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--dms-border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.by-opt-radio-dot-inner[b-mwwh8q521e] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: none;
}

.by-opt-radio-card-on .by-opt-radio-dot[b-mwwh8q521e] {
    border-color: var(--palatinate);
}

.by-opt-radio-card-on .by-opt-radio-dot-inner[b-mwwh8q521e] {
    display: block;
    background: var(--palatinate);
}

.by-opt-radio-card-off .by-opt-radio-dot[b-mwwh8q521e] {
    border-color: var(--giants);
}

.by-opt-radio-card-off .by-opt-radio-dot-inner[b-mwwh8q521e] {
    display: block;
    background: var(--giants);
}

.by-opt-radio-label[b-mwwh8q521e] {
    font-size: 13px;
    font-weight: 700;
    color: var(--dms-text);
}

.by-opt-radio-card-on .by-opt-radio-label[b-mwwh8q521e] {
    color: var(--palatinate);
}

.by-opt-radio-card-off .by-opt-radio-label[b-mwwh8q521e] {
    color: var(--giants);
}

/* ── Mini Hint ── */
.by-mini-hint[b-mwwh8q521e] {
    display: block;
    font-size: 11px;
    color: var(--dms-text3);
    margin-top: 8px;
    margin-bottom: 10px;
    line-height: 1.45;
}

/* ── Helper Width / Groups ── */
.by-field-half[b-mwwh8q521e] {
    width: calc(50% - 7px);
}

.by-inline-fields[b-mwwh8q521e] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .by-grid[b-mwwh8q521e] {
        grid-template-columns: 1fr;
    }

    .by-info-col[b-mwwh8q521e] {
        order: -1;
    }
}

@media (max-width: 900px) {
    .by-special-fields-grid[b-mwwh8q521e],
    .by-inline-fields[b-mwwh8q521e] {
        grid-template-columns: 1fr;
    }

        .by-special-fields-grid .by-field-full[b-mwwh8q521e] {
            grid-column: auto;
        }
}

@media (max-width: 768px) {
    .by-scroll[b-mwwh8q521e] {
        padding: 0 16px 24px;
    }

    .by-topbar[b-mwwh8q521e] {
        padding: 0 16px;
        height: auto;
        min-height: 64px;
        flex-wrap: wrap;
    }

    .by-topbar-right[b-mwwh8q521e] {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
    }

    .by-dt-options[b-mwwh8q521e] {
        grid-template-columns: 1fr;
    }

    .by-actions[b-mwwh8q521e] {
        flex-direction: column;
    }

    .by-btn-draft[b-mwwh8q521e],
    .by-btn-submit[b-mwwh8q521e],
    .by-btn-submit-green[b-mwwh8q521e],
    .by-btn-submit-publish[b-mwwh8q521e] {
        width: 100%;
    }

    .by-classification-flow[b-mwwh8q521e] {
        gap: 4px;
    }

    .by-opt-approval-radios[b-mwwh8q521e] {
        flex-direction: column;
    }

    .by-meta-row[b-mwwh8q521e] {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .by-meta-value[b-mwwh8q521e] {
        text-align: left;
    }
}
/* /Components/Shared/AppHeader.razor.rz.scp.css */
/* ── AppHeader wrapper ── */
.ah-wrapper[b-xx8mmgn6xv] {
    height: 80px;
    flex-shrink: 0;
    background: var(--white, #fff);
    border-bottom: 1px solid var(--border, #dde3ef);
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 100;
}

/* ── Left ── */
.ah-left[b-xx8mmgn6xv] {
    flex-shrink: 0;
}

.ah-title[b-xx8mmgn6xv] {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .2px;
    color: var(--text, #1a2233);
    white-space: nowrap;
    font-family: 'Titillium Web', sans-serif;
}

/* ── Center: search ── */
.ah-center[b-xx8mmgn6xv] {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.ah-search-wrap[b-xx8mmgn6xv] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-bg, #f4f6fb);
    border: 1.5px solid var(--border, #dde3ef);
    border-radius: 10px;
    padding: 0 12px;
    height: 40px;
    transition: border-color .15s, box-shadow .15s;
}

.ah-search-wrap--open[b-xx8mmgn6xv],
.ah-search-wrap:focus-within[b-xx8mmgn6xv] {
    border-color: var(--palatinate, #2B3BF5);
    box-shadow: 0 0 0 3px rgba(43,59,245,.1);
    background: #fff;
}

.ah-search-icon[b-xx8mmgn6xv] {
    font-size: 18px !important;
    color: var(--text3, #8a9ab8);
    flex-shrink: 0;
}

.ah-search-input[b-xx8mmgn6xv] {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    font-family: 'Titillium Web', 'Segoe UI', sans-serif;
    color: var(--text, #1a2233);
    min-width: 0;
}

.ah-search-input[b-xx8mmgn6xv]::placeholder {
    color: var(--text3, #8a9ab8);
}

.ah-clear-btn[b-xx8mmgn6xv] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--text3, #8a9ab8);
    flex-shrink: 0;
}

.ah-clear-btn:hover[b-xx8mmgn6xv] {
    color: var(--text2, #4a5a78);
}

/* ── Dropdown ── */
.ah-dropdown[b-xx8mmgn6xv] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border, #dde3ef);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(43,59,245,.12);
    z-index: 9999;
    overflow: hidden;
    max-height: 380px;
    overflow-y: auto;
}

.ah-drop-header[b-xx8mmgn6xv] {
    padding: 10px 16px 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .6px;
    color: var(--text3, #8a9ab8);
    border-bottom: 1px solid var(--border, #dde3ef);
    text-transform: uppercase;
}

.ah-drop-state[b-xx8mmgn6xv] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 16px;
    font-size: 13px;
    color: var(--text3, #8a9ab8);
    font-family: 'Titillium Web', sans-serif;
}

.ah-drop-row[b-xx8mmgn6xv] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background .12s;
    border-bottom: 1px solid var(--border, #dde3ef);
}

.ah-drop-row:last-child[b-xx8mmgn6xv] {
    border-bottom: none;
}

.ah-drop-row:hover[b-xx8mmgn6xv] {
    background: var(--palatinate-light, #eceffe);
}

.ah-fmt-icon[b-xx8mmgn6xv] {
    font-size: 22px !important;
    flex-shrink: 0;
}

.ah-fmt-pdf[b-xx8mmgn6xv]   { color: #e53935; }
.ah-fmt-docx[b-xx8mmgn6xv],
.ah-fmt-doc[b-xx8mmgn6xv]   { color: #1976d2; }
.ah-fmt-xlsx[b-xx8mmgn6xv],
.ah-fmt-xls[b-xx8mmgn6xv]   { color: #388e3c; }
.ah-fmt-pptx[b-xx8mmgn6xv],
.ah-fmt-ppt[b-xx8mmgn6xv]   { color: #f57c00; }

.ah-drop-info[b-xx8mmgn6xv] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ah-drop-title[b-xx8mmgn6xv] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text, #1a2233);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Titillium Web', sans-serif;
}

.ah-drop-cat[b-xx8mmgn6xv] {
    font-size: 11px;
    color: var(--text3, #8a9ab8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Status badges (shared between dropdown and detail) ── */
.ah-status-badge[b-xx8mmgn6xv] {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: 'Titillium Web', sans-serif;
    letter-spacing: .3px;
}

.ah-status-badge--lg[b-xx8mmgn6xv] {
    font-size: 12px;
    padding: 5px 12px;
}

.ah-s-approved[b-xx8mmgn6xv]  { background: var(--cambridge-light, #e6f3eb); color: var(--cambridge, #67A37F); }
.ah-s-pending[b-xx8mmgn6xv]   { background: var(--orange-web-light, #fff8e8); color: var(--orange-web, #FEA82F); }
.ah-s-rejected[b-xx8mmgn6xv]  { background: var(--red-bg, #fdecea); color: var(--red, #d32f2f); }
.ah-s-archived[b-xx8mmgn6xv]  { background: #f3f4f6; color: #6b7280; }
.ah-s-draft[b-xx8mmgn6xv]     { background: #f3f4f6; color: #6b7280; }
.ah-s-other[b-xx8mmgn6xv]     { background: var(--gray-bg, #f4f6fb); color: var(--text3, #8a9ab8); }

/* ── Right ── */
.ah-right[b-xx8mmgn6xv] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.ah-date[b-xx8mmgn6xv] {
    font-size: 12px;
    color: var(--text3, #8a9ab8);
    font-weight: 400;
    white-space: nowrap;
    font-family: 'Titillium Web', sans-serif;
}

/* ── Detail overlay ── */
.ah-overlay[b-xx8mmgn6xv] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.ah-panel[b-xx8mmgn6xv] {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(43,59,245,.18);
    width: 100%;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: ah-slide-in-b-xx8mmgn6xv .18s ease;
}

@keyframes ah-slide-in-b-xx8mmgn6xv {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ah-panel-header[b-xx8mmgn6xv] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border, #dde3ef);
}

.ah-panel-title-row[b-xx8mmgn6xv] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.ah-panel-fmt[b-xx8mmgn6xv] {
    font-size: 32px !important;
    flex-shrink: 0;
    margin-top: 2px;
}

.ah-panel-title[b-xx8mmgn6xv] {
    font-size: 16px;
    font-weight: 700;
    color: var(--text, #1a2233);
    line-height: 1.3;
    font-family: 'Titillium Web', sans-serif;
}

.ah-panel-cat[b-xx8mmgn6xv] {
    font-size: 12px;
    color: var(--text3, #8a9ab8);
    margin-top: 3px;
}

.ah-panel-close[b-xx8mmgn6xv] {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--text3, #8a9ab8);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    border-radius: 6px;
    transition: background .12s;
}

.ah-panel-close:hover[b-xx8mmgn6xv] {
    background: var(--gray-bg, #f4f6fb);
    color: var(--text, #1a2233);
}

.ah-panel-body[b-xx8mmgn6xv] {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    max-height: 55vh;
}

.ah-panel-status-row[b-xx8mmgn6xv] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ah-panel-version[b-xx8mmgn6xv] {
    font-size: 12px;
    font-weight: 600;
    color: var(--text2, #4a5a78);
    background: var(--gray-bg, #f4f6fb);
    padding: 3px 10px;
    border-radius: 20px;
}

.ah-panel-grid[b-xx8mmgn6xv] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.ah-panel-field[b-xx8mmgn6xv] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ah-field-label[b-xx8mmgn6xv] {
    font-size: 11px;
    font-weight: 600;
    color: var(--text3, #8a9ab8);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.ah-field-val[b-xx8mmgn6xv] {
    font-size: 13px;
    font-weight: 500;
    color: var(--text, #1a2233);
    font-family: 'Titillium Web', sans-serif;
}

.ah-panel-desc-block[b-xx8mmgn6xv] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ah-panel-desc[b-xx8mmgn6xv] {
    margin: 0;
    font-size: 13px;
    color: var(--text2, #4a5a78);
    line-height: 1.6;
    background: var(--gray-bg, #f4f6fb);
    padding: 10px 14px;
    border-radius: 8px;
}

.ah-panel-tags[b-xx8mmgn6xv] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ah-tags-row[b-xx8mmgn6xv] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ah-tag[b-xx8mmgn6xv] {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--palatinate-light, #eceffe);
    color: var(--palatinate, #2B3BF5);
}

.ah-panel-footer[b-xx8mmgn6xv] {
    padding: 14px 20px;
    border-top: 1px solid var(--border, #dde3ef);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ── Logout confirm modal ── */
.ah-logout-overlay[b-xx8mmgn6xv] {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 40, .5);
    z-index: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.ah-logout-modal[b-xx8mmgn6xv] {
    background: #fff;
    border-radius: var(--radius-lg, 12px);
    padding: 32px 28px 24px;
    width: 380px;
    max-width: 95vw;
    box-shadow: 0 20px 60px rgba(43, 59, 245, .18);
    animation: ah-slide-in-b-xx8mmgn6xv .2s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.ah-logout-icon[b-xx8mmgn6xv] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--red-bg, #fdecea);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.ah-logout-title[b-xx8mmgn6xv] {
    font-size: 17px;
    font-weight: 700;
    color: var(--text, #1a2233);
    margin-bottom: 8px;
    line-height: 1.35;
}

.ah-logout-msg[b-xx8mmgn6xv] {
    font-size: 13px;
    color: var(--text2, #4a5a78);
    line-height: 1.55;
    margin-bottom: 24px;
}

.ah-logout-actions[b-xx8mmgn6xv] {
    display: flex;
    gap: 10px;
    width: 100%;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .ah-center[b-xx8mmgn6xv] { display: none; }
    .ah-date[b-xx8mmgn6xv]   { display: none; }
    .ah-title[b-xx8mmgn6xv]  { font-size: 15px; }
}
/* /Components/Shared/LanguageSwitcher.razor.rz.scp.css */
.lang-switcher[b-lf50y76ym6] {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--gray-bg, #f5f6fa);
    border: 1px solid var(--border, #e2e6f0);
    border-radius: 8px;
    padding: 3px 6px;
    flex-shrink: 0;
}

.lang-btn[b-lf50y76ym6] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--text3, #a0a8c0);
    padding: 2px 5px;
    border-radius: 5px;
    transition: background .15s, color .15s;
    line-height: 1;
}

.lang-btn:hover[b-lf50y76ym6] {
    color: var(--text, #1a2540);
    background: rgba(0,0,0,.05);
}

.lang-btn--active[b-lf50y76ym6] {
    color: var(--palatinate, #512b81);
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

.lang-divider[b-lf50y76ym6] {
    font-size: 10px;
    color: var(--border, #e2e6f0);
    user-select: none;
}
