@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.wuc5ioiakb.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
:root[b-kbci4qll23] {
    --color-white: #FFFFFF;
    --color-whitesmoke: #F5F5F5;
    --color-vs-blue: #007ACC;
    --color-text: #333333;
    --color-border: #E0E0E0;
}

.app-title[b-kbci4qll23] {
    font-family: 'Bauhaus 93', Arial, sans-serif;
 font-weight: bold;
    font-size: 28px;
    color: var(--neutral-foreground-rest, var(--color-text));
    line-height: 1;
}

.app-tagline[b-kbci4qll23] {
    font-size: 11px;
    color: var(--neutral-foreground-hint, #999);
 margin-left: 5px;
 font-weight: 400;
    letter-spacing: 0.3px;
}

.page[b-kbci4qll23] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.slim-header[b-kbci4qll23] {
    height: 48px;
    background: var(--neutral-layer-1, var(--color-white));
    border-bottom: 1px solid var(--neutral-stroke-divider-rest, var(--color-border));
    display: flex;
    align-items: center;
    padding: 0 16px;
    flex-shrink: 0;
}

.header-content[b-kbci4qll23] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-controls[b-kbci4qll23] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-button[b-kbci4qll23] {
    padding: 6px 12px;
    border: 1px solid var(--neutral-stroke-divider-rest, var(--color-border));
    background: transparent;
  border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.header-button:hover[b-kbci4qll23] {
    background: var(--neutral-layer-2, var(--color-whitesmoke));
}

/* Sign out menu item styling */
:deep(.sign-out-item)[b-kbci4qll23] {
    color: #D13438 !important;
}

.main-content[b-kbci4qll23] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.app-layout[b-kbci4qll23] {
    display: flex;
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Chat panel (right side, collapsible) */
.chat-panel[b-kbci4qll23] {
    width: 25%;
    min-width: 300px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--neutral-stroke-divider-rest, var(--color-border));
    background: var(--neutral-layer-1, var(--color-white));
    flex-shrink: 0;
    height: 100%;
}

.chat-panel-header[b-kbci4qll23] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 16px;
    border-bottom: 1px solid var(--neutral-stroke-divider-rest, var(--color-border));
    background: var(--neutral-layer-2, var(--color-whitesmoke));
    flex-shrink: 0;
}

.chat-panel-title[b-kbci4qll23] {
    font-weight: 600;
    font-size: 14px;
}

.chat-stream[b-kbci4qll23] {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

/* Chat toggle button (when collapsed) */
.chat-toggle[b-kbci4qll23] {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-fill-rest, var(--color-vs-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 100;
}

.chat-toggle:hover[b-kbci4qll23] {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.chat-badge[b-kbci4qll23] {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #D13438;
    color: white;
    font-size: 11px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-message[b-kbci4qll23] {
    padding: 12px;
  border-radius: 4px;
    background: var(--neutral-layer-2, var(--color-whitesmoke));
    animation: slideUp-b-kbci4qll23 0.3s ease-out;
}

@keyframes slideUp-b-kbci4qll23 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
  transform: translateY(0);
    }
}

.chat-message.assistant[b-kbci4qll23] {
    background: var(--accent-fill-rest, var(--color-vs-blue));
    color: white;
}

.chat-message.user[b-kbci4qll23] {
    background: var(--neutral-layer-3, #E8E8E8);
    color: var(--neutral-foreground-rest, var(--color-text));
    margin-left: auto;
    max-width: 70%;
}

.chat-message.system[b-kbci4qll23] {
    background: transparent;
    padding: 4px 12px;
    font-size: 11px;
    color: var(--neutral-foreground-hint, #999);
    text-align: center;
    animation: none;
}

.message-header[b-kbci4qll23] {
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 4px;
    opacity: 0.8;
}

.message-content[b-kbci4qll23] {
    font-size: 14px;
    line-height: 1.4;
}

.chat-input-zone[b-kbci4qll23] {
    padding: 12px;
    border-top: 1px solid var(--neutral-stroke-divider-rest, var(--color-border));
    background: var(--neutral-layer-1, var(--color-white));
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-input-row[b-kbci4qll23] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-input-col[b-kbci4qll23] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

textarea.chat-input[b-kbci4qll23] {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 4px;
    background: var(--neutral-layer-1);
    color: var(--neutral-foreground-rest);
    outline: none;
    resize: none;
    box-sizing: border-box;
}

textarea.chat-input:focus[b-kbci4qll23] {
    border-color: var(--accent-fill-rest);
}

.suggestions[b-kbci4qll23] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-chip[b-kbci4qll23] {
    font-size: 12px;
    padding: 6px 12px;
}

/* Landing and animations */
.landing-container[b-kbci4qll23] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, var(--neutral-layer-1) 0%, var(--neutral-layer-2) 100%);
}

.landing-content[b-kbci4qll23] {
    text-align: center;
    max-width: 400px;
    padding: 2rem;
}

.landing-icon[b-kbci4qll23] {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce-b-kbci4qll23 2s infinite;
}

@keyframes bounce-b-kbci4qll23 {
    0%, 100% {
        transform: translateY(0);
    }
50% {
        transform: translateY(-10px);
    }
}

.viewer-layout[b-kbci4qll23] {
    display: flex;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

[b-kbci4qll23] .nav-sidebar {
    height: 100%;
    overflow-y: auto;
    border-right: 1px solid var(--neutral-stroke-divider-rest, var(--color-border));
    flex-shrink: 0;
}

.viewer-panel[b-kbci4qll23] {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
    min-width: 0;
    overflow: auto;
}

.breadcrumb-bar[b-kbci4qll23] {
    padding: 8px 16px;
    border-bottom: 1px solid var(--neutral-stroke-divider-rest, var(--color-border));
    background: var(--neutral-layer-1, var(--color-white));
    flex-shrink: 0;
}

.viewer-view[b-kbci4qll23] {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.slim-footer[b-kbci4qll23] {
    height: 24px;
    background: var(--neutral-layer-2, var(--color-whitesmoke));
    border-top: 1px solid var(--neutral-stroke-divider-rest, var(--color-border));
  padding: 0 16px;
    display: flex;
    align-items: center;
    font-size: 11px;
    color: var(--neutral-foreground-hint, #999);
    flex-shrink: 0;
}

/* Landing page */
.landing-page[b-kbci4qll23] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    background: var(--neutral-layer-1, var(--color-white));
}

.landing-hero[b-kbci4qll23] {
    text-align: center;
    max-width: 800px;
    padding: 3rem 2rem;
}

.landing-title[b-kbci4qll23] {
    font-family: 'Bauhaus 93', Arial, sans-serif;
    font-size: 4rem;
    font-weight: bold;
    color: var(--accent-fill-rest, var(--color-vs-blue));
    margin: 0 0 0.5rem 0;
    line-height: 1;
}

.landing-subtitle[b-kbci4qll23] {
    font-size: 1.25rem;
    color: var(--neutral-foreground-hint, #666);
    margin: 0 0 2rem 0;
    line-height: 1.5;
}

.landing-badges[b-kbci4qll23] {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

[b-kbci4qll23] .landing-card {
    padding: 2rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.landing-features[b-kbci4qll23] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

[b-kbci4qll23] .feature-card {
    padding: 1.5rem;
    text-align: left;
}

[b-kbci4qll23] .feature-card h3 {
    margin: 0.75rem 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

[b-kbci4qll23] .feature-card p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--neutral-foreground-hint, #666);
    line-height: 1.4;
}
