/* --- NexTask - Sidebar Styles --- */

#todo-container-sidebar {
    background: var(--bg-sidebar) !important;
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border) !important;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    padding: var(--sp-sm) var(--sp-md);
    border-radius: var(--radius-md);
    cursor: grab;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.sidebar-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.sidebar-item:hover {
    background-color: var(--bg-main);
    color: var(--text-main);
    border-color: var(--border);
}

.sidebar-item.active {
    background-color: var(--primary-bg);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.sidebar-item.active::before {
    transform: scaleY(1);
}

.project-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sidebar-item:hover .project-actions {
    opacity: 1;
}

.project-edit-btn:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.project-delete-btn:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

#typography-panel {
    position: absolute;
    right: 12px;
    bottom: 64px;
    width: 240px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    z-index: 80;
}

.typography-panel-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.typography-panel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.typography-panel-row:last-child {
    margin-bottom: 0;
}

.typography-panel-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

.typography-panel-select {
    height: 28px;
    flex: 1;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
}

.typography-panel-select:focus {
    border-color: var(--primary);
}