@import '_content/Blazor.M3.Pro/Blazor.M3.Pro.bundle.scp.css';
@import '_content/Blazor.M3/Blazor.M3.bundle.scp.css';

/* /Components/Layout/DemoLayout.razor.rz.scp.css */
/* Structural layout is now handled by M3Layout and the library's base CSS. */

article.content[b-cwoocluczg] {
    padding-top: 1.1rem;
}

#blazor-error-ui[b-cwoocluczg] {
    color-scheme: light only;
    background: var(--m3-sys-color-error-container);
    color: var(--m3-sys-color-on-error-container);
    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-cwoocluczg] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Scoped Top App Bar Desktop Navigation Links */
.appbar-desktop-links[b-cwoocluczg] {
    display: none;
    align-items: center;
    gap: 8px;
    margin-right: 16px;
}

.appbar-link[b-cwoocluczg] {
    font-size: 14px;
    font-weight: 500;
    color: var(--m3-sys-color-on-surface-variant);
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 100px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.appbar-link:hover[b-cwoocluczg] {
    background-color: rgba(var(--m3-sys-color-on-surface-rgb, 28, 27, 31), 0.08);
    color: var(--m3-sys-color-on-surface);
}

.appbar-link--highlight[b-cwoocluczg] {
    background-color: var(--m3-sys-color-secondary-container);
    color: var(--m3-sys-color-on-secondary-container);
}

.appbar-link--highlight:hover[b-cwoocluczg] {
    background-color: var(--m3-sys-color-primary-container);
    color: var(--m3-sys-color-on-primary-container);
}

.appbar-mobile-only[b-cwoocluczg] {
    display: inline-flex;
}

@media (min-width: 900px) {
    .appbar-desktop-links[b-cwoocluczg] {
        display: flex;
    }
    .appbar-mobile-only[b-cwoocluczg] {
        display: none !important;
    }
}

/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-hqbyqfgvpp] {
    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-hqbyqfgvpp] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-menu-brand[b-2o1jir9urq] {
    padding: 24px 28px;
    color: var(--m3-sys-color-on-surface);
}

.nav-menu-items[b-2o1jir9urq] {
    padding: 0 12px;
    position: relative;
}

.nav-menu-items--rail[b-2o1jir9urq] {
    padding: 0 !important;
}

.nav-menu-indicator[b-2o1jir9urq] {
    position: absolute;
    top: 0;
    left: 12px;
    right: 12px;
    width: auto;
    border: 1px solid var(--m3-sys-color-primary);
    border-radius: 28px;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s ease;
    opacity: 0;
}

.nav-menu-items--rail .nav-menu-indicator[b-2o1jir9urq] {
    display: none !important;
}

.nav-menu-search[b-2o1jir9urq] {
    padding: 0 12px 16px 12px;
}

.search-box .material-icons[b-2o1jir9urq] {
    color: var(--m3-sys-color-on-surface-variant);
    font-size: 20px;
}

.search-box input[b-2o1jir9urq] {
    border: none;
    background: transparent;
    color: var(--m3-sys-color-on-surface);
    font-size: 0.9rem;
    width: 100%;
    outline: none;
}

.nav-menu-divider[b-2o1jir9urq] {
    height: 1px;
    background-color: var(--m3-sys-color-outline-variant);
    margin: 12px 16px;
}

/* Force MD3 colors on sidebar items to override global link styles, 
   but let the library handle the shape and layout. */
[b-2o1jir9urq] .m3-navigation-drawer-item {
    margin: 4px 0 !important;
    width: 100% !important;
    color: var(--m3-sys-color-on-surface-variant) !important;
    text-decoration: none !important;
}

[b-2o1jir9urq] .m3-navigation-drawer-item:hover,
[b-2o1jir9urq] .m3-navigation-drawer-item:focus {
    text-decoration: none !important;
}

[b-2o1jir9urq] .m3-navigation-drawer-item--active,
[b-2o1jir9urq] .m3-navigation-drawer-item.active {
    color: var(--m3-sys-color-primary) !important;
}

[b-2o1jir9urq] .m3-navigation-drawer-item--active .m3-navigation-drawer-item__state-layer,
[b-2o1jir9urq] .m3-navigation-drawer-item.active .m3-navigation-drawer-item__state-layer {
    border-color: transparent !important;
}

[b-2o1jir9urq] .m3-navigation-drawer-item__icon {
    color: inherit !important;
}

[b-2o1jir9urq] .m3-navigation-drawer-item__headline {
    color: inherit !important;
}

.nav-menu-footer[b-2o1jir9urq] {
    margin-top: 32px;
    padding: 24px 28px;
    border-top: 1px solid var(--m3-sys-color-outline-variant);
    font-size: 0.75rem;
    color: var(--m3-sys-color-on-surface-variant);
}

.license-badge[b-2o1jir9urq] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-size: 10px;
}

.license-badge--community[b-2o1jir9urq] {
    background-color: var(--m3-sys-color-surface-variant);
    color: var(--m3-sys-color-on-surface-variant);
}

.license-badge--pro[b-2o1jir9urq] {
    background-color: #ffd700;
    color: #000;
}

.license-badge--enterprise[b-2o1jir9urq] {
    background-color: var(--m3-sys-color-primary);
    color: var(--m3-sys-color-on-primary);
}

/* Responsive visibility rules for top bar links in mobile navigation drawer */
@media (min-width: 900px) {
    [b-2o1jir9urq] .mobile-navigation-item,
    div.mobile-navigation-item[b-2o1jir9urq] {
        display: none !important;
    }
}

@media (max-width: 899px) {
    [b-2o1jir9urq] .desktop-only-home,
    div.desktop-only-home[b-2o1jir9urq] {
        display: none !important;
    }
}

/* Exclude mobile navigation items in rail mode */
.nav-menu-items--rail[b-2o1jir9urq]  .mobile-navigation-item,
.nav-menu-items--rail div.mobile-navigation-item[b-2o1jir9urq] {
    display: none !important;
}
/* /Components/Pages/Demo/ThemeBuilderDemo.razor.rz.scp.css */
.theme-builder-container[b-q7z7f063cl] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    align-items: start;
}

@media (min-width: 960px) {
    .theme-builder-container[b-q7z7f063cl] {
        grid-template-columns: 1fr 1fr;
    }
}

.sticky-panel[b-q7z7f063cl] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 24px;
}

/* Color Swatches Grid styling */
.palette-section[b-q7z7f063cl] {
    margin-bottom: 24px;
}

.palette-section-title[b-q7z7f063cl] {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--m3-sys-color-on-surface);
    letter-spacing: 0.1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.palette-grid[b-q7z7f063cl] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.swatch-card[b-q7z7f063cl] {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--m3-sys-color-outline-variant);
    background-color: var(--m3-sys-color-surface-container-low);
    transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.swatch-card:hover[b-q7z7f063cl] {
    transform: translateY(-2px);
    box-shadow: var(--m3-sys-elevation-1);
    border-color: var(--m3-sys-color-outline);
}

.swatch-color[b-q7z7f063cl] {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 11px;
    font-weight: 600;
    user-select: all;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.swatch-info[b-q7z7f063cl] {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.swatch-name[b-q7z7f063cl] {
    font-size: 12px;
    font-weight: 500;
    color: var(--m3-sys-color-on-surface);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swatch-role[b-q7z7f063cl] {
    font-size: 9px;
    color: var(--m3-sys-color-on-surface-variant);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.surface-containers-row[b-q7z7f063cl] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.wallpaper-thumbnail[b-q7z7f063cl] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    padding: 0;
}

.wallpaper-thumbnail:hover[b-q7z7f063cl] {
    transform: scale(1.08);
    box-shadow: var(--m3-sys-elevation-1);
}

.wallpaper-thumbnail.selected[b-q7z7f063cl] {
    border-color: var(--m3-sys-color-primary);
    transform: scale(1.05);
    box-shadow: var(--m3-sys-elevation-2);
}
