/* css/desktop.css */

/* Hide mobile elements */
.mobile-only { display: none !important; }

/* Desktop App Layout */
#app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Side Navigation */
#side-nav {
    width: 80px;
    background-color: var(--bg-surface);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    z-index: 10;
}
.logo { font-size: 1.5rem; margin-bottom: 2rem; }
.nav-links { list-style: none; width: 100%; display: flex; flex-direction: column; gap: 0.5rem; }
.nav-links li { 
    display: flex; flex-direction: column; align-items: center; 
    padding: 0.75rem 0; cursor: pointer; color: var(--text-muted);
    transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-links li:hover, .nav-links li.active {
    color: var(--color-primary);
    background-color: rgba(99, 102, 241, 0.1);
}
.nav-links li .icon { font-size: 1.25rem; margin-bottom: 0.25rem; }
.nav-links li .label { font-size: 0.7rem; font-weight: 500; }
.user-profile { margin-top: auto; }

/* Main Content */
#main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#main-header {
    height: 70px;
    padding: 0 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.team-pulse {
    font-size: 0.85rem;
    color: var(--color-success);
    font-weight: 500;
}

/* Kanban Board Container */
#board-container {
    flex: 1;
    display: flex;
    padding: 1.5rem;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
}

.kanban-column {
    min-width: 320px;
    width: 320px;
    display: flex;
    flex-direction: column;
    background-color: var(--column-bg);
    border: 1px solid var(--column-border);
    box-shadow: var(--column-shadow);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.task-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
}
/* Scrollbar Styling for Task List */
.task-list::-webkit-scrollbar { width: 4px; }
.task-list::-webkit-scrollbar-track { background: transparent; }
.task-list::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }

/* Task Card Desktop Enhancements */
.task-card {
    position: relative;
}
/* Hover Quick Actions on Task Card (Desktop only) */
.task-card::after {
    content: "⋮";
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.task-card:hover::after { opacity: 1; }

/* Sidepanel (Task Details) */
#sidepanel {
    width: 450px;
    background-color: var(--bg-panel);
    border-left: 1px solid var(--border-color);
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    position: fixed;
    top: 0;
    right: -450px; /* Hidden by default */
    height: 100vh;
    transition: right var(--transition-normal);
    z-index: 100;
    display: flex;
    flex-direction: column;
}
#sidepanel.open {
    right: 0;
}

.sidepanel-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
}
.sidepanel-content {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}
.sp-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.sp-description {
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.sp-attachments h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Quick Capture Desktop Adjustments */
#quick-capture-overlay {
    /* Make it a centered modal on desktop instead of full screen */
    top: 50%; left: 50%; right: auto; bottom: auto;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}
