/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Main app container - horizontal layout */
.app-container[b-uojfas66n5] {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    width: 100%;
}

/* Main content area - right of sidebar */
.main-content[b-uojfas66n5] {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #f8f9fa;
    overflow: hidden;
}

/* Top navigation bar */
.top-bar[b-uojfas66n5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background-color: #fafafa;
    border-bottom: 1px solid #e5e7eb;
    min-height: 48px;
    flex-shrink: 0;
    position: relative;
}

/* Development warning banner */
.dev-warning-banner[b-uojfas66n5] {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #92400e;
    white-space: nowrap;
}

.top-bar-left[b-uojfas66n5] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb-area[b-uojfas66n5] {
    display: flex;
    align-items: center;
}

.user-area[b-uojfas66n5] {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Page content area - flex container for pages */
.page-content[b-uojfas66n5] {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: auto;
    min-height: 0;
}

#blazor-error-ui[b-uojfas66n5] {
    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-uojfas66n5] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Sidebar - Light theme matching Figma prototype */
.sidebar[b-qmhcf2xgqg] {
    display: flex;
    flex-direction: column;
    background-color: #fafafa;
    color: #1a1a1a;
    height: 100vh;
    overflow: hidden;
    border-right: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    flex-shrink: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: width 0.2s ease-in-out;
    /* Needed for absolute resize handle */
    position: relative;
}

.sidebar.expanded[b-qmhcf2xgqg] {
    width: 260px;
}

.sidebar.collapsed[b-qmhcf2xgqg] {
    width: 48px;
    min-width: 48px;
}

.sidebar.collapsed .logo-text[b-qmhcf2xgqg] {
    display: none;
}

.sidebar.collapsed .sidebar-nav span[b-qmhcf2xgqg] {
    display: none;
}

/* Resize handle on the right edge of sidebar */
.sidebar-resize-handle[b-qmhcf2xgqg] {
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    cursor: col-resize;
    background: transparent;
    transition: background 0.15s;
    z-index: 10;
}

.sidebar-resize-handle:hover[b-qmhcf2xgqg],
.sidebar-resize-handle.resizing[b-qmhcf2xgqg] {
    background: #3b82f6;
}

.sidebar-header[b-qmhcf2xgqg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    min-height: 48px;
}

.logo-area[b-qmhcf2xgqg] {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.logo-icon[b-qmhcf2xgqg] {
    width: 28px;
    height: 28px;
    background: #3b82f6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-text[b-qmhcf2xgqg] {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.app-name[b-qmhcf2xgqg] {
    font-weight: 600;
    font-size: 13px;
    color: #1a1a1a;
}

.app-subtitle[b-qmhcf2xgqg] {
    font-size: 10px;
    color: #717182;
}

.toggle-btn[b-qmhcf2xgqg] {
    background: transparent;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn:hover[b-qmhcf2xgqg] {
    background: #e9ebef;
}

.sidebar-nav[b-qmhcf2xgqg] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px;
}

.nav-section[b-qmhcf2xgqg] {
    padding: 12px 8px 6px 8px;
}

.nav-section-title[b-qmhcf2xgqg] {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #717182;
    font-weight: 500;
}

.nav-item[b-qmhcf2xgqg] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    border-radius: 4px;
    color: #4a4a4a;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    width: 100%;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    text-align: left;
    min-height: 24px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.nav-item:focus[b-qmhcf2xgqg],
.nav-item:focus-visible[b-qmhcf2xgqg],
.nav-item:focus-within[b-qmhcf2xgqg],
.nav-item:active[b-qmhcf2xgqg] {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.nav-item:hover[b-qmhcf2xgqg] {
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a1a;
}

.nav-item.active[b-qmhcf2xgqg] {
    background: rgba(0, 0, 0, 0.06);
    color: #1a1a1a;
    font-weight: 500;
}

.nav-item span[b-qmhcf2xgqg] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.nav-loading[b-qmhcf2xgqg] {
    display: flex;
    justify-content: center;
    padding: 16px;
}

/* Tree folder styles */
.tree-folder[b-qmhcf2xgqg] {
    margin-left: 0;
}

.tree-children[b-qmhcf2xgqg] {
    margin-left: 12px;
    padding-left: 0;
}

.folder-toggle[b-qmhcf2xgqg] {
    font-weight: 500;
    color: #1a1a1a;
}

.document-item[b-qmhcf2xgqg] {
    font-weight: 400;
    color: #4a4a4a;
    padding-left: 44px;
    overflow: hidden;
}

.document-item span[b-qmhcf2xgqg] {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.document-item:hover[b-qmhcf2xgqg] {
    color: #1a1a1a;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-lfo3ncntns],
.components-reconnect-repeated-attempt-visible[b-lfo3ncntns],
.components-reconnect-failed-visible[b-lfo3ncntns],
.components-pause-visible[b-lfo3ncntns],
.components-resume-failed-visible[b-lfo3ncntns],
.components-rejoining-animation[b-lfo3ncntns] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-lfo3ncntns],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-lfo3ncntns],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-lfo3ncntns],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-lfo3ncntns],
#components-reconnect-modal.components-reconnect-retrying[b-lfo3ncntns],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-lfo3ncntns],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-lfo3ncntns],
#components-reconnect-modal.components-reconnect-failed[b-lfo3ncntns],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-lfo3ncntns] {
    display: block;
}


#components-reconnect-modal[b-lfo3ncntns] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-lfo3ncntns 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-lfo3ncntns 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-lfo3ncntns 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-lfo3ncntns]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-lfo3ncntns 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-lfo3ncntns {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-lfo3ncntns {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-lfo3ncntns {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-lfo3ncntns] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-lfo3ncntns] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-lfo3ncntns] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-lfo3ncntns] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-lfo3ncntns] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-lfo3ncntns] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-lfo3ncntns] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-lfo3ncntns 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-lfo3ncntns] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-lfo3ncntns {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Home page styles */
.home-page[b-apmeuwoaco] {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Welcome Section */
.welcome-section[b-apmeuwoaco] {
    text-align: center;
    padding: 32px 0;
}

.welcome-title[b-apmeuwoaco] {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.welcome-description[b-apmeuwoaco] {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 640px;
    margin: 0 auto 24px auto;
    line-height: 1.6;
}

.search-container[b-apmeuwoaco] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* My Work Section */
.my-work-section[b-apmeuwoaco] {
    width: 100%;
}

.work-grid[b-apmeuwoaco] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .work-grid[b-apmeuwoaco] {
        grid-template-columns: 1fr;
    }
}

.work-column[b-apmeuwoaco] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.work-card[b-apmeuwoaco] {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.work-card.full-height[b-apmeuwoaco] {
    flex: 1;
}

.card-header[b-apmeuwoaco] {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
}

.card-header h2[b-apmeuwoaco] {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.card-description[b-apmeuwoaco] {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
}

.card-header-row[b-apmeuwoaco] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-content[b-apmeuwoaco] {
    padding: 12px;
}

/* Scrollable content areas */
.card-content.scrollable-5[b-apmeuwoaco] {
    max-height: 340px; /* ~5 items at ~68px each */
    overflow-y: auto;
}

.card-content.scrollable-10[b-apmeuwoaco] {
    max-height: 680px; /* ~10 items at ~68px each */
    overflow-y: auto;
}

/* Work Items */
.work-item[b-apmeuwoaco] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f7ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s, box-shadow 0.15s;
    margin-bottom: 8px;
}

.work-item:last-child[b-apmeuwoaco] {
    margin-bottom: 0;
}

.work-item:hover[b-apmeuwoaco] {
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.15);
}

/* Approved status - Green */
.work-item.approved[b-apmeuwoaco] {
    background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
    border-color: #86efac;
}

.work-item.approved:hover[b-apmeuwoaco] {
    background: linear-gradient(135deg, #bbf7d0 0%, #a7f3d0 100%);
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.15);
}

/* Rejected status - Red */
.work-item.rejected[b-apmeuwoaco] {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #fca5a5;
}

.work-item.rejected:hover[b-apmeuwoaco] {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.15);
}

/* Waiting status - Orange */
.work-item.waiting[b-apmeuwoaco] {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #fcd34d;
}

.work-item.waiting:hover[b-apmeuwoaco] {
    background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15);
}

.work-item.urgent[b-apmeuwoaco] {
    border-color: #fde68a;
    background: linear-gradient(135deg, #fffbeb 0%, #fef9c3 100%);
}

.work-item.urgent:hover[b-apmeuwoaco] {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.work-item-content[b-apmeuwoaco] {
    flex: 1;
    min-width: 0;
}

.work-item-header[b-apmeuwoaco] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.work-item-title[b-apmeuwoaco] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-item-meta[b-apmeuwoaco] {
    font-size: 0.75rem;
    color: #6b7280;
}

.urgent-notice[b-apmeuwoaco] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #92400e;
}

/* Empty State */
.empty-state[b-apmeuwoaco] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    color: #9ca3af;
    gap: 8px;
}

.empty-state span[b-apmeuwoaco] {
    font-size: 0.875rem;
}

/* Help Section */
.help-section[b-apmeuwoaco] {
    background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 24px;
}

.help-content[b-apmeuwoaco] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-text h3[b-apmeuwoaco] {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0 0 8px 0;
}

.help-text p[b-apmeuwoaco] {
    font-size: 0.9375rem;
    color: #3b82f6;
    margin: 0 0 16px 0;
    max-width: 480px;
}

.help-buttons[b-apmeuwoaco] {
    display: flex;
    gap: 12px;
}

.help-icon[b-apmeuwoaco] {
    display: none;
}

@media (min-width: 768px) {
    .help-icon[b-apmeuwoaco] {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 96px;
        height: 96px;
        background: #bfdbfe;
        border-radius: 50%;
    }
}
