@import '_content/AuralizeBlazor/AuralizeBlazor.tf5u2o3oxg.bundle.scp.css';
@import '_content/Nextended.Blazor/Nextended.Blazor.tkxqvq0zjw.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-dzlcl40p35] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-dzlcl40p35] {
    flex: 1;
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.sidebar[b-dzlcl40p35] {
    background: var(--sidebar-bg);
}

.top-row[b-dzlcl40p35] {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px var(--shadow-color);
}

.top-row[b-dzlcl40p35]  a, .top-row[b-dzlcl40p35]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.top-row[b-dzlcl40p35]  a:hover, .top-row[b-dzlcl40p35]  .btn-link:hover {
    text-decoration: underline;
    color: var(--accent-primary);
}

.top-row[b-dzlcl40p35]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile optimizations for theme switching and drawer performance */
@media (max-width: 768px) {
    /* Faster transitions for mobile */
    [b-dzlcl40p35] .mud-drawer {
        transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    [b-dzlcl40p35] .mud-drawer .mud-drawer-content {
        transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    [b-dzlcl40p35] .mud-overlay {
        transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    /* Prevent app bar theme flashing on mobile */
    [b-dzlcl40p35] .mud-appbar {
        transition: background-color 0s !important;
        will-change: background-color;
    }
    
    /* Optimize ripple effect for mobile */
    [b-dzlcl40p35] .mud-button-root,
    [b-dzlcl40p35] .mud-icon-button {
        --mud-ripple-duration: 250ms !important;
    }
    
    /* Faster hamburger menu response */
    [b-dzlcl40p35] .mud-icon-button {
        transition: background-color 0.15s ease !important;
    }
    
    /* Ensure theme classes apply immediately */
    [b-dzlcl40p35] .mud-theme-light,
    [b-dzlcl40p35] .mud-theme-dark {
        transition: none !important;
    }
}

@media (max-width: 640.98px) {
    .top-row[b-dzlcl40p35] {
        justify-content: space-between;
    }

    .top-row[b-dzlcl40p35]  a, .top-row[b-dzlcl40p35]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-dzlcl40p35] {
        flex-direction: row;
    }

    .sidebar[b-dzlcl40p35] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-dzlcl40p35] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-dzlcl40p35]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-dzlcl40p35], article[b-dzlcl40p35] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Performance optimizations for theme switching */
[b-dzlcl40p35] .mud-layout,
[b-dzlcl40p35] .mud-main-content {
    transition: none !important;
}

/* Prevent layout shift during theme changes */
[b-dzlcl40p35] .mud-appbar .mud-toolbar {
    transition: background-color 0s !important;
}

/* Optimize drawer for all screen sizes */
[b-dzlcl40p35] .mud-drawer-responsive {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#blazor-error-ui[b-dzlcl40p35] {
    background: var(--accent-primary);
    color: white;
    bottom: 0;
    box-shadow: 0 -2px 4px var(--shadow-color);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-radius: 4px 4px 0 0;
}

#blazor-error-ui .dismiss[b-dzlcl40p35] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    color: white;
    font-size: 1.2rem;
}

#blazor-error-ui .dismiss:hover[b-dzlcl40p35] {
    color: rgba(255, 255, 255, 0.8);
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* NavMenu MudBlazor Integration Styles */

/* Theme toggle button styling */
.theme-toggle-button[b-ye6byaiuc8] {
    transition: all 0.2s ease;
}

.theme-toggle-button:hover[b-ye6byaiuc8] {
    background-color: rgba(255, 255, 255, 0.1);
}

.theme-toggle-button:active[b-ye6byaiuc8] {
    transform: scale(0.95);
}

/* Admin badge styling */
.admin-badge[b-ye6byaiuc8] {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(255, 193, 7, 0.3);
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation enhancement */
.mud-nav-link[b-ye6byaiuc8] {
    margin: 0.125rem 0.5rem;
    border-radius: 8px;
}

.mud-nav-group .mud-nav-group-header[b-ye6byaiuc8] {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .admin-badge[b-ye6byaiuc8] {
        display: none;
    }
}

/* Enhanced focus states for accessibility */
.mud-nav-link:focus[b-ye6byaiuc8] {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.theme-toggle-button:focus[b-ye6byaiuc8] {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

[data-theme="dark"] .theme-toggle-button:focus[b-ye6byaiuc8] {
    outline-color: var(--primary-color);
}
/* /Components/Pages/Examples/AIFortuneCookieExample.razor.rz.scp.css */
/* AI Fortune Cookie — scoped styles */

.fortune-shell[b-4x8wlyzf7e] {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--mud-palette-divider);
    background: var(--mud-palette-surface);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Header */
.fortune-header[b-4x8wlyzf7e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    padding: .9rem 1.1rem;
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    color: var(--mud-palette-primary-text);
}

.fortune-header-left[b-4x8wlyzf7e] {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.fortune-avatar[b-4x8wlyzf7e] {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.fortune-header-title[b-4x8wlyzf7e] {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
}

.fortune-header-status[b-4x8wlyzf7e] {
    font-size: .75rem;
    opacity: .9;
}

.fortune-stats-badges[b-4x8wlyzf7e] {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.fortune-stat-chip[b-4x8wlyzf7e] {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: .3rem .7rem;
    white-space: nowrap;
}

.fortune-stat-chip.streak[b-4x8wlyzf7e] {
    background: rgba(251, 191, 36, 0.28);
}

/* Body */
.fortune-body[b-4x8wlyzf7e] {
    padding: 1.5rem 1.25rem 1.75rem;
}

.fortune-stage[b-4x8wlyzf7e] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 260px;
    justify-content: center;
    padding: 1rem 0;
}

.fortune-idle-caption[b-4x8wlyzf7e] {
    margin-top: 1rem;
    max-width: 360px;
}

/* Cookie */
.cookie-scene[b-4x8wlyzf7e] {
    position: relative;
    width: 190px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .7rem;
    transition: opacity .3s ease, transform .35s ease, height .35s ease, margin .35s ease, gap .35s ease;
}

.cookie-scene.is-busy[b-4x8wlyzf7e] {
    cursor: default;
}

.cookie-scene.is-revealed[b-4x8wlyzf7e] {
    height: 0;
    gap: 0;
    margin: 0;
    opacity: 0;
    transform: scale(.4);
    overflow: hidden;
    pointer-events: none;
}

.cookie-shape[b-4x8wlyzf7e] {
    position: relative;
    width: 190px;
    height: 140px;
    flex: 0 0 auto;
    animation: cookie-idle-b-4x8wlyzf7e 3.4s ease-in-out infinite;
    transition: transform .15s ease;
}

.cookie-scene:not(.is-busy):hover .cookie-shape[b-4x8wlyzf7e] {
    transform: scale(1.04);
}

@keyframes cookie-idle-b-4x8wlyzf7e {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-3deg); }
}

.cookie-half[b-4x8wlyzf7e] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 128px;
    height: 128px;
    background: radial-gradient(circle at 30% 28%, #f3d19c 0%, #dba85c 55%, #b8813d 100%);
    border-radius: 48% 52% 46% 54% / 60% 58% 42% 40%;
    box-shadow: inset -8px -8px 16px rgba(0, 0, 0, 0.18), inset 4px 4px 10px rgba(255, 255, 255, 0.25), 0 10px 18px rgba(0, 0, 0, 0.18);
    transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), opacity .45s ease .05s;
}

.cookie-half.left[b-4x8wlyzf7e] {
    transform: translate(-50%, -50%) rotate(-16deg);
    clip-path: polygon(0 0, 52% 0, 52% 100%, 0 100%);
}

.cookie-half.right[b-4x8wlyzf7e] {
    transform: translate(-50%, -50%) rotate(16deg);
    clip-path: polygon(48% 0, 100% 0, 100% 100%, 48% 100%);
}

.cookie-shape.is-cracking .cookie-half.left[b-4x8wlyzf7e] {
    transform: translate(-50%, -50%) translate(-64px, -18px) rotate(-75deg);
    opacity: 0;
}

.cookie-shape.is-cracking .cookie-half.right[b-4x8wlyzf7e] {
    transform: translate(-50%, -50%) translate(64px, -18px) rotate(75deg);
    opacity: 0;
}

.cookie-hint[b-4x8wlyzf7e] {
    font-size: .8rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    letter-spacing: .02em;
    text-align: center;
}

/* Fortune slip */
.fortune-slip[b-4x8wlyzf7e] {
    margin-top: 1rem;
    max-width: 420px;
    width: 100%;
    border: 1px solid var(--mud-palette-divider);
    border-radius: 14px;
    background: var(--mud-palette-background-grey);
    padding: 1.25rem 1.4rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    animation: slip-in-b-4x8wlyzf7e .5s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes slip-in-b-4x8wlyzf7e {
    from { opacity: 0; transform: translateY(-18px) scale(.92); }
    to { opacity: 1; transform: none; }
}

.fortune-slip-rarity[b-4x8wlyzf7e] {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--mud-palette-text-secondary);
    margin-bottom: .5rem;
}

.fortune-slip-text[b-4x8wlyzf7e] {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--mud-palette-text-primary);
}

.fortune-slip-mood[b-4x8wlyzf7e] {
    display: inline-block;
    margin-top: .6rem;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--mud-palette-primary);
    background: var(--mud-palette-primary-hover);
    border-radius: 999px;
    padding: .2rem .65rem;
}

.fortune-numbers[b-4x8wlyzf7e] {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: 1rem;
}

.fortune-ball[b-4x8wlyzf7e] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: .82rem;
    font-weight: 700;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-divider);
    color: var(--mud-palette-text-primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    animation: ball-pop-b-4x8wlyzf7e .4s cubic-bezier(.34, 1.56, .64, 1) both;
}

.fortune-ball.star[b-4x8wlyzf7e] {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #3b2405;
    border-color: transparent;
}

.fortune-ball:nth-child(1)[b-4x8wlyzf7e] { animation-delay: .05s; }
.fortune-ball:nth-child(2)[b-4x8wlyzf7e] { animation-delay: .12s; }
.fortune-ball:nth-child(3)[b-4x8wlyzf7e] { animation-delay: .19s; }
.fortune-ball:nth-child(4)[b-4x8wlyzf7e] { animation-delay: .26s; }
.fortune-ball:nth-child(5)[b-4x8wlyzf7e] { animation-delay: .33s; }
.fortune-ball:nth-child(6)[b-4x8wlyzf7e] { animation-delay: .40s; }

@keyframes ball-pop-b-4x8wlyzf7e {
    from { opacity: 0; transform: scale(.4); }
    to { opacity: 1; transform: scale(1); }
}

.fortune-slip-actions[b-4x8wlyzf7e] {
    display: flex;
    justify-content: center;
    gap: .6rem;
    margin-top: 1.25rem;
}

/* Rarity accents */
.fortune-slip.rarity-rare[b-4x8wlyzf7e],
.mini-fortune-card.rarity-rare[b-4x8wlyzf7e] {
    border-color: #60a5fa;
    box-shadow: 0 0 0 1px rgba(96, 165, 250, .35), 0 8px 20px rgba(96, 165, 250, .18);
}

.fortune-slip.rarity-legendary[b-4x8wlyzf7e],
.mini-fortune-card.rarity-legendary[b-4x8wlyzf7e] {
    border-color: #f5b942;
    animation: slip-in-b-4x8wlyzf7e .5s cubic-bezier(.34, 1.56, .64, 1) both, legendary-glow-b-4x8wlyzf7e 2.4s ease-in-out infinite;
}

.mini-fortune-card.rarity-legendary[b-4x8wlyzf7e] {
    animation: legendary-glow-b-4x8wlyzf7e 2.4s ease-in-out infinite;
}

.fortune-slip.rarity-mythic[b-4x8wlyzf7e],
.mini-fortune-card.rarity-mythic[b-4x8wlyzf7e] {
    border-color: #c084fc;
    animation: slip-in-b-4x8wlyzf7e .5s cubic-bezier(.34, 1.56, .64, 1) both, mythic-glow-b-4x8wlyzf7e 3s ease-in-out infinite;
}

.mini-fortune-card.rarity-mythic[b-4x8wlyzf7e] {
    animation: mythic-glow-b-4x8wlyzf7e 3s ease-in-out infinite;
}

@keyframes legendary-glow-b-4x8wlyzf7e {
    0%, 100% { box-shadow: 0 0 0 1px rgba(245, 185, 66, .4), 0 0 16px rgba(245, 185, 66, .28); }
    50% { box-shadow: 0 0 0 1px rgba(245, 185, 66, .65), 0 0 28px rgba(245, 185, 66, .5); }
}

@keyframes mythic-glow-b-4x8wlyzf7e {
    0%, 100% { box-shadow: 0 0 0 1px rgba(192, 132, 252, .4), 0 0 18px rgba(192, 132, 252, .3); }
    50% { box-shadow: 0 0 0 1px rgba(192, 132, 252, .7), 0 0 32px rgba(192, 132, 252, .55); }
}

/* Loading shimmer */
.fortune-slip.is-loading[b-4x8wlyzf7e] {
    animation: none;
}

.shimmer-line[b-4x8wlyzf7e] {
    height: 12px;
    border-radius: 6px;
    margin: .5rem 0;
    background: linear-gradient(90deg, var(--mud-palette-background-grey) 25%, var(--mud-palette-divider) 50%, var(--mud-palette-background-grey) 75%);
    background-size: 200% 100%;
    animation: shimmer-b-4x8wlyzf7e 1.4s ease-in-out infinite;
}

.shimmer-line.w-40[b-4x8wlyzf7e] { width: 40%; }
.shimmer-line.w-60[b-4x8wlyzf7e] { width: 60%; margin-left: auto; margin-right: auto; }
.shimmer-line.w-90[b-4x8wlyzf7e] { width: 90%; margin-left: auto; margin-right: auto; }

.shimmer-ball[b-4x8wlyzf7e] {
    background: linear-gradient(90deg, var(--mud-palette-background-grey) 25%, var(--mud-palette-divider) 50%, var(--mud-palette-background-grey) 75%);
    background-size: 200% 100%;
    animation: shimmer-b-4x8wlyzf7e 1.4s ease-in-out infinite;
    border: none;
    box-shadow: none;
}

@keyframes shimmer-b-4x8wlyzf7e {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Recent + community columns */
.fortune-columns[b-4x8wlyzf7e] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.fortune-column[b-4x8wlyzf7e] {
    min-width: 0;
}

.mini-fortune-card[b-4x8wlyzf7e] {
    border: 1px solid var(--mud-palette-divider);
    border-radius: 10px;
    padding: .65rem .85rem;
    margin-bottom: .55rem;
    background: var(--mud-palette-surface);
}

.mini-fortune-text[b-4x8wlyzf7e] {
    font-size: .85rem;
    font-style: italic;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mini-fortune-meta[b-4x8wlyzf7e] {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    margin-top: .4rem;
    font-size: .68rem;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
    overflow: hidden;
}

.mini-fortune-meta span:first-child[b-4x8wlyzf7e] {
    text-overflow: ellipsis;
    overflow: hidden;
}

/* History */
[b-4x8wlyzf7e] .fortune-history-nested {
    margin-left: 1rem;
    margin-top: .35rem;
}

.history-row[b-4x8wlyzf7e] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5rem;
    padding: .5rem .25rem;
    border-bottom: 1px dashed var(--mud-palette-divider);
    font-size: .82rem;
}

.history-row:last-child[b-4x8wlyzf7e] {
    border-bottom: none;
}

.history-row-text[b-4x8wlyzf7e] {
    flex: 1 1 220px;
    font-style: italic;
}

.history-row-numbers[b-4x8wlyzf7e] {
    color: var(--mud-palette-text-secondary);
    font-size: .75rem;
}

.history-row-time[b-4x8wlyzf7e] {
    color: var(--mud-palette-text-secondary);
    font-size: .72rem;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .fortune-columns[b-4x8wlyzf7e] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-shape[b-4x8wlyzf7e],
    .cookie-half[b-4x8wlyzf7e],
    .fortune-slip[b-4x8wlyzf7e],
    .fortune-ball[b-4x8wlyzf7e],
    .shimmer-line[b-4x8wlyzf7e],
    .shimmer-ball[b-4x8wlyzf7e],
    .fortune-slip.rarity-legendary[b-4x8wlyzf7e],
    .fortune-slip.rarity-mythic[b-4x8wlyzf7e],
    .mini-fortune-card.rarity-legendary[b-4x8wlyzf7e],
    .mini-fortune-card.rarity-mythic[b-4x8wlyzf7e] {
        animation: none !important;
        transition: none !important;
    }
}
/* /Components/Pages/Examples/AzureOpenAIChatBotExample.razor.rz.scp.css */
/* Azure AI Chat Bot — scoped styles */

.chat-shell[b-5vmi2sfw67] {
    display: flex;
    flex-direction: column;
    height: 72vh;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--mud-palette-divider);
    background: var(--mud-palette-surface);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Header */
.chat-header[b-5vmi2sfw67] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .85rem 1.1rem;
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    color: var(--mud-palette-primary-text);
}

.chat-header-left[b-5vmi2sfw67] {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.chat-avatar-bot[b-5vmi2sfw67] {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.chat-header-title[b-5vmi2sfw67] {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-header-status[b-5vmi2sfw67] {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    opacity: .9;
}

.chat-status-dot[b-5vmi2sfw67] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: chat-pulse-dot-b-5vmi2sfw67 2s infinite;
}

.chat-status-dot.thinking[b-5vmi2sfw67] {
    background: #fbbf24;
    animation: chat-pulse-dot-b-5vmi2sfw67 1s infinite;
}

@keyframes chat-pulse-dot-b-5vmi2sfw67 {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); }
    70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Settings row: model + reasoning effort pickers, session token badge */
.chat-settings-row[b-5vmi2sfw67] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .85rem;
    padding: .5rem 1rem;
    background: var(--mud-palette-background-grey);
    border-bottom: 1px solid var(--mud-palette-divider);
}

.chat-setting[b-5vmi2sfw67] {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.chat-setting label[b-5vmi2sfw67] {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
    cursor: default;
}

[b-5vmi2sfw67] .chat-setting .mud-select {
    min-width: 150px;
}

.chat-token-badge[b-5vmi2sfw67] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .78rem;
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-divider);
    border-radius: 999px;
    padding: .25rem .75rem .25rem .55rem;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .chat-token-badge[b-5vmi2sfw67] {
        margin-left: 0;
    }
}

/* Body */
.chat-body[b-5vmi2sfw67] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* Empty state */
.chat-empty-state[b-5vmi2sfw67] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
}

.chat-empty-avatar[b-5vmi2sfw67] {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--mud-palette-secondary));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: chat-float-b-5vmi2sfw67 3s ease-in-out infinite;
}

@keyframes chat-float-b-5vmi2sfw67 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.chat-suggestions[b-5vmi2sfw67] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin-top: 1.25rem;
    max-width: 560px;
}

.chat-suggestion-chip[b-5vmi2sfw67] {
    border: 1px solid var(--mud-palette-divider);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    border-radius: 999px;
    padding: .5rem 1rem;
    font-size: .82rem;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}

.chat-suggestion-chip:hover:not(:disabled)[b-5vmi2sfw67] {
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.chat-suggestion-chip:disabled[b-5vmi2sfw67] {
    opacity: .5;
    cursor: default;
}

/* Transcript */
.chat-messages[b-5vmi2sfw67] {
    flex: 1;
    overflow-y: auto;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.chat-message-row[b-5vmi2sfw67] {
    display: flex;
    align-items: flex-end;
    gap: .55rem;
    animation: chat-msg-in-b-5vmi2sfw67 .25s ease-out;
}

.chat-message-row.from-user[b-5vmi2sfw67] {
    flex-direction: row-reverse;
}

@keyframes chat-msg-in-b-5vmi2sfw67 {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-avatar-sm[b-5vmi2sfw67] {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar-sm.bot[b-5vmi2sfw67] {
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--mud-palette-secondary));
    color: #fff;
}

.chat-avatar-sm.user[b-5vmi2sfw67] {
    background: var(--mud-palette-background-grey);
    color: var(--mud-palette-text-secondary);
    border: 1px solid var(--mud-palette-divider);
}

.chat-message-col[b-5vmi2sfw67] {
    display: flex;
    flex-direction: column;
    max-width: 72%;
    min-width: 0;
}

.chat-message-row.from-user .chat-message-col[b-5vmi2sfw67] {
    align-items: flex-end;
}

.chat-msg-tokens[b-5vmi2sfw67] {
    font-size: .68rem;
    color: var(--mud-palette-text-secondary);
    margin-top: .25rem;
    padding: 0 .3rem;
}

.chat-bubble[b-5vmi2sfw67] {
    padding: .6rem .9rem;
    border-radius: 16px;
    max-width: 100%;
    font-size: .9rem;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.chat-bubble.user[b-5vmi2sfw67] {
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    border-bottom-right-radius: 4px;
}

.chat-bubble.assistant[b-5vmi2sfw67] {
    background: var(--mud-palette-background-grey);
    color: var(--mud-palette-text-primary);
    border: 1px solid var(--mud-palette-divider);
    border-bottom-left-radius: 4px;
}

.chat-cursor[b-5vmi2sfw67] {
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 2px;
    background: currentColor;
    vertical-align: text-bottom;
    animation: chat-cursor-blink-b-5vmi2sfw67 1s step-start infinite;
}

@keyframes chat-cursor-blink-b-5vmi2sfw67 {
    50% { opacity: 0; }
}

.chat-typing-dots[b-5vmi2sfw67] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: .25rem .1rem;
}

.chat-typing-dots span[b-5vmi2sfw67] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mud-palette-text-secondary);
    animation: chat-typing-bounce-b-5vmi2sfw67 1.2s infinite ease-in-out;
}

.chat-typing-dots span:nth-child(2)[b-5vmi2sfw67] { animation-delay: .15s; }
.chat-typing-dots span:nth-child(3)[b-5vmi2sfw67] { animation-delay: .3s; }

@keyframes chat-typing-bounce-b-5vmi2sfw67 {
    0%, 60%, 100% { transform: translateY(0); opacity: .4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* Composer */
.chat-composer[b-5vmi2sfw67] {
    flex: 0 0 auto;
    padding: .8rem 1rem;
    background: var(--mud-palette-surface);
    border-top: 1px solid var(--mud-palette-divider);
}

.chat-composer-hint[b-5vmi2sfw67] {
    font-size: .7rem;
    color: var(--mud-palette-text-secondary);
    margin: 0 0 .4rem .3rem;
}

.chat-composer-row[b-5vmi2sfw67] {
    display: flex;
    gap: .5rem;
    align-items: flex-end;
}

.chat-send-btn[b-5vmi2sfw67], .chat-stop-btn[b-5vmi2sfw67] {
    flex: 0 0 auto;
    border-radius: 50% !important;
    min-width: 44px !important;
    width: 44px;
    height: 44px;
}

[b-5vmi2sfw67] .chat-input .mud-input-outlined-border {
    border-radius: 22px !important;
}

[b-5vmi2sfw67] .chat-input .mud-input-slot {
    padding-top: 10px;
    padding-bottom: 10px;
}

@media (max-width: 600px) {
    .chat-shell[b-5vmi2sfw67] {
        height: 78vh;
        border-radius: 10px;
    }

    .chat-bubble[b-5vmi2sfw67] {
        max-width: 84%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat-status-dot[b-5vmi2sfw67],
    .chat-empty-avatar[b-5vmi2sfw67],
    .chat-message-row[b-5vmi2sfw67],
    .chat-cursor[b-5vmi2sfw67],
    .chat-typing-dots span[b-5vmi2sfw67],
    .chat-suggestion-chip[b-5vmi2sfw67] {
        animation: none !important;
        transition: none !important;
    }
}
/* /Components/SharkCodeEditor.razor.rz.scp.css */
.page-container[b-x9f3fequ67] {
    height: 100%;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.editor-wrapper[b-x9f3fequ67] {       
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: inherit;
    position: relative;
}

.editor-container[b-x9f3fequ67] {
    flex: 1;
    width: 100%;
    height: 100%;
    border: 2px solid #ccc;
    border-radius: 4px;
    min-height: inherit;
    position: relative;
    overflow: hidden;
}

/* Auto-height specific styles */
.auto-height-editor[b-x9f3fequ67] {
    overflow: visible !important;
    height: auto !important;
    min-height: 100px !important;
}

.auto-height-editor :global(.monaco-editor)[b-x9f3fequ67] {
    height: auto !important;
    min-height: 100px !important;
    overflow: visible !important;
}

.auto-height-editor :global(.monaco-editor .monaco-editor-background)[b-x9f3fequ67] {
    height: auto !important;
}

.auto-height-editor :global(.monaco-editor .overflow-guard)[b-x9f3fequ67] {
    height: auto !important;
    overflow: visible !important;
}

.auto-height-editor :global(.monaco-scrollable-element)[b-x9f3fequ67] {
    height: auto !important;
    overflow: visible !important;
}

.auto-height-editor :global(.monaco-editor .monaco-scrollable-element > .scrollbar)[b-x9f3fequ67] {
    display: none !important;
}

/* More specific and defensive Monaco editor styles */
.editor-container :global(.monaco-editor)[b-x9f3fequ67] {
    width: 100% !important;
    height: 100% !important;
    min-height: inherit !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.editor-container :global(.monaco-editor .monaco-editor-background)[b-x9f3fequ67] {
    height: 100% !important;
    width: 100% !important;
}

.editor-container :global(.monaco-editor .editor-container)[b-x9f3fequ67] {
    height: 100% !important;
    width: 100% !important;
}

.editor-container :global(.monaco-editor .overflow-guard)[b-x9f3fequ67] {
    height: 100% !important;
    width: 100% !important;
}

.editor-container :global(.monaco-editor .monaco-scrollable-element)[b-x9f3fequ67] {
    height: 100% !important;
    width: 100% !important;
}

/* Target the immediate child div more specifically */
.editor-container > :global(div)[b-x9f3fequ67] {
    width: 100% !important;
    height: 100% !important;
    min-height: inherit !important;
    position: relative !important;
}

/* Ensure proper sizing for different height values */
.editor-container :global(.monaco-editor)[b-x9f3fequ67],
.editor-container :global(.monaco-editor *)[b-x9f3fequ67] {
    box-sizing: border-box !important;
}

/* Loading state styling */
.editor-container .mud-progress-circular[b-x9f3fequ67] {
    color: var(--mud-palette-text-secondary) !important;
}

/* Add delay for Monaco-specific styles */
.editor-container :global(.monaco-editor-loaded)[b-x9f3fequ67] {
    animation: monacoFadeIn-b-x9f3fequ67 0.1s ease-in;
}

@keyframes monacoFadeIn-b-x9f3fequ67 {
    from { opacity: 0; }
    to { opacity: 1; }
}
