@import '_content/Z.Blazor.Diagrams/Z.Blazor.Diagrams.ezdqu7jd9f.bundle.scp.css';

/* /Components/Common/DateRangePickerComponent.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   DateRangePickerComponent — Scoped CSS
   ═══════════════════════════════════════════════════════════ */

.drp-wrapper[b-cmt2gv8i4k] {
    display: block;
    width: 100%;
    position: relative;
}

/* ── Trigger button ────────────────────────────────────────── */
.drp-trigger[b-cmt2gv8i4k] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    width: 100%;
    padding: 0 0.6rem;
    height: 28px;
    font-size: 0.76rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1;
    border: 1px solid #E5E7EB;
    border-radius: 0.3rem;
    background: #FFFFFF;
    color: #6B7280;
    cursor: pointer;
    text-align: left;
    transition:
        border-color 140ms ease,
        background 140ms ease,
        box-shadow 140ms ease,
        color 140ms ease;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    position: relative;
    /* Subtle inner depth */
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

/* calendar icon */
.drp-trigger > i[b-cmt2gv8i4k] {
    font-size: 0.88rem;
    color: #9CA3AF;
    flex-shrink: 0;
    transition: color 140ms ease;
}

/* hover */
.drp-trigger:hover[b-cmt2gv8i4k] {
    border-color: #A5B4FC;
    background: #FAFBFF;
    color: #4338CA;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.06), inset 0 1px 2px rgba(0,0,0,0.02);
}
.drp-trigger:hover > i[b-cmt2gv8i4k] {
    color: #6366F1;
}

/* focus-visible ring (keyboard nav) */
.drp-trigger:focus-visible[b-cmt2gv8i4k] {
    outline: none;
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.18);
}

/* ── Active state (value is set) ───────────────────────────── */
.drp-trigger--active[b-cmt2gv8i4k] {
    border-color: #C7D2FE;
    background: linear-gradient(135deg, #F5F3FF 0%, #EEF2FF 100%);
    color: #4338CA;
    font-weight: 500;
    /* leave room for the × button */
    padding-right: 1.8rem;
    box-shadow: 0 1px 4px rgba(79,70,229,0.10), inset 0 1px 2px rgba(79,70,229,0.04);
}
.drp-trigger--active > i[b-cmt2gv8i4k] {
    color: #6366F1;
}
.drp-trigger--active:hover[b-cmt2gv8i4k] {
    border-color: #A5B4FC;
    background: linear-gradient(135deg, #EDE9FE 0%, #E0E7FF 100%);
}

/* ── Label text ────────────────────────────────────────────── */
.drp-label[b-cmt2gv8i4k] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.drp-label--placeholder[b-cmt2gv8i4k] {
    color: #C4C9D4;
    font-weight: 400;
    letter-spacing: 0;
}

/* ── Clear (×) button ──────────────────────────────────────── */
.drp-clear[b-cmt2gv8i4k] {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    padding: 0;
    background: rgba(99,102,241,0.08);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #6366F1;
    font-size: 0.72rem;
    transition: background 140ms ease, color 140ms ease, transform 140ms ease;
    flex-shrink: 0;
    line-height: 1;
}
.drp-clear:hover[b-cmt2gv8i4k] {
    background: #FEE2E2;
    color: #DC2626;
    transform: translateY(-50%) scale(1.15);
}
.drp-clear:active[b-cmt2gv8i4k] {
    transform: translateY(-50%) scale(0.95);
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE OVERRIDES
   ═══════════════════════════════════════════════════════════ */

:root[data-theme="dark"] .drp-trigger[b-cmt2gv8i4k] {
    background: #374151;
    border-color: #4B5563;
    color: #D1D5DB;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
}
:root[data-theme="dark"] .drp-trigger > i[b-cmt2gv8i4k] {
    color: #6B7280;
}
:root[data-theme="dark"] .drp-trigger:hover[b-cmt2gv8i4k] {
    border-color: #6366F1;
    background: #3D4A5C;
    color: #A5B4FC;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12), inset 0 1px 2px rgba(0,0,0,0.1);
}
:root[data-theme="dark"] .drp-trigger:hover > i[b-cmt2gv8i4k] {
    color: #818CF8;
}
:root[data-theme="dark"] .drp-trigger:focus-visible[b-cmt2gv8i4k] {
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}
:root[data-theme="dark"] .drp-trigger--active[b-cmt2gv8i4k] {
    border-color: rgba(99,102,241,0.4);
    background: rgba(99,102,241,0.1);
    color: #A5B4FC;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2), inset 0 1px 2px rgba(99,102,241,0.05);
}
:root[data-theme="dark"] .drp-trigger--active > i[b-cmt2gv8i4k] {
    color: #818CF8;
}
:root[data-theme="dark"] .drp-trigger--active:hover[b-cmt2gv8i4k] {
    background: rgba(99,102,241,0.15);
    border-color: rgba(99,102,241,0.5);
}
:root[data-theme="dark"] .drp-label--placeholder[b-cmt2gv8i4k] {
    color: #6B7280;
}
:root[data-theme="dark"] .drp-clear[b-cmt2gv8i4k] {
    background: rgba(99,102,241,0.1);
    color: #818CF8;
}
:root[data-theme="dark"] .drp-clear:hover[b-cmt2gv8i4k] {
    background: rgba(239,68,68,0.15);
    color: #FCA5A5;
}
/* /Components/Common/PageModal.razor.rz.scp.css */
/* =================================================================
   PageModal – Full-screen-like isolated page modal
   iframe benzeri davranış, sayfayı tamamen bağımsız gösterir
   ================================================================= */

.page-modal-backdrop[b-ea7318tznl] {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pageModalFadeIn-b-ea7318tznl 0.2s ease-out;
}

.page-modal-container[b-ea7318tznl] {
    position: relative;
    width: 95vw;
    height: 93vh;
    max-width: 1600px;
    background-color: var(--bg-primary, #fff);
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: pageModalSlideIn-b-ea7318tznl 0.25s ease-out;
}

.page-modal-header[b-ea7318tznl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    background-color: var(--bg-secondary, #f8f9fa);
    flex-shrink: 0;
    min-height: 52px;
}

.page-modal-title[b-ea7318tznl] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #1a1a2e);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-modal-close[b-ea7318tznl] {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: var(--text-secondary, #6c757d);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.page-modal-close:hover[b-ea7318tznl] {
    background-color: #fee2e2;
    color: #dc2626;
}

.page-modal-body[b-ea7318tznl] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    background-color: var(--bg-primary, #fff);
}

/* Body içindeki card margin/padding ayarları – içerik doğal görünsün */
.page-modal-body > .col-xl-12[b-ea7318tznl],
.page-modal-body > .row[b-ea7318tznl],
.page-modal-body > div > .row[b-ea7318tznl] {
    margin-top: 0 !important;
}

.page-modal-body .card[b-ea7318tznl] {
    box-shadow: none;
    border: 1px solid var(--border-color, #e5e7eb);
}

/* Breadcrumb'ı modal içinde gizle – gereksiz */
.page-modal-body .breadcrumb-wrapper[b-ea7318tznl],
.page-modal-body nav[aria-label="breadcrumb"][b-ea7318tznl] {
    display: none;
}

/* Animations */
@keyframes pageModalFadeIn-b-ea7318tznl {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pageModalSlideIn-b-ea7318tznl {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .page-modal-container[b-ea7318tznl] {
        width: 100vw;
        height: 100vh;
        max-width: 100%;
        border-radius: 0;
    }

    .page-modal-body[b-ea7318tznl] {
        padding: 12px;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Blazor Error UI - Keep minimal styling here as required by Blazor */
#blazor-error-ui[b-u2yungnpzv] {
    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: 10000;
}

#blazor-error-ui .dismiss[b-u2yungnpzv] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-3q2dxnp5uv],
.components-reconnect-repeated-attempt-visible[b-3q2dxnp5uv],
.components-reconnect-failed-visible[b-3q2dxnp5uv],
.components-pause-visible[b-3q2dxnp5uv],
.components-resume-failed-visible[b-3q2dxnp5uv],
.components-rejoining-animation[b-3q2dxnp5uv] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-3q2dxnp5uv],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-3q2dxnp5uv],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-3q2dxnp5uv],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-3q2dxnp5uv],
#components-reconnect-modal.components-reconnect-retrying[b-3q2dxnp5uv],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-3q2dxnp5uv],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-3q2dxnp5uv],
#components-reconnect-modal.components-reconnect-failed[b-3q2dxnp5uv],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-3q2dxnp5uv] {
    display: block;
}


#components-reconnect-modal[b-3q2dxnp5uv] {
    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-3q2dxnp5uv 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-3q2dxnp5uv 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-3q2dxnp5uv 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-3q2dxnp5uv]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-3q2dxnp5uv 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-3q2dxnp5uv {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-3q2dxnp5uv {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-3q2dxnp5uv {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-3q2dxnp5uv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-3q2dxnp5uv] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-3q2dxnp5uv] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-3q2dxnp5uv] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-3q2dxnp5uv] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-3q2dxnp5uv] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-3q2dxnp5uv] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-3q2dxnp5uv 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-3q2dxnp5uv] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-3q2dxnp5uv {
    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/Pages/Company/Companies.razor.rz.scp.css */
.companies-accordion__item[b-3nthujhotu] {
    border-bottom: 1px solid var(--border-color, #e9ecef);
}

.companies-accordion__item:last-child[b-3nthujhotu] {
    border-bottom: none;
}

.companies-accordion__item--branch[b-3nthujhotu] {
    border-left: 3px solid var(--color-primary-light, #d4c8f7);
    margin-left: 0;
    border-bottom: 1px solid var(--border-color, #e9ecef);
    background: rgba(0,0,0,0.01);
}

.companies-accordion__item--branch:last-child[b-3nthujhotu] {
    border-bottom: none;
}

.companies-accordion__header[b-3nthujhotu] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.25rem;
    transition: background 0.15s;
}

.companies-accordion__header:hover[b-3nthujhotu] {
    background: rgba(0, 0, 0, 0.025);
}

.companies-accordion__header--branch[b-3nthujhotu] {
    padding: 0.625rem 1rem 0.625rem 1.25rem;
}

.companies-accordion__toggle[b-3nthujhotu] {
    flex-shrink: 0;
    background: none;
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 5px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-muted, #6c757d);
    font-size: 0.75rem;
    transition: all 0.15s;
    padding: 0;
}

.companies-accordion__toggle:hover[b-3nthujhotu] {
    background: var(--color-primary-light, #f0ebff);
    border-color: var(--color-primary, #845adf);
    color: var(--color-primary, #845adf);
}

.companies-accordion__logo[b-3nthujhotu] {
    flex-shrink: 0;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.companies-accordion__info[b-3nthujhotu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.companies-accordion__name[b-3nthujhotu] {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text, #333);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.companies-accordion__meta[b-3nthujhotu] {
    font-size: 0.75rem;
    color: var(--color-text-muted, #6c757d);
}

.companies-accordion__actions[b-3nthujhotu] {
    display: flex;
    gap: 0.375rem;
    align-items: center;
    flex-shrink: 0;
}

.companies-accordion__body[b-3nthujhotu] {
    padding: 0.5rem 0 0.5rem 1.25rem;
    background: rgba(0, 0, 0, 0.015);
}

.companies-accordion__body--projects[b-3nthujhotu] {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.6);
}
/* /Components/Pages/General/GeneralList.razor.rz.scp.css */
/* =========================================================
   GeneralList  Scoped CSS
   Design system: Inter font  Indigo primary (#4F46E5)
   ========================================================= */

/*  Card Header  */
.grid-card-header[b-un3tv3a707] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
    border-bottom: 1px solid #E5E7EB;
    background: #FFFFFF;
}

.grid-card-title[b-un3tv3a707] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.grid-card-actions[b-un3tv3a707] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.grid-loading-badge[b-un3tv3a707] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6B7280;
    padding: 0.3rem 0.75rem;
    background: #F3F4F6;
    border-radius: 9999px;
    border: 1px solid #E5E7EB;
}

/* Compact icon+text action buttons */
.grid-hdr-btn[b-un3tv3a707] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.375rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background 150ms ease-in-out,
                box-shadow 150ms ease-in-out,
                transform 150ms ease-in-out;
    white-space: nowrap;
    line-height: 1;
}
.grid-hdr-btn i[b-un3tv3a707]     { font-size: 1rem; line-height: 1; flex-shrink: 0; }
.grid-hdr-btn:hover[b-un3tv3a707]  { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(79,70,229,0.18); }
.grid-hdr-btn:active[b-un3tv3a707] { transform: scale(0.97); box-shadow: none; }

.grid-hdr-btn--primary[b-un3tv3a707] {
    background: #4F46E5;
    color: #fff;
    border-color: #4F46E5;
}
.grid-hdr-btn--primary:hover[b-un3tv3a707] { background: #4338CA; color: #fff; border-color: #4338CA; }

.grid-hdr-btn--excel[b-un3tv3a707] {
    background: #166534;
    color: #fff;
    border-color: #166534;
}
.grid-hdr-btn--excel:hover[b-un3tv3a707] { background: #14532d; color: #fff; }

/*  Personnel Switch  */
.table-upper-selections[b-un3tv3a707] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.875rem;
    padding: 0.5rem 1rem;
    background: #EEF2FF;
    border: 1px solid #C7D2FE;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #111827;
}

/*  Geniş Filtreleme Accordion  */
.gf-accordion[b-un3tv3a707] {
    margin-bottom: 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.gf-accordion-header[b-un3tv3a707] {
    background: #F9FAFB;
}

.gf-accordion-toggle[b-un3tv3a707] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.7rem 1.1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    color: #111827;
    gap: 0.5rem;
    text-align: left;
    transition: background 150ms ease-in-out;
}
.gf-accordion-toggle:hover[b-un3tv3a707] { background: #EEF2FF; }
.gf-accordion-toggle:hover .gf-toggle-left i[b-un3tv3a707] { color: #4F46E5; }

.gf-toggle-left[b-un3tv3a707] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 1;
}
.gf-toggle-left i[b-un3tv3a707] {
    font-size: 1.05rem;
    color: #6B7280;
    transition: color 150ms ease-in-out;
}

.gf-badge[b-un3tv3a707] {
    display: inline-flex;
    align-items: center;
    background: #4F46E5;
    color: #fff;
    border-radius: 9999px;
    font-size: 0.68rem;
    padding: 0.15rem 0.55rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.gf-chevron[b-un3tv3a707] {
    font-size: 1.15rem;
    color: #9CA3AF;
    transition: transform 0.25s ease, color 150ms ease-in-out;
    margin-left: auto;
    flex-shrink: 0;
}
.gf-accordion-toggle[aria-expanded="true"] .gf-chevron[b-un3tv3a707] {
    transform: rotate(180deg);
    color: #4F46E5;
}

.gf-body[b-un3tv3a707] {
    padding: 1rem 1.1rem;
    border-top: 1px solid #E5E7EB;
    background: #F9FAFB;
}

.gf-row[b-un3tv3a707] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    align-items: flex-end;
    margin-bottom: 0.875rem;
}

.gf-field-picker[b-un3tv3a707]  { flex: 0 0 270px; min-width: 180px; }
.gf-value-picker[b-un3tv3a707]  { flex: 1 1 240px;  min-width: 180px; }
.gf-add-btn-wrap[b-un3tv3a707]  { flex: 0 0 auto; }

.gf-label[b-un3tv3a707] {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #6B7280;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gf-add-btn[b-un3tv3a707] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.42rem 1rem;
    background: #4F46E5;
    color: #fff;
    border: 1px solid #4F46E5;
    border-radius: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 150ms ease-in-out, box-shadow 150ms ease-in-out, transform 150ms ease-in-out;
}
.gf-add-btn:hover[b-un3tv3a707]  { background: #4338CA; box-shadow: 0 4px 12px rgba(79,70,229,0.25); }
.gf-add-btn:active[b-un3tv3a707] { transform: scale(0.97); }

/* Applied filter chips */
.gf-chips[b-un3tv3a707] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #D1D5DB;
}

.gf-chip[b-un3tv3a707] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #EEF2FF;
    border: 1px solid #C7D2FE;
    border-radius: 9999px;
    padding: 0.2rem 0.45rem 0.2rem 0.65rem;
    font-size: 0.78rem;
    color: #3730A3;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.gf-chip strong[b-un3tv3a707] { font-weight: 700; margin-right: 0.1rem; color: #312E81; }
.gf-chip em[b-un3tv3a707]     { font-style: normal; overflow: hidden; text-overflow: ellipsis; color: #4F46E5; }

.gf-chip-edit[b-un3tv3a707],
.gf-chip-remove[b-un3tv3a707] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    font-size: 0.82rem;
    color: #6366F1;
    transition: background 150ms ease-in-out, color 150ms ease-in-out;
    flex-shrink: 0;
}
.gf-chip-edit:hover[b-un3tv3a707]   { background: #C7D2FE; color: #3730A3; }
.gf-chip-remove:hover[b-un3tv3a707] { background: #FEE2E2; color: #DC2626; }

/*  Grid Wrapper  */
.grid-wrapper[b-un3tv3a707] {
    border: 1px solid #E5E7EB;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/*  Scrollable Table Container  */
.table-scroll-container[b-un3tv3a707] {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #C7D2FE transparent;
}
.table-scroll-container[b-un3tv3a707]::-webkit-scrollbar      { height: 5px; }
.table-scroll-container[b-un3tv3a707]::-webkit-scrollbar-track { background: transparent; }
.table-scroll-container[b-un3tv3a707]::-webkit-scrollbar-thumb { background: #C7D2FE; border-radius: 99px; }

/*  Table Base  */
.grid-table[b-un3tv3a707] {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    table-layout: auto;
}

/* =========================================================
   SORT HEADER ROW — modern, clean (no grey bg)
   ========================================================= */
.grid-header-row .grid-th[b-un3tv3a707] {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0;
    background: #FFFFFF;
    color: #9CA3AF;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    white-space: nowrap;
    border-bottom: 1px solid #E5E7EB;
    border-right: 1px solid #F3F4F6;
    transition: background 150ms ease-in-out, color 150ms ease-in-out;
}
.grid-header-row .grid-th:last-child[b-un3tv3a707] { border-right: none; }

/* Active sort column */
.grid-th.th-sort-asc[b-un3tv3a707],
.grid-th.th-sort-desc[b-un3tv3a707] {
    background: #FAFBFF;
    color: #4F46E5;
    border-bottom-color: #C7D2FE;
}

/* Sort button — fills entire header cell */
.grid-sort-btn[b-un3tv3a707] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    padding: 0.6rem 0.875rem;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font: inherit;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    white-space: nowrap;
    transition: background 150ms ease-in-out, color 150ms ease-in-out;
    text-align: left;
}
.grid-sort-btn:hover[b-un3tv3a707] {
    background: #F5F3FF;
    color: #4F46E5;
}
.grid-th.th-sort-asc  .grid-sort-btn[b-un3tv3a707],
.grid-th.th-sort-desc .grid-sort-btn[b-un3tv3a707] {
    color: #4F46E5;
}

/* Sort icons */
.sort-icon[b-un3tv3a707] {
    font-size: 0.85rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color 150ms ease-in-out;
}
.sort-neutral[b-un3tv3a707]      { color: #E5E7EB; }
.sort-active-asc[b-un3tv3a707],
.sort-active-desc[b-un3tv3a707]  { color: #6366F1; }

/* Actions th */
.grid-th-actions[b-un3tv3a707] {
    width: 90px;
    min-width: 80px;
    text-align: center;
    border-right: none !important;
}

/* =========================================================
   FILTER ROW — NOT sticky, polished
   ========================================================= */
.grid-filter-row .grid-filter-cell[b-un3tv3a707] {
    background: #FAFBFF;
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid #E5E7EB;
    border-right: 1px solid #F3F4F6;
    vertical-align: middle;
}
.grid-filter-row .grid-filter-cell:last-child[b-un3tv3a707] { border-right: none; }

/* Date inputs side by side — kept for geniş filtreleme if needed */
.gf-date-range[b-un3tv3a707] {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}
.gf-date-range .gf-input[b-un3tv3a707] {
    flex: 1;
    min-width: 0;
}

/* Inline filter inputs — text, number, date */
.gf-input[b-un3tv3a707] {
    display: block;
    width: 100%;
    padding: 0.28rem 0.6rem;
    font-size: 0.78rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
    border: 1px solid #E5E7EB;
    border-radius: 0.25rem;
    background: #FFFFFF;
    color: #374151;
    outline: none;
    transition: border-color 150ms ease-in-out,
                box-shadow 150ms ease-in-out,
                background 150ms ease-in-out;
    box-sizing: border-box;
    height: 28px;
    /* Normalize native date picker appearance */
    -webkit-appearance: none;
    appearance: none;
}
.gf-input[b-un3tv3a707]::placeholder { color: #C4C9D4; font-size: 0.75rem; }
.gf-input:hover[b-un3tv3a707]  { border-color: #A5B4FC; }
.gf-input:focus[b-un3tv3a707]  {
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
    background: #fff;
}
.gf-input--mt[b-un3tv3a707] { margin-top: 0; }

/* Submit button in filter row */
.grid-filter-submit-cell[b-un3tv3a707] {
    text-align: center;
    width: 50px;
    min-width: 44px;
    background: #FAFBFF !important;
}

.gf-submit-btn[b-un3tv3a707] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #4F46E5;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 150ms ease-in-out,
                box-shadow 150ms ease-in-out,
                transform 150ms ease-in-out;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.35);
}
.gf-submit-btn:hover[b-un3tv3a707]  { background: #4338CA; box-shadow: 0 4px 12px rgba(79,70,229,0.3); }
.gf-submit-btn:active[b-un3tv3a707] { transform: scale(0.93); }

/*  Table Body  */
.grid-row[b-un3tv3a707] {
    transition: background 150ms ease-in-out;
}
.grid-row:hover[b-un3tv3a707]  { background: #F5F3FF !important; }
.grid-row:nth-child(even)[b-un3tv3a707] { background: #F9FAFB; }

.grid-td[b-un3tv3a707] {
    padding: 0.55rem 0.875rem;
    color: #111827;
    vertical-align: middle;
    border-bottom: 1px solid #E5E7EB;
    border-right: 1px solid #F3F4F6;
    font-size: 0.875rem;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.grid-td:last-child[b-un3tv3a707] { border-right: none; }

/*  Action Column  */
.grid-action-td[b-un3tv3a707] {
    width: 90px;
    text-align: center;
    white-space: nowrap;
    border-right: none;
}

.grid-actions[b-un3tv3a707] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.grid-act-btn[b-un3tv3a707] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 0.25rem;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1;
    text-decoration: none;
    color: #9CA3AF;
    padding: 0;
    transition: background 150ms ease-in-out,
                color 150ms ease-in-out,
                border-color 150ms ease-in-out,
                transform 150ms ease-in-out,
                box-shadow 150ms ease-in-out;
}
.grid-act-btn:hover[b-un3tv3a707] { transform: scale(1.1); }

.grid-act-view:hover[b-un3tv3a707] {
    background: #DBEAFE;
    color: #1D4ED8;
    border-color: #BFDBFE;
    box-shadow: 0 2px 6px rgba(29,78,216,0.15);
}
.grid-act-edit:hover[b-un3tv3a707] {
    background: #FEF3C7;
    color: #B45309;
    border-color: #FDE68A;
    box-shadow: 0 2px 6px rgba(180,83,9,0.15);
}
.grid-act-delete:hover[b-un3tv3a707] {
    background: #FEE2E2;
    color: #DC2626;
    border-color: #FECACA;
    box-shadow: 0 2px 6px rgba(220,38,38,0.15);
}

/*  Empty State  */
.grid-empty-cell[b-un3tv3a707] {
    padding: 3rem 1rem !important;
    text-align: center;
    background: #fff;
}
.grid-empty-state[b-un3tv3a707] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: #9CA3AF;
    font-size: 0.875rem;
}
.grid-empty-state i[b-un3tv3a707] {
    font-size: 2.5rem;
    line-height: 1;
    color: #D1D5DB;
}

/*  Footer  */
.grid-footer[b-un3tv3a707] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.7rem 1.1rem;
    background: #F9FAFB;
    border-top: 1px solid #E5E7EB;
}

.grid-info[b-un3tv3a707] {
    font-size: 0.78rem;
    color: #6B7280;
    font-weight: 500;
}
.grid-info strong[b-un3tv3a707] {
    color: #111827;
    font-weight: 700;
}

/*  Pagination  */
.grid-pages[b-un3tv3a707] {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 3px;
}
.grid-pages li[b-un3tv3a707] { display: inline-flex; }

.gp-btn[b-un3tv3a707] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 0.45rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.25rem;
    background: #fff;
    color: #6B7280;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 150ms ease-in-out,
                color 150ms ease-in-out,
                border-color 150ms ease-in-out,
                box-shadow 150ms ease-in-out;
    user-select: none;
    line-height: 1;
}
.gp-btn i[b-un3tv3a707] { font-size: 1rem; }
.gp-btn:hover[b-un3tv3a707] {
    background: #EEF2FF;
    color: #4F46E5;
    border-color: #C7D2FE;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.gp-active .gp-btn[b-un3tv3a707] {
    background: #4F46E5;
    color: #fff;
    border-color: #4F46E5;
    font-weight: 700;
    cursor: default;
    box-shadow: 0 2px 8px rgba(79,70,229,0.3);
}
.gp-active .gp-btn:hover[b-un3tv3a707] {
    background: #4F46E5;
    color: #fff;
    border-color: #4F46E5;
}

.gp-disabled .gp-btn[b-un3tv3a707] {
    opacity: 0.35;
    pointer-events: none;
    cursor: not-allowed;
}

.gp-ellipsis .gp-btn[b-un3tv3a707] {
    border-color: transparent;
    background: transparent;
    color: #9CA3AF;
    cursor: default;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}
.gp-ellipsis .gp-btn:hover[b-un3tv3a707] {
    background: transparent;
    color: #9CA3AF;
    border-color: transparent;
    box-shadow: none;
}

/*  Select2 override (inside filter row)  */
.grid-filter-cell .select2-container[b-un3tv3a707] { width: 100% !important; }
.grid-filter-cell .select2-container--default .select2-selection--multiple[b-un3tv3a707],
.grid-filter-cell .select2-container--default .select2-selection--single[b-un3tv3a707] {
    border: 1px solid #E5E7EB;
    border-radius: 0.25rem;
    background: #FFFFFF;
    min-height: 28px;
    height: auto;
    font-size: 0.78rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
}
/* Single selection rendered text */
.grid-filter-cell .select2-container--default .select2-selection--single .select2-selection__rendered[b-un3tv3a707] {
    font-size: 0.78rem;
    font-family: 'Inter', sans-serif;
    color: #374151;
    line-height: 26px;
    padding-left: 0.6rem;
}
.grid-filter-cell .select2-container--default .select2-selection--single .select2-selection__placeholder[b-un3tv3a707] {
    font-size: 0.75rem;
    color: #C4C9D4;
}
/* Dropdown search input */
.select2-container--default .select2-search--dropdown .select2-search__field[b-un3tv3a707] {
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    border: 1px solid #E5E7EB;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
}
/* Dropdown option items — global override (flatpickr/select2 portals to body) */
.select2-container--default .select2-results__option[b-un3tv3a707] {
    font-size: 0.72rem !important;
    font-family: 'Inter', sans-serif !important;
    padding: 0.28rem 0.6rem !important;
    line-height: 1.4 !important;
}
.select2-container--default .select2-results__option--highlighted[b-un3tv3a707] {
    background-color: #EEF2FF !important;
    color: #4F46E5 !important;
}
.select2-container--default .select2-results__option--selected[b-un3tv3a707] {
    background-color: #4F46E5 !important;
    color: #fff !important;
}
.grid-filter-cell .select2-container--default.select2-container--focus .select2-selection--multiple[b-un3tv3a707],
.grid-filter-cell .select2-container--default.select2-container--open .select2-selection--single[b-un3tv3a707] {
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}
.grid-filter-cell .select2-container--default .select2-selection--multiple .select2-selection__choice[b-un3tv3a707] {
    background: #EEF2FF;
    border: 1px solid #C7D2FE;
    color: #3730A3;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-family: 'Inter', sans-serif;
    padding: 1px 6px;
    margin: 2px 2px 2px 0;
}
.grid-filter-cell .select2-container--default .select2-selection--multiple .select2-selection__choice__remove[b-un3tv3a707] {
    color: #6366F1;
    margin-right: 3px;
}
/* Multiple selection input field placeholder */
.grid-filter-cell .select2-container--default .select2-selection--multiple .select2-search__field[b-un3tv3a707] {
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    margin-top: 3px;
}

/*  Responsive  */
@media (max-width: 768px) {
    .gf-row[b-un3tv3a707] { flex-direction: column; }
    .gf-field-picker[b-un3tv3a707], .gf-value-picker[b-un3tv3a707] { flex: 1 1 100%; }
    .grid-footer[b-un3tv3a707] { flex-direction: column; align-items: flex-start; }
    .grid-hdr-btn span[b-un3tv3a707] { display: none; }
    .grid-hdr-btn[b-un3tv3a707] { padding: 0.35rem 0.55rem; }
    .grid-card-header[b-un3tv3a707] { padding: 0.6rem 0.875rem; }
}

/* =========================================================
   DARK THEME OVERRIDES
   Selector: :root[data-theme="dark"]
   ========================================================= */

/* Card Header */
:root[data-theme="dark"] .grid-card-header[b-un3tv3a707] {
    background: #1F2937;
    border-bottom-color: #374151;
}
:root[data-theme="dark"] .grid-card-title[b-un3tv3a707] {
    color: #F9FAFB;
}
:root[data-theme="dark"] .grid-loading-badge[b-un3tv3a707] {
    background: #374151;
    border-color: #4B5563;
    color: #D1D5DB;
}

/* Personnel Switch */
:root[data-theme="dark"] .table-upper-selections[b-un3tv3a707] {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: #F9FAFB;
}

/* Geniş Filtreleme Accordion */
:root[data-theme="dark"] .gf-accordion[b-un3tv3a707] {
    background: #1F2937;
    border-color: #374151;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
:root[data-theme="dark"] .gf-accordion-header[b-un3tv3a707] {
    background: #111827;
}
:root[data-theme="dark"] .gf-accordion-toggle[b-un3tv3a707] {
    color: #F9FAFB;
}
:root[data-theme="dark"] .gf-accordion-toggle:hover[b-un3tv3a707] {
    background: rgba(99,102,241,0.08);
}
:root[data-theme="dark"] .gf-accordion-toggle:hover .gf-toggle-left i[b-un3tv3a707] {
    color: #818CF8;
}
:root[data-theme="dark"] .gf-toggle-left i[b-un3tv3a707] {
    color: #9CA3AF;
}
:root[data-theme="dark"] .gf-chevron[b-un3tv3a707] {
    color: #6B7280;
}
:root[data-theme="dark"] .gf-accordion-toggle[aria-expanded="true"] .gf-chevron[b-un3tv3a707] {
    color: #818CF8;
}
:root[data-theme="dark"] .gf-body[b-un3tv3a707] {
    background: #111827;
    border-top-color: #374151;
}
:root[data-theme="dark"] .gf-label[b-un3tv3a707] {
    color: #9CA3AF;
}
:root[data-theme="dark"] .gf-chips[b-un3tv3a707] {
    border-top-color: #374151;
}
:root[data-theme="dark"] .gf-chip[b-un3tv3a707] {
    background: rgba(99,102,241,0.12);
    border-color: rgba(99,102,241,0.3);
    color: #A5B4FC;
}
:root[data-theme="dark"] .gf-chip strong[b-un3tv3a707] {
    color: #C7D2FE;
}
:root[data-theme="dark"] .gf-chip em[b-un3tv3a707] {
    color: #818CF8;
}
:root[data-theme="dark"] .gf-chip-edit[b-un3tv3a707] {
    color: #818CF8;
}
:root[data-theme="dark"] .gf-chip-edit:hover[b-un3tv3a707] {
    background: rgba(99,102,241,0.2);
    color: #A5B4FC;
}
:root[data-theme="dark"] .gf-chip-remove:hover[b-un3tv3a707] {
    background: rgba(239,68,68,0.15);
    color: #FCA5A5;
}

/* Inline filter input — dark */
:root[data-theme="dark"] .gf-input[b-un3tv3a707] {
    background: #374151;
    border-color: #4B5563;
    color: #F9FAFB;
}
:root[data-theme="dark"] .gf-input[b-un3tv3a707]::placeholder {
    color: #6B7280;
}
:root[data-theme="dark"] .gf-input:hover[b-un3tv3a707] {
    border-color: #6366F1;
    background: #3D4A5C;
}
:root[data-theme="dark"] .gf-input:focus[b-un3tv3a707] {
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
    background: #374151;
}

/* Grid Wrapper */
:root[data-theme="dark"] .grid-wrapper[b-un3tv3a707] {
    background: #1F2937;
    border-color: #374151;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

/* Scrollbar */
:root[data-theme="dark"] .table-scroll-container[b-un3tv3a707] {
    scrollbar-color: #4B5563 transparent;
}
:root[data-theme="dark"] .table-scroll-container[b-un3tv3a707]::-webkit-scrollbar-thumb {
    background: #4B5563;
}

/* Sort header row */
:root[data-theme="dark"] .grid-header-row .grid-th[b-un3tv3a707] {
    background: #1F2937;
    color: #6B7280;
    border-bottom-color: #374151;
    border-right-color: #374151;
}
:root[data-theme="dark"] .grid-th.th-sort-asc[b-un3tv3a707],
:root[data-theme="dark"] .grid-th.th-sort-desc[b-un3tv3a707] {
    background: #252F3F;
    color: #818CF8;
    border-bottom-color: #4B5563;
}
:root[data-theme="dark"] .grid-sort-btn:hover[b-un3tv3a707] {
    background: rgba(99,102,241,0.1);
    color: #818CF8;
}
:root[data-theme="dark"] .grid-th.th-sort-asc  .grid-sort-btn[b-un3tv3a707],
:root[data-theme="dark"] .grid-th.th-sort-desc .grid-sort-btn[b-un3tv3a707] {
    color: #818CF8;
}
:root[data-theme="dark"] .sort-neutral[b-un3tv3a707] {
    color: #4B5563;
}
:root[data-theme="dark"] .sort-active-asc[b-un3tv3a707],
:root[data-theme="dark"] .sort-active-desc[b-un3tv3a707] {
    color: #818CF8;
}

/* Filter row */
:root[data-theme="dark"] .grid-filter-row .grid-filter-cell[b-un3tv3a707] {
    background: #252F3F;
    border-bottom-color: #374151;
    border-right-color: #374151;
}
:root[data-theme="dark"] .grid-filter-submit-cell[b-un3tv3a707] {
    background: #252F3F !important;
}

/* Table body */
:root[data-theme="dark"] .grid-row:nth-child(even)[b-un3tv3a707] {
    background: #243040;
}
:root[data-theme="dark"] .grid-row:hover[b-un3tv3a707] {
    background: rgba(99,102,241,0.07) !important;
}
:root[data-theme="dark"] .grid-td[b-un3tv3a707] {
    color: #E5E7EB;
    border-bottom-color: #374151;
    border-right-color: #374151;
}

/* Action buttons — dark */
:root[data-theme="dark"] .grid-act-btn[b-un3tv3a707] {
    color: #6B7280;
}
:root[data-theme="dark"] .grid-act-view:hover[b-un3tv3a707] {
    background: rgba(59,130,246,0.15);
    color: #60A5FA;
    border-color: rgba(59,130,246,0.3);
    box-shadow: 0 2px 6px rgba(59,130,246,0.2);
}
:root[data-theme="dark"] .grid-act-edit:hover[b-un3tv3a707] {
    background: rgba(245,158,11,0.15);
    color: #FCD34D;
    border-color: rgba(245,158,11,0.3);
    box-shadow: 0 2px 6px rgba(245,158,11,0.2);
}
:root[data-theme="dark"] .grid-act-delete:hover[b-un3tv3a707] {
    background: rgba(239,68,68,0.15);
    color: #FCA5A5;
    border-color: rgba(239,68,68,0.3);
    box-shadow: 0 2px 6px rgba(239,68,68,0.2);
}

/* Empty state */
:root[data-theme="dark"] .grid-empty-cell[b-un3tv3a707] {
    background: #1F2937;
}
:root[data-theme="dark"] .grid-empty-state[b-un3tv3a707] {
    color: #6B7280;
}
:root[data-theme="dark"] .grid-empty-state i[b-un3tv3a707] {
    color: #4B5563;
}

/* Footer */
:root[data-theme="dark"] .grid-footer[b-un3tv3a707] {
    background: #111827;
    border-top-color: #374151;
}
:root[data-theme="dark"] .grid-info[b-un3tv3a707] {
    color: #9CA3AF;
}
:root[data-theme="dark"] .grid-info strong[b-un3tv3a707] {
    color: #F9FAFB;
}

/* Pagination */
:root[data-theme="dark"] .gp-btn[b-un3tv3a707] {
    background: #1F2937;
    border-color: #374151;
    color: #9CA3AF;
}
:root[data-theme="dark"] .gp-btn:hover[b-un3tv3a707] {
    background: rgba(99,102,241,0.12);
    color: #818CF8;
    border-color: rgba(99,102,241,0.4);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
:root[data-theme="dark"] .gp-active .gp-btn[b-un3tv3a707] {
    background: #4F46E5;
    color: #fff;
    border-color: #4F46E5;
    box-shadow: 0 2px 8px rgba(79,70,229,0.4);
}
:root[data-theme="dark"] .gp-active .gp-btn:hover[b-un3tv3a707] {
    background: #4F46E5;
    color: #fff;
    border-color: #4F46E5;
}
:root[data-theme="dark"] .gp-ellipsis .gp-btn[b-un3tv3a707] {
    background: transparent;
    border-color: transparent;
    color: #6B7280;
}
:root[data-theme="dark"] .gp-ellipsis .gp-btn:hover[b-un3tv3a707] {
    background: transparent;
    color: #6B7280;
    border-color: transparent;
    box-shadow: none;
}

/* Select2 overrides inside filter row — dark */
:root[data-theme="dark"] .grid-filter-cell .select2-container--default .select2-selection--multiple[b-un3tv3a707],
:root[data-theme="dark"] .grid-filter-cell .select2-container--default .select2-selection--single[b-un3tv3a707] {
    background: #374151;
    border-color: #4B5563;
}
:root[data-theme="dark"] .grid-filter-cell .select2-container--default .select2-selection--single .select2-selection__rendered[b-un3tv3a707] {
    color: #F9FAFB;
}
:root[data-theme="dark"] .grid-filter-cell .select2-container--default .select2-selection--single .select2-selection__placeholder[b-un3tv3a707] {
    color: #6B7280;
}
:root[data-theme="dark"] .grid-filter-cell .select2-container--default.select2-container--focus .select2-selection--multiple[b-un3tv3a707],
:root[data-theme="dark"] .grid-filter-cell .select2-container--default.select2-container--open .select2-selection--single[b-un3tv3a707] {
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}
:root[data-theme="dark"] .grid-filter-cell .select2-container--default .select2-selection--multiple .select2-selection__choice[b-un3tv3a707] {
    background: rgba(99,102,241,0.15);
    border-color: rgba(99,102,241,0.3);
    color: #A5B4FC;
}
:root[data-theme="dark"] .grid-filter-cell .select2-container--default .select2-selection--multiple .select2-selection__choice__remove[b-un3tv3a707] {
    color: #818CF8;
}
/* /Components/Pages/Personnel/PersonnelProfile.razor.rz.scp.css */
/* ── Profil Kartı ─────────────────────────────────── */
.prof-card[b-bp0whg8zx1] {
    border-radius: 1rem !important;
}

.prof-banner[b-bp0whg8zx1] {
    height: 110px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 60%, #a855f7 100%);
}

.prof-avatar-wrap[b-bp0whg8zx1] {
    margin-top: -48px;
}

.prof-avatar[b-bp0whg8zx1] {
    width: 92px !important;
    height: 92px !important;
    border-radius: 50% !important;
    border: 4px solid var(--custom-white) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .22) !important;
    overflow: hidden;
    display: inline-flex;
}

    .prof-avatar img[b-bp0whg8zx1] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.prof-section-title[b-bp0whg8zx1] {
    letter-spacing: .06em;
}

/* ── İletişim Listesi ─────────────────────────────── */
.prof-contact-icon[b-bp0whg8zx1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 15px;
    flex-shrink: 0;
}

.prof-contact-list li:last-child[b-bp0whg8zx1] {
    border-bottom: none !important;
}

/* ── Tab Navigasyon ───────────────────────────────── */
.prof-nav-tabs[b-bp0whg8zx1] {
    gap: .15rem;
}

.prof-nav-tabs .prof-tab-link[b-bp0whg8zx1] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    padding: .7rem 1.15rem;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    transition: color .18s, border-color .18s, background .18s;
    white-space: nowrap;
    background: transparent;
    line-height: 1;
}

    .prof-nav-tabs .prof-tab-link:hover[b-bp0whg8zx1] {
        color: var(--primary-color);
        background: var(--primary01, rgba(79, 70, 229, .08));
        border-radius: .4rem .4rem 0 0;
    }

    .prof-nav-tabs .prof-tab-link.active[b-bp0whg8zx1] {
        color: var(--primary-color);
        background: transparent;
        border-bottom: 2px solid var(--primary-color);
    }

/* ── Alan Grid ────────────────────────────────────── */
.prof-fields-grid[b-bp0whg8zx1] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
}

.prof-field-item[b-bp0whg8zx1] {
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--default-border);
    transition: background .15s;
    min-width: 0;
}

    .prof-field-item:last-child[b-bp0whg8zx1] {
        border-bottom: none;
    }

    .prof-field-item:hover[b-bp0whg8zx1] {
        background: var(--primary01, rgba(79, 70, 229, .05));
    }

/* oct-component-width'e karşılık gelen span sınıfları */
.prof-field-span-1[b-bp0whg8zx1]  { grid-column: span 1;  }
.prof-field-span-2[b-bp0whg8zx1]  { grid-column: span 2;  }
.prof-field-span-3[b-bp0whg8zx1]  { grid-column: span 3;  }
.prof-field-span-4[b-bp0whg8zx1]  { grid-column: span 4;  }
.prof-field-span-5[b-bp0whg8zx1]  { grid-column: span 5;  }
.prof-field-span-6[b-bp0whg8zx1]  { grid-column: span 6;  }
.prof-field-span-7[b-bp0whg8zx1]  { grid-column: span 7;  }
.prof-field-span-8[b-bp0whg8zx1]  { grid-column: span 8;  }
.prof-field-span-9[b-bp0whg8zx1]  { grid-column: span 9;  }
.prof-field-span-10[b-bp0whg8zx1] { grid-column: span 10; }
.prof-field-span-11[b-bp0whg8zx1] { grid-column: span 11; }
.prof-field-span-12[b-bp0whg8zx1] { grid-column: span 12; }

/* Sınır çizgisi — yan yana duran öğeler arasında dikey çizgi */
.prof-field-span-1:not(:last-child)[b-bp0whg8zx1],
.prof-field-span-2:not(:last-child)[b-bp0whg8zx1],
.prof-field-span-3:not(:last-child)[b-bp0whg8zx1],
.prof-field-span-4:not(:last-child)[b-bp0whg8zx1],
.prof-field-span-5:not(:last-child)[b-bp0whg8zx1],
.prof-field-span-6:not(:last-child)[b-bp0whg8zx1] {
    border-right: 1px solid var(--default-border);
}

.prof-field-label[b-bp0whg8zx1] {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .055em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: .3rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prof-field-value[b-bp0whg8zx1] {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--default-text-color);
    line-height: 1.4;
    display: block;
    word-break: break-word;
}

.prof-file-link[b-bp0whg8zx1] {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    gap: .1rem;
}

    .prof-file-link:hover[b-bp0whg8zx1] {
        text-decoration: underline;
        color: var(--primary-color);
    }

@media (max-width: 768px) {
    .prof-field-span-1[b-bp0whg8zx1],  .prof-field-span-2[b-bp0whg8zx1],
    .prof-field-span-3[b-bp0whg8zx1],  .prof-field-span-4[b-bp0whg8zx1],
    .prof-field-span-5[b-bp0whg8zx1],  .prof-field-span-6[b-bp0whg8zx1],
    .prof-field-span-7[b-bp0whg8zx1],  .prof-field-span-8[b-bp0whg8zx1],
    .prof-field-span-9[b-bp0whg8zx1],  .prof-field-span-10[b-bp0whg8zx1],
    .prof-field-span-11[b-bp0whg8zx1], .prof-field-span-12[b-bp0whg8zx1] {
        grid-column: span 12;
        border-right: none !important;
    }
}
/* /Components/Pages/Personnel/Settings/PersonnelSections.razor.rz.scp.css */
/* ── Section Header ───────────────────────────────────────────── */
.section-header[b-ik8fknb67b] {
    margin-bottom: 2rem;
}

.section-header__top[b-ik8fknb67b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.section-header__title[b-ik8fknb67b] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    flex: 1;
}

.section-header__actions[b-ik8fknb67b] {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
    flex-shrink: 0;
}

.btn-icon-section[b-ik8fknb67b] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    background: #0d6efd;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.btn-icon-section:hover:not(:disabled)[b-ik8fknb67b] {
    background: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.3);
}

.btn-icon-section:active:not(:disabled)[b-ik8fknb67b] {
    background: #0a58ca;
    transform: translateY(0);
}

.btn-icon-section--danger[b-ik8fknb67b] {
    background: #dc2626;
}

.btn-icon-section--danger:hover:not(:disabled)[b-ik8fknb67b] {
    background: #b91c1c;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}

.btn-icon-section:disabled[b-ik8fknb67b] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-icon-section i[b-ik8fknb67b] {
    margin: 0;
}

.section-header__description[b-ik8fknb67b] {
    margin: 0;
    color: #6c757d;
    font-size: 0.875rem;
}

/* ── Components Toolbar ───────────────────────────────────────── */
.components-toolbar[b-ik8fknb67b] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.components-toolbar .btn-icon[b-ik8fknb67b] {
    width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
}

.change-indicator[b-ik8fknb67b] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: auto;
    padding: 0.5rem 0.75rem;
    background: #fef3c7;
    border-radius: 5px;
    color: #92400e;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.change-indicator i[b-ik8fknb67b] {
    font-size: 0.95rem;
}

/* ── Components Header ────────────────────────────────────────── */
.components-header-wrapper[b-ik8fknb67b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.components-header[b-ik8fknb67b] {
    flex: 1;
}

.components-header__title[b-ik8fknb67b] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.components-header__title i:first-of-type[b-ik8fknb67b] {
    margin-right: 0.25rem;
}

.components-toolbar-inline[b-ik8fknb67b] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.components-toolbar-inline .btn-icon[b-ik8fknb67b] {
    width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
}

.btn-add-component[b-ik8fknb67b] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    margin-left: 0.5rem;
    padding: 0;
    background: transparent;
    color: #0d6efd;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.btn-add-component:hover:not(:disabled)[b-ik8fknb67b] {
    background: #0b5ed7;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.4);
}

.btn-add-component:active:not(:disabled)[b-ik8fknb67b] {
    background: #0a58ca;
    color: #ffffff;
}

.btn-add-component:disabled[b-ik8fknb67b] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-add-component i[b-ik8fknb67b] {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    letter-spacing: 0;
}

/* ── Icon Buttons ─────────────────────────────────────────────── */


.btn-icon[b-ik8fknb67b] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.15s ease;
}

.btn-icon:hover:not(:disabled)[b-ik8fknb67b] {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-icon:active:not(:disabled)[b-ik8fknb67b] {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.btn-icon:disabled[b-ik8fknb67b] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-icon i[b-ik8fknb67b] {
    margin: 0;
}

/* ── Column Ruler ─────────────────────────────────────────────── */
.db-ruler[b-ik8fknb67b] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    padding: 6px 16px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.db-ruler__col[b-ik8fknb67b] {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #adb5bd;
    letter-spacing: 0.03em;
    padding: 3px 0;
    border-left: 1px dashed #dee2e6;
}

.db-ruler__col:first-child[b-ik8fknb67b] {
    border-left: none;
}

/* ── Grid Designer ────────────────────────────────────────────── */

.db-designer[b-ik8fknb67b] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    padding: 12px 16px 16px;
    background: #f8f9fa;
    min-height: 180px;
}

.db-designer__spacer[b-ik8fknb67b] {
    /* invisible spacer that flushes a Y-row */
    visibility: hidden;
    pointer-events: none;
}

/* ── Item Card ────────────────────────────────────────────────── */
.db-designer__item[b-ik8fknb67b] {
    background: #ffffff;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: box-shadow 0.15s, border-color 0.15s, opacity 0.15s;
    overflow: hidden;
}

.db-designer__item:hover[b-ik8fknb67b] {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #c4b5f5;
}

/* ── Dragging State ───────────────────────────────────────────── */
.db-designer__item.dragging[b-ik8fknb67b] {
    opacity: 0.5;
    border-color: #7c3aed;
    background: #ede9fe;
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.3);
}

/* ── Drag Over State ───────────────────────────────────────────– */
.db-designer__item[draggable="true"]:hover[b-ik8fknb67b] {
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
}

/* ── Item Head ────────────────────────────────────────────────── */
.db-designer__item-head[b-ik8fknb67b] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 12px 8px;
    flex: 1;
}

.db-designer__item-icon[b-ik8fknb67b] {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.db-designer__item-info[b-ik8fknb67b] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.db-designer__item-name[b-ik8fknb67b] {
    font-weight: 600;
    font-size: 0.82rem;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.db-designer__item-type[b-ik8fknb67b] {
    font-size: 0.72rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.db-designer__item-badge[b-ik8fknb67b] {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 4px;
    padding: 1px 5px;
    margin-top: 2px;
    width: fit-content;
}

/* ── Item Footer (controls) ───────────────────────────────────── */
.db-designer__item-footer[b-ik8fknb67b] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

/* ── Position Group ───────────────────────────────────────────── */
.db-designer__pos-group[b-ik8fknb67b] {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.db-designer__pos-label[b-ik8fknb67b] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.05em;
    margin-left: 2px;
    text-transform: uppercase;
}

.db-designer__pos-btn[b-ik8fknb67b] {
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.6rem;
    color: #64748b;
    padding: 0;
    line-height: 1;
    transition: all 0.1s;
    flex-shrink: 0;
}

.db-designer__pos-btn:hover:not(:disabled)[b-ik8fknb67b] {
    background: #e8e3ff;
    border-color: #845adf;
    color: #845adf;
}

.db-designer__pos-btn:disabled[b-ik8fknb67b] {
    opacity: 0.4;
    cursor: not-allowed;
}

.db-designer__pos-input[b-ik8fknb67b] {
    width: 36px;
    height: 20px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0 2px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #334155;
    background: #fff;
    -moz-appearance: textfield;
    flex-shrink: 0;
}

.db-designer__pos-input[b-ik8fknb67b]::-webkit-inner-spin-button,
.db-designer__pos-input[b-ik8fknb67b]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.db-designer__pos-input:focus[b-ik8fknb67b] {
    outline: none;
    border-color: #845adf;
    box-shadow: 0 0 0 2px rgba(132, 90, 223, 0.15);
}

/* ── Item Action Buttons ──────────────────────────────────────── */
.db-designer__item-actions[b-ik8fknb67b] {
    display: flex;
    gap: 3px;
    margin-left: auto;
    flex-shrink: 0;
}

.db-designer__action-btn[b-ik8fknb67b] {
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    color: #64748b;
    padding: 0;
    transition: all 0.12s;
    flex-shrink: 0;
}

.db-designer__action-btn:hover:not(:disabled)[b-ik8fknb67b] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.db-designer__action-btn--save[b-ik8fknb67b] {
    color: #16a34a;
    border-color: #bbf7d0;
}

.db-designer__action-btn--save:hover:not(:disabled)[b-ik8fknb67b] {
    background: #dcfce7;
    border-color: #16a34a;
    color: #15803d;
}

.db-designer__action-btn--danger[b-ik8fknb67b] {
    color: #dc2626;
    border-color: #fecaca;
}

.db-designer__action-btn--danger:hover:not(:disabled)[b-ik8fknb67b] {
    background: #fee2e2;
    border-color: #dc2626;
    color: #b91c1c;
}

.db-designer__action-btn:disabled[b-ik8fknb67b] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ── Drag Handle ──────────────────────────────────────────────── */
.db-designer__drag-handle[b-ik8fknb67b] {
    cursor: grab;
}

.db-designer__drag-handle:active[b-ik8fknb67b] {
    cursor: grabbing;
}

/* ── Resize Handle (bottom-right corner) ─────────────────────── */
.db-designer__item[b-ik8fknb67b] {
    position: relative;
}

.db-designer__resize-handle[b-ik8fknb67b] {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 18px;
    height: 18px;
    cursor: ew-resize;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.15s;
    background: linear-gradient(135deg, transparent 40%, #845adf 40%, #845adf 55%, transparent 55%,
                                        transparent 65%, #845adf 65%, #845adf 80%, transparent 80%);
    border-bottom-right-radius: 9px;
}

.db-designer__item:hover .db-designer__resize-handle[b-ik8fknb67b] {
    opacity: 1;
}

/* ── Modal Styling ────────────────────────────────────────────── */
.modal[b-ik8fknb67b] {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    max-height: calc(100vh - 2rem);
    width: 90%;
    max-width: 500px;
    overflow: visible;
}

.modal--visible[b-ik8fknb67b] {
    display: flex;
}

.modal-backdrop[b-ik8fknb67b] {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-backdrop--visible[b-ik8fknb67b] {
    display: block;
}

.modal--md[b-ik8fknb67b] {
    max-width: 600px;
}

.modal--sm[b-ik8fknb67b] {
    max-width: 400px;
}

.modal--lg[b-ik8fknb67b] {
    max-width: 800px;
}

.modal__header[b-ik8fknb67b] {
    padding: 1.25rem;
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
}

.modal__header-inner[b-ik8fknb67b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.modal__header-icon[b-ik8fknb67b] {
    font-size: 1.5rem;
    color: #6c757d;
}

.modal__title[b-ik8fknb67b] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.modal__close[b-ik8fknb67b] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
}

.modal__body[b-ik8fknb67b] {
    padding: 1.25rem;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: auto;
}

.modal__body .row[b-ik8fknb67b] {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}

.modal__body [class*="col-"][b-ik8fknb67b] {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

.modal__footer[b-ik8fknb67b] {
    padding: 1.25rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-shrink: 0;
}

.modal__footer .btn[b-ik8fknb67b] {
    min-width: 80px;
}

/* ── Definition Tabs Compact Override ────────────────────────── */
.definition-tabs[b-ik8fknb67b] {
    padding: 8px 12px;
    gap: 4px;
    align-items: center;
    background: #fafafa;
    border-bottom: 1px solid #e2e8f0;
}

.definition-tabs__item[b-ik8fknb67b] {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    border: 1.5px solid transparent;
    margin-bottom: 0;
    gap: 5px;
    color: #64748b;
    transition: all 0.15s ease;
}

.definition-tabs__item i[b-ik8fknb67b] {
    font-size: 0.72rem;
}

.definition-tabs__item:hover[b-ik8fknb67b] {
    background: #f1f5f9;
    color: var(--color-primary-600);
}

.definition-tabs__item--active[b-ik8fknb67b] {
    background: var(--color-primary-600, #845adf);
    color: #fff;
    border-bottom-color: transparent;
    border-color: transparent;
    font-weight: 600;
}

.definition-tabs__item--active:hover[b-ik8fknb67b] {
    background: var(--color-primary-600, #845adf);
    color: #fff;
}

.definition-tabs__item--add[b-ik8fknb67b] {
    padding: 4px 8px;
    color: #94a3b8;
    background: none;
    border: 1.5px dashed #d0d5e0;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.definition-tabs__item--add:hover:not(:disabled)[b-ik8fknb67b] {
    border-color: var(--color-primary-600, #0d6efd);
    color: var(--color-primary-600, #0d6efd);
    background: rgba(13, 110, 253, 0.04);
}

.definition-tabs__item--add i[b-ik8fknb67b] {
    margin: 0;
}

/* /Components/Pages/Settings/DashboardSettings.razor.rz.scp.css */
/* ── Compact Header Toolbar ───────────────────────────────────── */
.db-toolbar[b-e36uts7bvw] {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.db-toolbar__btn[b-e36uts7bvw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    font-size: 0.78rem;
    border-radius: 5px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: all 0.12s;
    flex-shrink: 0;
    line-height: 1;
}

.db-toolbar__btn:hover:not(:disabled)[b-e36uts7bvw] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.db-toolbar__btn:disabled[b-e36uts7bvw] {
    opacity: 0.4;
    cursor: not-allowed;
}

.db-toolbar__btn--save[b-e36uts7bvw] {
    color: #16a34a;
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.db-toolbar__btn--save:hover:not(:disabled)[b-e36uts7bvw] {
    background: #dcfce7;
    border-color: #16a34a;
    color: #15803d;
}

.db-toolbar__btn--danger[b-e36uts7bvw] {
    color: #dc2626;
    border-color: #fecaca;
    background: #fff5f5;
}

.db-toolbar__btn--danger:hover:not(:disabled)[b-e36uts7bvw] {
    background: #fee2e2;
    border-color: #dc2626;
    color: #b91c1c;
}

/* ── Column Ruler ─────────────────────────────────────────────── */
.db-ruler[b-e36uts7bvw] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    padding: 6px 16px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.db-ruler__col[b-e36uts7bvw] {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #adb5bd;
    letter-spacing: 0.03em;
    padding: 3px 0;
    border-left: 1px dashed #dee2e6;
}

.db-ruler__col:first-child[b-e36uts7bvw] {
    border-left: none;
}

/* ── Grid Designer ────────────────────────────────────────────── */
.db-designer[b-e36uts7bvw] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    padding: 12px 16px 16px;
    background: #f8f9fa;
    min-height: 180px;
}

.db-designer__spacer[b-e36uts7bvw] {
    /* invisible spacer that flushes a Y-row */
    visibility: hidden;
    pointer-events: none;
}

/* ── Item Card ────────────────────────────────────────────────── */
.db-designer__item[b-e36uts7bvw] {
    background: #ffffff;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: box-shadow 0.15s, border-color 0.15s;
    overflow: hidden;
}

.db-designer__item:hover[b-e36uts7bvw] {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #c4b5f5;
}

/* ── Item Head ────────────────────────────────────────────────── */
.db-designer__item-head[b-e36uts7bvw] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 12px 8px;
    flex: 1;
}

.db-designer__item-icon[b-e36uts7bvw] {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.db-designer__item-info[b-e36uts7bvw] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.db-designer__item-name[b-e36uts7bvw] {
    font-weight: 600;
    font-size: 0.82rem;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.db-designer__item-type[b-e36uts7bvw] {
    font-size: 0.72rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.db-designer__item-badge[b-e36uts7bvw] {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 4px;
    padding: 1px 5px;
    margin-top: 2px;
    width: fit-content;
}

/* ── Item Footer (controls) ───────────────────────────────────── */
.db-designer__item-footer[b-e36uts7bvw] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

/* ── Position Group ───────────────────────────────────────────── */
.db-designer__pos-group[b-e36uts7bvw] {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.db-designer__pos-label[b-e36uts7bvw] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.05em;
    margin-left: 2px;
    text-transform: uppercase;
}

.db-designer__pos-btn[b-e36uts7bvw] {
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.6rem;
    color: #64748b;
    padding: 0;
    line-height: 1;
    transition: all 0.1s;
    flex-shrink: 0;
}

.db-designer__pos-btn:hover:not(:disabled)[b-e36uts7bvw] {
    background: #e8e3ff;
    border-color: #845adf;
    color: #845adf;
}

.db-designer__pos-btn:disabled[b-e36uts7bvw] {
    opacity: 0.4;
    cursor: not-allowed;
}

.db-designer__pos-input[b-e36uts7bvw] {
    width: 36px;
    height: 20px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0 2px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #334155;
    background: #fff;
    -moz-appearance: textfield;
    flex-shrink: 0;
}

.db-designer__pos-input[b-e36uts7bvw]::-webkit-inner-spin-button,
.db-designer__pos-input[b-e36uts7bvw]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.db-designer__pos-input:focus[b-e36uts7bvw] {
    outline: none;
    border-color: #845adf;
    box-shadow: 0 0 0 2px rgba(132, 90, 223, 0.15);
}

/* ── Item Action Buttons ──────────────────────────────────────── */
.db-designer__item-actions[b-e36uts7bvw] {
    display: flex;
    gap: 3px;
    margin-left: auto;
    flex-shrink: 0;
}

.db-designer__action-btn[b-e36uts7bvw] {
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    color: #64748b;
    padding: 0;
    transition: all 0.12s;
    flex-shrink: 0;
}

.db-designer__action-btn:hover:not(:disabled)[b-e36uts7bvw] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.db-designer__action-btn--save[b-e36uts7bvw] {
    color: #16a34a;
    border-color: #bbf7d0;
}

.db-designer__action-btn--save:hover:not(:disabled)[b-e36uts7bvw] {
    background: #dcfce7;
    border-color: #16a34a;
    color: #15803d;
}

.db-designer__action-btn--danger[b-e36uts7bvw] {
    color: #dc2626;
    border-color: #fecaca;
}

.db-designer__action-btn--danger:hover:not(:disabled)[b-e36uts7bvw] {
    background: #fee2e2;
    border-color: #dc2626;
    color: #b91c1c;
}

.db-designer__action-btn:disabled[b-e36uts7bvw] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ── Drag Handle ──────────────────────────────────────────────── */
.db-designer__drag-handle[b-e36uts7bvw] {
    cursor: grab;
}

.db-designer__drag-handle:active[b-e36uts7bvw] {
    cursor: grabbing;
}

/* ── Drag-Over Highlight ──────────────────────────────────────── */
.db-designer__item[b-e36uts7bvw] {
    position: relative;
}

.db-designer__item.is-drag-over[b-e36uts7bvw] {
    border-color: #845adf;
    box-shadow: 0 0 0 2px rgba(132, 90, 223, 0.25);
    background: #f5f0ff;
}

/* ── Resize Handle (bottom-right corner) ─────────────────────── */
.db-designer__resize-handle[b-e36uts7bvw] {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 18px;
    height: 18px;
    cursor: ew-resize;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.15s;
    background: linear-gradient(135deg, transparent 40%, #845adf 40%, #845adf 55%, transparent 55%,
                                        transparent 65%, #845adf 65%, #845adf 80%, transparent 80%);
    border-bottom-right-radius: 9px;
}

.db-designer__item:hover .db-designer__resize-handle[b-e36uts7bvw] {
    opacity: 1;
}
/* /Components/Pages/Settings/MenuSettings.razor.rz.scp.css */
/* ── Menu Tree ──────────────────────────────────────────────────── */
.menu-tree[b-zs39cv6obo] {
    font-size: 0.88rem;
}

.menu-tree__node[b-zs39cv6obo] {
    position: relative;
}

.menu-tree__children[b-zs39cv6obo] {
    margin-left: 1.6rem;
    padding-left: 0.6rem;
    border-left: 2px solid #e9ecef;
}

/* ── Row ──────────────────────────────────────────────────────── */
.menu-tree__row[b-zs39cv6obo] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.55rem;
    border-radius: 8px;
    transition: background 0.13s;
    cursor: default;
}

.menu-tree__row:hover[b-zs39cv6obo] {
    background: #f4f6fb;
}

.menu-tree__row + .menu-tree__children[b-zs39cv6obo] {
    margin-top: 2px;
}

.menu-tree__node + .menu-tree__node[b-zs39cv6obo] {
    margin-top: 2px;
}

/* ── Toggle ───────────────────────────────────────────────────── */
.menu-tree__toggle[b-zs39cv6obo] {
    cursor: pointer;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6c757d;
    border-radius: 4px;
    transition: background 0.13s, color 0.13s;
}

.menu-tree__toggle:hover[b-zs39cv6obo] {
    background: #e9ecef;
    color: var(--color-primary, #6366f1);
}

.menu-tree__toggle--leaf[b-zs39cv6obo] {
    cursor: default;
    opacity: 0.3;
    pointer-events: none;
}

/* ── Icon ─────────────────────────────────────────────────────── */
.menu-tree__icon[b-zs39cv6obo] {
    width: 1.45rem;
    height: 1.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.menu-tree__row--root .menu-tree__icon[b-zs39cv6obo] {
    color: var(--color-primary, #6366f1);
}

.menu-tree__row--child .menu-tree__icon[b-zs39cv6obo] {
    color: #495057;
}

.menu-tree__row--deep .menu-tree__icon[b-zs39cv6obo] {
    color: #868e96;
    font-size: 0.85rem;
}

/* ── Label ────────────────────────────────────────────────────── */
.menu-tree__label[b-zs39cv6obo] {
    flex: 0 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

.menu-tree__row--root .menu-tree__label[b-zs39cv6obo] {
    font-weight: 600;
}

.menu-tree__row--child .menu-tree__label[b-zs39cv6obo] {
    font-weight: 500;
}

/* ── URL ──────────────────────────────────────────────────────── */
.menu-tree__url[b-zs39cv6obo] {
    font-size: 0.78rem;
    color: #868e96;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
    flex: 0 1 auto;
}

/* ── Meta ─────────────────────────────────────────────────────── */
.menu-tree__meta[b-zs39cv6obo] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}

/* ── Actions ──────────────────────────────────────────────────── */
.menu-tree__actions[b-zs39cv6obo] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.15s;
}

.menu-tree__row:hover .menu-tree__actions[b-zs39cv6obo] {
    opacity: 1;
}

/* ── Menu Modal ───────────────────────────────────────────────── */
.menu-modal__preview[b-zs39cv6obo] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f0f3ff 0%, #f8f9ff 100%);
    border-bottom: 1px solid #e5e9f5;
}

.menu-modal__preview-icon[b-zs39cv6obo] {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 10px;
    background: #fff;
    border: 1.5px solid #dde2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-primary, #6366f1);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(99,102,241,.12);
}

.menu-modal__preview-text[b-zs39cv6obo] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
}

.menu-modal__preview-title[b-zs39cv6obo] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e2235;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-modal__preview-url[b-zs39cv6obo] {
    font-size: 0.78rem;
    color: #868e96;
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-modal__preview-badge[b-zs39cv6obo] {
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* ── Icon preview inside input-group ─────────────────────────── */
.menu-modal__icon-preview[b-zs39cv6obo] {
    min-width: 2.6rem;
    justify-content: center;
    font-size: 1rem;
    background: #f8f9fa;
    color: var(--color-primary, #6366f1);
}

/* ── Toggle row ───────────────────────────────────────────────── */
.menu-modal__toggle-row[b-zs39cv6obo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.9rem;
    background: #f8f9fb;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}
/* /Components/Pages/Workflow/Settings/WorkflowComponents.razor.rz.scp.css */
/* ── Icon Buttons ─────────────────────────────────────────────── */
.btn-icon[b-a8aq25ae76] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.15s ease;
}

.btn-icon:hover:not(:disabled)[b-a8aq25ae76] {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-icon:active:not(:disabled)[b-a8aq25ae76] {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.btn-icon:disabled[b-a8aq25ae76] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-icon i[b-a8aq25ae76] {
    margin: 0;
}

/* ── Section Header ───────────────────────────────────────────── */
.section-header[b-a8aq25ae76] {
    margin-bottom: 2rem;
}

.section-header__title[b-a8aq25ae76] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.section-header__description[b-a8aq25ae76] {
    margin: 0;
    color: #6c757d;
    font-size: 0.875rem;
}

/* ── Components Toolbar ───────────────────────────────────────── */
.components-toolbar[b-a8aq25ae76] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.components-toolbar .btn-icon[b-a8aq25ae76] {
    width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
}

.change-indicator[b-a8aq25ae76] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: auto;
    padding: 0.5rem 0.75rem;
    background: #fef3c7;
    border-radius: 5px;
    color: #92400e;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.change-indicator i[b-a8aq25ae76] {
    font-size: 0.95rem;
}

/* ── Components Header ────────────────────────────────────────── */
.components-header-wrapper[b-a8aq25ae76] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.components-header[b-a8aq25ae76] {
    flex: 1;
}

.components-header__title[b-a8aq25ae76] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.components-header__title i:first-of-type[b-a8aq25ae76] {
    margin-right: 0.25rem;
}

.components-toolbar-inline[b-a8aq25ae76] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.btn-add-component[b-a8aq25ae76] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    margin-left: 0.5rem;
    padding: 0;
    background: transparent;
    color: #0d6efd;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.btn-add-component:hover:not(:disabled)[b-a8aq25ae76] {
    background: #0b5ed7;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.4);
}

.btn-add-component:active:not(:disabled)[b-a8aq25ae76] {
    background: #0a58ca;
    color: #ffffff;
}

.btn-add-component:disabled[b-a8aq25ae76] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-add-component i[b-a8aq25ae76] {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    letter-spacing: 0;
}

/* ── Column Ruler ─────────────────────────────────────────────── */


.db-ruler[b-a8aq25ae76] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    padding: 6px 16px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.db-ruler__col[b-a8aq25ae76] {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #adb5bd;
    letter-spacing: 0.03em;
    padding: 3px 0;
    border-left: 1px dashed #dee2e6;
}

.db-ruler__col:first-child[b-a8aq25ae76] {
    border-left: none;
}

/* ── Grid Designer ────────────────────────────────────────────── */
.db-designer[b-a8aq25ae76] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    padding: 12px 16px 16px;
    background: #f8f9fa;
    min-height: 180px;
}

.db-designer__spacer[b-a8aq25ae76] {
    /* invisible spacer that flushes a Y-row */
    visibility: hidden;
    pointer-events: none;
}

/* ── Item Card ────────────────────────────────────────────────── */
.db-designer__item[b-a8aq25ae76] {
    background: #ffffff;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: box-shadow 0.15s, border-color 0.15s, opacity 0.15s;
    overflow: hidden;
    cursor: default;
}

.db-designer__item:hover[b-a8aq25ae76] {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #c4b5f5;
}

/* ── Dragging State ───────────────────────────────────────────── */
.db-designer__item.dragging[b-a8aq25ae76] {
    opacity: 0.5;
    border-color: #7c3aed;
    background: #ede9fe;
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.3);
}

/* ── Drag Over State ──────────────────────────────────────────– */
.db-designer__item[draggable="true"]:hover[b-a8aq25ae76] {
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
}

/* ── Drag Handle ──────────────────────────────────────────────── */
.db-designer__drag-handle[b-a8aq25ae76] {
    cursor: grab;
}

.db-designer__drag-handle:active[b-a8aq25ae76] {
    cursor: grabbing;
}

/* ── Item Head ────────────────────────────────────────────────── */
.db-designer__item-head[b-a8aq25ae76] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 12px 8px;
    flex: 1;
}

.db-designer__item-icon[b-a8aq25ae76] {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.db-designer__item-info[b-a8aq25ae76] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.db-designer__item-name[b-a8aq25ae76] {
    font-weight: 600;
    font-size: 0.82rem;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.db-designer__item-type[b-a8aq25ae76] {
    font-size: 0.72rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.db-designer__item-badge[b-a8aq25ae76] {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 4px;
    padding: 1px 5px;
    margin-top: 2px;
    width: fit-content;
}

/* ── Item Footer (controls) ───────────────────────────────────── */
.db-designer__item-footer[b-a8aq25ae76] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

/* ── Position Group ───────────────────────────────────────────── */
.db-designer__pos-group[b-a8aq25ae76] {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.db-designer__pos-label[b-a8aq25ae76] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.05em;
    margin-left: 2px;
    text-transform: uppercase;
}

.db-designer__pos-btn[b-a8aq25ae76] {
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.6rem;
    color: #64748b;
    padding: 0;
    line-height: 1;
    transition: all 0.1s;
    flex-shrink: 0;
}

.db-designer__pos-btn:hover:not(:disabled)[b-a8aq25ae76] {
    background: #e8e3ff;
    border-color: #845adf;
    color: #845adf;
}

.db-designer__pos-btn:disabled[b-a8aq25ae76] {
    opacity: 0.4;
    cursor: not-allowed;
}

.db-designer__pos-input[b-a8aq25ae76] {
    width: 36px;
    height: 20px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0 2px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #334155;
    background: #fff;
    -moz-appearance: textfield;
    flex-shrink: 0;
}

.db-designer__pos-input[b-a8aq25ae76]::-webkit-inner-spin-button,
.db-designer__pos-input[b-a8aq25ae76]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.db-designer__pos-input:focus[b-a8aq25ae76] {
    outline: none;
    border-color: #845adf;
    box-shadow: 0 0 0 2px rgba(132, 90, 223, 0.15);
}

/* ── Item Action Buttons ──────────────────────────────────────── */
.db-designer__item-actions[b-a8aq25ae76] {
    display: flex;
    gap: 3px;
    margin-left: auto;
    flex-shrink: 0;
}

.db-designer__action-btn[b-a8aq25ae76] {
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    color: #64748b;
    padding: 0;
    transition: all 0.12s;
    flex-shrink: 0;
}

.db-designer__action-btn:hover:not(:disabled)[b-a8aq25ae76] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.db-designer__action-btn--save[b-a8aq25ae76] {
    color: #16a34a;
    border-color: #bbf7d0;
}

.db-designer__action-btn--save:hover:not(:disabled)[b-a8aq25ae76] {
    background: #dcfce7;
    border-color: #16a34a;
    color: #15803d;
}

.db-designer__action-btn--danger[b-a8aq25ae76] {
    color: #dc2626;
    border-color: #fecaca;
}

.db-designer__action-btn--danger:hover:not(:disabled)[b-a8aq25ae76] {
    background: #fee2e2;
    border-color: #dc2626;
    color: #b91c1c;
}

.db-designer__action-btn:disabled[b-a8aq25ae76] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ── Resize Handles ───────────────────────────────────────────── */
.db-designer__item[b-a8aq25ae76] {
    position: relative;
}

.db-designer__resize-handle[b-a8aq25ae76] {
    position: absolute;
    background: transparent;
    z-index: 10;
}

/* Right edge - Width resize */
.db-designer__resize-handle--right[b-a8aq25ae76] {
    right: -4px;
    top: 0;
    bottom: 0;
    width: 8px;
    cursor: ew-resize;
}

/* ── Modal Styling ────────────────────────────────────────────── */
.modal[b-a8aq25ae76] {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    max-height: calc(100vh - 2rem);
    width: 90%;
    max-width: 500px;
    overflow: visible;
}

.modal--visible[b-a8aq25ae76] {
    display: flex;
}

.modal-backdrop[b-a8aq25ae76] {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-backdrop--visible[b-a8aq25ae76] {
    display: block;
}

.modal--md[b-a8aq25ae76] {
    max-width: 600px;
}

.modal--sm[b-a8aq25ae76] {
    max-width: 400px;
}

.modal--lg[b-a8aq25ae76] {
    max-width: 800px;
}

.modal__header[b-a8aq25ae76] {
    padding: 1.25rem;
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
}

.modal__header-inner[b-a8aq25ae76] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.modal__header-icon[b-a8aq25ae76] {
    font-size: 1.5rem;
    color: #6c757d;
}

.modal__title[b-a8aq25ae76] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.modal__close[b-a8aq25ae76] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
}

.modal__body[b-a8aq25ae76] {
    padding: 1.25rem;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: auto;
}

.modal__body .row[b-a8aq25ae76] {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}

.modal__body [class*="col-"][b-a8aq25ae76] {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

.modal__footer[b-a8aq25ae76] {
    padding: 1.25rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-shrink: 0;
}

.modal__footer .btn[b-a8aq25ae76] {
    min-width: 80px;
}


.db-designer__resize-handle--right:hover[b-a8aq25ae76] {
    background: rgba(124, 58, 237, 0.2);
    border-left: 2px solid #7c3aed;
}

/* Bottom edge - Height resize */
.db-designer__resize-handle--bottom[b-a8aq25ae76] {
    bottom: -4px;
    left: 0;
    right: 0;
    height: 8px;
    cursor: ns-resize;
}

.db-designer__resize-handle--bottom:hover[b-a8aq25ae76] {
    background: rgba(124, 58, 237, 0.2);
    border-top: 2px solid #7c3aed;
}

/* Bottom-Right corner - Both resize */
.db-designer__resize-handle--corner[b-a8aq25ae76] {
    bottom: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    cursor: nwse-resize;
    background: linear-gradient(135deg, transparent 50%, #7c3aed 50%);
    opacity: 0;
    transition: opacity 0.2s;
}

.db-designer__item:hover .db-designer__resize-handle--corner[b-a8aq25ae76] {
    opacity: 0.6;
}

.db-designer__resize-handle--corner:hover[b-a8aq25ae76] {
    opacity: 1;
    background: linear-gradient(135deg, transparent 50%, #5e35b1 50%);
}

