/* Desktop-Specific Styles */

/* Layout Structure */
.unified-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Left Sidebar - Navigation Outline */
.outline-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    padding: 1rem;
    overflow-y: auto;
    background-color: white;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outline-overlay.collapsed {
    transform: translateX(-100%);
}

/* Navigation Header with Toggle Button */
.outline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem 1rem 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.nav-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #64748b;
    transition: all 0.2s;
    border-radius: 0.375rem;
}

.nav-toggle-btn:hover {
    background-color: #f1f5f9;
    color: #334155;
}

.nav-toggle-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.outline-overlay.collapsed .nav-toggle-btn i {
    transform: rotate(180deg);
}

/* Floating toggle button when nav is collapsed */
.nav-expand-btn {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 15;
    background-color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px);
}

.content-area.nav-collapsed .nav-expand-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.nav-expand-btn:hover {
    background-color: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-expand-btn i {
    font-size: 1.25rem;
    color: #334155;
}

/* Main Content Area */
.content-area {
    position: relative;
    padding-left: 250px;
    padding-right: 0;
    width: 100%;
    transition: padding-left 0.3s ease, padding-right 0.3s ease;
}

.content-area.nav-collapsed {
    padding-left: 0;
}

.content-area.chat-open {
    padding-right: 350px;
}

/* Right Sidebar - Chat Panel */
.chat-panel {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background-color: white;
    border-left: 1px solid #e2e8f0;
    z-index: 20;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.05);
}

.chat-panel.open {
    right: 0;
}

.chat-toggle {
    cursor: pointer;
    font-size: 1rem;
    color: #64748b;
    transition: transform 0.3s ease;
}

.chat-panel.open .chat-toggle i {
    transform: rotate(180deg);
}

/* Responsive Adjustments for Desktop */
@media (max-width: 1024px) {
    .outline-overlay {
        width: 200px;
    }
    
    .content-area {
        padding-left: 200px;
    }
    
    .chat-panel {
        width: 320px;
    }
    
    .content-area.chat-open {
        padding-right: 320px;
    }
}

@media (max-width: 768px) {
    .outline-overlay {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        background-color: white;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .outline-overlay.open {
        transform: translateX(0);
    }
    
    .content-area {
        padding-left: 0;
    }
    
    .content-area.chat-open {
        padding-right: 0;
    }
    
    .chat-panel {
        width: 100%;
    }
}


