@import '_content/BlackHoleBOP.UI/BlackHoleBOP.UI.z0z6zdp8rq.bundle.scp.css';

/* /Components/Layout/BopSidebar.razor.rz.scp.css */
/* ============================================
   SaaS navigation rail
   Dark neutral shell, compact grouped nav, active blue item.
   ============================================ */

.bop-sidebar[b-8zqsth8oce] {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    background: var(--bop-sidebar-bg, #0F172A);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    padding: 12px 10px;
    z-index: 1200;
    box-shadow: none;
    border-right: 1px solid #393939;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.2s ease;
}

/* Brand */
.bop-sidebar-brand[b-8zqsth8oce] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.bop-sidebar-logo[b-8zqsth8oce] {
    width: 30px;
    height: 30px;
    border-radius: var(--bop-radius-md, 4px);
    background: var(--bop-primary, #2563EB);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bop-sidebar-brand-text[b-8zqsth8oce] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Search */
.bop-sidebar-search[b-8zqsth8oce] {
    position: relative;
    display: flex;
    align-items: center;
    background: #262626;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--bop-radius-md, 4px);
    padding: 0 10px;
    height: 34px;
    margin-bottom: 12px;
}

.bop-sidebar-search-icon[b-8zqsth8oce] {
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 1rem !important;
    flex-shrink: 0;
}

.bop-sidebar-search-input[b-8zqsth8oce] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 8px;
    font-size: 0.8125rem;
    color: #FFFFFF;
    font-family: inherit;
}

.bop-sidebar-search-input[b-8zqsth8oce]::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.bop-sidebar-search-kbd[b-8zqsth8oce] {
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 5px;
    padding: 2px 6px;
    flex-shrink: 0;
}

/* Scroll area */
.bop-sidebar-scroll[b-8zqsth8oce] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 -4px;
    padding: 0 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.26) transparent;
}

.bop-sidebar-scroll[b-8zqsth8oce]::-webkit-scrollbar {
    width: 6px;
}
.bop-sidebar-scroll[b-8zqsth8oce]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.26);
    border-radius: 3px;
}
.bop-sidebar-scroll[b-8zqsth8oce]::-webkit-scrollbar-track {
    background: transparent;
}

/* Section labels */
.bop-sidebar-section-label[b-8zqsth8oce] {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.44);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 14px 10px 7px 10px;
}

.bop-sidebar-section-label:first-child[b-8zqsth8oce] {
    padding-top: 4px;
}

/* Nav container */
.bop-sidebar-nav[b-8zqsth8oce] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Nav item */
.bop-sidebar-item[b-8zqsth8oce] {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--bop-radius-sm, 2px);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--bop-transition-fast, 140ms ease), color var(--bop-transition-fast, 140ms ease);
    border: none;
    background: transparent;
    width: 100%;
    font-family: inherit;
    text-align: left;
}

.bop-sidebar-item:hover[b-8zqsth8oce] {
    background: #262626;
    color: #FFFFFF;
    text-decoration: none;
    opacity: 1;
}

.bop-sidebar-item.active[b-8zqsth8oce] {
    background: #262626;
    color: #FFFFFF;
    box-shadow: none;
}

.bop-sidebar-item.active[b-8zqsth8oce]::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: var(--bop-primary, #0F62FE);
}

.bop-sidebar-item.active:hover[b-8zqsth8oce] {
    background: #393939;
    color: #FFFFFF;
}

.bop-sidebar-item-icon[b-8zqsth8oce] {
    color: currentColor !important;
    flex-shrink: 0;
    font-size: 1.125rem !important;
}

.bop-sidebar-item-label[b-8zqsth8oce] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bop-sidebar-item-badge[b-8zqsth8oce] {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2px 7px;
    flex-shrink: 0;
}

.bop-sidebar-item.active .bop-sidebar-item-badge[b-8zqsth8oce] {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile backdrop */
.bop-sidebar-backdrop[b-8zqsth8oce] {
    position: fixed;
    inset: 0;
    z-index: 1150;
    background: rgba(22, 22, 22, 0.42);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Mobile: hide by default, slide in when open */
@media (max-width: 767px) {
    .bop-sidebar[b-8zqsth8oce] {
        transform: translateX(-100%) !important;
        transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
        width: 268px;
    }

    .bop-sidebar.open[b-8zqsth8oce] {
        transform: translateX(0) !important;
    }
}

/* Desktop: hide mobile backdrop */
@media (min-width: 768px) {
    .bop-sidebar.hidden[b-8zqsth8oce] {
        transform: translateX(-100%);
        opacity: 0;
        pointer-events: none;
    }

    .bop-sidebar-backdrop[b-8zqsth8oce] {
        display: none;
    }
}
/* /Components/Layout/BopTopBar.razor.rz.scp.css */
/* Content-area header — not a fixed top bar */

.bop-content-header[b-qephuktnmn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 8px 12px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--bop-divider, #E0E0E0);
    border-radius: var(--bop-radius-md, 4px);
    box-shadow: var(--bop-shadow-1, 0 1px 2px rgba(22, 22, 22, 0.05));
}

.bop-content-header-left[b-qephuktnmn] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bop-content-header-right[b-qephuktnmn] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bop-sidebar-toggle-slot[b-qephuktnmn] {
    display: inline-flex;
    align-items: center;
}

.bop-sidebar-toggle-slot--mobile[b-qephuktnmn] {
    display: none;
}

:deep(.bop-sidebar-toggle)[b-qephuktnmn] {
    border: 1px solid var(--bop-divider, #E0E0E0) !important;
    border-radius: var(--bop-radius-md, 4px) !important;
    background: #FFFFFF !important;
    color: var(--bop-text-secondary, #525252) !important;
    box-shadow: none;
}

:deep(.bop-sidebar-toggle:hover)[b-qephuktnmn] {
    background: var(--bop-primary-soft, #EDF5FF) !important;
    color: var(--bop-primary-dark, #0353E9) !important;
}

/* Search pill — soft filled style */
.bop-header-search[b-qephuktnmn] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    background: var(--bop-surface-muted, #F4F4F4);
    border: 1px solid var(--bop-divider, #E0E0E0);
    border-radius: var(--bop-radius-md, 4px);
    cursor: pointer;
    box-shadow: none;
    transition: background var(--bop-transition-fast, 140ms ease), border-color var(--bop-transition-fast, 140ms ease), box-shadow var(--bop-transition-fast, 140ms ease);
    min-width: 240px;
}

.bop-header-search:hover[b-qephuktnmn] {
    background: #FFFFFF;
    border-color: var(--bop-divider-strong, #8D8D8D);
}

.bop-header-search:focus-within[b-qephuktnmn] {
    background: #FFFFFF;
    border-color: var(--bop-primary, #0F62FE);
    box-shadow: var(--bop-shadow-focus, 0 0 0 3px rgba(15, 98, 254, 0.18));
}

.bop-header-search-text[b-qephuktnmn] {
    font-size: 0.8125rem;
    color: var(--bop-text-secondary, #525252);
    font-weight: 400;
}

/* User avatar */
.bop-user-avatar[b-qephuktnmn] {
    background: var(--bop-secondary-deep, #161616) !important;
    color: #FFFFFF !important;
    width: 36px !important;
    height: 36px !important;
    box-shadow: none;
}

@media (max-width: 767px) {
    .bop-sidebar-toggle-slot--desktop[b-qephuktnmn] {
        display: none;
    }

    .bop-sidebar-toggle-slot--mobile[b-qephuktnmn] {
        display: inline-flex;
    }

    .bop-header-search[b-qephuktnmn] {
        min-width: unset;
        padding: 8px 14px;
    }

    .bop-header-search-text[b-qephuktnmn] {
        display: none;
    }
}
/* /Components/Layout/ImpersonationBanner.razor.rz.scp.css */
/* ImpersonationBanner — persistent warning banner for active impersonation sessions */

.impersonation-banner[b-mqsa9rx9rr] {
    position: fixed;
    top: 0;
    left: 260px;
    right: 0;
    z-index: 1100;
    background: var(--bop-warning-soft, #FFFAEB);
    color: #7A2E0E;
    border-bottom: 1px solid rgba(220, 104, 3, 0.24);
    box-shadow: none;
    font-size: 0.8125rem;
    line-height: 1.4;
    user-select: none;
}

.impersonation-banner-content[b-mqsa9rx9rr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 20px;
    max-width: 100%;
    min-height: 40px;
}

.impersonation-banner-info[b-mqsa9rx9rr] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.impersonation-banner-icon[b-mqsa9rx9rr] {
    color: #1c1917;
    flex-shrink: 0;
}

.impersonation-banner-label[b-mqsa9rx9rr] {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.6875rem;
    background: rgba(0, 0, 0, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.impersonation-banner-detail[b-mqsa9rx9rr] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.impersonation-banner-field[b-mqsa9rx9rr] {
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    opacity: 0.7;
}

.impersonation-banner-value[b-mqsa9rx9rr] {
    font-weight: 600;
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.08);
    padding: 1px 6px;
    border-radius: 3px;
}

.impersonation-banner-separator[b-mqsa9rx9rr] {
    opacity: 0.4;
    font-weight: 300;
}

.impersonation-banner-timer[b-mqsa9rx9rr] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.8125rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.impersonation-banner-timer-icon[b-mqsa9rx9rr] {
    color: #1c1917;
    font-size: 1rem !important;
}

/* End Impersonation button */
.impersonation-banner-exit[b-mqsa9rx9rr] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 2px solid rgba(28, 25, 23, 0.5);
    border-radius: 6px;
    background: rgba(28, 25, 23, 0.1);
    color: #1c1917;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.impersonation-banner-exit:hover:not(:disabled)[b-mqsa9rx9rr] {
    background: rgba(28, 25, 23, 0.2);
    border-color: rgba(28, 25, 23, 0.7);
}

.impersonation-banner-exit:active:not(:disabled)[b-mqsa9rx9rr] {
    transform: scale(0.97);
}

.impersonation-banner-exit:disabled[b-mqsa9rx9rr] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .impersonation-banner[b-mqsa9rx9rr] {
        left: 0;
    }

    .impersonation-banner-content[b-mqsa9rx9rr] {
        flex-wrap: wrap;
        padding: 8px 12px;
        gap: 8px;
    }

    .impersonation-banner-info[b-mqsa9rx9rr] {
        gap: 6px;
    }

    .hidden-mobile[b-mqsa9rx9rr] {
        display: none !important;
    }

    .impersonation-banner-exit[b-mqsa9rx9rr] {
        width: 100%;
        justify-content: center;
        padding: 8px 14px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .impersonation-banner-content[b-mqsa9rx9rr] {
        padding: 8px 16px;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout - SaaS app shell with fixed navigation rail */

.bop-main-content[b-ius18awsfq] {
    background:
        linear-gradient(90deg, rgba(224, 224, 224, 0.46) 1px, transparent 1px),
        linear-gradient(180deg, rgba(224, 224, 224, 0.46) 1px, transparent 1px),
        var(--bop-background, #F4F4F4);
    background-size: 32px 32px;
    min-height: 100vh;
    margin-left: 260px;
    transition: margin-left 0.25s cubic-bezier(0.32, 0.72, 0, 1);
    position: relative;
    overflow: hidden;
}

.bop-main-content.sidebar-hidden[b-ius18awsfq] {
    margin-left: 0;
}

/* Extra top padding when impersonation banner is visible */
.bop-main-content.has-impersonation-banner[b-ius18awsfq] {
    padding-top: 40px;
}

.bop-main-inner[b-ius18awsfq] {
    padding: 16px 24px 32px;
    max-width: 1760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Mobile: no sidebar margin */
@media (max-width: 767px) {
    .bop-main-content[b-ius18awsfq] {
        margin-left: 0 !important;
    }

    .bop-main-inner[b-ius18awsfq] {
        padding: 12px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .bop-main-inner[b-ius18awsfq] {
        padding: 16px;
    }
}

/* Error UI */
#blazor-error-ui[b-ius18awsfq] {
    color-scheme: light only;
    background: var(--bop-warning-soft, #FFF3DE);
    bottom: 0;
    box-shadow: 0 -8px 24px rgba(16, 24, 40, 0.08);
    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-ius18awsfq] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

#blazor-error-ui .reload[b-ius18awsfq] {
    color: var(--bop-primary-dark, #1D4ED8);
    text-decoration: underline;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-3b4imhm00c] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-3b4imhm00c] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-3b4imhm00c] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-3b4imhm00c] {
    font-size: 1.1rem;
}

.bi[b-3b4imhm00c] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-3b4imhm00c] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-3b4imhm00c] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-3b4imhm00c] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-ui-checks-nav-menu[b-3b4imhm00c] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-ui-checks' viewBox='0 0 16 16'%3E%3Cpath d='M7 2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5zM2 1a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zm0 8a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2zm.854-3.646a.5.5 0 0 1-.708 0l-1-1a.5.5 0 1 1 .708-.708l.646.647 1.646-1.647a.5.5 0 1 1 .708.708zm0 8a.5.5 0 0 1-.708 0l-1-1a.5.5 0 0 1 .708-.708l.646.647 1.646-1.647a.5.5 0 0 1 .708.708zM7 10.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5zm0-5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 8a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-inbox-fill-nav-menu[b-3b4imhm00c] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-inbox-fill' viewBox='0 0 16 16'%3E%3Cpath d='M4.98 4a.5.5 0 0 0-.39.188L1.54 8H6a.5.5 0 0 1 .5.5 1.5 1.5 0 1 0 3 0A.5.5 0 0 1 10 8h4.46l-3.05-3.812A.5.5 0 0 0 11.02 4zm-1.17-.437A1.5 1.5 0 0 1 4.98 3h6.04a1.5 1.5 0 0 1 1.17.563l3.7 4.625a.5.5 0 0 1 .106.374l-.39 3.124A1.5 1.5 0 0 1 14.117 13H1.883a1.5 1.5 0 0 1-1.489-1.314l-.39-3.124a.5.5 0 0 1 .106-.374z'/%3E%3C/svg%3E");
}

.bi-calculator-nav-menu[b-3b4imhm00c] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-calculator' viewBox='0 0 16 16'%3E%3Cpath d='M12 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z'/%3E%3Cpath d='M4 2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5zm0 4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm3-6a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm3-6a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm0 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-section-header[b-3b4imhm00c] {
    padding-top: 1rem;
    padding-bottom: 0.25rem;
}

.nav-section-label[b-3b4imhm00c] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    padding-left: 0.75rem;
}

.nav-item[b-3b4imhm00c] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-3b4imhm00c] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-3b4imhm00c] {
        padding-bottom: 1rem;
    }

    .nav-item[b-3b4imhm00c]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-3b4imhm00c]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-3b4imhm00c]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-3b4imhm00c] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-3b4imhm00c] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-3b4imhm00c] {
        display: none;
    }

    .nav-scrollable[b-3b4imhm00c] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-xi6ioe64m8],
.components-reconnect-repeated-attempt-visible[b-xi6ioe64m8],
.components-reconnect-failed-visible[b-xi6ioe64m8],
.components-pause-visible[b-xi6ioe64m8],
.components-resume-failed-visible[b-xi6ioe64m8],
.components-rejoining-animation[b-xi6ioe64m8] {
    display: none;
}

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


#components-reconnect-modal[b-xi6ioe64m8] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: var(--bop-radius-xl, 10px);
    box-shadow: var(--bop-shadow-3, 0 12px 28px rgba(16, 24, 40, 0.12));
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-xi6ioe64m8 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-xi6ioe64m8 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Layout/TenantImpersonationBanner.razor.rz.scp.css */
/* TenantImpersonationBanner — persistent warning banner for active impersonation on tenant side */

.tenant-impersonation-banner[b-to0mjx6xk9] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--bop-warning-soft, #FFFAEB);
    color: #7A2E0E;
    border-bottom: 1px solid rgba(220, 104, 3, 0.24);
    box-shadow: none;
    font-size: 0.8125rem;
    line-height: 1.4;
    user-select: none;
}

.tenant-impersonation-banner-content[b-to0mjx6xk9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 20px;
    max-width: 100%;
    min-height: 40px;
}

.tenant-impersonation-banner-info[b-to0mjx6xk9] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.tenant-impersonation-banner-icon[b-to0mjx6xk9] {
    color: #1c1917;
    flex-shrink: 0;
}

.tenant-impersonation-banner-label[b-to0mjx6xk9] {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.6875rem;
    background: rgba(0, 0, 0, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.tenant-impersonation-banner-detail[b-to0mjx6xk9] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.tenant-impersonation-banner-field[b-to0mjx6xk9] {
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    opacity: 0.7;
}

.tenant-impersonation-banner-value[b-to0mjx6xk9] {
    font-weight: 600;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.08);
    padding: 1px 6px;
    border-radius: 3px;
}

.tenant-impersonation-banner-separator[b-to0mjx6xk9] {
    opacity: 0.4;
    font-weight: 300;
}

.tenant-impersonation-banner-timer[b-to0mjx6xk9] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.8125rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.tenant-impersonation-banner-timer-icon[b-to0mjx6xk9] {
    color: #1c1917;
    font-size: 1rem !important;
}

/* Exit button */
.tenant-impersonation-banner-exit[b-to0mjx6xk9] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border: 2px solid rgba(28, 25, 23, 0.5);
    border-radius: 8px;
    background: rgba(28, 25, 23, 0.1);
    color: #1c1917;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.tenant-impersonation-banner-exit:hover:not(:disabled)[b-to0mjx6xk9] {
    background: rgba(28, 25, 23, 0.2);
    border-color: rgba(28, 25, 23, 0.7);
}

.tenant-impersonation-banner-exit:active:not(:disabled)[b-to0mjx6xk9] {
    transform: scale(0.97);
}

.tenant-impersonation-banner-exit:disabled[b-to0mjx6xk9] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .tenant-impersonation-banner-content[b-to0mjx6xk9] {
        flex-wrap: wrap;
        padding: 8px 12px;
        gap: 8px;
    }

    .tenant-impersonation-banner-info[b-to0mjx6xk9] {
        gap: 6px;
    }

    .hidden-mobile[b-to0mjx6xk9] {
        display: none !important;
    }

    .tenant-impersonation-banner-exit[b-to0mjx6xk9] {
        width: 100%;
        justify-content: center;
        padding: 8px 14px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .tenant-impersonation-banner-content[b-to0mjx6xk9] {
        padding: 8px 16px;
    }
}
/* /Components/Pages/Crm/Webforms/SubmissionDetail.razor.rz.scp.css */
/* Glass-themed dialog surface */
[b-96iw8xo65t] .submission-detail-dialog .mud-dialog,
[b-96iw8xo65t] .submission-detail-dialog.mud-dialog {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    min-width: 480px;
    max-width: 600px;
}

/* Header */
.submission-detail-header[b-96iw8xo65t] {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Loading state */
.submission-detail-loading[b-96iw8xo65t] {
    padding: 1.5rem 0;
    min-width: 400px;
}

/* Error state */
.submission-detail-error[b-96iw8xo65t] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
    text-align: center;
    min-width: 400px;
}

/* Body layout */
.submission-detail-body[b-96iw8xo65t] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0.25rem 0;
}

/* Section dividers */
.submission-section[b-96iw8xo65t] {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.submission-section:last-of-type[b-96iw8xo65t] {
    border-bottom: none;
    padding-bottom: 0;
}

/* Field key-value list */
.submission-fields-list[b-96iw8xo65t] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
}

.submission-field-item[b-96iw8xo65t] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

/* Monospace IDs */
.submission-id-value[b-96iw8xo65t] {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    color: #616161;
    word-break: break-all;
}

/* Metadata footer */
.submission-meta-footer[b-96iw8xo65t] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Responsive */
@media (max-width: 600px) {
    [b-96iw8xo65t] .submission-detail-dialog .mud-dialog,
    [b-96iw8xo65t] .submission-detail-dialog.mud-dialog {
        min-width: unset;
        max-width: 100%;
    }

    .submission-detail-loading[b-96iw8xo65t],
    .submission-detail-error[b-96iw8xo65t] {
        min-width: unset;
    }

    .submission-fields-list[b-96iw8xo65t] {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }

    .submission-meta-footer[b-96iw8xo65t] {
        flex-direction: column;
        gap: 0.25rem;
    }
}
/* /Components/Pages/Crm/Webforms/SubmissionsInbox.razor.rz.scp.css */
/* Filter bar layout */
.inbox-filter-bar[b-hz38tljiqt] {
    /* Inherits BopFilterBar flex-wrap layout */
}

.inbox-search[b-hz38tljiqt] {
    min-width: 220px;
    flex: 1 1 220px;
    max-width: 320px;
}

.inbox-filter-select[b-hz38tljiqt] {
    min-width: 150px;
    max-width: 200px;
}

.inbox-filter-date[b-hz38tljiqt] {
    min-width: 140px;
    max-width: 170px;
}

.inbox-filter-summary[b-hz38tljiqt] {
    margin-left: auto;
    display: flex;
    align-items: center;
}

/* Grid styling */
.inbox-grid[b-hz38tljiqt] {
    border: none;
}

/* Responsive: tablet */
@media (max-width: 1024px) {
    .inbox-search[b-hz38tljiqt] {
        max-width: 100%;
    }

    .inbox-filter-select[b-hz38tljiqt] {
        max-width: 180px;
    }

    /* Hide CRM Outcome column on tablet */
    [b-hz38tljiqt] .inbox-grid .mud-table-cell:nth-child(5),
    [b-hz38tljiqt] .inbox-grid .mud-table-head .mud-table-cell:nth-child(5) {
        display: none;
    }
}

/* Responsive: mobile */
@media (max-width: 768px) {
    .inbox-search[b-hz38tljiqt] {
        min-width: 100%;
        max-width: 100%;
    }

    .inbox-filter-select[b-hz38tljiqt] {
        min-width: 100%;
        max-width: 100%;
    }

    .inbox-filter-date[b-hz38tljiqt] {
        min-width: 100%;
        max-width: 100%;
    }

    .inbox-filter-summary[b-hz38tljiqt] {
        margin-left: 0;
        text-align: center;
        justify-content: center;
    }

    /* Hide Contact and CRM Outcome columns on mobile */
    [b-hz38tljiqt] .inbox-grid .mud-table-cell:nth-child(2),
    [b-hz38tljiqt] .inbox-grid .mud-table-head .mud-table-cell:nth-child(2),
    [b-hz38tljiqt] .inbox-grid .mud-table-cell:nth-child(5),
    [b-hz38tljiqt] .inbox-grid .mud-table-head .mud-table-cell:nth-child(5) {
        display: none;
    }
}
/* /Components/Pages/Crm/Webforms/WebformCreate.razor.rz.scp.css */
/* ═══════════════════════════════════════════════
   JotForm-style Drag & Drop Builder Layout
   ═══════════════════════════════════════════════ */

.builder-root[b-eoqplk9509] {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    min-height: calc(100vh - 160px);
    margin: -0.5rem -1rem 0;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
    background: #fafafa;
}

/* When properties panel is open, add third column */
.builder-root:has(.builder-properties)[b-eoqplk9509] {
    grid-template-columns: 300px 1fr 300px;
}

/* ── Left Palette ── */

.builder-palette[b-eoqplk9509] {
    background: #fcfcfd;
    border-right: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(100vh - 160px);
}

.palette-header[b-eoqplk9509] {
    padding: 1rem 1.25rem 0.65rem;
}

.palette-fields[b-eoqplk9509] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 1rem 1rem;
}

.palette-item[b-eoqplk9509] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    border: 1.5px dashed #d0d0d0;
    border-radius: 10px;
    cursor: grab;
    transition: all 0.18s ease;
    background: #fafafa;
    user-select: none;
}

.palette-item:hover[b-eoqplk9509] {
    border-color: #212121;
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.palette-item:active[b-eoqplk9509] {
    cursor: grabbing;
    transform: scale(0.97);
}

.palette-item-icon[b-eoqplk9509] {
    color: #424242;
}

.palette-item-label[b-eoqplk9509] {
    font-size: 0.75rem;
    font-weight: 500;
    color: #424242;
    text-align: center;
    line-height: 1.2;
}

.palette-section-divider[b-eoqplk9509] {
    height: 1px;
    background: #e8e8e8;
    margin: 0.35rem 1.25rem 0.85rem;
}

.palette-settings[b-eoqplk9509] {
    padding: 0 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.palette-toggle-row[b-eoqplk9509] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
    padding: 0.45rem 0.65rem;
    border: 1px solid #ececef;
    border-radius: 8px;
    background: #fff;
}

.color-setting[b-eoqplk9509] {
    display: grid;
    gap: 0.45rem;
}

.color-setting-label[b-eoqplk9509] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #424242;
}

.color-setting-row[b-eoqplk9509] {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 0.75rem;
}

.color-picker[b-eoqplk9509] {
    width: 44px;
    height: 44px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 3px;
    background: #fff;
    cursor: pointer;
}

.palette-steps[b-eoqplk9509] {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0.1rem;
}

.palette-step-editor[b-eoqplk9509] {
    display: grid;
    gap: 0.45rem;
    padding-bottom: 0.85rem;
}

.palette-step-editor.step-error[b-eoqplk9509] {
    margin: 0 -0.55rem 0.85rem;
    padding: 0.65rem 0.55rem;
    border: 1px solid #fda29b;
    border-radius: 8px;
    background: #fffbfa;
}

.palette-step-editor + .palette-step-editor[b-eoqplk9509] {
    border-top: 1px solid #ededf0;
    padding-top: 0.85rem;
}

.palette-step-editor.step-error + .palette-step-editor[b-eoqplk9509] {
    border-top: none;
}

.step-error-text[b-eoqplk9509] {
    color: #b42318;
    font-weight: 600;
}

.palette-step-row[b-eoqplk9509] {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 0.55rem;
}

.step-badge-sm[b-eoqplk9509] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background: #212121;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* ── Center Canvas ── */

.builder-canvas[b-eoqplk9509] {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(100vh - 160px);
}

.canvas-step-tabs[b-eoqplk9509] {
    display: flex;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 0 1rem;
    flex-shrink: 0;
}

.canvas-step-tab[b-eoqplk9509] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #757575;
    border-bottom: 2px solid transparent;
    transition: all 0.18s ease;
}

.canvas-step-tab:hover[b-eoqplk9509] {
    color: #212121;
    background: #f5f5f5;
}

.canvas-step-tab.active[b-eoqplk9509] {
    color: #212121;
    border-bottom-color: #212121;
}

.canvas-step-tab.step-error[b-eoqplk9509] {
    color: #b42318;
    background: #fffbfa;
    border-bottom-color: #d92d20;
}

.canvas-step-tab.step-error .step-badge-sm[b-eoqplk9509] {
    background: #d92d20;
}

.canvas-form-area[b-eoqplk9509] {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

/* Empty state */
.canvas-empty[b-eoqplk9509] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 4rem 2rem;
    border: 2px dashed #d0d0d0;
    border-radius: 16px;
    transition: all 0.2s ease;
    min-height: 300px;
}

.canvas-empty-active[b-eoqplk9509] {
    border-color: #212121;
    background: rgba(0, 0, 0, 0.02);
}

/* Field cards on canvas */
.canvas-field[b-eoqplk9509] {
    display: flex;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    transition: all 0.18s ease;
    position: relative;
}

.canvas-field:hover[b-eoqplk9509] {
    border-color: #bdbdbd;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.canvas-field-selected[b-eoqplk9509] {
    border-color: #212121;
    box-shadow: 0 0 0 1px #212121, 0 4px 16px rgba(0, 0, 0, 0.08);
}

.canvas-field-error[b-eoqplk9509] {
    border-color: #d92d20;
    box-shadow: 0 0 0 1px #d92d20, 0 4px 16px rgba(217, 45, 32, 0.1);
}

.canvas-field-error .canvas-field-label-row[b-eoqplk9509] {
    color: #b42318;
}

.canvas-field-dragover[b-eoqplk9509] {
    border-color: #212121;
    border-style: dashed;
    background: #f5f5f5;
}

.canvas-field-drag-handle[b-eoqplk9509] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 6px 16px 10px;
    cursor: grab;
    opacity: 0.4;
    transition: opacity 0.15s ease;
    flex-shrink: 0;
}

.canvas-field:hover .canvas-field-drag-handle[b-eoqplk9509] {
    opacity: 0.8;
}

.canvas-field-drag-handle:active[b-eoqplk9509] {
    cursor: grabbing;
}

.canvas-field-preview[b-eoqplk9509] {
    flex: 1;
    padding: 14px 8px 14px 0;
    min-width: 0;
}

.canvas-field-label-row[b-eoqplk9509] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.canvas-required-dot[b-eoqplk9509] {
    color: #d32f2f;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
}

.canvas-field-actions[b-eoqplk9509] {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 12px 8px 12px 0;
    opacity: 0;
    transition: opacity 0.15s ease;
    flex-shrink: 0;
}

.canvas-field:hover .canvas-field-actions[b-eoqplk9509] {
    opacity: 1;
}

/* Field preview elements */
.preview-input[b-eoqplk9509] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    padding: 0 12px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}

.preview-textarea[b-eoqplk9509] {
    display: flex;
    align-items: flex-start;
    min-height: 56px;
    padding: 10px 12px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}

.preview-select[b-eoqplk9509] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    padding: 0 12px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}

.preview-checkbox[b-eoqplk9509] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.preview-checkbox-box[b-eoqplk9509] {
    width: 18px;
    height: 18px;
    border: 2px solid #bdbdbd;
    border-radius: 4px;
    flex-shrink: 0;
}

.preview-placeholder[b-eoqplk9509] {
    font-size: 0.8rem;
    color: #9e9e9e;
}

/* ── Right Properties Panel ── */

.builder-properties[b-eoqplk9509] {
    background: #fff;
    border-left: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(100vh - 160px);
}

.properties-header[b-eoqplk9509] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.properties-body[b-eoqplk9509] {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .builder-root[b-eoqplk9509] {
        grid-template-columns: 260px 1fr;
    }

    .builder-root:has(.builder-properties)[b-eoqplk9509] {
        grid-template-columns: 260px 1fr 260px;
    }
}

@media (max-width: 768px) {
    .builder-root[b-eoqplk9509] {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .builder-root:has(.builder-properties)[b-eoqplk9509] {
        grid-template-columns: 1fr;
    }

    .builder-palette[b-eoqplk9509] {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        max-height: none;
    }

    .palette-fields[b-eoqplk9509] {
        grid-template-columns: repeat(4, 1fr);
    }

    .builder-canvas[b-eoqplk9509] {
        max-height: none;
    }

    .canvas-form-area[b-eoqplk9509] {
        padding: 1rem;
    }

    .builder-properties[b-eoqplk9509] {
        border-left: none;
        border-top: 1px solid #e8e8e8;
        max-height: none;
    }
}
/* /Components/Pages/Crm/Webforms/WebformDetail.razor.rz.scp.css */
.webform-detail-layout[b-2vt52zhitl] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1100px;
}

/* Summary grid */
.detail-summary-grid[b-2vt52zhitl] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem 2rem;
}

.detail-field[b-2vt52zhitl] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-slug[b-2vt52zhitl] {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    color: #757575;
    font-weight: 500;
}

.detail-color-row[b-2vt52zhitl] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.detail-color-swatch[b-2vt52zhitl] {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 1px solid #d0d0d0;
}

/* Fields table */
.detail-fields-table[b-2vt52zhitl] {
    border: none;
}

[b-2vt52zhitl] .detail-fields-table th {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #757575;
    background: transparent;
    border-bottom: 1px solid #E8E8E8;
}

[b-2vt52zhitl] .detail-fields-table td {
    border-bottom: 1px solid #F5F5F5;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

/* Submissions filter */
.detail-submissions-filter[b-2vt52zhitl] {
    padding: 0;
    background: transparent;
    border: none;
}

.detail-status-select[b-2vt52zhitl] {
    margin: 0 !important;
    min-width: 160px;
    max-width: 200px;
}

/* Submissions grid */
.detail-submissions-grid[b-2vt52zhitl] {
    border: none;
}

/* Step display */
.detail-steps-container[b-2vt52zhitl] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.detail-step-group[b-2vt52zhitl] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-step-header[b-2vt52zhitl] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.step-badge[b-2vt52zhitl] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--mud-palette-dark);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 1px;
}

.detail-step-info[b-2vt52zhitl] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.detail-step-empty[b-2vt52zhitl] {
    padding: 0.75rem 1rem;
    font-style: italic;
}

/* Embed code panel — glass theme */
.embed-code-card[b-2vt52zhitl] {
    position: relative;
}

[b-2vt52zhitl] .embed-code-card-inner {
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.embed-dimensions-row[b-2vt52zhitl] {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.embed-dimension-field[b-2vt52zhitl] {
    max-width: 140px;
}

.embed-code-block[b-2vt52zhitl] {
    position: relative;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 1rem;
    padding-right: 2.75rem;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.embed-code-block pre[b-2vt52zhitl] {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.embed-code-block code[b-2vt52zhitl] {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #333;
}

.embed-copy-btn[b-2vt52zhitl] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.embed-url-row[b-2vt52zhitl] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.embed-url-link[b-2vt52zhitl] {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

/* Responsive */
@media (max-width: 768px) {
    .webform-detail-layout[b-2vt52zhitl] {
        max-width: 100%;
    }

    .detail-summary-grid[b-2vt52zhitl] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .detail-status-select[b-2vt52zhitl] {
        max-width: 100%;
        min-width: 100%;
    }

    .embed-dimensions-row[b-2vt52zhitl] {
        flex-wrap: wrap;
    }

    .embed-dimension-field[b-2vt52zhitl] {
        max-width: 100%;
        flex: 1 1 100px;
    }
}

@media (max-width: 1024px) {
    .detail-summary-grid[b-2vt52zhitl] {
        grid-template-columns: 1fr 1fr;
    }
}
/* /Components/Pages/Crm/Webforms/WebformEdit.razor.rz.scp.css */
/* ═══════════════════════════════════════════════
   JotForm-style Drag & Drop Builder Layout
   ═══════════════════════════════════════════════ */

.builder-root[b-mt7dbod7uq] {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    min-height: calc(100vh - 160px);
    margin: -0.5rem -1rem 0;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
    background: #fafafa;
}

/* When properties panel is open, add third column */
.builder-root:has(.builder-properties)[b-mt7dbod7uq] {
    grid-template-columns: 300px 1fr 300px;
}

/* ── Left Palette ── */

.builder-palette[b-mt7dbod7uq] {
    background: #fcfcfd;
    border-right: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(100vh - 160px);
}

.palette-header[b-mt7dbod7uq] {
    padding: 1rem 1.25rem 0.65rem;
}

.palette-fields[b-mt7dbod7uq] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 1rem 1rem;
}

.palette-item[b-mt7dbod7uq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    border: 1.5px dashed #d0d0d0;
    border-radius: 10px;
    cursor: grab;
    transition: all 0.18s ease;
    background: #fafafa;
    user-select: none;
}

.palette-item:hover[b-mt7dbod7uq] {
    border-color: #212121;
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.palette-item:active[b-mt7dbod7uq] {
    cursor: grabbing;
    transform: scale(0.97);
}

.palette-item-icon[b-mt7dbod7uq] {
    color: #424242;
}

.palette-item-label[b-mt7dbod7uq] {
    font-size: 0.75rem;
    font-weight: 500;
    color: #424242;
    text-align: center;
    line-height: 1.2;
}

.palette-section-divider[b-mt7dbod7uq] {
    height: 1px;
    background: #e8e8e8;
    margin: 0.35rem 1.25rem 0.85rem;
}

.palette-settings[b-mt7dbod7uq] {
    padding: 0 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.palette-toggle-row[b-mt7dbod7uq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
    padding: 0.45rem 0.65rem;
    border: 1px solid #ececef;
    border-radius: 8px;
    background: #fff;
}

.color-setting[b-mt7dbod7uq] {
    display: grid;
    gap: 0.45rem;
}

.color-setting-label[b-mt7dbod7uq] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #424242;
}

.color-setting-row[b-mt7dbod7uq] {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 0.75rem;
}

.color-picker[b-mt7dbod7uq] {
    width: 44px;
    height: 44px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 3px;
    background: #fff;
    cursor: pointer;
}

.palette-steps[b-mt7dbod7uq] {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0.1rem;
}

.palette-step-editor[b-mt7dbod7uq] {
    display: grid;
    gap: 0.45rem;
    padding-bottom: 0.85rem;
}

.palette-step-editor.step-error[b-mt7dbod7uq] {
    margin: 0 -0.55rem 0.85rem;
    padding: 0.65rem 0.55rem;
    border: 1px solid #fda29b;
    border-radius: 8px;
    background: #fffbfa;
}

.palette-step-editor + .palette-step-editor[b-mt7dbod7uq] {
    border-top: 1px solid #ededf0;
    padding-top: 0.85rem;
}

.palette-step-editor.step-error + .palette-step-editor[b-mt7dbod7uq] {
    border-top: none;
}

.step-error-text[b-mt7dbod7uq] {
    color: #b42318;
    font-weight: 600;
}

.palette-step-row[b-mt7dbod7uq] {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 0.55rem;
}

.step-badge-sm[b-mt7dbod7uq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background: #212121;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* ── Center Canvas ── */

.builder-canvas[b-mt7dbod7uq] {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(100vh - 160px);
}

.canvas-step-tabs[b-mt7dbod7uq] {
    display: flex;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 0 1rem;
    flex-shrink: 0;
}

.canvas-step-tab[b-mt7dbod7uq] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #757575;
    border-bottom: 2px solid transparent;
    transition: all 0.18s ease;
}

.canvas-step-tab:hover[b-mt7dbod7uq] {
    color: #212121;
    background: #f5f5f5;
}

.canvas-step-tab.active[b-mt7dbod7uq] {
    color: #212121;
    border-bottom-color: #212121;
}

.canvas-step-tab.step-error[b-mt7dbod7uq] {
    color: #b42318;
    background: #fffbfa;
    border-bottom-color: #d92d20;
}

.canvas-step-tab.step-error .step-badge-sm[b-mt7dbod7uq] {
    background: #d92d20;
}

.canvas-form-area[b-mt7dbod7uq] {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

/* Empty state */
.canvas-empty[b-mt7dbod7uq] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 4rem 2rem;
    border: 2px dashed #d0d0d0;
    border-radius: 16px;
    transition: all 0.2s ease;
    min-height: 300px;
}

.canvas-empty-active[b-mt7dbod7uq] {
    border-color: #212121;
    background: rgba(0, 0, 0, 0.02);
}

/* Field cards on canvas */
.canvas-field[b-mt7dbod7uq] {
    display: flex;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    transition: all 0.18s ease;
    position: relative;
}

.canvas-field:hover[b-mt7dbod7uq] {
    border-color: #bdbdbd;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.canvas-field-selected[b-mt7dbod7uq] {
    border-color: #212121;
    box-shadow: 0 0 0 1px #212121, 0 4px 16px rgba(0, 0, 0, 0.08);
}

.canvas-field-error[b-mt7dbod7uq] {
    border-color: #d92d20;
    box-shadow: 0 0 0 1px #d92d20, 0 4px 16px rgba(217, 45, 32, 0.1);
}

.canvas-field-error .canvas-field-label-row[b-mt7dbod7uq] {
    color: #b42318;
}

.canvas-field-dragover[b-mt7dbod7uq] {
    border-color: #212121;
    border-style: dashed;
    background: #f5f5f5;
}

.canvas-field-drag-handle[b-mt7dbod7uq] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 6px 16px 10px;
    cursor: grab;
    opacity: 0.4;
    transition: opacity 0.15s ease;
    flex-shrink: 0;
}

.canvas-field:hover .canvas-field-drag-handle[b-mt7dbod7uq] {
    opacity: 0.8;
}

.canvas-field-drag-handle:active[b-mt7dbod7uq] {
    cursor: grabbing;
}

.canvas-field-preview[b-mt7dbod7uq] {
    flex: 1;
    padding: 14px 8px 14px 0;
    min-width: 0;
}

.canvas-field-label-row[b-mt7dbod7uq] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.canvas-required-dot[b-mt7dbod7uq] {
    color: #d32f2f;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
}

.canvas-field-actions[b-mt7dbod7uq] {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 12px 8px 12px 0;
    opacity: 0;
    transition: opacity 0.15s ease;
    flex-shrink: 0;
}

.canvas-field:hover .canvas-field-actions[b-mt7dbod7uq] {
    opacity: 1;
}

/* Field preview elements */
.preview-input[b-mt7dbod7uq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    padding: 0 12px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}

.preview-textarea[b-mt7dbod7uq] {
    display: flex;
    align-items: flex-start;
    min-height: 56px;
    padding: 10px 12px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}

.preview-select[b-mt7dbod7uq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    padding: 0 12px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}

.preview-checkbox[b-mt7dbod7uq] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.preview-checkbox-box[b-mt7dbod7uq] {
    width: 18px;
    height: 18px;
    border: 2px solid #bdbdbd;
    border-radius: 4px;
    flex-shrink: 0;
}

.preview-placeholder[b-mt7dbod7uq] {
    font-size: 0.8rem;
    color: #9e9e9e;
}

/* ── Right Properties Panel ── */

.builder-properties[b-mt7dbod7uq] {
    background: #fff;
    border-left: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(100vh - 160px);
}

.properties-header[b-mt7dbod7uq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.properties-body[b-mt7dbod7uq] {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .builder-root[b-mt7dbod7uq] {
        grid-template-columns: 260px 1fr;
    }

    .builder-root:has(.builder-properties)[b-mt7dbod7uq] {
        grid-template-columns: 260px 1fr 260px;
    }
}

@media (max-width: 768px) {
    .builder-root[b-mt7dbod7uq] {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .builder-root:has(.builder-properties)[b-mt7dbod7uq] {
        grid-template-columns: 1fr;
    }

    .builder-palette[b-mt7dbod7uq] {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        max-height: none;
    }

    .palette-fields[b-mt7dbod7uq] {
        grid-template-columns: repeat(4, 1fr);
    }

    .builder-canvas[b-mt7dbod7uq] {
        max-height: none;
    }

    .canvas-form-area[b-mt7dbod7uq] {
        padding: 1rem;
    }

    .builder-properties[b-mt7dbod7uq] {
        border-left: none;
        border-top: 1px solid #e8e8e8;
        max-height: none;
    }
}
