/* /UI/Components/HSearchBar.razor.rz.scp.css */
.h-search-bar-backdrop[b-yna0vluh6n] {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: transparent;
}

.h-search-bar-dropdown[b-yna0vluh6n] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    margin-top: 4px;
}
/* /UI/Components/MarkdownSection.razor.rz.scp.css */
.markdown-content[b-k3r1vwbv2b]  h1,
.markdown-content[b-k3r1vwbv2b]  h2,
.markdown-content[b-k3r1vwbv2b]  h3,
.markdown-content[b-k3r1vwbv2b]  h4,
.markdown-content[b-k3r1vwbv2b]  h5,
.markdown-content[b-k3r1vwbv2b]  h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
}

.markdown-content[b-k3r1vwbv2b]  h1 { font-size: 1.15rem; }
.markdown-content[b-k3r1vwbv2b]  h2 { font-size: 1.1rem; }

.markdown-content[b-k3r1vwbv2b]  p {
    margin-bottom: 0.5rem;
}

.markdown-content[b-k3r1vwbv2b]  ul,
.markdown-content[b-k3r1vwbv2b]  ol {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.markdown-content[b-k3r1vwbv2b]  li {
    margin-bottom: 0.15rem;
}

.markdown-content[b-k3r1vwbv2b]  code {
    background: var(--bs-tertiary-bg, #f8f9fa);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

.markdown-content[b-k3r1vwbv2b]  pre {
    background: var(--bs-tertiary-bg, #f8f9fa);
    padding: 0.75rem;
    border-radius: 0.375rem;
    overflow-x: auto;
}

.markdown-content[b-k3r1vwbv2b]  blockquote {
    border-left: 3px solid var(--bs-border-color, #dee2e6);
    padding-left: 0.75rem;
    color: var(--bs-secondary-color);
    margin-bottom: 0.5rem;
}

.markdown-content[b-k3r1vwbv2b]  table {
    width: 100%;
    margin-bottom: 0.5rem;
    border-collapse: collapse;
}

.markdown-content[b-k3r1vwbv2b]  th,
.markdown-content[b-k3r1vwbv2b]  td {
    padding: 0.375rem 0.5rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
}

.markdown-content[b-k3r1vwbv2b]  th {
    background: var(--bs-tertiary-bg, #f8f9fa);
    font-weight: 600;
}
/* /UI/Components/ProfilePictureUpload.razor.rz.scp.css */
.profile-picture-upload[b-qyjy7huokn] {
    display: inline-block;
}

.profile-picture-container[b-qyjy7huokn] {
    position: relative;
    display: inline-block;
}

.profile-picture-img[b-qyjy7huokn] {
    border-radius: 50%;
    object-fit: cover;
}

.profile-picture-img.pp-large[b-qyjy7huokn] {
    width: 120px;
    height: 120px;
}

.profile-picture-img.pp-medium[b-qyjy7huokn] {
    width: 48px;
    height: 48px;
}

.profile-picture-img.pp-small[b-qyjy7huokn] {
    width: 32px;
    height: 32px;
}

.profile-picture-initials[b-qyjy7huokn] {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    user-select: none;
}

.profile-picture-initials.pp-large[b-qyjy7huokn] {
    width: 120px;
    height: 120px;
    font-size: 2.5rem;
}

.profile-picture-initials.pp-medium[b-qyjy7huokn] {
    width: 48px;
    height: 48px;
    font-size: 1rem;
}

.profile-picture-initials.pp-small[b-qyjy7huokn] {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
}

.profile-picture-placeholder[b-qyjy7huokn] {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-picture-overlay[b-qyjy7huokn] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    opacity: 0;
    transition: opacity 0.2s;
    padding-bottom: 4px;
}

.profile-picture-container:hover .profile-picture-overlay[b-qyjy7huokn] {
    opacity: 1;
}
/* /UI/Layout/MainLayout.razor.rz.scp.css */
/* App container - flex layout */
.app-container[b-ricnld4evl] {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar[b-ricnld4evl] {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1030;
    transition: width 0.3s ease, transform 0.3s ease;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Icons-only mode */
.sidebar.icons-only[b-ricnld4evl] {
    width: var(--sidebar-icons-width);
}

.sidebar.icons-only .brand-text[b-ricnld4evl] {
    display: none;
}

.sidebar.icons-only .sidebar-brand[b-ricnld4evl] {
    justify-content: center;
}

.sidebar.icons-only .sidebar-brand i[b-ricnld4evl] {
    margin: 0;
}

/* Icons-only mode - navigation styles */
.sidebar.icons-only[b-ricnld4evl]  .nav-link span,
.sidebar.icons-only[b-ricnld4evl]  .nav-group-header span,
.sidebar.icons-only[b-ricnld4evl]  .nav-group-header .bi-chevron-down {
    display: none;
}

.sidebar.icons-only[b-ricnld4evl]  .nav-item {
    padding: 0 0.25rem;
}

.sidebar.icons-only[b-ricnld4evl]  .nav-link {
    justify-content: center;
    padding: 0.75rem 0.5rem;
}

.sidebar.icons-only[b-ricnld4evl]  .nav-link i {
    margin: 0;
}

.sidebar.icons-only[b-ricnld4evl]  .nav-group-header {
    justify-content: center;
    padding: 0.5rem;
    margin: 0 0.25rem;
}

.sidebar.icons-only[b-ricnld4evl]  .nav-group-items {
    padding-left: 0;
}

.sidebar.icons-only[b-ricnld4evl]  .nav-group-items .nav-link {
    padding-left: 0.5rem;
}

/* Hidden mode */
.sidebar.hidden[b-ricnld4evl] {
    transform: translateX(-100%);
}

.sidebar-header[b-ricnld4evl] {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 57px;
}

.sidebar.icons-only .sidebar-header[b-ricnld4evl] {
    padding: 1rem 0.5rem;
}

.sidebar-brand[b-ricnld4evl] {
    color: var(--sidebar-brand-color);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.sidebar-brand:hover[b-ricnld4evl] {
    color: var(--sidebar-brand-color);
    text-decoration: none;
}

/* Main wrapper */
.main-wrapper[b-ricnld4evl] {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.sidebar.icons-only ~ .main-wrapper[b-ricnld4evl] {
    margin-left: var(--sidebar-icons-width);
}

.sidebar.hidden ~ .main-wrapper[b-ricnld4evl] {
    margin-left: 0;
}

/* Topbar */
.topbar[b-ricnld4evl] {
    height: var(--topbar-height);
    background-color: var(--topbar-bg);
    border-bottom: 1px solid var(--topbar-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.topbar-start[b-ricnld4evl] {
    display: flex;
    align-items: center;
}

.topbar-end[b-ricnld4evl] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-item[b-ricnld4evl] {
    display: flex;
    align-items: center;
}

.sidebar-toggle[b-ricnld4evl] {
    color: var(--topbar-color);
    padding: 0.5rem;
    text-decoration: none;
}

.sidebar-toggle:hover[b-ricnld4evl] {
    color: var(--primary-color);
}

[b-ricnld4evl] .topbar .btn-link {
    color: var(--topbar-color);
    text-decoration: none;
}

[b-ricnld4evl] .topbar .btn-link:hover {
    color: var(--primary-color);
}

[b-ricnld4evl] .topbar .dropdown-toggle::after {
    display: none;
}

/* Main content */
.main-content[b-ricnld4evl] {
    flex: 1;
    background-color: var(--content-bg);
}

/* Blazor error UI */
#blazor-error-ui[b-ricnld4evl] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-ricnld4evl] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Mobile responsive */
@media (max-width: 991.98px) {
    .sidebar[b-ricnld4evl] {
        transform: translateX(-100%);
    }

    .sidebar:not(.hidden):not(.icons-only)[b-ricnld4evl] {
        transform: translateX(0);
        width: var(--sidebar-width);
    }

    .sidebar.icons-only[b-ricnld4evl] {
        transform: translateX(0);
        width: var(--sidebar-icons-width);
    }

    .main-wrapper[b-ricnld4evl] {
        margin-left: 0 !important;
    }
}
/* /UI/Layout/NavMenu.razor.rz.scp.css */
/* Sidebar navigation container */
.sidebar-nav[b-oe4z4xk6ed] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0;
}

/* Navigation items */
.nav-item[b-oe4z4xk6ed] {
    padding: 0 0.5rem;
}

[b-oe4z4xk6ed] .nav-link {
    display: flex;
    align-items: center;
    padding: 0.625rem 0.75rem;
    color: var(--sidebar-color);
    text-decoration: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

[b-oe4z4xk6ed] .nav-link:hover {
    background-color: var(--sidebar-hover-bg);
    color: var(--sidebar-active-color);
}

[b-oe4z4xk6ed] .nav-link.active {
    background-color: var(--sidebar-active-bg);
    color: var(--sidebar-active-color);
}

[b-oe4z4xk6ed] .nav-link i {
    font-size: 1rem;
    width: 1.25rem;
    min-width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

/* Navigation groups */
.nav-group[b-oe4z4xk6ed] {
    margin-top: 0.5rem;
}

.nav-group-header[b-oe4z4xk6ed] {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--sidebar-color);
    cursor: pointer;
    user-select: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.375rem;
    margin: 0 0.5rem;
}

.nav-group-header:hover[b-oe4z4xk6ed] {
    color: var(--sidebar-active-color);
    background-color: var(--sidebar-hover-bg);
}

.nav-group-header i:first-child[b-oe4z4xk6ed] {
    font-size: 0.875rem;
    width: 1.25rem;
    text-align: center;
}

.nav-group-header .bi-chevron-down[b-oe4z4xk6ed] {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.nav-group-header.collapsed .bi-chevron-down[b-oe4z4xk6ed] {
    transform: rotate(-90deg);
}

.nav-group-items[b-oe4z4xk6ed] {
    padding-left: 0.5rem;
}

.nav-group-items .nav-item[b-oe4z4xk6ed]  .nav-link {
    padding-left: 2.25rem;
}

/* Scrollbar styling for sidebar */
.sidebar-nav[b-oe4z4xk6ed]::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav[b-oe4z4xk6ed]::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav[b-oe4z4xk6ed]::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar-nav[b-oe4z4xk6ed]::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
}
/* /UI/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-j0b16gld1d],
.components-reconnect-repeated-attempt-visible[b-j0b16gld1d],
.components-reconnect-failed-visible[b-j0b16gld1d],
.components-pause-visible[b-j0b16gld1d],
.components-resume-failed-visible[b-j0b16gld1d],
.components-rejoining-animation[b-j0b16gld1d] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-j0b16gld1d],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-j0b16gld1d],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-j0b16gld1d],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-j0b16gld1d],
#components-reconnect-modal.components-reconnect-retrying[b-j0b16gld1d],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-j0b16gld1d],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-j0b16gld1d],
#components-reconnect-modal.components-reconnect-failed[b-j0b16gld1d],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-j0b16gld1d] {
    display: block;
}


#components-reconnect-modal[b-j0b16gld1d] {
    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-j0b16gld1d 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-j0b16gld1d 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-j0b16gld1d 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-j0b16gld1d]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-j0b16gld1d 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-j0b16gld1d {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-j0b16gld1d {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-j0b16gld1d {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-j0b16gld1d] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-j0b16gld1d] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-j0b16gld1d] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-j0b16gld1d] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-j0b16gld1d] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-j0b16gld1d] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-j0b16gld1d] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-j0b16gld1d 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-j0b16gld1d] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-j0b16gld1d {
    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;
    }
}
/* /UI/Pages/Admin/Users.razor.rz.scp.css */
/* ── User Preview Panel ── */

/* Panel: fixed on the right, overlapping the list */
.user-preview-panel[b-o895mwqa9v] {
    position: fixed;
    top: var(--topbar-height, 56px);
    right: 0;
    bottom: 0;
    width: 380px;
    background-color: var(--bs-body-bg, #fff);
    border-left: 1px solid var(--bs-border-color, #dee2e6);
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 1030;
    display: flex;
    flex-direction: column;
    animation: slideInRight-b-o895mwqa9v 0.2s ease;
    outline: none;
}

.user-preview-header[b-o895mwqa9v] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    flex-shrink: 0;
}

.user-preview-body[b-o895mwqa9v] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1rem;
}

.user-preview-footer[b-o895mwqa9v] {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--bs-border-color, #dee2e6);
    flex-shrink: 0;
}

/* Avatar circle */
.user-preview-avatar[b-o895mwqa9v] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bs-primary, #0d6efd);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Section grouping */
.user-preview-section[b-o895mwqa9v] {
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
}

.user-preview-section:last-child[b-o895mwqa9v] {
    border-bottom: none;
}

.user-preview-section-title[b-o895mwqa9v] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-secondary-color, #6c757d);
    margin-bottom: 0.375rem;
}

/* Field rows */
.user-preview-field[b-o895mwqa9v] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.3rem 0;
}

.user-preview-field label[b-o895mwqa9v] {
    font-size: 0.875rem;
    color: var(--bs-secondary-color, #6c757d);
    flex-shrink: 0;
    margin-right: 1rem;
    margin-bottom: 0;
}

.user-preview-field > div[b-o895mwqa9v] {
    font-size: 0.875rem;
    text-align: right;
    word-break: break-word;
}

/* Animation */
@keyframes slideInRight-b-o895mwqa9v {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* ── Mobile: fullscreen ── */
@media (max-width: 991.98px) {
    .user-preview-panel[b-o895mwqa9v] {
        top: 0;
        width: 100%;
        height: 100vh;
        border-left: none;
        box-shadow: none;
        z-index: 1050;
    }
}
/* /UI/Pages/CRM/Companies/CompanyIndex.razor.rz.scp.css */
/* ── Preview Panel ── */
.preview-panel[b-i91aomssb6] { position: fixed; top: var(--topbar-height, 56px); right: 0; bottom: 0; width: 380px; background-color: var(--bs-body-bg, #fff); border-left: 1px solid var(--bs-border-color, #dee2e6); box-shadow: -2px 0 12px rgba(0,0,0,0.1); z-index: 1030; display: flex; flex-direction: column; animation: slideInRight-b-i91aomssb6 0.2s ease; outline: none; }
.preview-header[b-i91aomssb6] { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; border-bottom: 1px solid var(--bs-border-color, #dee2e6); flex-shrink: 0; }
.preview-body[b-i91aomssb6] { flex: 1; overflow-y: auto; padding: 1.25rem 1rem; }
.preview-footer[b-i91aomssb6] { padding: 0.75rem 1rem; border-top: 1px solid var(--bs-border-color, #dee2e6); flex-shrink: 0; }
.preview-section[b-i91aomssb6] { padding: 0.625rem 0; border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0,0,0,0.08)); }
.preview-section:last-child[b-i91aomssb6] { border-bottom: none; }
.preview-section-title[b-i91aomssb6] { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--bs-secondary-color, #6c757d); margin-bottom: 0.375rem; }
.preview-field[b-i91aomssb6] { display: flex; justify-content: space-between; align-items: baseline; padding: 0.3rem 0; }
.preview-field label[b-i91aomssb6] { font-size: 0.875rem; color: var(--bs-secondary-color, #6c757d); flex-shrink: 0; margin-right: 1rem; margin-bottom: 0; }
.preview-field > div[b-i91aomssb6] { font-size: 0.875rem; text-align: right; word-break: break-word; }

.avatar-sm[b-i91aomssb6] { width: 32px; height: 32px; border-radius: 50%; background-color: var(--bs-primary, #0d6efd); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 600; flex-shrink: 0; }
.avatar-lg[b-i91aomssb6] { width: 64px; height: 64px; border-radius: 50%; background-color: var(--bs-primary, #0d6efd); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 600; }

@keyframes slideInRight-b-i91aomssb6 { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (max-width: 991.98px) { .preview-panel[b-i91aomssb6] { top: 0; width: 100%; height: 100vh; border-left: none; box-shadow: none; z-index: 1050; } }
/* /UI/Pages/CRM/Contacts/ContactIndex.razor.rz.scp.css */
/* ── Preview Panel ── */
.preview-panel[b-5py9xfypy6] { position: fixed; top: var(--topbar-height, 56px); right: 0; bottom: 0; width: 380px; background-color: var(--bs-body-bg, #fff); border-left: 1px solid var(--bs-border-color, #dee2e6); box-shadow: -2px 0 12px rgba(0,0,0,0.1); z-index: 1030; display: flex; flex-direction: column; animation: slideInRight-b-5py9xfypy6 0.2s ease; outline: none; }
.preview-header[b-5py9xfypy6] { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; border-bottom: 1px solid var(--bs-border-color, #dee2e6); flex-shrink: 0; }
.preview-body[b-5py9xfypy6] { flex: 1; overflow-y: auto; padding: 1.25rem 1rem; }
.preview-footer[b-5py9xfypy6] { padding: 0.75rem 1rem; border-top: 1px solid var(--bs-border-color, #dee2e6); flex-shrink: 0; }
.preview-section[b-5py9xfypy6] { padding: 0.625rem 0; border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0,0,0,0.08)); }
.preview-section:last-child[b-5py9xfypy6] { border-bottom: none; }
.preview-section-title[b-5py9xfypy6] { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--bs-secondary-color, #6c757d); margin-bottom: 0.375rem; }
.preview-field[b-5py9xfypy6] { display: flex; justify-content: space-between; align-items: baseline; padding: 0.3rem 0; }
.preview-field label[b-5py9xfypy6] { font-size: 0.875rem; color: var(--bs-secondary-color, #6c757d); flex-shrink: 0; margin-right: 1rem; margin-bottom: 0; }
.preview-field > div[b-5py9xfypy6] { font-size: 0.875rem; text-align: right; word-break: break-word; }

.avatar-sm[b-5py9xfypy6] { width: 32px; height: 32px; border-radius: 50%; background-color: var(--bs-primary, #0d6efd); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 600; flex-shrink: 0; }
.avatar-lg[b-5py9xfypy6] { width: 64px; height: 64px; border-radius: 50%; background-color: var(--bs-primary, #0d6efd); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 600; }

@keyframes slideInRight-b-5py9xfypy6 { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (max-width: 991.98px) { .preview-panel[b-5py9xfypy6] { top: 0; width: 100%; height: 100vh; border-left: none; box-shadow: none; z-index: 1050; } }
/* /UI/Pages/CRM/Pipeline/PipelineIndex.razor.rz.scp.css */
/* ── Pipeline Kanban Board ── */
.pipeline-board[b-2ivxfu4jl2] {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    min-height: 400px;
}

/* Type column: groups stages of the same type vertically */
.pipeline-type-column[b-2ivxfu4jl2] {
    flex: 1 1 0;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Individual stage column within a type column */
.pipeline-column[b-2ivxfu4jl2] {
    display: flex;
    flex-direction: column;
    background: var(--bs-tertiary-bg, #f8f9fa);
    border-radius: 0.5rem;
    flex: 0 0 auto;
    min-height: 120px;
    transition: outline 0.15s ease, background-color 0.15s ease;
}

.pipeline-column-collapsed[b-2ivxfu4jl2] {
    min-height: auto;
}

.pipeline-column-collapsed .pipeline-column-header[b-2ivxfu4jl2] {
    border-bottom: none;
}

.pipeline-column-drop-target[b-2ivxfu4jl2] {
    outline: 2px dashed var(--bs-primary, #0d6efd);
    background-color: rgba(13, 110, 253, 0.04);
}

.pipeline-column-header[b-2ivxfu4jl2] {
    padding: 0.75rem;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    flex-shrink: 0;
}

.pipeline-column-body[b-2ivxfu4jl2] {
    flex: 1;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pipeline-card[b-2ivxfu4jl2] {
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.375rem;
    padding: 0.625rem;
    cursor: pointer;
    transition: box-shadow 0.15s ease, opacity 0.15s ease;
}

.pipeline-card:hover[b-2ivxfu4jl2] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.pipeline-card[draggable="true"][b-2ivxfu4jl2] {
    cursor: grab;
}

.pipeline-card-dragging[b-2ivxfu4jl2] {
    opacity: 0.4;
}

@media (max-width: 767.98px) {
    .pipeline-type-column[b-2ivxfu4jl2] {
        min-width: 160px;
    }
}
