/* _content/Witezy.Admin/Components/Layout/MainLayout.razor.rz.scp.css */
.admin-shell[b-kw187zfu5u] {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar[b-kw187zfu5u] {
    width: 240px;
    min-height: 100vh;
    background: #f7f7f7;
    border-right: 1px solid #e3e3e3;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.admin-main[b-kw187zfu5u] {
    flex: 1;
    margin-left: 240px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.admin-topbar[b-kw187zfu5u] {
    height: 52px;
    background: #ffffff;
    border-bottom: 1px solid #e3e3e3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-left[b-kw187zfu5u] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-breadcrumb[b-kw187zfu5u] {
    font-weight: 500;
    color: #6d7175;
    font-size: 0.875rem;
}

.topbar-right[b-kw187zfu5u] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-env[b-kw187zfu5u] {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    background: #e0f0ff;
    color: #1f3d73;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.topbar-link[b-kw187zfu5u] {
    font-size: 0.8125rem;
    color: #616161;
    text-decoration: none;
}

.topbar-link:hover[b-kw187zfu5u] {
    color: #303030;
    text-decoration: underline;
}

.admin-content[b-kw187zfu5u] {
    flex: 1;
    padding: 1.5rem 2rem;
    background: #f1f1f1;
}

#blazor-error-ui[b-kw187zfu5u] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-kw187zfu5u] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.hamburger-btn[b-kw187zfu5u] {
    display: none;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #616161;
    border-radius: 6px;
}
.hamburger-btn:hover[b-kw187zfu5u] { background: #f0f0f0; }

.sidebar-overlay[b-kw187zfu5u] {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.2s ease;
}

@media (max-width: 768px) {
    .hamburger-btn[b-kw187zfu5u] { display: flex; }

    .admin-sidebar[b-kw187zfu5u] {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .sidebar-open .admin-sidebar[b-kw187zfu5u] {
        transform: translateX(0);
    }

    .sidebar-open .sidebar-overlay[b-kw187zfu5u] {
        display: block;
        opacity: 1;
    }

    .admin-main[b-kw187zfu5u] {
        margin-left: 0;
    }

    .admin-content[b-kw187zfu5u] {
        padding: 1rem;
    }
}
/* _content/Witezy.Admin/Components/Layout/NavMenu.razor.rz.scp.css */
/* ══════════════════════════════════════════════════════════════════
   Witezy Admin Sidebar — Shopify Polaris-inspired light theme
   ══════════════════════════════════════════════════════════════════ */

/* ── Header / Brand ────────────────────────────────────────────── */

.sidebar-header[b-0jww30dbhd] {
    flex-shrink: 0;
    padding: 0.875rem 0.75rem 0.5rem;
}

.sidebar-brand[b-0jww30dbhd] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    transition: background 0.15s;
}

.sidebar-brand:hover[b-0jww30dbhd] {
    background: rgba(0, 0, 0, 0.04);
}

.brand-name[b-0jww30dbhd] {
    font-size: 1rem;
    font-weight: 700;
    color: #303030;
    letter-spacing: -0.01em;
}

/* ── Scrollable Nav Area ───────────────────────────────────────── */

.sidebar-scroll[b-0jww30dbhd] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.25rem 0;

    /* Custom scrollbar — thin & subtle */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.12) transparent;
}

.sidebar-scroll[b-0jww30dbhd]::-webkit-scrollbar {
    width: 6px;
}

.sidebar-scroll[b-0jww30dbhd]::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-scroll[b-0jww30dbhd]::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 3px;
}

.sidebar-scroll[b-0jww30dbhd]::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.16);
}

/* ── Nav List ──────────────────────────────────────────────────── */

.nav-list[b-0jww30dbhd] {
    list-style: none;
    margin: 0;
    padding: 0 0.5rem;
}

.nav-list > li[b-0jww30dbhd] {
    margin: 1px 0;
}

/* ── Nav Links (top-level items) ───────────────────────────────── */

[b-0jww30dbhd] .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.4375rem 0.625rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #303030;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    background: none;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
    text-align: left;
    line-height: 1.4;
    position: relative;
}

[b-0jww30dbhd] .nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #303030;
    text-decoration: none;
}

[b-0jww30dbhd] .nav-link.active {
    background: rgba(0, 0, 0, 0.07);
    color: #303030;
    font-weight: 600;
}

/* ── Nav Icons ─────────────────────────────────────────────────── */

[b-0jww30dbhd] .nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #616161;
    transition: color 0.12s;
}

[b-0jww30dbhd] .nav-link:hover .nav-icon,
[b-0jww30dbhd] .nav-link.active .nav-icon {
    color: #303030;
}

/* ── Caret (chevron) for expandable items ──────────────────────── */

[b-0jww30dbhd] .nav-caret {
    width: 12px;
    height: 12px;
    margin-left: auto;
    flex-shrink: 0;
    color: #8c8c8c;
    transition: transform 0.2s ease, color 0.12s;
}

.is-expanded[b-0jww30dbhd] >  .nav-link .nav-caret,
.is-expanded > button .nav-caret[b-0jww30dbhd] {
    transform: rotate(90deg);
    color: #616161;
}

/* ── Sub-navigation (collapsible children) ─────────────────────── */

[b-0jww30dbhd] .nav-sub {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.is-expanded[b-0jww30dbhd] >  .nav-sub {
    max-height: 500px;
}

[b-0jww30dbhd] .nav-sublink {
    display: block;
    padding: 0.3125rem 0.625rem 0.3125rem 2.375rem;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #616161;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.12s, color 0.12s;
}

[b-0jww30dbhd] .nav-sublink:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #303030;
    text-decoration: none;
}

[b-0jww30dbhd] .nav-sublink.active {
    color: #303030;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.05);
}

/* ── Collapsible Sections (like Shopify "Sales channels >") ──── */

.nav-sections[b-0jww30dbhd] {
    padding: 0.375rem 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    margin-top: 0.25rem;
}

.nav-section[b-0jww30dbhd] {
    margin: 2px 0;
}

.nav-section-toggle[b-0jww30dbhd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #616161;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.12s;
}

.nav-section-toggle:hover[b-0jww30dbhd] {
    background: rgba(0, 0, 0, 0.04);
}

.nav-section-caret[b-0jww30dbhd] {
    width: 12px;
    height: 12px;
    color: #8c8c8c;
    transition: transform 0.2s ease;
}

.is-open > .nav-section-toggle .nav-section-caret[b-0jww30dbhd] {
    transform: rotate(90deg);
}

.nav-section-list[b-0jww30dbhd] {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.is-open > .nav-section-list[b-0jww30dbhd] {
    max-height: 800px;
}

[b-0jww30dbhd] .nav-section-list .nav-sublink {
    padding-left: 1.75rem;
}

/* ── Sidebar Footer (sticky Settings) ──────────────────────────── */

.sidebar-footer[b-0jww30dbhd] {
    flex-shrink: 0;
    padding: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

[b-0jww30dbhd] .sidebar-footer .nav-link {
    color: #616161;
}

[b-0jww30dbhd] .sidebar-footer .nav-link:hover {
    color: #303030;
}

[b-0jww30dbhd] .nav-signout {
    color: #8c8c8c !important;
    font-weight: 400 !important;
}

[b-0jww30dbhd] .nav-signout:hover {
    color: #303030 !important;
}
/* _content/Witezy.Admin/Components/Pages/ThemeEditor.razor.rz.scp.css */
/* ── Theme Editor — Full-Screen Shell ────────────────────────────────────── */

.theme-editor-shell[b-7t0j5uwivo] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    background: #f6f6f7;
}

/* ── Top Bar ─────────────────────────────────────────────────────────────── */

.te-topbar[b-7t0j5uwivo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 16px;
    background: #1a1a1a;
    color: #fff;
    flex-shrink: 0;
    border-bottom: 1px solid #333;
}

.te-topbar-left[b-7t0j5uwivo],
.te-topbar-center[b-7t0j5uwivo],
.te-topbar-right[b-7t0j5uwivo] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.te-topbar-left[b-7t0j5uwivo] {
    flex: 0 0 auto;
}

.te-topbar-center[b-7t0j5uwivo] {
    flex: 1;
    justify-content: center;
}

.te-topbar-right[b-7t0j5uwivo] {
    flex: 0 0 auto;
}

.te-back-link[b-7t0j5uwivo] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #b5b5b5;
    text-decoration: none;
    font-size: 0.8125rem;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.te-back-link:hover[b-7t0j5uwivo] {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.te-title[b-7t0j5uwivo] {
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
}

.te-store-badge[b-7t0j5uwivo] {
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.75rem;
    color: #b5b5b5;
}

/* ── Body (settings + preview) ──────────────────────────────────────────── */

.te-body[b-7t0j5uwivo] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ── Settings Panel ─────────────────────────────────────────────────────── */

.te-settings-panel[b-7t0j5uwivo] {
    width: 320px;
    flex-shrink: 0;
    background: #fff;
    border-right: 1px solid #e1e3e5;
    overflow-y: auto;
    overflow-x: hidden;
}

.te-section[b-7t0j5uwivo] {
    border-bottom: 1px solid #e1e3e5;
}

.te-section-header[b-7t0j5uwivo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #202223;
    text-align: left;
    transition: background 0.15s;
}

button.te-section-header:hover[b-7t0j5uwivo] {
    background: #f6f6f7;
}

.te-section-caret[b-7t0j5uwivo] {
    transition: transform 0.2s;
    flex-shrink: 0;
}

.te-section.is-expanded .te-section-caret[b-7t0j5uwivo] {
    transform: rotate(90deg);
}

.te-section-body[b-7t0j5uwivo] {
    display: none;
    padding: 0 16px 16px;
}

.te-section.is-expanded .te-section-body[b-7t0j5uwivo] {
    display: block;
}

/* Store selector section — always visible */
.te-section:first-child .te-section-body[b-7t0j5uwivo] {
    display: block;
    padding: 0 16px 16px;
}

/* ── Color Input ─────────────────────────────────────────────────────────── */

.te-color-row[b-7t0j5uwivo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.te-color-row .form-label[b-7t0j5uwivo] {
    margin-bottom: 0;
    font-size: 0.8125rem;
    flex: 1;
}

.te-color-input-wrap[b-7t0j5uwivo] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.te-color-input-wrap input[type="color"][b-7t0j5uwivo] {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 2px solid #e1e3e5;
    border-radius: 6px;
    cursor: pointer;
    background: none;
}

.te-color-input-wrap input[type="color"][b-7t0j5uwivo]::-webkit-color-swatch-wrapper {
    padding: 2px;
}

.te-color-input-wrap input[type="color"][b-7t0j5uwivo]::-webkit-color-swatch {
    border: none;
    border-radius: 3px;
}

.te-color-text[b-7t0j5uwivo] {
    width: 80px !important;
    font-size: 0.75rem !important;
    padding: 4px 8px !important;
    font-family: 'SF Mono', 'Fira Code', monospace;
    text-transform: uppercase;
}

/* ── Font Preview ────────────────────────────────────────────────────────── */

.te-font-preview[b-7t0j5uwivo] {
    margin: 8px 0 0;
    padding: 10px 12px;
    background: #f6f6f7;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #6d7175;
    line-height: 1.5;
}

.te-heading-preview[b-7t0j5uwivo] {
    font-size: 1.125rem;
    font-weight: 700;
    color: #202223;
}

/* ── Logo Preview ────────────────────────────────────────────────────────── */

.te-logo-preview[b-7t0j5uwivo] {
    margin-top: 10px;
    padding: 16px;
    background: #f6f6f7;
    border-radius: 8px;
    text-align: center;
}

.te-logo-preview img[b-7t0j5uwivo] {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* ── Button Preview ──────────────────────────────────────────────────────── */

.te-button-preview[b-7t0j5uwivo] {
    margin-top: 8px;
    padding: 12px;
    background: #f6f6f7;
    border-radius: 6px;
    text-align: center;
}

/* ── Card Preview ────────────────────────────────────────────────────────── */

.te-card-preview[b-7t0j5uwivo] {
    margin-top: 8px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e1e3e5;
    font-size: 0.8125rem;
    color: #6d7175;
    text-align: center;
}

/* ── Range Slider ────────────────────────────────────────────────────────── */

input[type="range"][b-7t0j5uwivo] {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #e1e3e5;
    border-radius: 2px;
    outline: none;
    margin: 8px 0;
}

input[type="range"][b-7t0j5uwivo]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #008060;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ── Preview Area ────────────────────────────────────────────────────────── */

.te-preview-area[b-7t0j5uwivo] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #e8e8e8;
}

.te-preview-empty[b-7t0j5uwivo] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #6d7175;
    text-align: center;
    padding: 40px;
}

.te-preview-empty h3[b-7t0j5uwivo] {
    font-size: 1rem;
    color: #202223;
    margin: 0;
}

.te-preview-empty p[b-7t0j5uwivo] {
    font-size: 0.875rem;
    margin: 0;
    max-width: 400px;
}

/* ── Device Toolbar ──────────────────────────────────────────────────────── */

.te-iframe-toolbar[b-7t0j5uwivo] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: #f1f2f3;
    border-bottom: 1px solid #d2d5d8;
    flex-shrink: 0;
}

.te-device-btn[b-7t0j5uwivo] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #6d7175;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.te-device-btn:hover[b-7t0j5uwivo] {
    background: #e1e3e5;
    color: #202223;
}

.te-device-btn.active[b-7t0j5uwivo] {
    background: #fff;
    color: #008060;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.te-preview-url[b-7t0j5uwivo] {
    margin-left: 12px;
    font-size: 0.75rem;
    color: #8c9196;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Iframe Container ────────────────────────────────────────────────────── */

.te-iframe-container[b-7t0j5uwivo] {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    transition: padding 0.3s;
}

.te-iframe-container.te-device-tablet[b-7t0j5uwivo] {
    padding: 16px;
}

.te-iframe-container.te-device-mobile[b-7t0j5uwivo] {
    padding: 16px;
}

.te-iframe[b-7t0j5uwivo] {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
    transition: max-width 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.te-device-desktop .te-iframe[b-7t0j5uwivo] {
    max-width: 100%;
}

.te-device-tablet .te-iframe[b-7t0j5uwivo] {
    max-width: 768px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.te-device-mobile .te-iframe[b-7t0j5uwivo] {
    max-width: 375px;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .te-body[b-7t0j5uwivo] {
        flex-direction: column;
    }

    .te-settings-panel[b-7t0j5uwivo] {
        width: 100%;
        max-height: 40vh;
        border-right: none;
        border-bottom: 1px solid #e1e3e5;
    }

    .te-topbar-center[b-7t0j5uwivo] {
        display: none;
    }
}
