/* /Components/SampleCard.razor.rz.scp.css */
/* ============================================
   Sample Card — Masonry variant
   ============================================ */

@keyframes cardFadeIn-b-4mczkvayer {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes glowPulse-b-4mczkvayer {
    0%, 100% { box-shadow: 0 0 4px 2px rgba(46, 125, 50, 0.5); }
    50%      { box-shadow: 0 0 10px 4px rgba(46, 125, 50, 0.8); }
}

.sample-card[b-4mczkvayer] {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
    border: 1px solid #e4e4e7;
    cursor: pointer;
    animation: cardFadeIn-b-4mczkvayer 0.45s ease-out both;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Subtle background tint variants */
.card-bg-warm[b-4mczkvayer]  { background: #fdfbf9; }
.card-bg-cool[b-4mczkvayer]  { background: #f8f9fd; }
.card-bg-neutral[b-4mczkvayer] { background: #fafafa; }

.sample-card:hover[b-4mczkvayer] {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(0,0,0,0.15);
}

/* Accent gradient bar */
.card-accent[b-4mczkvayer] {
    height: 6px;
    width: 100%;
}

/* Watermark icon */
.card-watermark[b-4mczkvayer] {
    position: absolute;
    top: 8px;
    right: -8px;
    font-size: 4rem;
    opacity: 0.06;
    color: var(--card-color);
    pointer-events: none;
    transform: rotate(-12deg);
    line-height: 1;
}

/* NEW glow dot */
.new-dot[b-4mczkvayer] {
    position: absolute;
    top: 14px;
    right: 12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2e7d32;
    animation: glowPulse-b-4mczkvayer 2s ease-in-out infinite;
    z-index: 2;
}

/* Content area */
.card-content[b-4mczkvayer] {
    padding: 1rem 1rem 0.75rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.card-icon[b-4mczkvayer] {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.card-title[b-4mczkvayer] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #18181b;
    margin: 0 0 0.3rem;
    line-height: 1.3;
}

.card-desc[b-4mczkvayer] {
    font-size: 0.8rem;
    color: #71717a;
    line-height: 1.45;
    margin: 0;
}

/* Metadata strip */
.card-meta[b-4mczkvayer] {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.5rem 1rem 0.75rem;
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.meta-category[b-4mczkvayer] {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.12rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.meta-type[b-4mczkvayer] {
    font-size: 0.6rem;
    padding: 0.08rem 0.35rem;
    border-radius: 10px;
    white-space: nowrap;
}
.meta-canvas[b-4mczkvayer]    { background: #e3f2fd; color: #1565c0; }
.meta-animated[b-4mczkvayer]  { background: #fff3e0; color: #e65100; }
.meta-doc[b-4mczkvayer]       { background: #eceff1; color: #607d8b; }
.meta-unsupported[b-4mczkvayer] { background: #fce4ec; color: #c62828; }

/* Hover reveal */
.card-hover-reveal[b-4mczkvayer] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.6rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.04));
    color: var(--card-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: right;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 2;
}
.sample-card:hover .card-hover-reveal[b-4mczkvayer] {
    opacity: 1;
    transform: translateY(0);
}

/* Disabled state */
.sample-card-disabled[b-4mczkvayer] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}
.sample-card-disabled:hover[b-4mczkvayer] {
    transform: none;
    box-shadow: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .sample-card[b-4mczkvayer] { animation: none; }
    .new-dot[b-4mczkvayer] { animation: none; }
    .sample-card:hover[b-4mczkvayer] { transform: none; }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-emhr2bw88a] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-emhr2bw88a] {
    flex: 1;
}

.top-row[b-emhr2bw88a] {
    background-color: #1a237e;
    height: 3.5rem;
    display: flex;
    align-items: center;
    color: white;
}

.top-row a[b-emhr2bw88a] {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.top-row a:hover[b-emhr2bw88a] {
    color: white;
}

.navbar-brand[b-emhr2bw88a] {
    font-size: 1.2rem;
    font-weight: bold;
    color: white !important;
}

.content[b-emhr2bw88a] {
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    padding-bottom: 0.5rem !important;
}
/* /Pages/Home.razor.rz.scp.css */
/* ============================================
   Gallery — CSS-first layout
   CSS handles ALL layout via column-count.
   JS only reorders DOM for NEW item distribution.
   ============================================ */

.gallery-shell[b-l96lye9fo2] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.filter-area[b-l96lye9fo2] {
    padding: 1.5rem 0 1rem;
}

/* ─── Shared column rules ─── */
.skeleton-grid[b-l96lye9fo2] { column-count: 3; column-gap: 1rem; }
.masonry-grid[b-l96lye9fo2]  { /* JS creates flex columns */ }

/* ─── Masonry grid ─── */
.masonry-grid[b-l96lye9fo2] {
    opacity: 0;
    transition: opacity 0.4s ease;
    padding-bottom: 2rem;
}

.grid-item[b-l96lye9fo2] {
    margin-bottom: 0; /* gap handled by flex column */
}

.grid-link[b-l96lye9fo2] {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ─── Skeleton shimmer ─── */
@@keyframes shimmer {
    0%[b-l96lye9fo2]   { background-position: -200px 0; }
    100%[b-l96lye9fo2] { background-position:  200px 0; }
}

.skeleton-grid[b-l96lye9fo2] {
    padding-bottom: 2rem;
}

.skeleton-card[b-l96lye9fo2] {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: #f0f0f0;
    padding: 1.2rem;
    animation: shimmer 1.5s ease-in-out infinite;
    background-image: linear-gradient(90deg, #f0f0f0 0px, #e8e8e8 40px, #f0f0f0 80px);
    background-size: 400px 100%;
}

.skeleton-accent[b-l96lye9fo2] {
    height: 6px;
    width: 100%;
    border-radius: 3px;
    background: #ddd;
    margin-bottom: 1rem;
}

.skeleton-line[b-l96lye9fo2] {
    height: 12px;
    border-radius: 6px;
    background: #e0e0e0;
    margin-bottom: 0.6rem;
}
.skeleton-line.wide[b-l96lye9fo2]   { width: 80%; }
.skeleton-line.medium[b-l96lye9fo2] { width: 60%; }
.skeleton-line.short[b-l96lye9fo2]  { width: 40%; }

/* ─── Footer ─── */
.gallery-footer[b-l96lye9fo2] {
    text-align: center;
    padding: 1.5rem 0 2rem;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #eee;
}


/* /Pages/SamplePage.razor.rz.scp.css */
.sample-page[b-r3elgt27t3] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.sample-header[b-r3elgt27t3] {
    flex-shrink: 0;
    padding-bottom: 0.5rem;
}

.sample-body[b-r3elgt27t3] {
    display: flex;
    flex: 1;
    min-height: 0;
    gap: 0;
}

.sample-canvas[b-r3elgt27t3] {
    flex: 1;
    min-width: 0;
    min-height: 0;
}

.sample-canvas .canvas-wrapper[b-r3elgt27t3] {
    width: 100%;
    height: 100%;
}

/* --- Sidebar --- */

.sample-sidebar[b-r3elgt27t3] {
    width: 320px;
    flex-shrink: 0;
    overflow-y: auto;
    border-left: 1px solid #e0e0e0;
    padding: 0.75rem;
    background: #fafafa;
    transition: width 0.2s ease;
    position: relative;
    z-index: 99;
}

.sample-sidebar.collapsed[b-r3elgt27t3] {
    width: 36px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sample-sidebar.collapsed .sidebar-label[b-r3elgt27t3] {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sample-sidebar.collapsed .sidebar-content[b-r3elgt27t3] {
    display: none;
}

/* Backdrop for dismiss-on-click-outside */
.sidebar-backdrop[b-r3elgt27t3] {
    position: fixed;
    inset: 0;
    z-index: 98;
    background: transparent;
}

@media (max-width: 767.98px) {
    .sample-body[b-r3elgt27t3] {
        flex-direction: column;
    }

    .sample-sidebar[b-r3elgt27t3] {
        width: 100%;
        max-height: 40vh;
        border-left: none;
        border-top: 1px solid #e0e0e0;
    }

    .sample-sidebar.collapsed[b-r3elgt27t3] {
        width: 100%;
        height: 36px;
    }

    .sample-sidebar.collapsed .sidebar-label[b-r3elgt27t3] {
        writing-mode: horizontal-tb;
        transform: none;
    }
}
